Question
Question: Find \(\dfrac{{dy}}{{dx}}\), when \(y = \cos x\cos 2x\cos 3x\)....
Find dxdy, when y=cosxcos2xcos3x.
Solution
To solve this problem, we will take logarithmic functions on both sides of y. Then we will differentiate both sides with respect to x. To differentiate both the sides we will use the basic theories of differentiation like chain rule. Further keeping dxdy on the left hand side of the equation and taking all the other terms on the right hand side and simplifying, we will get the required answer.
Complete step-by-step solution:
Given equation is y=cosxcos2xcos3x.
Now, taking logarithmic function on both the sides of the equation, we get,
⇒logy=log(cosxcos2xcos3x)
We know, log(x.y.z)=logx+logy+logz.
Using this property of logarithmic function in the given equation, we get,
⇒logy=log(cosx)+log(cos2x)+log(cos3x)
Now, differentiating both the sides of the equation with respect to x, we get,
⇒y1dxdy=cosx1.dxd(cosx)+cos2x1.dxd(cos2x)+cos3x1.dxd(cos3x)
[Using, dxd(logx)=x1 and chain rule]
⇒y1dxdy=cosx1.(−sinx)+cos2x1.(−sin2x).dxd(2x)+cos3x1.(−sin3x).dxd(3x)
[Using, dxd(cosx)=−sinx and chain rule]
⇒y1dxdy=−cosxsinx−cos2xsin2x.2−cos3xsin3x.3
Now, simplifying the terms, we get,
⇒y1dxdy=−tanx−2.tan2x−3tan3x
[Using, cosxsinx=tanx]
Multiplying y on both the sides, we get,
⇒dxdy=y[−tanx−2.tan2x−3tan3x]
Taking negative common on right hand side of the equation, we get,
⇒dxdy=−y[tanx+2.tan2x+3tan3x]
Given, y=cosxcos2xcos3x.
So, substituting this in the equation, we get,
⇒dxdy=−cosxcos2xcos3x[tanx+2.tan2x+3tan3x].
Note: We can also solve this problem by using chain rule and the formula of differentiation of products. On right hand of the equation, taking two of the cosine terms together and the other term separately, like, taking cosx as one term and (cos2xcos3x) as another term and using the formula of differentiation of products which is dxd(uv)=dxdu.v+u.dxdv. Then using chain rule and differentiating the two cosine terms (cos2xcos3x) by the formula of differentiation of products, we will get the required value.