Question
Question: What is the second derivative of \( f\left( x \right) = x{e^{{x^2}}} \) ?...
What is the second derivative of f(x)=xex2 ?
Solution
Hint : In order to find the second derivative of the given function, first we need to find the first derivative. For that we can see that there are two functions, one is x and second is ex2 , which is needed to be solved separately, so we would be using product rule to solve this, and our first derivative is obtained. Similarly, we obtain our first derivative result as a part of two functions, so we would again use product rule to solve, and our second derivative is obtained.
Complete step by step solution:
We are given with the function f(x)=xex2 , which is a set of two different functions that is x and ex2 .
From product rule we know how to derive two functions separately in a multiplication, and the rule is as: dxd(uv)=udxdv+vdxdu .
Comparing uv with our function f(x)=xex2 , we get that u=x and v=ex2 .
Substituting these values in the product rule and we get:
dxd(xex2)=xdxdex2+ex2dxdx
On further solving with formulas of derivatives, we get:
Taking ex2 common:
dxd(xex2)=ex2(2x2+1)
Therefore, our first derivative obtained is: dxd(xex2)=ex2(2x2+1)
Derivating the obtained first derivative again with respect to dx , to obtain our second derivative.
We can see that there are two functions present in first derivative also, so again using product rule:
Comparing uv with our function ex2(2x2+1) , we get that u=ex2 and v=(2x2+1) .
Substituting these values in the product rule and we get:
dxddxd(xex2)=ex2dxd(2x2+1)+(2x2+1)dxdex2
On further solving with formulas of derivatives, we get:
Taking ex2 common:
dx2d2(xex2)=ex2.(4x+(2x2+1).2x) dx2d2(xex2)=ex2.(4x+4x3+2x) dx2d2(xex2)=ex2.(4x3+6x)The second derivative obtained is ex2.(4x3+6x) .
Therefore, the second derivative of f(x)=xex2 is ex2.(4x3+6x).
So, the correct answer is “ ex2.(4x3+6x)”.
Note : We could have also considered f(x)=y, for our first derivative it can be written as f′(x) or y′. Similarly, for the second derivative, it's written as f′′(x) or y′′.
It’s important to remember product rules to solve these types of questions.
The product rule: dxd(uv)=udxdv+vdxdu