Question:easy

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

Show Hint

Write \( e^{x+y} = e^x e^y \) and separate the variables to get \( e^{-y}\,dy = e^x\,dx \). Then integrate both sides.
  • \( e^x+e^{-y}=k \)
  • \( e^x+e^y=k \)
  • \( e^{-x}+e^y=k \)
  • \( e^{-x}+e^{-y}=k \)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Understanding the Question:
We must find which relation between \(x\) and \(y\) satisfies $\frac{dy}{dx} = e^{x+y}$ for an arbitrary constant $k$.

Step 2: Plan:
Rewrite $e^{x+y}$ as a product $e^x e^y$, collect each variable on its own side and integrate. Then we confirm the result by differentiating it back.

Step 3: Rewrite the equation.
Since $e^{x+y} = e^x e^y$, the equation becomes
\[ \frac{dy}{dx} = e^x e^y \]
Dividing by $e^y$ gives $e^{-y}\frac{dy}{dx} = e^x$.

Step 4: Integrate with respect to x.
Integrate both sides with respect to $x$. On the left, $\int e^{-y}\frac{dy}{dx}\,dx = \int e^{-y}\,dy$.
\[ \int e^{-y}\,dy = \int e^{x}\,dx \]
\[ -e^{-y} = e^x + c \]
Rearranging, $e^x + e^{-y} = -c$. Put $k = -c$:
\[ e^x + e^{-y} = k \]

Step 5: Check by differentiating.
Differentiate $e^x + e^{-y} = k$ with respect to $x$:
\[ e^x - e^{-y}\frac{dy}{dx} = 0 \]
\[ \frac{dy}{dx} = \frac{e^x}{e^{-y}} = e^{x+y} \]
This is the given equation, so the answer is correct. Options (B), (C) and (D) give $-e^{x-y}$, $e^{-x-y}$ and $-e^{y-x}$ for $\frac{dy}{dx}$ when checked the same way, so none of them fits.

Final Answer:
The solution is option (A). \[ \boxed{e^x + e^{-y} = k} \]
Was this answer helpful?
0