Question
Question: What is the derivative of \(\ln \left( {{\tan }^{2}}x \right)\)?...
What is the derivative of ln(tan2x)?
Solution
In this method we need to find the derivative of the given function. For this we are going to use the substitution method and use the substitution u=tan2x. First, we will differentiate the substitution u=tan2x with respect to x by using the differentiation formulas dxd(f(g(x)))=f′(g(x))×g′(x), dxd(x2)=2x, dxd(tanx)=sec2x. After using all the above formulas, we will get the value of dxdu. Now we will consider the given function and use the assumed substitution value and differentiate the equation. Here we will use the calculated value of dxdu and differentiation formula dxd(lnx)=x1 and simplify the equation to get the required result.
Complete step by step solution:
Given function is ln(tan2x).
Let us assume the substitution u=tan2x. Substituting this value in the given function, then we will get
ln(tan2x)=ln(u).....(i)
Considering the substitution u=tan2x and differentiating the equation with respect to x, then we will have
dxdu=dxd(tan2x)
We have the differentiation formulas dxd(f(g(x)))=f′(g(x))×g′(x), dxd(x2)=2x, dxd(tanx)=sec2x. Applying all the above formulas and simplifying the equation, then we will get
dxdu=2tanx×dxd(tanx)⇒dxdu=2tanxsec2x
Now considering the equation (i) and differentiating the equation with respect to x, then we will have
dxd(ln(tan2x))=dxd(lnu)
Applying the differentiation formulas dxd(lnx)=x1, dxd(f(g(x)))=f′(g(x))×g′(x) in the above equation, then we will get
dxd(ln(tan2x))=u1×dxdu
Substituting the values dxdu=2tanxsec2x, u=tan2x in the above equation, then we will have
dxd(ln(tan2x))=tan2x1×2tanxsec2x
Cancelling the term tanx which is in both numerator and denominator, then we will get
dxd(ln(tan2x))=tanx2sec2x
Hence the derivative of the given function ln(tan2x) is tanx2sec2x.
Note: We can also simplify the above result by using the trigonometric identity sec2x−tan2x=1. From this identity we can write sec2x=1+tan2x, substituting this value in the obtained result then we will get
dxd(ln(tan2x))=2tanx(tan2x+1)
Simplifying the above equation by using some basic mathematical operations and the value cotx=tanx1, then we will have
dxd(ln(tan2x))=2[tanxtan2x+tanx1]⇒dxd(ln(tan2x))=2(tanx+cotx)
So, we can also write the derivative of the given equation ln(tan2x) as 2(tanx+cotx)