Question
Question: What is the derivative of \(\ln \left( 1+\left( \dfrac{1}{x} \right) \right)\) ?...
What is the derivative of ln(1+(x1)) ?
Solution
Here, we have ln(1+(x1)) which cannot be solved through single-step differentiation. Here, we will apply chain rule to first differentiate the outer function, and then proceed on to differentiate the expression contained in the brackets.
Complete step by step answer:
Derivative of a function means to differentiate the function with respect to the variable contained in that function.
If y=f(x)
Derivative of the function will be given by differentiating y with respect to x .i.e., keeping x constant.
dxdy=dxd(f(x))
Certain rules are there to remember while differentiating a function,
dxd(lnx)=x1
dxd(xn)=nxn−1
If we define two differentiable functions f(x) and g(x) and assume a function h(x) such that
h(x)=f∘g(x)
Then derivative of such a composite function is given by chain rule
dxd(h(x))=dxd(f(g(x)))⇒dxd(h(x))=f′(g(x))×g′(x)
Let us consider
f(x)=lnx and
g(x)=1+x1
According to the question, we have
F(x)=f∘g(x)
Differentiating both sides with respect to x ,
F′(x)=(f∘g)′(x)
Using chain rule as mentioned above
dxd(F(x))=dxd(f(g(x)))⇒dxd(F(x))=f′(g(x))×g′(x)......(1)
We have f(x)=lnx
Differentiating both sides with respect to x,
f′(x)=x1......(2)
Similarly, we have
g(x)=1+x1
Differentiating both sides with respect to x ,
g′(x)=dxd(1)+dxd(x)−1
Derivative of a constant is always zero and using
dxd(xn)=nxn−1
Here, n=−1
⇒g′(x)=(−1)x−1−1⇒g′(x)=x2−1......(3)
Using the results (2) and (3) in equation (1), we get
dxd(F(x))=g(x)1×(x2−1)
⇒dxd(F(x))=1+x11×(x2−1)⇒dxd(F(x))=x+1x×(x2−1)⇒dxd(F(x))=x(x+1)−1
Hence, the derivative of ln(1+(x1)) is x(x+1)−1
Note: While using chain rule to differentiate a composite function, always proceed the differentiation in a particular manner: start differentiating the outer expression and then move on to differentiate the inner expressions. In this way, no expression would be left out to differentiate and chances of errors will reduce. Also, keep in mind the constant coefficients of the given variable as they come out of the expression as it is.
For example,
\dfrac{d\left( f\left( ax+b \right) \right)}{dx}=a\left\\{ {f}'\left( ax+b \right) \right\\}