Mister Exam

Other calculators

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

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
        2
 2*x - x 
E        
$$e^{- x^{2} + 2 x}$$
E^(2*x - x^2)
Detail solution
  1. Let .

  2. The derivative of is itself.

  3. Then, apply the chain rule. Multiply by :

    1. Differentiate term by term:

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

        1. Apply the power rule: goes to

        So, the result is:

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

        1. Apply the power rule: goes to

        So, the result is:

      The result is:

    The result of the chain rule is:

  4. Now simplify:


The answer is:

The graph
The first derivative [src]
                  2
           2*x - x 
(2 - 2*x)*e        
$$\left(2 - 2 x\right) e^{- x^{2} + 2 x}$$
The second derivative [src]
  /               2\  x*(2 - x)
2*\-1 + 2*(-1 + x) /*e         
$$2 \left(2 \left(x - 1\right)^{2} - 1\right) e^{x \left(2 - x\right)}$$
The third derivative [src]
           /              2\  x*(2 - x)
4*(-1 + x)*\3 - 2*(-1 + x) /*e         
$$4 \left(3 - 2 \left(x - 1\right)^{2}\right) \left(x - 1\right) e^{x \left(2 - x\right)}$$