Solveeit Logo

Question

Question: What is the derivative of \(f\left( x \right) = \ln {x^3}\)?...

What is the derivative of f(x)=lnx3f\left( x \right) = \ln {x^3}?

Explanation

Solution

Here, we have to find the derivative of f(x)=lnx3f\left( x \right) = \ln {x^3}. In this equation, there are two functions f(x)=lnx3f\left( x \right) = \ln {x^3} and g(x)=x3g\left( x \right) = {x^3}. So, to find the derivative of f(x)=lnx3f\left( x \right) = \ln {x^3} we will be using the chain rule. The chain rule is
ddx[f(g(x))]=f(g(x))g(x)\Rightarrow \dfrac{d}{{dx}}\left[ {f\left( {g\left( x \right)} \right)} \right] = f'\left( {g\left( x \right)} \right)g'\left( x \right)
So, we will be differentiating lnx3\ln {x^3} and x3{x^3} both.

Complete step by step solution:
In this question, we have to find the derivative of the function
f(x)=lnx3f\left( x \right) = \ln {x^3}- - - - - - - - (1)
Now, there are two functions in the above equation.
So, when we are given more than one function in any equation, we need to use the chain rule to differentiate the equation.
According to the chain rule,
ddx[f(g(x))]=f(g(x))g(x)\Rightarrow \dfrac{d}{{dx}}\left[ {f\left( {g\left( x \right)} \right)} \right] = f'\left( {g\left( x \right)} \right)g'\left( x \right)
Where, f(x)f\left( x \right) and g(x)g\left( x \right) are two functions.
According to our question,
f(x)=lnx3f\left( x \right) = \ln {x^3} and g(x)=x3g\left( x \right) = {x^3}
So, we have to differentiate lnx3\ln {x^3} and x3{x^3} both.
Now, we know the derivative of lnx=1x\ln x = \dfrac{1}{x} and derivative of x3{x^3} is 3x23{x^2}.
Therefore, equation (1) becomes
f(x)=ddxlnx3\Rightarrow f\left( x \right) = \dfrac{d}{{dx}}\ln {x^3}
f(x)=ddxlnx3ddxx3 f(x)=1x3×3x2 f(x)=3x  \Rightarrow f\left( x \right) = \dfrac{d}{{dx}}\ln {x^3} \cdot \dfrac{d}{{dx}}{x^3} \\\ \Rightarrow f\left( x \right) = \dfrac{1}{{{x^3}}} \times 3{x^2} \\\ \Rightarrow f\left( x \right) = \dfrac{3}{x} \\\
Hence, the derivative of f(x)=lnx3f\left( x \right) = \ln {x^3} is 3x\dfrac{3}{x}.

Note:
We learned the chain rule in these question, but there are two more important rules that we should learn. These two rules are

  1. Product rule
  2. Quotient rule
    Product rule: The product rule tells us how to differentiate the product of two different functions.
    \Rightarrow ddxuv=udvdx+vdudx\dfrac{d}{{dx}}uv = u\dfrac{{dv}}{{dx}} + v\dfrac{{du}}{{dx}}
    For Example: ddx2xcosx=2xddxcosx+cosxddx2x=2xsinx+2cosx\dfrac{d}{{dx}}2x\cos x = 2x\dfrac{d}{{dx}}\cos x + \cos x\dfrac{d}{{dx}}2x = - 2x\sin x + 2\cos x
    Quotient rule: Quotient rule is used for differentiating problems when one function is divided by another function.
    ddx(uv)=vddxuuddxvv2\Rightarrow \dfrac{d}{{dx}}\left( {\dfrac{u}{v}} \right) = \dfrac{{v\dfrac{d}{{dx}}u - u\dfrac{d}{{dx}}v}}{{{v^2}}}
    For example: ddx(2xcosx)=cosxddx2x2xddxcosxcos2x=2cosx+2xsinxcos2x\dfrac{d}{{dx}}\left( {\dfrac{{2x}}{{\cos x}}} \right) = \dfrac{{\cos x\dfrac{d}{{dx}}2x - 2x\dfrac{d}{{dx}}\cos x}}{{{{\cos }^2}x}} = \dfrac{{2\cos x + 2x\sin x}}{{{{\cos }^2}x}}