Question:medium

If \(e^{x+y} = 3x\), then \(\frac{dy}{dx}\) is

Show Hint

Differentiate both sides with respect to x using the chain rule: e^{x+y}(1 + dy/dx) = 3. Then solve for dy/dx.
Updated On: Oct 22, 2026
  • \(\frac{3}{e^{x+y}}\)
  • \(\frac{1}{e^{x+y}}\)
  • \(\frac{1 - e^{x+y}}{e^{x+y}}\)
  • \(\frac{3 - e^{x+y}}{e^{x+y}}\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Remove the exponential first:
Take natural logarithm on both sides of $e^{x+y} = 3x$.
That gives $x + y = \ln 3 + \ln x$.
So $y = \ln 3 + \ln x - x$.

Step 2: Differentiate:
The derivative of $\ln 3$ is 0, of $\ln x$ is $\frac{1}{x}$, and of $x$ is 1.
\[ \frac{dy}{dx} = \frac{1}{x} - 1 \]

Step 3: Write the answer in terms of e^(x+y):
The given relation says $3x = e^{x+y}$, so $x = \frac{e^{x+y}}{3}$.
Then $\frac{1}{x} = \frac{3}{e^{x+y}}$.
\[ \frac{dy}{dx} = \frac{3}{e^{x+y}} - 1 = \frac{3 - e^{x+y}}{e^{x+y}} \]

Step 4: Test with a number:
Take $x = 1$. Then $e^{1+y} = 3$, and $\frac{dy}{dx} = \frac{1}{1} - 1 = 0$.
Option (D) gives $\frac{3-3}{3} = 0$, which is correct.
Option (A) gives 1, option (B) gives $\frac{1}{3}$, and option (C) gives $\frac{1-3}{3} = -\frac{2}{3}$. None of these is 0, so they are wrong.

Final Answer:
Option (D) is correct. \[ \boxed{\frac{3 - e^{x+y}}{e^{x+y}}} \]
Was this answer helpful?
0