Skip to content
Exercise 5.5 · Q14

Q.Find dydx\frac{dy}{dx} in the following: (cos⁡x)y=(cos⁡y)x(\cos x)^y = (\cos y)^x

Telangana TsbieTextbookSubjective· 3mImportance★★★★★
40% · 113/281 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

This problem uses logarithmic differentiation to handle variables in both the base and exponent. Taking the natural log of both sides converts the equation into a form where implicit differentiation can be applied. The final derivative is dydx=log⁡(cos⁡y)+ytan⁡xlog⁡(cos⁡x)+xtan⁡y\frac{dy}{dx} = \frac{\log(\cos y) + y \tan x}{\log(\cos x) + x \tan y}.

We have an equation where the variable yy appears both as an exponent and inside a trigonometric function. Direct differentiation is impossible because the power rule and exponential rule don't apply when both base and exponent are functions of xx. The standard technique here is logarithmic differentiation: take the natural logarithm of both sides, use log properties to bring down the exponent, then differentiate implicitly.

Let’s work through it step by step.

  1. Take the natural log of both sides Start with (cos⁡x)y=(cos⁡y)x(\cos x)^y = (\cos y)^x. Apply log⁡\log to both sides:

log⁡((cos⁡x)y)=log⁡((cos⁡y)x)\log\left((\cos x)^y\right) = \log\left((\cos y)^x\right)

Using the power rule for logs (log⁡(ab)=blog⁡a\log(a^b) = b \log a), we get:

ylog⁡(cos⁡x)=xlog⁡(cos⁡y)y \log(\cos x) = x \log(\cos y)

  1. Differentiate implicitly with respect to xx Both sides are products of functions of xx (remember yy is a function of xx). Use the product rule on each side. Left side: differentiate y⋅log⁡(cos⁡x)y \cdot \log(\cos x).
    • Derivative of yy is dydx\frac{dy}{dx} (call it y′y').
    • Derivative of log⁡(cos⁡x)\log(\cos x) is 1cos⁡x⋅(−sin⁡x)=−tan⁡x\frac{1}{\cos x} \cdot (-\sin x) = -\tan x. So by product rule:

ddx[ylog⁡(cos⁡x)]=y′⋅log⁡(cos⁡x)+y⋅(−tan⁡x)=y′log⁡(cos⁡x)−ytan⁡x\frac{d}{dx}\left[y \log(\cos x)\right] = y' \cdot \log(\cos x) + y \cdot (-\tan x) = y' \log(\cos x) - y \tan x

Right side: differentiate x⋅log⁡(cos⁡y)x \cdot \log(\cos y).

  • Derivative of xx is 11.
  • Derivative of log⁡(cos⁡y)\log(\cos y) is 1cos⁡y⋅(−sin⁡y)⋅y′=−(tan⁡y) y′\frac{1}{\cos y} \cdot (-\sin y) \cdot y' = -(\tan y) \, y' (chain rule). So by product rule:

ddx[xlog⁡(cos⁡y)]=1⋅log⁡(cos⁡y)+x⋅(−(tan⁡y) y′)=log⁡(cos⁡y)−xy′tan⁡y\frac{d}{dx}\left[x \log(\cos y)\right] = 1 \cdot \log(\cos y) + x \cdot \left(-(\tan y) \, y'\right) = \log(\cos y) - x y' \tan y

  1. Set the derivatives equal From step 1, the original equation after logs is an identity, so their derivatives are equal: …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.