Question
Question: Find the derivative of \[\dfrac{d}{{dx}}\left( {\log \left( {\tan x} \right)} \right)\] \[A)2\sec ...
Find the derivative of dxd(log(tanx))
A)2sec2x
B)2cosec2x
C)sec2x
D)cosec2x
Solution
Here we need to find a differentiation of log(tanx) with respect to ‘x’. We can calculate the above differentiation with the help of the chain rule. Then we simplify the trigonometric function as our desires using the different trigonometric relations. While simplifying we will use trigonometric pythagorean identity that is cos2x+sin2x=1.
Complete step by step answer:
The given function which we have to differentiate is
h(x)=log(tanx)
The above function is a composite function of the form of
h(x)=f(g(x))
So to differentiate such a type of function we have to apply the chain rule. Which is shown below,
In calculus, the chain rule is a formula to compute the derivative of a composite function. That is, if f and g are differentiable functions, then the chain rule expresses the derivative of their composite fog the function which maps x to f(g(x)) in terms of the derivatives of f and g and the product of functions as follows:
⇒(fog)′=(f′og)g′
Where alternatively, by letting
⇒h=(fog)
⇒ h(x)=f(g(x))
One may express the chain rule in Lagrange's notation as
⇒h′(x)=f′(g(x)).g′(x)
Hence applying the chain rule to find the required answer ,
dxd(log(tanx))
=tanx1dxd(tanx)
We know that
tanx=(coxsinx)
And, tanx1=sinxcosx
Hence we can write the derivative as shown below.
=tanx1dxd(cosxsinx)
=tanx1×cos2xcosxdxd(sinx)−sinxdxd(cosx)
=sinxcosx×cos2xcosx.cosx−sinx(−sinx)
=sinx×cosxcos2x+sin2x
Now we know the relation between the trigonometric identify as
⇒cos2x+sin2x=1
Therefore the above step can be written as,
=sinx×cosx1
Now multiplying ‘2’ in the denominator and divided by ‘2’ .We get,
=2sinx×cosx2
We know the trigonometric relation as,
⇒sin2x=2sinx×cosx
Therefore we get,
=sin2x2
As we know that,
⇒sin2x1=cosec2x
Therefore we get the final answer as,
dxd(log(tanx))=2cosec2x
Hence, the correct option of the above differentiation is option (B) 2cosec2x.
Note:
We have obtained the first derivative. If we differentiate it again we will have a second derivative, if we differentiate the second derivative we will have a third derivative and so on. If they asked us to find a second derivative we just need to differentiate the obtained solution again.