Skip to content
Miscellaneous Exercise · Q15

Q.The general solution of the differential equation ex dy+(yex+2x) dx=0e^x\, dy + (y e^x + 2x)\, dx = 0 is (A) xey+x2=Cx e^y + x^2 = C (B) xey+y2=Cx e^y + y^2 = C (C) yex+x2=Cy e^x + x^2 = C (D) yey+x2=Cy e^y + x^2 = C

Punjab PsebTextbookSubjective· 1mImportance★★★★★
54% · 120/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 →

The given differential equation is linear in yy and can be solved using the Integrating Factor method. The general solution is yex+x2=Cy e^x + x^2 = C, which corresponds to option (C).

We start with the equation:

ex dy+(yex+2x) dx=0e^x\, dy + (y e^x + 2x)\, dx = 0

A common first instinct is to try separating variables, but the presence of yexy e^x mixed with 2x2x makes that impossible. Instead, notice that the equation is linear in yy — that is, it can be written in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x). The Integrating Factor method is designed exactly for this: it turns the left side into the derivative of a product, making integration straightforward.


  1. Rewrite in standard linear form

    Divide through by dxdx and rearrange:

exdydx+yex+2x=0e^x \frac{dy}{dx} + y e^x + 2x = 0

Then divide every term by exe^x (which is never zero):

dydx+y=−2xe−x\frac{dy}{dx} + y = -2x e^{-x}

Now it’s in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x) with P(x)=1P(x) = 1 and Q(x)=−2xe−xQ(x) = -2x e^{-x}.

  1. Find the Integrating Factor

    The integrating factor (I.F.) is e∫P(x) dxe^{\int P(x)\, dx}. Here ∫1 dx=x\int 1\, dx = x, so:

I.F.=ex\text{I.F.} = e^{x}

Tip

The integrating factor exe^x is the same as the original coefficient of dydy — that’s a nice consistency check. If you ever get a different I.F., double-check your algebra.

  1. Multiply through by the I.F.

    Multiply the entire equation dydx+y=−2xe−x\frac{dy}{dx} + y = -2x e^{-x} by exe^x:

exdydx+yex=−2xe^x \frac{dy}{dx} + y e^x = -2x

The left side is now exactly ddx(yex)\frac{d}{dx}(y e^x). Why? Because by the product rule:

ddx(yex)=exdydx+yex\frac{d}{dx}(y e^x) = e^x \frac{dy}{dx} + y e^x

So the equation becomes: …

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.