Question
Question: If \(y = \log \left( {\cos ecx - \cot x} \right)\), then find the value of \(\dfrac{{dy}}{{dx}}\). ...
If y=log(cosecx−cotx), then find the value of dxdy.
A) cosecx+cotx
B) cotx
C) secx+tanx
D) cosecx
Solution
In this question, we are given an equation and we have been asked to differentiate the given equation. Differentiate both the sides with respect to x. then, use chain rule on RHS to differentiate further. Take out one term common out of it such that there are like terms in the numerator and denominator and then cancel the like terms. You will get your answer.
Complete step-by-step solution:
We are given an equation y=log(cosecx−cotx). We have to find the dxdy of the equation.
⇒ y=log(cosecx−cotx)
Differentiating both the sides with respect to x,
⇒dxdy=(cosecx−cotx)1dxd(cosecx−cotx) …. (dxd(logx)=x1)
Using chain rule to find the differentiation of 2nd part,
⇒dxdy=(cosecx−cotx)(−cosecxcotx+cosec2x) …. (dxd(cosecx)=−cosecxcotx,dxd(cotx)=−cosec2x)
Now, we will take common cosec x from the numerator,
⇒dxdy=(cosecx−cotx)cosec(−cotx+cosecx)
Rearranging the terms in the bracket,
⇒dxdy=(cosecx−cotx)cosec(cosecx−cotx)
Since, there are like terms in the numerator and denominator, we will cancel them and it will give us our answer.
⇒dxdy=cosecx
Therefore, our required answer is option D) cosecx.
Note: hain rule is a very important technique in differentiation. It helps us in differentiating the composite functions. In such functions, we identify the inner and outer functions first. It is very important to identify them correctly. For example: (7x−9x2)5 is a composite function. In this, 7x−9x2 is an inner function and we have to assume this inner function as x. Now, our outer function has become x5.
So, first we differentiate the outer function. Then, we differentiate the inner function.
A common mistake students make is that they only differentiate the outer function and forget to differentiate the inner function. So, always do the question step by step.