Question
Question: If \(y = {\log _{\cos x}}\sin x\), then \(\dfrac{{dy}}{{dx}}\) is equal to: (A) \(\dfrac{{\left[ ...
If y=logcosxsinx, then dxdy is equal to:
(A) (log(cosx))2[cotxlog(cosx)+tanxlog(sinx)]
(B) (log(cosx))2[tanxlog(cosx)+cotxlog(sinx)]
(C) (log(sinx))2[cotxlog(cosx)+tanxlog(sinx)]
(D) None of these
Solution
In the given problem, we are required to differentiate y=logcosxsinx with respect to x. Since, y=logcosxsinx is a composite function, so we will have to apply chain rule of differentiation in the process of differentiating y=logcosxsinx . So, differentiation of y=logcosxsinx with respect to x will be done layer by layer using the chain rule of differentiation. The derivative of log(x) with respect to x must be remembered. We will also use the quotient rule of differentiation.
Complete answer: So, we have, y=logcosxsinx.
Now, we first simplify the logarithmic function using the law of logarithm logylogx=logyx. So, we get,
⇒y=logcosxlogsinx
Now, we have to differentiate both the sides with respect to x, we get,
⇒dxdy=dxd[logcosxlogsinx]
Now, we use the quotient rule of differentiation dxd[g(x)f(x)]=[g(x)]2g(x)dxd[f(x)]+f(x)dxd[g(x)]. So, we get,
⇒dxdy=(logcosx)2logcosxdxd[logsinx]−[logsinx]dxd[logcosx]
Now, we know that derivative of logx with respect to x is (x1). So, using chain rule of differentiation dxd[f(g(x))]=f′(g(x))g′(x), we get,
⇒dxdy=(logcosx)2logcosx(sinx1)(cosx)−[logsinx](cosx1)(−sinx)
Now, using the trigonometric formulae cotx=sinxcosx and tanx=cosxsinx to simplify the expression, we get,
⇒dxdy=(logcosx)2cotxlogcosx+tanxlogsinx
So, the derivative of y=logcosxsinx is (logcosx)2cotxlogcosx+tanxlogsinx.
So, option (A) is the correct answer.
Note:
The given problem may also be solved using the first principle of differentiation. The derivatives of basic functions must be learned by heart in order to find derivatives of complex composite functions using chain rule of differentiation. The chain rule of differentiation involves differentiating a composite by introducing new unknowns to ease the process and examine the behaviour of function layer by layer. One must know the quotient rule of differentiation to tackle similar problems.