Question
Question: Find the second derivative of the following function. \[y={{\ln }^{4}}({{x}^{2}}+1)\]....
Find the second derivative of the following function. y=ln4(x2+1).
Solution
We have to differentiate the given function twice to get the second derivative. To find the first derivative, we can see that the given function is a composition of functions like lnx,axn+b. So, we can use the chain rule and also use the differentiation formulas given by y=axn+b is dxdy=anxn−1 and y=lnx is dxdy=x1. Now, we will obtain the first derivative as a fraction, so we can apply the quotient rule and then simplify to get the second derivative.
Complete step by step answer:
To find the second derivative of the function y=ln4(x2+1), we will differentiate it twice with respect to the variable x.
To find the first derivative, we will differentiate the function y with respect to x.
We will use chain rule of differentiation of composition of three functions to find the derivative which states that if y is a composition of three functions f(x),g(x) and h(x) such that y=f(g(h(x))), then dxdy=dg(h(x))df(g(h(x)))×dh(x)dg(h(x))×dxdh(x).
Substituting f(x)=x4, g(x)=lnx and h(x)=x2+1 in the above equation, we get dxdy=dln(x2+1)dln4(x2+1)×d(x2+1)dln(x2+1)×dxd(x2+1)....(1).
We know that differentiation of any function of the form y=axn+b is dxdy=anxn−1.
Substituting a=1,n=2,b=1 in the above equation, we get dxdh(x)=dxd(x2+1)=2x.....(2).
To find the value of d(x2+1)dln(x2+1), let’s assume t=x2+1.
Thus, we have d(x2+1)dln(x2+1)=dtdlnt.
We know that differentiation of function y=lnx is dxdy=x1.
So, we will get d(x2+1)dln(x2+1)=dtdlnt=t1=x2+11.....(3).
To find the value of dln(x2+1)dln4(x2+1), let’s assume z=ln(x2+1).
Thus, we have dln(x2+1)dln4(x2+1)=dzd(z4).
We know that differentiation of any function of the form y=axn+b is dxdy=anxn−1.
Substituting a=1,n=4,b=0 in the above equation, we get dln(x2+1)dln4(x2+1)=dzd(z4)=4z3=4ln3(x2+1).....(4).
Substituting equation (2), (3) and (4) in equation (1), we get dxdy=dln(x2+1)dln4(x2+1)×d(x2+1)dln(x2+1)×dxd(x2+1)=x2+14ln3(x2+1)×2x=x2+18xln3(x2+1).
Thus, we have dxdy=x2+18xln3(x2+1) as the first derivative of the given function.
Now, to find the second derivative, we will again differentiate the function dxdy as dx2d2y=dxd(dxdy).
Let’s assume a(x)=dxdy=x2+18xln3(x2+1).
So, we have dx2d2y=dxda(x).
We can rewrite a(x) as a product of two functions u(x) and v(x) such that u(x)=x2+18x and v(x)=ln3(x2+1).
We will use the product rule of differentiation of product of two functions which states that dxda(x)=dxd(u(x)×v(x))=v(x)×dxdu(x)+u(x)dxdv(x).....(5).
We will now differentiate the functions u(x) and v(x).
We will use chain rule of differentiation of composition of three functions to differentiate the function v(x) which is a composition of three functions f(x), g(x) and h(x) such that y=v(x)=f(g(h(x))), then dxdy=dg(h(x))df(g(h(x)))×dh(x)dg(h(x))×dxdh(x).
Substituting f(x)=x3, g(x)=lnx and h(x)=x2+1 in the above equation, we get dxdv(x)=dln(x2+1)dln3(x2+1)×d(x2+1)dln(x2+1)×dxd(x2+1).....(6).
We already know the value of d(x2+1)dln(x2+1) and dxd(x2+1) using equation (2) and (3).
To find dln(x2+1)dln3(x2+1), let’s assume z=ln(x2+1).
Thus, we have dln(x2+1)dln3(x2+1)=dzd(z3).
We know that differentiation of any function of the form y=axn+b is dxdy=anxn−1.
Substituting a=1,n=3,b=0 in the above equation, we get dln(x2+1)dln3(x2+1)=dzd(z3)=3z2=3ln2(x2+1).....(7).
Substituting equation (2), (3) and (7) in equation (6), we get