SOLVER7 Study. Nothing Else.
2026 Board Paper Q28(a)

If \(xy =e^{x-y},\) then find \(\dfrac{dy}{dx}.\)

CBSE Class 12 Maths · Continuity and Differentiability

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a secret recipe where two ingredients are mixed in a special way. You cannot easily separate them, so you use a clever trick — taking logarithms — to make the mixture simpler to work with. Once simplified, you carefully find how one ingredient changes when the other changes. This is exactly what finding \( \frac{dy}{dx} \) means: how much \( y \) changes when \( x \) changes slightly. The answer tells us the rate of that change.

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

📖 Differentiating an Implicit Equation with Logarithms

Detailed Explanation

The equation \( xy = e^{x-y} \) defines \( y \) implicitly as a function of \( x \); we cannot easily solve for \( y \) directly. When an exponential appears, taking natural logarithms on both sides converts products into sums and brings the exponent down, making differentiation much simpler. After taking logs, we differentiate both sides with respect to \( x \), treating \( y \) as a function of \( x \) (so every derivative of a term in \( y \) carries a factor \( \frac{dy}{dx} \) by the chain rule). Finally we collect all \( \frac{dy}{dx} \) terms and solve.

Formula Used

\[ \ln(ab) = \ln a + \ln b, \quad \ln(e^{u}) = u, \quad \frac{d}{dx}(\ln x) = \frac{1}{x}, \quad \frac{d}{dx}(\ln y) = \frac{1}{y}\frac{dy}{dx} \]

Solution

  1. Step 1: Take natural logarithm on both sides of \( xy = e^{x-y} \): \[ \ln(xy) = \ln\left(e^{x-y}\right) \]
  2. Step 2: Simplify using log properties. The left side splits into a sum, and the exponential cancels with the log on the right: \[ \ln x + \ln y = x - y \]
  3. Step 3: Differentiate both sides with respect to \( x \). Remember \( y \) is a function of \( x \), so \( \frac{d}{dx}(\ln y) = \frac{1}{y}\frac{dy}{dx} \): \[ \frac{1}{x} + \frac{1}{y}\frac{dy}{dx} = 1 - \frac{dy}{dx} \]
  4. Step 4: Collect all terms containing \( \frac{dy}{dx} \) on one side: \[ \frac{1}{y}\frac{dy}{dx} + \frac{dy}{dx} = 1 - \frac{1}{x} \]
  5. Step 5: Factor out \( \frac{dy}{dx} \) and simplify each side: \[ \frac{dy}{dx}\left(\frac{1+y}{y}\right) = \frac{x-1}{x} \]
  6. Step 6: Solve for \( \frac{dy}{dx} \) by multiplying both sides by \( \frac{y}{1+y} \): \[ \frac{dy}{dx} = \frac{y(x-1)}{x(1+y)} \]

Final Answer

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

Common Mistake

A common error is forgetting the chain rule when differentiating terms in \( y \), for example writing \( \frac{d}{dx}(\ln y) = \frac{1}{y} \) instead of \( \frac{1}{y}\frac{dy}{dx} \), which gives a wrong result.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Apply natural log to both sides: Starting from \( xy = e^{x-y} \), take \( \ln \) of both sides: \[ \ln(xy) = \ln\left(e^{x-y}\right) \] — Reason: The equation involves an exponential with \( y \) in the exponent, which is hard to differentiate directly. Taking \( \ln \) on both sides is the standard technique to 'bring down' an exponent and make implicit differentiation manageable.
  2. Step 2: Simplify both sides using log properties: On the left, use \( \ln(ab) = \ln a + \ln b \). On the right, \( \ln(e^{x-y}) = x - y \): \[ \ln x + \ln y = x - y \] — Reason: This converts the original equation into an algebraic form involving only sums and differences of \( x \) and \( y \), which is straightforward to differentiate term by term.
  3. Step 3: Differentiate both sides with respect to \( x \): Differentiate every term. For \( \ln x \), use \( \frac{d}{dx}(\ln x) = \frac{1}{x} \). For \( \ln y \), since \( y \) depends on \( x \), the chain rule gives \( \frac{1}{y}\frac{dy}{dx} \). On the right, \( x \) differentiates to \( 1 \) and \( y \) differentiates to \( \frac{dy}{dx} \): \[ \frac{1}{x} + \frac{1}{y}\frac{dy}{dx} = 1 - \frac{dy}{dx} \] — Reason: This is the core implicit differentiation step; every occurrence of \( y \) must carry a \( \frac{dy}{dx} \) factor because \( y \) is a function of \( x \), not a constant.
  4. Step 4: Gather all \( \frac{dy}{dx} \) terms on one side: Move \( \frac{dy}{dx} \) terms to the left and constant-in-\( \frac{dy}{dx} \) terms to the right: \[ \frac{1}{y}\frac{dy}{dx} + \frac{dy}{dx} = 1 - \frac{1}{x} \] — Reason: Isolating all \( \frac{dy}{dx} \) terms together is the essential algebraic manoeuvre that lets us factor and then solve for \( \frac{dy}{dx} \).
  5. Step 5: Factor out \( \frac{dy}{dx} \) on the left: Factor \( \frac{dy}{dx} \) from the left side and simplify the right side over a common denominator: \[ \frac{dy}{dx}\left(\frac{1}{y} + 1\right) = \frac{x - 1}{x} \] which becomes \[ \frac{dy}{dx} \cdot \frac{1 + y}{y} = \frac{x - 1}{x} \] — Reason: Factoring is necessary to isolate \( \frac{dy}{dx} \) as a single multiplier, and combining fractions on each side sets up a clean division in the next step.
  6. Step 6: Solve for \( \frac{dy}{dx} \): Divide both sides by \( \frac{1+y}{y} \) (equivalently, multiply both sides by \( \frac{y}{1+y} \)): \[ \frac{dy}{dx} = \frac{x-1}{x} \cdot \frac{y}{1+y} = \frac{y(x-1)}{x(1+y)} \] — Reason: Multiplying by the reciprocal of the bracket containing \( \frac{dy}{dx} \) completes the solution, giving an explicit expression for the derivative in terms of both \( x \) and \( y \).

