Question
Question: How do you find the first and second derivative of \({{x}^{2}}{{e}^{x}}\) ?...
How do you find the first and second derivative of x2ex ?
Solution
We can find the first and second derivative of x2ex by using basic formulae of differentiation. We can use the product rule formula to find the first and second derivative of x2ex Formula for the product rule is given as dxd(uv)=udxdv+vdxdu
Complete step by step answer:
From the given question it had been asked to find the first and second derivative of x2ex
By using the product rule formula shown above, we can get the derivatives,
By applying the product rule formula we get, dxdy = 2x × ex + ex × x2
We know that dxd(x2)=2x and dxd(ex)=ex
On furthermore simplifying we get, dxdy = 2xex + exx2
Now, we have to take xex common on both sides of the equation to make it simplified.
On taking xex common on both sides of the equation, we get dxdy = x(x+2)ex
Therefore, we got the first derivative of the given question.
Now differentiate the first derivative to get the second derivative.
We can differentiate the first derivative by applying the product rule formula.
By applying the product rule formula for first derivative we get,
dxdy = x(x+2)ex
⇒dx2d2y=2 × ex + 2x × ex + 2x × ex + x2 × ex
On furthermore simplifying we get,
dx2d2y=2ex + 2xex + 2xex + x2ex
⇒dx2d2y=2ex + 4xex + x2ex
Now, take ex common on the right hand side of the equation.
By taking ex common on right hand side of the equation we get, dx2d2y=ex(x2+4x+2)
Therefore, we got the second derivative for the given question.
Therefore,
First derivative of x2ex is dxdy = x(x+2)ex
Second derivative of x2ex is dx2d2y=ex(x2+4x+2)
Note:
We should be well known about the product rule formula and its application in the derivative problems. Similarly to the product rule used in this question we have a division rule given as dxd(vu)=v2v(dxdu)−u(dxdv) which can be used in questions of this type.