Solveeit Logo

Question

Question: How do you differentiate \[\ln \left( \tan \left( {{x}^{2}} \right) \right)\]?...

How do you differentiate ln(tan(x2))\ln \left( \tan \left( {{x}^{2}} \right) \right)?

Explanation

Solution

Assume f(x)=x2,g(x)=tanxf\left( x \right)={{x}^{2}},g\left( x \right)=\tan x and h(x)=lnxh\left( x \right)=\ln x and write the given function as a composite function y=h[g(f(x))]y=h\left[ g\left( f\left( x \right) \right) \right]. Now, differentiate both sides of the function with respect to the variable x and use the chain rule of differentiation to find the derivative of h[g(f(x))]h\left[ g\left( f\left( x \right) \right) \right]. Use the relation: - dh[g(f(x))]dx=h(g(f(x)))×g(f(x))×f(x)\dfrac{dh\left[ g\left( f\left( x \right) \right) \right]}{dx}=h'\left( g\left( f\left( x \right) \right) \right)\times g'\left( f\left( x \right) \right)\times f'\left( x \right) to get the answer.

Complete step by step answer:
Here, we have been provided with the function ln(tan(x2))\ln \left( \tan \left( {{x}^{2}} \right) \right) and we are asked to find its derivative.
Now, let us assume this given function as y, that means we have to find the value of dydx\dfrac{dy}{dx}. So, we have,
y=ln(tan(x2))\because y=\ln \left( \tan \left( {{x}^{2}} \right) \right)
We can convert the given function into a composite function because we have a combination of several functions. So, assuming x2=f(x){{x}^{2}}=f\left( x \right), tanx=g(x)\tan x=g\left( x \right) and lnx=h(x)\ln x=h\left( x \right), we have,
y=h[g(f(x))]\Rightarrow y=h\left[ g\left( f\left( x \right) \right) \right]
Differentiating both the sides with respect to the variable x, we have,

& \Rightarrow \dfrac{dy}{dx}=\dfrac{dh\left[ g\left( f\left( x \right) \right) \right]}{dx} \\\ & \Rightarrow \dfrac{dy}{dx}=h'\left[ g\left( f\left( x \right) \right) \right]\times g'\left[ f\left( x \right) \right]\times f'\left( x \right) \\\ \end{aligned}$$ Here, we have applied the chain rule of differentiation in the R.H.S. and that is how the derivative of a composite function is determined. What we have to do in the next step is we have to find the derivative of $$h\left[ g\left( f\left( x \right) \right) \right]$$ with respect to $$g\left( f\left( x \right) \right)$$, the derivative of $$g\left( f\left( x \right) \right)$$ with respect to $$f\left( x \right)$$, the derivative of $$f\left( x \right)$$ with respect to x and then take the product of these three derivatives obtained. So, mathematically we have, $$\Rightarrow \dfrac{dy}{dx}=\dfrac{d\left( h\left( gf\left( x \right) \right) \right)}{d\left( g\left( f\left( x \right) \right) \right)}\times \dfrac{dg\left( f\left( x \right) \right)}{d\left( f\left( x \right) \right)}\times \dfrac{d\left( f\left( x \right) \right)}{dx}$$ Substituting the assumed values, we get, $$\begin{aligned} & \Rightarrow \dfrac{dy}{dx}=\dfrac{d\left[ \ln \left( \tan \left( {{x}^{2}} \right) \right) \right]}{d\left( \tan \left( {{x}^{2}} \right) \right)}\times \dfrac{d\left( \tan \left( {{x}^{2}} \right) \right)}{d{{x}^{2}}}\times \dfrac{d{{x}^{2}}}{dx} \\\ & \Rightarrow \dfrac{dy}{dx}=\dfrac{1}{\tan \left( {{x}^{2}} \right)}\times {{\sec }^{2}}\left( {{x}^{2}} \right)\times 2x \\\ & \Rightarrow \dfrac{dy}{dx}=\dfrac{2x{{\sec }^{2}}\left( {{x}^{2}} \right)}{\tan \left( {{x}^{2}} \right)} \\\ \end{aligned}$$ **Hence, the derivative of the given function is $$\dfrac{2x{{\sec }^{2}}\left( {{x}^{2}} \right)}{\tan \left( {{x}^{2}} \right)}$$.** **Note:** One must remember the derivatives of basic functions like: - trigonometric functions, logarithmic functions, exponential functions etc. to solve the above question. Here, in the above question we do not have any other method to solve the question. The given function must be converted into a composite function and then the chain rule must be applied. You must remember all the basic rules of differentiation like: - the product rule, chain rule, $$\dfrac{u}{v}$$ rule etc. as they are used everywhere in the calculus.