Skip to content
NCERT Exemplar · Q96

Q.The solution of the differential equation dydx=ex−y+x2e−y\frac{dy}{dx}=e^{x-y}+x^2 e^{-y} is:
(A) y=ex−y−x2e−y+cy=e^{x-y}-x^2 e^{-y}+c
(B) ey−ex=x33+ce^y-e^x=\frac{x^3}{3}+c
(C) ex+ey=x33+ce^x+e^y=\frac{x^3}{3}+c
(D) ex−ey=x33+ce^x-e^y=\frac{x^3}{3}+c

Punjab PsebMCQ· 1mImportance★★★★★
97% · 216/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

Factor out e−ye^{-y}, separate, and integrate: ey−ex=x33+ce^{y}-e^{x}=\frac{x^3}{3}+c — option (B).

1. Spot the hidden product

The term ex−ye^{x-y} is really exe−ye^{x}e^{-y}, so

dydx=exe−y+x2e−y=e−y(ex+x2).\frac{dy}{dx}=e^{x}e^{-y}+x^2e^{-y}=e^{-y}\big(e^{x}+x^2\big).

The right side is a function of xx times a function of yy — the signal for separation of variables.

2. Separate

Multiply both sides by ey dxe^{y}\,dx:

ey dy=(ex+x2) dx.e^{y}\,dy=(e^{x}+x^2)\,dx.

3. Integrate each side

∫ey dy=∫(ex+x2) dx  ⇒  ey=ex+x33+c.\int e^{y}\,dy=\int(e^{x}+x^2)\,dx\;\Rightarrow\;e^{y}=e^{x}+\frac{x^3}{3}+c. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.