Find \(\dfrac{dy}{dx}\) of the functions given in Exercises 12 to 15. \( y^x = x^y \)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine two friends swapping hats and shoes at the same time — things get tangled fast! Here, both sides of the equation have letters hiding in the powers, making it tricky to undo. A clever trick is to take the logarithm of both sides, which pulls those powers down so they become simple multiplications. After that, ordinary differentiation rules untangle everything. The final answer tells us exactly how fast \( y \) changes compared to \( x \).
Answer: \[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]
When we have an equation like \( y^x = x^y \), the variable appears both in the base and in the exponent on each side. We cannot directly use the power rule or the exponential rule alone. The best tool here is logarithmic differentiation: take the natural logarithm of both sides to convert powers into products, then differentiate implicitly using the product rule and chain rule. Remember that \( y \) is a function of \( x \), so whenever we differentiate a term involving \( y \), we multiply by \( \frac{dy}{dx} \).
Key results used: \( \log(a^b) = b \log a \), \( \dfrac{d}{dx}(\log x) = \dfrac{1}{x} \), and the product rule \( \dfrac{d}{dx}(uv) = u\dfrac{dv}{dx} + v\dfrac{du}{dx} \).
\[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]
A common mistake is forgetting to apply the chain rule to \( \log y \), writing its derivative as \( \frac{1}{y} \) instead of \( \frac{1}{y}\frac{dy}{dx} \). Since \( y \) depends on \( x \), the extra factor \( \frac{dy}{dx} \) must always be included.
\[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]
One common mistake: When differentiating \( x \log y \) with respect to \( x \), students often write \( \frac{d}{dx}(\log y) = \frac{1}{y} \) and forget to multiply by \( \frac{dy}{dx} \) (the chain rule). Since \( y \) is a function of \( x \), the correct result is \( \frac{1}{y}\frac{dy}{dx} \); omitting this factor leads to an incorrect final answer.
Answer: \[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]
Question: Find \(\dfrac{dy}{dx}\) if \(x^y = y^{2x}\).
Solution: We are given \(x^y = y^{2x}\). Taking the natural logarithm of both sides: \[y \ln x = 2x \ln y\] Now differentiate both sides implicitly with respect to \(x\). The left side uses the product rule on \(y \ln x\): \[\frac{d}{dx}(y \ln x) = \frac{dy}{dx} \cdot \ln x + y \cdot \frac{1}{x}\] The right side uses the product rule on \(2x \ln y\): \[\frac{d}{dx}(2x \ln y) = 2 \ln y + 2x \cdot \frac{1}{y} \cdot \frac{dy}{dx}\] Setting the derivatives equal: \[\frac{dy}{dx} \ln x + \frac{y}{x} = 2 \ln y + \frac{2x}{y} \cdot \frac{dy}{dx}\] Collecting the terms with \(\dfrac{dy}{dx}\) on the left: \[\frac{dy}{dx} \ln x - \frac{2x}{y} \cdot \frac{dy}{dx} = 2 \ln y - \frac{y}{x}\] Factoring out \(\dfrac{dy}{dx}\): \[\frac{dy}{dx} \left(\ln x - \frac{2x}{y}\right) = 2 \ln y - \frac{y}{x}\] Therefore: \[\frac{dy}{dx} = \frac{2 \ln y - \dfrac{y}{x}}{\ln x - \dfrac{2x}{y}}\] Multiplying numerator and denominator by \(xy\): \[\frac{dy}{dx} = \frac{2xy \ln y - y^2}{xy \ln x - 2x^2}\]
Answer: \(\dfrac{dy}{dx} = \dfrac{2xy \ln y - y^2}{xy \ln x - 2x^2}\)
Question: Find \(\dfrac{dy}{dx}\) if \((\sin x)^y = (\cos y)^x\).
Solution: We are given \((\sin x)^y = (\cos y)^x\). Taking the natural logarithm of both sides: \[y \ln(\sin x) = x \ln(\cos y)\] Differentiate both sides implicitly with respect to \(x\). Differentiating the left side using the product rule: \[\frac{dy}{dx} \cdot \ln(\sin x) + y \cdot \frac{\cos x}{\sin x}\] which equals \[\frac{dy}{dx} \ln(\sin x) + y \cot x\] Differentiating the right side using the product rule: \[\ln(\cos y) + x \cdot \frac{-\sin y}{\cos y} \cdot \frac{dy}{dx}\] which equals \[\ln(\cos y) - x \tan y \cdot \frac{dy}{dx}\] Setting the two sides equal: \[\frac{dy}{dx} \ln(\sin x) + y \cot x = \ln(\cos y) - x \tan y \cdot \frac{dy}{dx}\] Collecting the terms with \(\dfrac{dy}{dx}\) on the left: \[\frac{dy}{dx} \ln(\sin x) + x \tan y \cdot \frac{dy}{dx} = \ln(\cos y) - y \cot x\] Factoring: \[\frac{dy}{dx} \left(\ln(\sin x) + x \tan y\right) = \ln(\cos y) - y \cot x\] Therefore: \[\frac{dy}{dx} = \frac{\ln(\cos y) - y \cot x}{\ln(\sin x) + x \tan y}\]
Answer: \(\dfrac{dy}{dx} = \dfrac{\ln(\cos y) - y \cot x}{\ln(\sin x) + x \tan y}\)
Question: Find \( \frac{dy}{dx} \) for the implicit function \( x^y = y^{2x} \).
Answer: \[ \frac{dy}{dx} = \frac{y(2x \log y - y)}{x(y \log x - 2x)} \]