Step 1: Understanding the Concept:
The equation has \(x\) and \(y\) mixed only through a product after we split the exponent. Such an equation can be written as (function of \(y\)) \(dy\) = (function of \(x\)) \(dx\). This is the variable separable method.
Step 2: Key Formula or Approach:
1. Use the law of exponents \( e^{x+y} = e^x \cdot e^y \).
2. Move all \(y\) terms to the left and all \(x\) terms to the right, then integrate both sides.
3. Use \( \int e^{ax}\,dx = \frac{e^{ax}}{a} + C \).
Step 3: Separate the variables.
Split the exponent:
\[ \frac{dy}{dx} = e^x \cdot e^y \]
Divide both sides by \(e^y\) and multiply by \(dx\):
\[ e^{-y}\,dy = e^x\,dx \]
Step 4: Integrate both sides.
For the left side take \(a = -1\), so \( \int e^{-y}\,dy = -e^{-y} \). The right side gives \( \int e^x\,dx = e^x \).
\[ -e^{-y} = e^x + C \]
Bring both exponential terms to one side:
\[ e^x + e^{-y} = -C \]
Since \(-C\) is just another arbitrary constant, write it as \(c\):
\[ e^x + e^{-y} = c \]
Step 5: Why the other options are wrong.
Option (B) \( e^x+e^y=c \): differentiating gives \( e^x + e^y \frac{dy}{dx} = 0 \), so \( \frac{dy}{dx} = -e^{x-y} \), which is not \( e^{x+y} \).
Option (C) \( e^{-x}+e^y=c \): differentiating gives \( -e^{-x} + e^y \frac{dy}{dx} = 0 \), so \( \frac{dy}{dx} = e^{-x-y} \), not \( e^{x+y} \).
Option (D) \( e^{-x}+e^{-y}=c \): differentiating gives \( -e^{-x} - e^{-y}\frac{dy}{dx} = 0 \), so \( \frac{dy}{dx} = -e^{y-x} \), not \( e^{x+y} \).
Option (A): differentiating gives \( e^x - e^{-y}\frac{dy}{dx} = 0 \), so \( \frac{dy}{dx} = e^{x+y} \), which matches the given equation.
Final Answer:
The general solution is \( e^x + e^{-y} = c \), which is option (A).
\[ \boxed{e^x + e^{-y} = c} \]