Skip to content
Worked Examples · Example 7

Q.Solve the linear differential equation dydx+yx=x2\displaystyle\frac{dy}{dx} + \frac{y}{x} = x^{2}.

Maharashtra MsbshseTextbookSubjectiveImportance★★★★★
35% · 14/40 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 equation is already in standard form dydx+P(x)y=Q(x)\dfrac{dy}{dx} + P(x)y = Q(x) with P=1xP = \dfrac1x and Q=x2Q = x^{2}.

Integrating factor:

∫P dx=∫dxx=ln⁡x,I.F.=eln⁡x=x.\int P\,dx = \int \frac{dx}{x} = \ln x, \qquad \text{I.F.} = e^{\ln x} = x.

General solution y⋅I.F.=∫Q⋅I.F. dx+cy\cdot\text{I.F.} = \int Q\cdot\text{I.F.}\,dx + c:

y⋅x=∫x2⋅x dx+c=∫x3 dx+c=x44+c.y\cdot x = \int x^{2}\cdot x\,dx + c = \int x^{3}\,dx + c = \frac{x^{4}}{4} + c.

Thus xy=x44+cxy = \dfrac{x^{4}}{4} + c, so y=x34+cxy = \dfrac{x^{3}}{4} + \dfrac{c}{x}.

Verify (substitute back): with y=x34+cxy = \dfrac{x^{3}}{4} + \dfrac{c}{x}, dydx=3x24−cx2\dfrac{dy}{dx} = \dfrac{3x^{2}}{4} - \dfrac{c}{x^{2}}. Then …

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.