Skip to content
NCERT Exemplar · Q39

Q.(vi) The solution of the differential equation xdydx+2y=x2x\frac{dy}{dx}+2y=x^2 is ______.

Telangana TsbieShort· 1mImportance★★★★★
72% · 159/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 using the integrating factor method. The general solution is y=x24+Cx2y = \frac{x^2}{4} + \frac{C}{x^2}.

The key insight: when you see a differential equation of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), the integrating factor method is your go-to tool. Here, the equation is xdydx+2y=x2x\frac{dy}{dx} + 2y = x^2, which needs a small rearrangement first.

Let’s work through it step by step.

  1. Rewrite in standard form Divide through by xx (assuming x≠0x \neq 0):

dydx+2xy=x\frac{dy}{dx} + \frac{2}{x}y = x

Now it matches dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x) with P(x)=2xP(x) = \frac{2}{x} and Q(x)=xQ(x) = x.

  1. Find the integrating factor The integrating factor (IF) is e∫P(x) dxe^{\int P(x)\,dx}.

∫P(x) dx=∫2x dx=2log⁡∣x∣=log⁡(x2)\int P(x)\,dx = \int \frac{2}{x}\,dx = 2\log|x| = \log(x^2)

So the IF is elog⁡(x2)=x2e^{\log(x^2)} = x^2.

Tip

Remember: elog⁡(something)=somethinge^{\log(\text{something})} = \text{something}, so no need to overcomplicate — the IF is simply x2x^2.

  1. Multiply through by the IF Multiply the standard-form equation by x2x^2:

x2dydx+2xy=x3x^2\frac{dy}{dx} + 2x y = x^3

Notice the left side is now the derivative of y⋅IFy \cdot \text{IF}:

ddx(x2y)=x3\frac{d}{dx}(x^2 y) = x^3 …

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.