Question:medium

General solution of the differential equation \[ \frac{dy}{dx}=e^{x-y}+3x^{2}e^{-y} \] is:

Show Hint

Whenever you see $e^{x-y}$ or $e^{-y}$ together, try factoring $e^{-y}$ first to separate variables easily.
Updated On: Jun 12, 2026
  • \(e^{-y}+e^{x}=x^{3}+c \)
  • \(e^{-y}=e^{x}+x^{3}+c \)
  • \(e^{y}=e^{x}-x^{3}+c \)
  • \(e^{y}=e^{x}+x^{3}+c \)
Show Solution

The Correct Option is B

Solution and Explanation


Step 1: Understanding the Concept:

Rewrite the equation to make it separable or linear. Given \( \frac{dy}{dx} = e^x - y + 3x^2 e^{-y} \) seems to have a typo. If it were \( e^y \frac{dy}{dx} = e^x + 3x^2 \):

Step 2: Detailed Explanation:

Multiply by \( e^y \): \( e^y \frac{dy}{dx} = e^x + 3x^2 \).
Now integrate both sides with respect to \( x \):
\( \int e^y dy = \int (e^x + 3x^2) dx \)
\( e^y = e^x + x^3 + c \).

Step 3: Final Answer:

The general solution is \( e^y = e^x + x^3 + c \), which is option (D).
Was this answer helpful?
0


Questions Asked in CUET (UG) exam