Solveeit Logo

Question

Question: We are given a trigonometric function as ,\(y={{\left( \cot x \right)}^{\sin x}}+{{\left( \tan x \ri...

We are given a trigonometric function as ,y=(cotx)sinx+(tanx)cosxy={{\left( \cot x \right)}^{\sin x}}+{{\left( \tan x \right)}^{\cos x}}. Then find dydx\dfrac{dy}{dx}.
A. sinx(cotx)sinx1(cosec2x)+(cotx)sinx(logcotx)cosx +cosx(tanx)cosx1sec2x+(tanx)cosx(logtanx)(sinx) \begin{aligned} & \sin x{{\left( \cot x \right)}^{\sin x-1}}\left( -\cos e{{c}^{2}}x \right)+{{\left( \cot x \right)}^{\sin x}}\left( \log \cot x \right)\cos x \\\ & +\cos x{{\left( \tan x \right)}^{\cos x-1}}se{{c}^{2}}x+{{\left( \tan x \right)}^{\cos x}}\left( \log \tan x \right)\left( -\sin x \right) \\\ \end{aligned}
B. sinx(cotx)sinx1(cosec2x)+cosx(tanx)cosx1sec2x\sin x{{\left( \cot x \right)}^{\sin x-1}}\left( -\cos e{{c}^{2}}x \right)+\cos x{{\left( \tan x \right)}^{\cos x-1}}se{{c}^{2}}x
C. sinx(cotx)sinx1(sec2x)+(cotx)sinx(logcotx)cosx +cosx(tanx)cosx1cosec2x+(tanx)cosx(logtanx)(sinx) \begin{aligned} & \sin x{{\left( \cot x \right)}^{\sin x-1}}\left( -se{{c}^{2}}x \right)+{{\left( \cot x \right)}^{\sin x}}\left( \log \cot x \right)\cos x \\\ & +\cos x{{\left( \tan x \right)}^{\cos x-1}}\cos e{{c}^{2}}x+{{\left( \tan x \right)}^{\cos x}}\left( \log \tan x \right)\left( \sin x \right) \\\ \end{aligned}
D. none of these

Explanation

Solution

To find the differentiation of y we first separate the functions in y. We find their differentiations separately and add them at the end. We use logarithmic formulas to apply the chain rule on those functions. At the end we perform some trigonometric relations to match with the given options.

Complete answer:
Here we have been given y as a sum of two different functions of x. We assume those functions and differentiate separately.
So, y=(cotx)sinx+(tanx)cosx=f(x)+g(x)y={{\left( \cot x \right)}^{\sin x}}+{{\left( \tan x \right)}^{\cos x}}=f\left( x \right)+g\left( x \right) where f(x)=(cotx)sinx,g(x)=(tanx)cosxf\left( x \right)={{\left( \cot x \right)}^{\sin x}},g\left( x \right)={{\left( \tan x \right)}^{\cos x}}.
Differentiating both sides, we get dydx=f(x)+g(x)\dfrac{dy}{dx}={{f}^{'}}\left( x \right)+{{g}^{'}}\left( x \right).
We have to differentiate f(x)=(cotx)sinxf\left( x \right)={{\left( \cot x \right)}^{\sin x}} and g(x)=(tanx)cosxg\left( x \right)={{\left( \tan x \right)}^{\cos x}} separately.
We apply logarithm to both cases and then differentiate. We have logab=bloga\log {{a}^{b}}=b\log a.
For f(x)=(cotx)sinxf\left( x \right)={{\left( \cot x \right)}^{\sin x}}, we get log[f(x)]=log[(cotx)sinx]=sinxlog(cotx)\log \left[ f\left( x \right) \right]=\log \left[ {{\left( \cot x \right)}^{\sin x}} \right]=\sin x\log \left( \cot x \right).
We differentiate to find f(x){{f}^{'}}\left( x \right).
log[f(x)]=sinxlog(cotx) f(x)f(x)=sinx.ddx[log(cotx)]+ddx(sinx).log(cotx) f(x)f(x)=sinx.(cosec2x)cotx+cosx.log(cotx) f(x)=f(x)[secx+cosx.log(cotx)] \begin{aligned} & \log \left[ f\left( x \right) \right]=\sin x\log \left( \cot x \right) \\\ & \Rightarrow \dfrac{{{f}^{'}}\left( x \right)}{f\left( x \right)}=\sin x.\dfrac{d}{dx}\left[ \log \left( \cot x \right) \right]+\dfrac{d}{dx}\left( \sin x \right).\log \left( \cot x \right) \\\ & \Rightarrow \dfrac{{{f}^{'}}\left( x \right)}{f\left( x \right)}=\sin x.\dfrac{\left( -co{{\sec }^{2}}x \right)}{\cot x}+\cos x.\log \left( \cot x \right) \\\ & \Rightarrow {{f}^{'}}\left( x \right)=f\left( x \right)\left[ -\sec x+\cos x.\log \left( \cot x \right) \right] \\\ \end{aligned}
For g(x)=(tanx)cosxg\left( x \right)={{\left( \tan x \right)}^{\cos x}}, we get log[g(x)]=log[(tanx)cosx]=cosxlog(tanx)\log \left[ g\left( x \right) \right]=\log \left[ {{\left( \tan x \right)}^{\cos x}} \right]=\cos x\log \left( \tan x \right).
We differentiate to find g(x){{g}^{'}}\left( x \right).
log[g(x)]=cosxlog(tanx) g(x)g(x)=cosx.ddx[log(tanx)]+ddx(cosx).log(tanx) g(x)g(x)=cosx.(sec2x)tanx+(sinx).log(tanx) g(x)=g(x)[cosecxsinx.log(tanx)] \begin{aligned} & \log \left[ g\left( x \right) \right]=\cos x\log \left( \tan x \right) \\\ & \Rightarrow \dfrac{{{g}^{'}}\left( x \right)}{g\left( x \right)}=\cos x.\dfrac{d}{dx}\left[ \log \left( \tan x \right) \right]+\dfrac{d}{dx}\left( \cos x \right).\log \left( \tan x \right) \\\ & \Rightarrow \dfrac{{{g}^{'}}\left( x \right)}{g\left( x \right)}=\cos x.\dfrac{\left( {{\sec }^{2}}x \right)}{\tan x}+\left( -\sin x \right).\log \left( \tan x \right) \\\ & \Rightarrow {{g}^{'}}\left( x \right)=g\left( x \right)\left[ \cos ecx- \sin x.\log \left( \tan x \right) \right] \\\ \end{aligned}
Now we put the differentiation values in dydx=f(x)+g(x)\dfrac{dy}{dx}={{f}^{'}}\left( x \right)+{{g}^{'}}\left( x \right).
dydx=f(x)+g(x) dydx=f(x)[secx+cosx.log(cotx)]+g(x)[cosecxsinx.log(tanx)] \begin{aligned} & \dfrac{dy}{dx}={{f}^{'}}\left( x \right)+{{g}^{'}}\left( x \right) \\\ & \Rightarrow \dfrac{dy}{dx}=f\left( x \right)\left[ -\sec x+\cos x.\log \left( \cot x \right) \right]+g\left( x \right)\left[ \cos ecx- \sin x.\log \left( \tan x \right) \right] \\\ \end{aligned}
Now we put the values of the functions in the equation
dydx=(cotx)sinx[secx+cosx.log(cotx)]+(tanx)cosx[cosecxsinx.log(tanx)]\dfrac{dy}{dx}={{\left( \cot x \right)}^{\sin x}}\left[ -\sec x+\cos x.\log \left( \cot x \right) \right]+{{\left( \tan x \right)}^{\cos x}}\left[ \cos ecx- \sin x.\log \left( \tan x \right) \right]
To match it with the given options we solve the equation and get

& \dfrac{dy}{dx}={{\left( \cot x \right)}^{\sin x}}\left[ -\sec x+\cos x.\log \left( \cot x \right) \right]+{{\left( \tan x \right)}^{\cos x}}\left[ \cos ecx-\sin x.\log \left( \tan x \right) \right] \\\ & \Rightarrow \dfrac{dy}{dx}=-\sec x{{\left( \cot x \right)}^{\sin x}}+{{\left( \cot x \right)}^{\sin x}}\cos x.\log \left( \cot x \right) \\\ & +\cos ecx{{\left( \tan x \right)}^{\cos x}}-{{\left( \tan x \right)}^{\cos x}}\sin x.\log \left( \tan x \right) \\\ \end{aligned}$$ We used the identity $\cot x.\sec x=\dfrac{\cos x.\sec x}{\sin x}=\dfrac{1}{\sin x}=\cos ecx$ and $\cos ecx. \tan x=\dfrac{\cos ecx.\sin x}{\cos x}=\dfrac{1}{\cos x}=secx$. We also have $\cos x.\sec x=\cos ecx. \sin x=1$. $$\begin{aligned} & \dfrac{dy}{dx}=-\sec x{{\left( \cot x \right)}^{\sin x}}+{{\left( \cot x \right)}^{\sin x}}\cos x.\log \left( \cot x \right) \\\ & +\cos ecx{{\left( \tan x \right)}^{\cos x}}-{{\left( \tan x \right)}^{\cos x}}\sin x.\log \left( \tan x \right) \\\ & \Rightarrow \dfrac{dy}{dx}=-\cos ecx{{\left( \cot x \right)}^{\sin x-1}}+{{\left( \cot x \right)}^{\sin x}}\left( \log \cot x \right)\cos x \\\ & +secx{{\left( \tan x \right)}^{\cos x-1}}+{{\left( \tan x \right)}^{\cos x}}\left( \log \tan x \right)\left( -\sin x \right) \\\ & \Rightarrow \dfrac{dy}{dx}=\sin x{{\left( \cot x \right)}^{\sin x-1}}\left( -\cos e{{c}^{2}}x \right)+{{\left( \cot x \right)}^{\sin x}}\left( \log \cot x \right)\cos x \\\ & +\cos x{{\left( \tan x \right)}^{\cos x-1}}se{{c}^{2}}x+{{\left( \tan x \right)}^{\cos x}}\left( \log \tan x \right)\left( -\sin x \right) \\\ \end{aligned}$$ **The correct option is A.** **Note:** We perform the logarithm or we can remember the following differentiation rule of $$y={{\left[ f\left( x \right) \right]}^{g\left( x \right)}}$$ as $$\dfrac{dy}{dx}={{\left[ f\left( x \right) \right]}^{g\left( x \right)}}\left[ {{g}^{'}}\left( x \right)\log f\left( x \right)+\dfrac{g\left( x \right){{f}^{'}}\left( x \right)}{f\left( x \right)} \right]$$. The Chain Rule tells us how to differentiate composite functions and since so many functions can be written as composites, it is a vitally important tool for computing derivatives rather than remembering difficult derivations.