Question
Question: How do you find the derivative of \(y={{x}^{\tan x}}\) ?...
How do you find the derivative of y=xtanx ?
Solution
We first take natural logarithms on both sides of ths given equation. Thereafter, we perform the differentiation on both sides of the equation with respect to x . Applying chain rule to the left hand side and product rule to the right hand side, and finally substituting the value of y , we get our final answer.
Complete step-by-step answer:
The given expression is
y=xtanx
We see that on the right hand side of the equation, the expression is of the form (variable)variable . So, directly we cannot differentiate it. Thus, we take natural logarithms on both sides of the given equation. The equation thus becomes,
⇒lny=ln(xtanx)
Applying the property of logarithms that ln(ab)=blna in the above equation, we get,
⇒lny=(tanx)lnx
We now differentiate both sides of the above equation with respect to x . We apply the chain rule of differentiation to the left hand side of the equation. The chain rule of differentiation states that
dxd(g(f(x)))=dfdg×dxdf
The equation thus becomes,
⇒y1×dxdy=dxd((tanx)lnx)
The right hand side of the above equation is differentiated according to the product rule of differentiation which states that
dxd(u×v)=u×dxdv+v×dxdu
The equation thus becomes,
⇒y1×dxdy=tanx×dxd(lnx)+lnx×dxd(tanx)
Carrying on the differentiation, we get,
⇒y1×dxdy=tanx×x1+lnx×sec2x
Multiplying y on both sides of the above equation, the equation thus becomes,
⇒dxdy=(tanx×x1+lnx×sec2x)×y
Putting the value of y=xtanx given in the question, the equation thus becomes
⇒dxdy=(tanx×x1+lnx×sec2x)×xtanx
Further simplification of the above equation cannot be done.
Therefore, we can conclude that the derivative of y=xtanx is (tanx×x1+lnx×sec2x)×xtanx .
Note: The given problem requires various rules of differentiation, so we must be very careful while applying them. Students often make mistakes in the chain rule as it requires continuous differentiation of the functions.