Skip to content
NCERT Exemplar · Q85

Q.The general solution of the differential equation dydx=ex22+xy\frac{dy}{dx}=e^{\frac{x^2}{2}}+xy is:
(A) y=ce−x22y=ce^{-\frac{x^2}{2}}
(B) y=cex22y=ce^{\frac{x^2}{2}}
(C) y=(x+c)ex22y=(x+c)e^{\frac{x^2}{2}}
(D) y=(c−x)ex22y=(c-x)e^{\frac{x^2}{2}}

Yanam CbseMCQ· 1mImportance★★★★★
92% · 205/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 →

This is a first-order linear differential equation solved by the Integrating Factor method. The general solution is y=(x+c)ex2/2y = (x + c) e^{x^2/2}, which corresponds to option (C).

The equation is dydx=ex2/2+xy\frac{dy}{dx} = e^{x^2/2} + xy. At first glance, it looks like it might be separable — but the ex2/2e^{x^2/2} term is added to xyxy, not multiplied by a function of yy, so separation won't work directly. Instead, notice it's linear in yy: we can rearrange it into the standard form dydx−xy=ex2/2\frac{dy}{dx} - xy = e^{x^2/2}.

Why does the Integrating Factor method work here? Because if we multiply the whole equation by a cleverly chosen function μ(x)\mu(x), the left-hand side becomes the derivative of μ(x)y\mu(x) y — a perfect product rule. That turns the problem into a direct integration.

  1. Rewrite in standard linear form Bring the xyxy term to the left:

dydx−xy=ex2/2\frac{dy}{dx} - x y = e^{x^2/2}

Here P(x)=−xP(x) = -x and Q(x)=ex2/2Q(x) = e^{x^2/2}.

  1. Find the Integrating Factor The formula is μ(x)=e∫P(x) dx\mu(x) = e^{\int P(x)\,dx}.

∫(−x) dx=−x22\int (-x)\,dx = -\frac{x^2}{2}

So

μ(x)=e−x2/2\mu(x) = e^{-x^2/2}

  1. Multiply through

e−x2/2dydx−xe−x2/2y=e−x2/2⋅ex2/2=1e^{-x^2/2} \frac{dy}{dx} - x e^{-x^2/2} y = e^{-x^2/2} \cdot e^{x^2/2} = 1

The left side is exactly ddx(e−x2/2y)\frac{d}{dx}\left( e^{-x^2/2} y \right) — check by differentiating: derivative of e−x2/2ye^{-x^2/2} y is e−x2/2y′+y⋅(−xe−x2/2)e^{-x^2/2} y' + y \cdot (-x e^{-x^2/2}), which matches.

  1. Integrate both sides

ddx(e−x2/2y)=1\frac{d}{dx}\left( e^{-x^2/2} y \right) = 1

Integrate with respect to xx:

e−x2/2y=x+ce^{-x^2/2} y = x + c

  1. Solve for yy Multiply through by ex2/2e^{x^2/2}: …

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.