Mister Exam

Other calculators

Derivative of (3-x)exp^(x-2)

Function f() - derivative -N order at the point
v

The graph:

from to

Piecewise:

The solution

You have entered [src]
         x - 2
(3 - x)*E     
ex2(3x)e^{x - 2} \left(3 - x\right)
(3 - x)*E^(x - 2)
Detail solution
  1. Apply the product rule:

    ddxf(x)g(x)=f(x)ddxg(x)+g(x)ddxf(x)\frac{d}{d x} f{\left(x \right)} g{\left(x \right)} = f{\left(x \right)} \frac{d}{d x} g{\left(x \right)} + g{\left(x \right)} \frac{d}{d x} f{\left(x \right)}

    f(x)=3xf{\left(x \right)} = 3 - x; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

    1. Differentiate 3x3 - x term by term:

      1. The derivative of the constant 33 is zero.

      2. The derivative of a constant times a function is the constant times the derivative of the function.

        1. Apply the power rule: xx goes to 11

        So, the result is: 1-1

      The result is: 1-1

    g(x)=ex2g{\left(x \right)} = e^{x - 2}; to find ddxg(x)\frac{d}{d x} g{\left(x \right)}:

    1. Let u=x2u = x - 2.

    2. The derivative of eue^{u} is itself.

    3. Then, apply the chain rule. Multiply by ddx(x2)\frac{d}{d x} \left(x - 2\right):

      1. Differentiate x2x - 2 term by term:

        1. Apply the power rule: xx goes to 11

        2. The derivative of the constant 2-2 is zero.

        The result is: 11

      The result of the chain rule is:

      ex2e^{x - 2}

    The result is: (3x)ex2ex2\left(3 - x\right) e^{x - 2} - e^{x - 2}

  2. Now simplify:

    (2x)ex2\left(2 - x\right) e^{x - 2}


The answer is:

(2x)ex2\left(2 - x\right) e^{x - 2}

The graph
02468-8-6-4-2-1010-2500025000
The first derivative [src]
   x - 2            x - 2
- e      + (3 - x)*e     
(3x)ex2ex2\left(3 - x\right) e^{x - 2} - e^{x - 2}
The second derivative [src]
           -2 + x
-(-1 + x)*e      
(x1)ex2- \left(x - 1\right) e^{x - 2}
The third derivative [src]
    -2 + x
-x*e      
xex2- x e^{x - 2}