Question
Question: How do you find \[\dfrac{{dy}}{{dx}}\] given \[y = \ln \left( {\cos x} \right)\] ?...
How do you find dxdy given y=ln(cosx) ?
Solution
Hint : We are asked to differentiate y with respect to x . The value of y is given. Observe the terms involved in y and recall the concepts of differentiation. Also, the cosine term is present in y so you will need to recall the value of differentiation of cosine.
Complete step-by-step answer :
Given, y=ln(cosx) .
We are asked to differentiate y with respect to x .
Let cosx=z
Then y can be written as,
y=lnz (i)
If we have a function f(z) and we differentiate it with respect to x we write it as,
dxd(f(z))=dzd(f(z))dxdz
Using this concept differentiating y with respect to x we get,
dxdy=dzd(lnz)dxdz (ii)
Differentiating lnx with respect to x we get x1 . So,
dzd(lnz)=z1
Putting this value in equation (ii) we get,
dxdy=z1dxdz
Putting the value of z in the above equation we get,
dxdy=cosx1dxd(cosx)
Differentiating cosx with respect to x we get −sinx . So,
dxdy=cosx1(−sinx)
⇒dxdy=−cosxsinx
⇒dxdy=−tanx
Therefore, the value of dxdy is −tanx .
So, the correct answer is “ −tanx ”.
Note : Differentiation can be defined as the rate of change of one variable with respect to another variable. If we are differentiating y with respect to x , we get the measure of how the value of y changes with respect to x . Remember the derivatives of important functions such as logarithm, exponential and trigonometric functions. Also, remember there are three main functions in trigonometry, these are sine, cosine and tangent. There are three other trigonometric functions which can be written in terms of the main functions, these are cosecant which is inverse of sine, secant which is inverse of cosine and cotangent which is inverse of tangent. Also, while solving questions related to trigonometry, you should always remember the basic formulas of trigonometry.