Question:medium

The solution of the differential equation \(\frac{dy}{dx}+1=e^{x+y}\) is

Show Hint

Substitute u = x + y so the equation becomes separable in u and x.
Updated On: Nov 12, 2026
  • \((x+y+C)e^{x+y}=0\)
  • \((x+C)e^{x+y}=0\)
  • \((x-C)e^{x+y}=0\)
  • \((x+C)e^{x+y}+1=0\)
Show Solution

The Correct Option is D

Solution and Explanation

Step 1: Reduce the equation
With $u=x+y$, the given equation reads $u'=e^{u}$.

Step 2: Solve
$\int e^{-u}du=\int dx\Rightarrow -e^{-u}=x+C$.

Step 3: Match the option
Multiplying through by $e^{u}$ gives $-1=(x+C)e^{x+y}$, which is $(x+C)e^{x+y}+1=0$.

Final Answer:
The general solution is $(x+C)e^{x+y}+1=0$. \[ \boxed{\text{(D) }(x+C)e^{x+y}+1=0} \]
Was this answer helpful?
0