2nd Derivative of xe to the x

Jason76

Senior Member
Joined
Oct 19, 2012
Messages
1,180
g(x)=xexx\displaystyle g(x) = xe^{x} - x -x has the derivative of -1.

leads to

g(x)=ex+xex1\displaystyle g'(x) = e^{x} + xe^{x} - 1

and

g(x)=ex+xex1\displaystyle g'(x) = e^{x} + xe^{x} - 1 -1 has the derivative of 0. ex\displaystyle e^{x} has the derivative of ex\displaystyle e^{x}

leads to

g(x)=ex+ex+xex\displaystyle g''(x) = e^{x} + e^{x} + xe^{x} Adding the two ex\displaystyle e^{x} terms leads to 2ex\displaystyle 2e^{x}

leads to

g(x)=2ex+xex\displaystyle g'' (x) = 2e^{x} + xe^{x}

So what about the derivative of xex\displaystyle xe^{x} (in both the 1st and 2nd derivatives)? Why does it equal ex+xex\displaystyle e^{x} + xe^{x}?
 
Last edited:
So what about the derivative of xex\displaystyle xe^{x} (in both the 1st and 2nd derivatives)? Why does it equal ex+xex\displaystyle e^{x} + xe^{x}?

Product rule: ddx(uv)=udvdx+vdudx\displaystyle \dfrac{\mathrm d}{\mathrm dx}(uv)=u\dfrac{\mathrm dv}{\mathrm dx}+v\dfrac{\mathrm du}{\mathrm dx}. Here u=x\displaystyle u=x and v=ex\displaystyle v=e^x.
 
Product rule: ddx(uv)=udvdx+vdudx\displaystyle \dfrac{\mathrm d}{\mathrm dx}(uv)=u\dfrac{\mathrm dv}{\mathrm dx}+v\dfrac{\mathrm du}{\mathrm dx}. Here u=x\displaystyle u=x and v=ex\displaystyle v=e^x.

Also note that expressions like 4ex\displaystyle 4e^{x} has a derivative of 4ex\displaystyle 4e^{x} and 5ex\displaystyle 5e^{x} has a derivative of 5ex\displaystyle 5e^{x} etc... (they equal themselves). However, xex\displaystyle xe^{x} is different.

So we can generalize if y=aex\displaystyle y = ae^{x} then y=aex\displaystyle y' = ae^{x} where a = any real number except 0 (or should I say integer?). We can also say if y=ex\displaystyle y = e^{x} then y=ex\displaystyle y' = e^{x} Finally, because of product rule, if y=xex\displaystyle y = xe^{x} then y=xex+ex\displaystyle y' = xe^{x} + e^{x} which can also be written as y=ex+xex\displaystyle y' = e^{x} + xe^{x} It's hard to see the product rule in action, because they wrote it backwards (though equally correct).

Looking at the product rule in action:

y=xex\displaystyle y = xe^{x}

y=x(ex)+ex(1)\displaystyle y' = x(e^{x}) + e^{x}(1) ex\displaystyle e^{x} is the derivative of ex\displaystyle e^{x} and 1 is the derivative of x

leads to

y=xex+ex\displaystyle y' = xe^{x} + e^{x} or y=ex+xex\displaystyle y' = e^{x} + xe^{x}
 
Last edited:
Top