Final Answer

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

Common Mistake

One common mistake: forgetting to apply the chain rule when differentiating \( \ln y \). Students often write \( \frac{d}{dx}(\ln y) = \frac{1}{y} \) and drop the essential \( \frac{dy}{dx} \) factor, which leads to an incorrect result. Always remember that since \( y \) is a function of \( x \), every derivative of a \( y \)-expression must be multiplied by \( \frac{dy}{dx} \).

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Take \ \(\ln\) on both sides of \(xy = e^{x-y}\): \[\ln x + \ln y = x - y\]
  2. Step 2: Differentiate both sides with respect to \(x\): \[\frac{1}{x} + \frac{1}{y}\frac{dy}{dx} = 1 - \frac{dy}{dx}\]
  3. Step 3: Collect \(\frac{dy}{dx}\) terms: \[\frac{dy}{dx}\left(\frac{1+y}{y}\right) = \frac{x-1}{x}\]

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

➕ More Examples

More Examples

Example 1

Question: If \( x^y = e^{x+y} \), find \( \frac{dy}{dx} \).

Solution: We start with \( x^y = e^{x+y} \). Taking the natural logarithm of both sides: \[ \ln(x^y) = \ln(e^{x+y}) \] Simplifying using log properties: \[ y \ln x = x + y \] Rearranging: \[ y \ln x - y = x \] Factoring the left side: \[ y(\ln x - 1) = x \] Solving for y: \[ y = \frac{x}{\ln x - 1} \] Now differentiating both sides with respect to x using the quotient rule: \[ \frac{dy}{dx} = \frac{(\ln x - 1) \cdot 1 - x \cdot \frac{1}{x}}{(\ln x - 1)^2} \] Simplifying the numerator: \[ \frac{dy}{dx} = \frac{\ln x - 1 - 1}{(\ln x - 1)^2} \] Therefore: \[ \frac{dy}{dx} = \frac{\ln x - 2}{(\ln x - 1)^2} \]

Answer: \( \frac{dy}{dx} = \frac{\ln x - 2}{(\ln x - 1)^2} \)

Example 2

Question: If \( y x = e^{y - x} \), find \( \frac{dy}{dx} \).

Solution: We are given \( yx = e^{y-x} \). Taking the natural logarithm of both sides: \[ \ln(yx) = \ln(e^{y-x}) \] Using log properties: \[ \ln y + \ln x = y - x \] Differentiating both sides implicitly with respect to x: \[ \frac{1}{y}\frac{dy}{dx} + \frac{1}{x} = \frac{dy}{dx} - 1 \] Rearranging to collect \( \frac{dy}{dx} \) terms on one side: \[ \frac{1}{y}\frac{dy}{dx} - \frac{dy}{dx} = -1 - \frac{1}{x} \] Factoring the left side: \[ \frac{dy}{dx}\left(\frac{1}{y} - 1\right) = -1 - \frac{1}{x} \] Simplifying the left bracket: \[ \frac{dy}{dx} \cdot \frac{1 - y}{y} = -\frac{x + 1}{x} \] Solving for \( \frac{dy}{dx} \): \[ \frac{dy}{dx} = -\frac{x+1}{x} \cdot \frac{y}{1-y} \] This simplifies to: \[ \frac{dy}{dx} = \frac{y(x+1)}{x(y-1)} \]

Answer: \( \frac{dy}{dx} = \frac{y(x+1)}{x(y-1)} \)

🎯 Try a Similar Question

Try a Similar Question

Question: If \( x^y = e^{x+y} \), then find \( \frac{dy}{dx} \).

Solution

  1. Step 1: Take the natural logarithm of both sides: Given \( x^y = e^{x+y} \), take \( \ln \) on both sides: Left side: \( \ln(x^y) = y \ln x \) Right side: \( \ln(e^{x+y}) = x + y \) So the equation becomes: \[ y \ln x = x + y \]
  2. Step 2: Rearrange to isolate terms with y: Bring all terms involving \( y \) to one side: \[ y \ln x - y = x \] \[ y(\ln x - 1) = x \] This gives an explicit form, but we will differentiate implicitly instead to find \( \frac{dy}{dx} \) directly from \( y \ln x = x + y \).
  3. Step 3: Differentiate both sides with respect to x: Differentiating \( y \ln x = x + y \) with respect to \( x \) (using the product rule on the left side): \[ \frac{d}{dx}(y \ln x) = \frac{d}{dx}(x + y) \] \[ y \cdot \frac{1}{x} + \ln x \cdot \frac{dy}{dx} = 1 + \frac{dy}{dx} \]
  4. Step 4: Collect dy/dx terms on one side: Rearrange to group \( \frac{dy}{dx} \) terms: \[ \ln x \cdot \frac{dy}{dx} - \frac{dy}{dx} = 1 - \frac{y}{x} \] \[ \frac{dy}{dx}(\ln x - 1) = 1 - \frac{y}{x} \]
  5. Step 5: Simplify the right-hand side: The right-hand side becomes: \[ 1 - \frac{y}{x} = \frac{x - y}{x} \] So: \[ \frac{dy}{dx}(\ln x - 1) = \frac{x - y}{x} \]
  6. Step 6: Solve for dy/dx: Dividing both sides by \( (\ln x - 1) \): \[ \frac{dy}{dx} = \frac{x - y}{x(\ln x - 1)} \]

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

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