SOLVER7 Study. Nothing Else.
Exercise 5.5 Q13

Find \(\dfrac{dy}{dx}\) of the functions given in Exercises 12 to 15. \( y^x = x^y \)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

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)} \]

📖 Differentiating y^x = x^y using Logarithms

Detailed Explanation

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} \).

Formula Used

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} \).

Solution

  1. Step 1: Start with the given equation and take the natural logarithm on both sides. \[ y^x = x^y \] Taking log: \[ \log(y^x) = \log(x^y) \]
  2. Step 2: Use the log property \( \log(a^b) = b \log a \) to bring the exponents down. This turns awkward powers into simple products that are easy to differentiate. \[ x \log y = y \log x \]
  3. Step 3: Differentiate both sides with respect to \( x \). Each side is a product, so apply the product rule. On the left, remember \( \log y \) differentiates to \( \frac{1}{y}\frac{dy}{dx} \) (chain rule). On the right, \( y \) is a function of \( x \). \[ x \cdot \frac{1}{y}\frac{dy}{dx} + \log y \cdot 1 = y \cdot \frac{1}{x} + \log x \cdot \frac{dy}{dx} \]
  4. Step 4: Rewrite the equation clearly. \[ \frac{x}{y}\frac{dy}{dx} + \log y = \frac{y}{x} + \log x \, \frac{dy}{dx} \]
  5. Step 5: Collect all terms containing \( \frac{dy}{dx} \) on one side and the remaining terms on the other side. \[ \frac{x}{y}\frac{dy}{dx} - \log x \, \frac{dy}{dx} = \frac{y}{x} - \log y \]
  6. Step 6: Factor out \( \frac{dy}{dx} \) from the left side. \[ \left( \frac{x}{y} - \log x \right) \frac{dy}{dx} = \frac{y}{x} - \log y \]
  7. Step 7: Solve for \( \frac{dy}{dx} \) by dividing. \[ \frac{dy}{dx} = \frac{\dfrac{y}{x} - \log y}{\dfrac{x}{y} - \log x} \] To simplify, multiply numerator and denominator by \( xy \). \[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]

Final Answer

\[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]

Common Mistake

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.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Write down the given equation: We start with: \[ y^x = x^y \] — Reason: Identifying the form of the equation tells us that standard power-rule or exponential-rule differentiation alone will not work here, since variables appear in both the base and the exponent on each side.
  2. Step 2: Take the natural logarithm of both sides: Applying log to both sides: \[ \log(y^x) = \log(x^y) \] — Reason: Taking the logarithm allows us to use the identity \( \log(a^b) = b \log a \), which pulls the exponents down and converts each side into a product of simpler functions.
  3. Step 3: Simplify using the log-power rule: Using \( \log(a^b) = b \log a \) on each side gives: \[ x \log y = y \log x \] — Reason: This transforms the equation into a product form on both sides, which can be differentiated term-by-term using the product rule.
  4. Step 4: Differentiate both sides with respect to x: Differentiating \( x \log y \) on the left and \( y \log x \) on the right, each using the product rule (and remembering that \( y \) is a function of \( x \), so \( \frac{d}{dx}(\log y) = \frac{1}{y}\frac{dy}{dx} \)): \[ x \cdot \frac{1}{y}\frac{dy}{dx} + \log y \cdot 1 = y \cdot \frac{1}{x} + \log x \cdot \frac{dy}{dx} \] — Reason: The product rule must be applied to both sides since each side is a product of two x-dependent functions; the chain rule accounts for \( y \) being implicitly defined.
  5. Step 5: Rewrite the differentiated equation clearly: The equation from Step 4 is: \[ \frac{x}{y}\frac{dy}{dx} + \log y = \frac{y}{x} + \log x \cdot \frac{dy}{dx} \] — Reason: Writing it out neatly makes it easier to identify which terms involve \( \frac{dy}{dx} \) and which do not, so we can isolate \( \frac{dy}{dx} \) in the next step.
  6. Step 6: Collect all dy/dx terms on one side: Bringing the \( \frac{dy}{dx} \) terms to the left and the remaining terms to the right: \[ \frac{x}{y}\frac{dy}{dx} - \log x \cdot \frac{dy}{dx} = \frac{y}{x} - \log y \] Factoring \( \frac{dy}{dx} \) out on the left: \[ \frac{dy}{dx}\left(\frac{x}{y} - \log x\right) = \frac{y}{x} - \log y \] — Reason: Grouping like terms is the standard algebraic move to isolate the unknown \( \frac{dy}{dx} \).
  7. Step 7: Solve for dy/dx and simplify: Dividing both sides by \( \left(\frac{x}{y} - \log x\right) \): \[ \frac{dy}{dx} = \frac{\dfrac{y}{x} - \log y}{\dfrac{x}{y} - \log x} \] Multiplying numerator and denominator each by \( xy \) to clear the fractions: numerator becomes \( y^2 - xy\log y \) and denominator becomes \( x^2 - xy\log x \). Factoring: \[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \] — Reason: Multiplying through by \( xy \) eliminates compound fractions and allows clean factoring, giving us the final simplified result.

Final Answer

\[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]

Common Mistake

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.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \ \( y^x = x^y \) Take log both sides: \[ x \log y = y \log x \]
  2. Step 2: Differentiate both sides w.r.t. \( x \) using product rule: \[ \frac{x}{y}\frac{dy}{dx} + \log y = \frac{y}{x} + \log x \cdot \frac{dy}{dx} \]
  3. Step 3: Collect \( \frac{dy}{dx} \) terms: \[ \frac{dy}{dx}\left(\frac{x}{y} - \log x\right) = \frac{y}{x} - \log y \]
  4. Step 4: Simplify: \[ \frac{dy}{dx} = \frac{\dfrac{y - x\log y}{x}}{\dfrac{x - y\log x}{y}} = \frac{y(y - x\log y)}{x(x - y\log x)} \]

