Question
Question: How do you differentiate \[{{\left( \ln x \right)}^{\tan x}}\]?...
How do you differentiate (lnx)tanx?
Solution
The given function is of the form (f(x))g(x). We can’t differentiate these types of functions directly. We will need to make some changes to the function before differentiating it. We should know the derivative of the function lnx is x1. Also, the derivative of the function tanx is sec2x.
Complete step by step answer:
Let y=(lnx)tanx. Taking log on both sides of the function, we get lny=ln((lnx)tanx). We can simplify this expression as y=tanxln(lnx).
Differentiating both sides of this function, we get
dxd(lny)=dxd(tanxln(lnx))
We know that the derivative of lnx is x1, hence
⇒y1dxdy=dxd(tanxln(lnx))
Using product rule in the above expression, we can evaluate it as
⇒y1dxdy=dxd(tanx)ln(lnx)+tanxdxd(ln(lnx))
The derivative of tanx is sec2x, substituting it in the above equation, we get
⇒y1dxdy=sec2xln(lnx)+tanxdxd(ln(lnx))
As ln(lnx) is a composite function of the form f(g(x)). The composite functions are functions of the form f(g(x)), their derivative is evaluated as, dxd(f(g(x)))=d(g(x))d(f(g(x)))dxd(g(x)).
Thus, dxd(ln(lnx))=d(lnx)d(ln(lnx))dxd(lnx). Substituting the values of derivative, we get