Question
Question: If \[g\] is twice differentiable function and \[f\left( x \right) = xg\left( {{x^2}} \right)\], how ...
If g is twice differentiable function and f(x)=xg(x2), how do you find in terms of g, g′, and g′′?
Solution
Here in this question, we have to differentiate the given function f(x)=xg(x2) and express of in terms of g, g′, and g′′. First, we need to use the product rule for differentiating the function f(x) and lateral by chain rule also differentiate the function g(x) and second time differentiate the function f(x) and by further simplification using the standard differentiating formula to get the required solution.
Complete step by step answer:
The differentiation of a function is defined as the derivative or rate of change of a function. The function is said to be differentiable if the limit exists.
Consider the given function
⇒f(x)=xg(x2)---------- (1)
Differentiate function f(x) with respect to x
⇒dxd(f(x))=dxd(xg(x2))
Now, we need to use the product rule of differentiation dxd(uv)=udxd(v)+vdxd(u), then
⇒dxd(f(x))=x⋅dxd(g(x2))+g(x2)⋅dxd(x)
As we know, the standard formula: dxdx=1, and represent dxd(f(x))=f′(x).
⇒f′(x)=x⋅dxd(g(x2))+g(x2)⋅(1)
⇒f′(x)=x⋅dxd(g(x2))+g(x2)
Now, then by the chain rule, we have:
⇒dxd(g(x2))=g′(x2)dxd(x2)
As we know the formula dxd(xn)=nxn−1, then
⇒dxd(g(x2))=g′(x2)2x
⇒dxd(g(x2))=2xg′(x2)----------(2)
Substitute (2) in equation (1), then
⇒f′(x)=x⋅(2xg′(x2))+g(x2)
⇒f′(x)=2x2g′(x2)+g(x2)--------(3)
Again, differentiating equation (3) a second time using product rule, then
⇒dxd(f′(x))=dxd(2x2g′(x2)+g(x2))
Represent dxd(f′(x))=f′′(x).
⇒f′′(x)=2x2dxd(g′(x2))+g′(x2)dxd(2x2)+dxd(g(x2))
using the formula dxd(xn)=nxn−1, then
⇒f′′(x)=2x2dxd(g′(x2))+g′(x2)2(2x)+g′(x2)(2x)
⇒f′′(x)=2x2dxd(g′(x2))+4xg′(x2)+2xg′(x2)
⇒f′′(x)=2x2dxd(g′(x2))+6xg′(x2)--------(4)
And, again by the chain rule, we have:
⇒dxd(g′(x2))=g′′(x2)dxd(x2)
⇒dxd(g′(x2))=g′′(x2)2x
⇒dxd(g′(x2))=2xg′′(x2)-----------(5)
Substitute equation (5) in (4), then
⇒f′′(x)=2x2(2xg′′(x2))+6xg′(x2)
⇒f′′(x)=2x2(2xg′′(x2))+6xg′(x2)
On simplification, we get
⇒f′′(x)=4x3g′′(x2)+6xg′(x2)
Hence, it’s a required solution.
Note: When solving these types of questions, the student must know about the standard differentiation formulas. If the function is a product of two terms and the both terms are the function of x the we use the product rule of differentiation to the function and behaviour of the chain rule while solving.