# Find the derivative of function Y=`x^(2)` `e^(-x)`

### 1 Answer | Add Yours

We use the product rule: if f and g are differentiable functions of x then `d/(dx)(f*g)=f'g+fg'` , noting that if u is a diffeentiable function of x then `d/(dx)e^u=e^u (du)/(dx)` .

So `y=x^2e^(-x)` implies:

`y'=2xe^(-x)+x^2(-1)e^(-x)`

`=(2x-x^2)e^(-x)`

---------------------------------------------------------------

`y'=(2x-x^2)e^(-x)`

-------------------------------------------------------------