Mister Exam

Derivative of (x-2)e^x+2

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

The graph:

from to

Piecewise:

The solution

You have entered [src]
         x    
(x - 2)*e  + 2
(x2)ex+2\left(x - 2\right) e^{x} + 2
d /         x    \
--\(x - 2)*e  + 2/
dx                
ddx((x2)ex+2)\frac{d}{d x} \left(\left(x - 2\right) e^{x} + 2\right)
Detail solution
  1. Differentiate (x2)ex+2\left(x - 2\right) e^{x} + 2 term by term:

    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)=x2f{\left(x \right)} = x - 2; to find ddxf(x)\frac{d}{d x} f{\left(x \right)}:

      1. Differentiate x2x - 2 term by term:

        1. Apply the power rule: xx goes to 11

        2. The derivative of the constant (1)2\left(-1\right) 2 is zero.

        The result is: 11

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

      1. The derivative of exe^{x} is itself.

      The result is: (x2)ex+ex\left(x - 2\right) e^{x} + e^{x}

    2. The derivative of the constant 22 is zero.

    The result is: (x2)ex+ex\left(x - 2\right) e^{x} + e^{x}

  2. Now simplify:

    (x1)ex\left(x - 1\right) e^{x}


The answer is:

(x1)ex\left(x - 1\right) e^{x}

The graph
02468-8-6-4-2-1010400000-200000
The first derivative [src]
 x            x
e  + (x - 2)*e 
(x2)ex+ex\left(x - 2\right) e^{x} + e^{x}
The second derivative [src]
   x
x*e 
xexx e^{x}
The third derivative [src]
         x
(1 + x)*e 
(x+1)ex\left(x + 1\right) e^{x}
The graph
Derivative of (x-2)e^x+2