Find \(\dfrac{dy}{dx}\) of the functions given in Exercises 12 to 15. \( x^y + y^x = 1\)
CBSE Class 12 Maths · Continuity and Differentiability
CBSE Class 12 Maths · Continuity and Differentiability
Imagine a seesaw perfectly balanced — that is what the equation \( x^y + y^x = 1 \) looks like. Both sides must always stay equal to 1, no matter how \( x \) changes. When \( x \) nudges a little, \( y \) secretly adjusts to keep the balance. We find how fast \( y \) adjusts by treating it like a hidden passenger riding along with \( x \). Logarithms help us unlock the hidden exponents, and the final answer tells us the exact rate at which \( y \) changes.
Answer: \[ \frac{dy}{dx} = -\,\frac{y\,x^{y-1} + y^x \ln y}{x^y \ln x + x\,y^{x-1}}. \]
Here we have an equation \( x^y + y^x = 1 \) where \( y \) is defined implicitly in terms of \( x \). Both terms have a variable in the base AND a variable in the exponent, so we cannot use the simple power rule \( \frac{d}{dx}(x^n) = n x^{n-1} \) (which needs a constant power) nor the exponential rule directly. The correct method is logarithmic differentiation: we treat each term separately, take logs to bring the exponent down, then differentiate. Let \( u = x^y \) and \( v = y^x \). We find \( \frac{du}{dx} \) and \( \frac{dv}{dx} \) separately, add them, and set the sum equal to \( 0 \) (since the right side is the constant \( 1 \)). Throughout, remember that \( y \) is a function of \( x \), so differentiating any expression in \( y \) produces a \( \frac{dy}{dx} \) factor by the chain rule.
\( \frac{d}{dx}(\ln u) = \frac{1}{u}\frac{du}{dx} \), \( \frac{d}{dx}(\ln x) = \frac{1}{x} \), and the product rule \( (fg)' = f'g + fg' \).
\[ \frac{dy}{dx} = -\,\frac{y\,x^{y-1} + y^x \ln y}{x^y \ln x + x\,y^{x-1}}. \]
A very common error is applying the power rule to \( x^y \) as if the exponent were a constant, writing \( y\,x^{y-1} \) only, and forgetting the \( x^y \ln x \, \frac{dy}{dx} \) term. Because both base and exponent contain variables, you must use logarithmic differentiation and include the exponent's derivative.
\[ \frac{dy}{dx} = -\,\frac{y\,x^{y-1} + y^x \ln y}{x^y \ln x + x\,y^{x-1}}. \]
One common mistake: forgetting that \(y\) is a function of \(x\), so when differentiating \(x \ln y\) with the product rule, the term \(\frac{d}{dx}(\ln y) = \frac{1}{y}\frac{dy}{dx}\) must include a \(\frac{dy}{dx}\) factor — omitting it leads to an incorrect answer.
Answer: \[ \frac{dy}{dx} = -\,\frac{y\,x^{y-1} + y^x \ln y}{x^y \ln x + x\,y^{x-1}}. \]
Question: Find \( \frac{dy}{dx} \) if \( x^{2y} + y^{2x} = 4 \).
Solution: Let \( u = x^{2y} \) and \( v = y^{2x} \), so the equation is \( u + v = 4 \). Differentiating both sides with respect to \( x \): \[ \frac{du}{dx} + \frac{dv}{dx} = 0 \] Finding \( \frac{du}{dx} \): Take logarithm of \( u = x^{2y} \). \[ \ln u = 2y \ln x \] Differentiating both sides with respect to \( x \): \[ \frac{1}{u}\frac{du}{dx} = 2\frac{dy}{dx}\ln x + 2y \cdot \frac{1}{x} \] Therefore: \[ \frac{du}{dx} = x^{2y}\left(2\ln x \cdot \frac{dy}{dx} + \frac{2y}{x}\right) \] Finding \( \frac{dv}{dx} \): Take logarithm of \( v = y^{2x} \). \[ \ln v = 2x \ln y \] Differentiating both sides with respect to \( x \): \[ \frac{1}{v}\frac{dv}{dx} = 2\ln y + 2x \cdot \frac{1}{y}\frac{dy}{dx} \] Therefore: \[ \frac{dv}{dx} = y^{2x}\left(2\ln y + \frac{2x}{y}\frac{dy}{dx}\right) \] Substituting back into \( \frac{du}{dx} + \frac{dv}{dx} = 0 \): \[ x^{2y}\left(2\ln x \cdot \frac{dy}{dx} + \frac{2y}{x}\right) + y^{2x}\left(2\ln y + \frac{2x}{y}\frac{dy}{dx}\right) = 0 \] Collecting terms with \( \frac{dy}{dx} \): \[ \frac{dy}{dx}\left(2x^{2y}\ln x + \frac{2x \cdot y^{2x}}{y}\right) = -\frac{2y \cdot x^{2y}}{x} - 2y^{2x}\ln y \] Dividing numerator and denominator by 2: \[ \frac{dy}{dx} = -\frac{\dfrac{y \cdot x^{2y}}{x} + y^{2x}\ln y}{x^{2y}\ln x + \dfrac{x \cdot y^{2x}}{y}} \] Writing in a cleaner form: \[ \frac{dy}{dx} = -\frac{y \cdot x^{2y-1} + y^{2x}\ln y}{x^{2y}\ln x + x \cdot y^{2x-1}} \]
Answer: \( \dfrac{dy}{dx} = -\dfrac{y \cdot x^{2y-1} + y^{2x}\ln y}{x^{2y}\ln x + x \cdot y^{2x-1}} \)
Question: Find \( \frac{dy}{dx} \) if \( x^{\sin y} + y^{\cos x} = 2 \).
Solution: Let \( u = x^{\sin y} \) and \( v = y^{\cos x} \), so the equation is \( u + v = 2 \). Differentiating both sides with respect to \( x \): \[ \frac{du}{dx} + \frac{dv}{dx} = 0 \] Finding \( \frac{du}{dx} \): Take logarithm of \( u = x^{\sin y} \). \[ \ln u = \sin y \cdot \ln x \] Differentiating both sides with respect to \( x \): \[ \frac{1}{u}\frac{du}{dx} = \cos y \cdot \frac{dy}{dx} \cdot \ln x + \sin y \cdot \frac{1}{x} \] Therefore: \[ \frac{du}{dx} = x^{\sin y}\left(\ln x \cos y \cdot \frac{dy}{dx} + \frac{\sin y}{x}\right) \] Finding \( \frac{dv}{dx} \): Take logarithm of \( v = y^{\cos x} \). \[ \ln v = \cos x \cdot \ln y \] Differentiating both sides with respect to \( x \): \[ \frac{1}{v}\frac{dv}{dx} = -\sin x \cdot \ln y + \cos x \cdot \frac{1}{y}\frac{dy}{dx} \] Therefore: \[ \frac{dv}{dx} = y^{\cos x}\left(-\sin x \ln y + \frac{\cos x}{y}\frac{dy}{dx}\right) \] Substituting back into \( \frac{du}{dx} + \frac{dv}{dx} = 0 \): \[ x^{\sin y}\left(\ln x \cos y \cdot \frac{dy}{dx} + \frac{\sin y}{x}\right) + y^{\cos x}\left(-\sin x \ln y + \frac{\cos x}{y}\frac{dy}{dx}\right) = 0 \] Collecting terms with \( \frac{dy}{dx} \): \[ \frac{dy}{dx}\left(x^{\sin y}\ln x \cos y + \frac{y^{\cos x}\cos x}{y}\right) = -\frac{x^{\sin y}\sin y}{x} + y^{\cos x}\sin x \ln y \] Therefore: \[ \frac{dy}{dx} = \frac{y^{\cos x}\sin x \ln y - x^{\sin y - 1}\sin y}{x^{\sin y}\ln x \cos y + y^{\cos x - 1}\cos x} \]
Answer: \( \dfrac{dy}{dx} = \dfrac{y^{\cos x}\sin x \ln y - x^{\sin y - 1}\sin y}{x^{\sin y}\ln x \cos y + y^{\cos x - 1}\cos x} \)
Question: Find \( \frac{dy}{dx} \) for the function defined implicitly by \[ x^y + y^x = x + y. \]
Answer: \[ \frac{dy}{dx} = \frac{1 - y\\,x^{y-1} - y^x \ln y}{x^y \ln x + x\\,y^{x-1} - 1}. \]