Question
Question: What is the second derivative of \(f\left( x \right)=\sin \left( {{x}^{2}} \right)\)?...
What is the second derivative of f(x)=sin(x2)?
Solution
In this problem we need to calculate the second derivative of the given function that means we need to derive the given function two times with respect to the variable x. First, we will derive the given function with respect to the variable x and simplify the equation by using the differentiation formulas dxd(f(g(x)))=f′(g(x))×g′(x), dxd(sinx)=cosx, dxd(x2)=2x. By applying these formulas, we will get the value of f′(x) which is one time derivative of the given function. But we need to calculate the second derivative, so we will again derive the value f′(x) with respect to x. Here we will use the chain rule which is given by dxd(uv)=uv′+vu′, some other differentiation formulas to simplify the equation.
Complete step-by-step answer:
Given function is f(x)=sin(x2).
Differentiating the above function with respect to x, then we will get
f′(x)=dxd(sin(x2))
Applying the differentiation formulas dxd(f(g(x)))=f′(g(x))×g′(x), dxd(sinx)=cosx, dxd(x2)=2x in the above equation, then we will get
f′(x)=cos(x2)×2x⇒f′(x)=2xcos(x2)
From the above equation we have the value of f′(x). Which is our one-time derivative of the given function. But we need to calculate the second derivative of the function. So, we are going to differentiate the value of f′(x) with respect to x, then we will have
f′′(x)=dxd(2xcos(x2))
Here 2 which is in multiplication is a constant, so we can differentiate a constant in multiplication. So, take out the constant from the differentiation, then we will get
f′′(x)=2dxd(xcos(x2))
Using the chain rule of the differentiation which is dxd(uv)=uv′+vu′, then we will have
f′′(x)=2[xdxd(cos(x2))+cos(x2)×dxd(x)]
We know the value of dxd(x)=1. Substituting this value in the above equation, then we will get
f′′(x)=2[x×dxd(cos(x2))+cos(x2)]
Considering the value dxd(cos(x2)) separately and using the formula dxd(f(g(x)))=f′(g(x))×g′(x) in the value, then we will get
dxd(cos(x2))=dxd(cos(x2))×dxd(x2)
We know that dxd(cosx)=−sinx, dxd(x2)=2x. Substituting these values in the above equation, then we will have
dxd(cos(x2))=−sin(x2)×2x⇒dxd(cos(x2))=−2xsin(x2)
Now substituting the value of dxd(cos(x2)) in the value of f′′(x), then we will get
f′′(x)=2[x(−2xsin(x2))+cos(x2)]⇒f′′(x)=2[−2x2sin(x2)+cos(x2)]⇒f′′(x)=−4x2sin(x2)+2cos(x2)
Hence the second derivative of the given function f(x)=sin(x2) is f′′(x)=−4x2sin(x2)+2cos(x2).
Note: We can also solve this problem by using another method which is substitution method. We will use the substitution u=x2 and calculate the value of f′(x) in terms of u. Again, we will differentiate the value of f′(x) and calculate it in terms of u. In the final step again use the substitution u=x2 for the required result.