Question:medium

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

Show Hint

Put v equal to x plus y so the equation separates, then integrate.
Updated On: Nov 12, 2026
  • \(e^{x+y}=x+c\), where \(c\) is integral constant
  • \((x+c)e^{x+y}-1=0\), where \(c\) is integral constant
  • \((x+c)e^{x+y}+1=0\), where \(c\) is integral constant
  • \(e^{x+y}=x+y+c\), where \(c\) is integral constant
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Differentiate option C
From $(x+c)e^{x+y}=-1$, differentiating gives $e^{x+y}+(x+c)e^{x+y}\left(1+\frac{dy}{dx}\right)=0$.

Step 2: Substitute the constant part
Using $(x+c)e^{x+y}=-1$, we get $e^{x+y}-\left(1+\frac{dy}{dx}\right)=0$.

Step 3: Compare
So $\frac{dy}{dx}+1=e^{x+y}$, which is the given equation.

Final Answer:
Option C satisfies the differential equation. \[ \boxed{\text{(C) }(x+c)e^{x+y}+1=0\text{, where }c\text{ is integral constant}} \]
Was this answer helpful?
0