Answer: \[ \frac{dy}{dx} = \frac{y(y - x\log y)}{x(x - y\log x)} \]

➕ More Examples

More Examples

Example 1

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}\)

Example 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}\)

🎯 Try a Similar Question

Try a Similar Question

Question: Find \( \frac{dy}{dx} \) for the implicit function \( x^y = y^{2x} \).

Solution

  1. Step 1: Take the natural logarithm of both sides: Starting with \( x^y = y^{2x} \), take \( \log \) on both sides: \[ \log(x^y) = \log(y^{2x}) \] Using the logarithm power rule \( \log(a^b) = b \log a \): \[ y \log x = 2x \log y \]
  2. Step 2: Differentiate both sides with respect to x: Differentiate \( y \log x = 2x \log y \) with respect to \( x \), applying the product rule on both sides. Left side: \[ \frac{d}{dx}(y \log x) = \frac{dy}{dx} \cdot \log x + y \cdot \frac{1}{x} \] Right side: \[ \frac{d}{dx}(2x \log y) = 2 \log y + 2x \cdot \frac{1}{y} \cdot \frac{dy}{dx} \] So the differentiated equation is: \[ \frac{dy}{dx} \cdot \log x + \frac{y}{x} = 2 \log y + \frac{2x}{y} \cdot \frac{dy}{dx} \]
  3. Step 3: Collect all terms involving dy/dx on one side: Bring all \( \frac{dy}{dx} \) terms to the left and remaining terms to the right: \[ \frac{dy}{dx} \cdot \log x - \frac{2x}{y} \cdot \frac{dy}{dx} = 2 \log y - \frac{y}{x} \] Factor out \( \frac{dy}{dx} \): \[ \frac{dy}{dx} \left( \log x - \frac{2x}{y} \right) = 2 \log y - \frac{y}{x} \]
  4. Step 4: Simplify the brackets by taking LCM: Simplify the left bracket by taking LCM \( y \): \[ \log x - \frac{2x}{y} = \frac{y \log x - 2x}{y} \] Simplify the right side by taking LCM \( x \): \[ 2 \log y - \frac{y}{x} = \frac{2x \log y - y}{x} \] So the equation becomes: \[ \frac{dy}{dx} \cdot \frac{y \log x - 2x}{y} = \frac{2x \log y - y}{x} \]
  5. Step 5: Solve for dy/dx: Multiply both sides by \( \frac{y}{y \log x - 2x} \): \[ \frac{dy}{dx} = \frac{y(2x \log y - y)}{x(y \log x - 2x)} \]

Answer: \[ \frac{dy}{dx} = \frac{y(2x \log y - y)}{x(y \log x - 2x)} \]

Everything you get with Solver7

More questions in Continuity and Differentiability

Chapter 5 Examples Q1 Chapter 5 Examples Q2 Chapter 5 Examples Q3 65/1/1 2024 / Section A Q3 Chapter 5 Examples Q4 65/2/1 2024 / Section A Q4 65/3/1 2024 / Section A Q4 Chapter 5 Examples Q5 65/4/1 2026 / Section A Q5 Chapter 5 Examples Q6 65(B) 2026 / Section A Q6 65/4/1 2023 / Section A Q6 65/4/2 2024 / Section A Q6 65/5/1 2026 / Section A Q6 Chapter 5 Examples Q7 65/3/1 2026 / Section A Q7 65/4/1 2023 / Section A Q7 65/4/1 2026 / Section A Q7 65/4/2 2024 / Section A Q7 Chapter 5 Examples Q8 65/4/1 2026 / Section A Q8 65/5/1 2026 / Section A Q8 Chapter 5 Examples Q9 Chapter 5 Examples Q10 Chapter 5 Examples Q11 65/2/2 2023 / Section A Q11 65/2/3 2026 / Section A Q11 Chapter 5 Examples Q12 65/2/2 2023 / Section A Q12 Chapter 5 Examples Q13 65/1/1 2023 / Section A Q13 65/1/1 2024 / Section A Q13 65/2/1 2024 / Section A Q13 Chapter 5 Examples Q14 65/3/1 2024 / Section A Q14 Chapter 5 Examples Q15 65/3/1 2023 / Section A Q15 Chapter 5 Examples Q16 65/3/1 2023 / Section A Q16 Chapter 5 Examples Q17 Chapter 5 Examples Q18 Chapter 5 Examples Q19 Chapter 5 Examples Q20 Chapter 5 Examples Q21 65/1/1 2024 / Section B Q21(a) 65/1/1 2026 / Section B Q21(a) 65/3/1 2026 / Section B Q21 Chapter 5 Examples Q22 65/1/1 2024 / Section B Q21(b) 65/1/1 2026 / Section B Q21(b) 65/3/1 2024 / Section B Q22(a) 65/4/1 2026 / Section B Q22(a) 65/5/1 2026 / Section B Q22(a) Chapter 5 Examples Q23 65/2/1 2024 / Section B Q22(a) 65/3/1 2024 / Section B Q22(b) 65/4/1 2023 / Section B Q22 65/4/1 2026 / Section B Q22(b) 65/5/1 2026 / Section B Q22(b) Chapter 5 Examples Q24