Question
Question: How do you find the second derivative of \({{\left( \ln x \right)}^{2}}\) ?...
How do you find the second derivative of (lnx)2 ?
Solution
To find the second derivative of the above function (lnx)2, we have to first find the first derivative of this function and then again take the derivative of this first derivative. The property which we will require to take the derivative is the chain rule.
Complete step-by-step solution:
The function given in the above problem which we have to take the derivative of is as follows:
(lnx)2
Let us equate the above function to y we get,
⇒y=(lnx)2
Now, we are going to take the derivative with respect to x on both the sides.
⇒dxdy=dxd(lnx)2
The derivative of the above function is taken by using the chain rule in which we are substituting lnx=t in the above equation. When substituting lnx=t in the above equation we have to take the derivative of this function with respect to t so for that we are going to make some additions in the above equation as follows:
⇒dtdy(dxdt) …………(1)
Now, our y becomes t2 so we have to take the derivative of y with respect to t then will multiply the reciprocal of dtdx.
Now, we are going to take the differentiation of lnx=t with respect to t on both the sides we get,
⇒lnx=t⇒x1dtdx=1
Rearranging the above equation in such a way so that we will get the expression of dxdt is as follows:
⇒dxdt=x1 ……………….. (2)
Now, we are going to take the derivative of t2 with respect to t.
⇒dtdy=dtd(t2)
We know the derivative of xn where n is a positive integer is as follows:
dxdxn=nxn−1
Using the above derivative in calculating the differentiation of t2 with respect to t as follows:
dtdy=dtd(t2)=2t……………(3)
Substituting the value of (2) and (3) in (1) we get,
⇒2t(x1)
Now, substituting t as lnx in the above equation we get,
⇒dxdy=2lnx(x1)
Now, we are going to take the second derivative of the above first derivative. As you can see that the two functions lnx&x are in division with respect to each other so we are going to use quotient rules to find the derivative of.
We know the quotient rule of two functions f1(x)&f2(x) is as follows:
dxd(f2(x)f1(x))=(f2(x))2f2(x)f1′(x)−f1(x)f2′(x)
The ‘ in the above functions f1&f2 is showing the first derivative of those functions with respect to x.
Now, in the above quotient rule, substituting the following values of f1&f2 we get,
f1(x)=2lnx,f2(x)=x
dxd(x2lnx)=(x)2(x)(2lnx)′−(2lnx)(x)′⇒dxd(x2lnx)=(x)2x(x2)−2lnx(1)
In the numerator of the above equation x will be cancelled out from the numerator and the denominator and we get,
⇒dxd(x2lnx)=(x)22−2lnx(1)⇒dxd(x2lnx)=(x)22(1−lnx)
Hence, the second derivative of the above function is equal to (x)22(1−lnx).
Note: The mistake that could be possible in the above problem is that when we were finding the first derivative of the given function and we have applied the chain rule then we might forget to take the derivative of lnx with respect to x. And the first derivative will look like:
dxdy=2lnx
In the above derivative, we forgot to multiply the derivative of lnx so don’t make this mistake while solving such derivatives.