Question
Question: How do you find the derivative of \(\ln (\tan x)?\)...
How do you find the derivative of ln(tanx)?
Solution
The given function is a composite function that is a function that consists of another function or the argument of a function is another function. Composite functions can be differentiated with the help of chain rule, let us take an example of a composite function f(x)=h(g(x)), its derivative will be given as follows:
dxd(f(x))=d(g(x))d(h(g(x))×dxd(g(x))
Formula used:
Chain rule: If a function f(x) is composition of various function as followsf(x)=g1(g2(g3(....g1(x)))) then dxd(f(x))=d(g2(g3(....gn(x))))d(g1(g2(g3(....gn(x)))))×d(g3(....gn(x)))d(g2(g3(....gn(x))))×d((....gn(x))d(g3(....gn(x)))×......×dxd(gn(x))
Derivative of logarithm function: dxdlnx=x1
And derivative of tangent function: dxdtanx=sec2x
Complete step by step answer:
In order to find the derivative of the function f(x)=ln(tanx), we have to use chain rule because this is a composite function, tangent function is the argument of the logarithmic function in this given composite function. Let us understand chain rule in order to solve this problem.If a function f(x) is composition of various function as follows
f(x)=g1(g2(g3(....g1(x)))) then its derivative will be given as
dxd(f(x))=d(g2(g3(....gn(x))))d(g1(g2(g3(....gn(x)))))×d(g3(....gn(x)))d(g2(g3(....gn(x))))×d((....gn(x))d(g3(....gn(x)))×......×dxd(gn(x))
In the given function
f(x)=ln(tanx)
Taking derivative both sides with respect to x
dxd(f(x))=dxd(ln(tanx))
Now applying chain rule to the given function f(x)=ln(tanx), we will get
dxd(f(x))=d(tanx)d(ln(tanx))×dxd(tanx)
We know that,
dxdlnx=x1anddxdtanx=sec2x
So simplifying the derivatives further with help of this,
dxd(f(x))=tanx1×sec2x ⇒dxd(f(x))=tanxsec2x
You can left it like this or should simplify it further in sine and cosine as follows