Question
Question: How do I find the derivative of the function \(y=\log \left( {{x}^{2}}+1 \right)\)?...
How do I find the derivative of the function y=log(x2+1)?
Solution
We start solving the problem by assuming x2+1=z and then differentiating both sides of the given function with respect to x. We then recall the chain rule of differentiation as dxd(g(f))=dfd(g)×dxdf to proceed through the problem. We then make use of the fact that dxd(logx)=x1 to proceed through the problem. We then make use of the facts that dxd(xn)=nxn−1, dxd(a)=0 to get the required answer for the derivative of the function.
Complete step by step answer:
According to the problem, we are asked to find the derivative of the function y=log(x2+1).
We have y=log(x2+1) ---(1).
Let us assume x2+1=z. Let us substitute this in equation (1).
⇒y=logz ---(2).
Let us differentiate both sides of the equation (2) with respect to x.
⇒dxdy=dxd(logz) ---(3).
From chain rule of differentiation, we know that dxd(g(f))=dfd(g)×dxdf. Let us substitute this result in equation (3).
⇒dxdy=dzd(logz)×dxdz ---(4).
We know that dxd(logx)=x1. Let us use this result in equation (4).
⇒dxdy=z1×dxdz ---(5).
Now, let us substitute z=x2+1 in equation (5).
⇒dxdy=(x2+1)1×dxd(x2+1) ---(6).
We know that dxd(xn)=nxn−1, dxd(a)=0. Let us use this result in equation (6).
⇒dxdy=(x2+1)1×2x.
⇒dxdy=x2+12x.
∴ We have found the derivative of the function y=log(x2+1) as x2+12x.
Note:
Whenever we get this type of problem, we try to make use of chain rules to get a solution to the given problem. We should not forget to different x2+1 after performing equation (5) which is the common mistake done by students. We can also solve this problem by making use of the fact that dxd(ln(f(x)))=f(x)dxd(f(x)) to get the required answer. Similarly, we can expect problems to find the derivative of the function y=cos(log(8x)).