Skip to content
Exercise 9.5 · Q18

Q.Solve the following differential equation: The Integrating Factor of the differential equation xdydx−y=2x2x \frac{dy}{dx} - y = 2x^2 is (A) e−xe^{-x} (B) e−ye^{-y} (C) 1x\frac{1}{x} (D) xx

CBSENCERTSubjective· 1mImportance★★★★★
Appeared in past exams:GUJCET 2022· Set 08· 1mreworded
45% · 100/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 differential equation xdydx−y=2x2x \frac{dy}{dx} - y = 2x^2 is a first-order linear ODE. After rewriting it in standard form dydx−1xy=2x\frac{dy}{dx} - \frac{1}{x} y = 2x, the integrating factor is e∫−1xdx=1xe^{\int -\frac{1}{x} dx} = \frac{1}{x}. The correct option is (C).

The Integrating Factor method is the go-to tool for any first-order linear differential equation — that is, any equation that can be written in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x). The idea is simple: we want to multiply the entire equation by some function μ(x)\mu(x) so that the left-hand side becomes the exact derivative of μ(x)y\mu(x) y. Once that happens, we can integrate both sides directly.

Why does this work? Because if you choose μ(x)=e∫P(x)dx\mu(x) = e^{\int P(x) dx}, then by the product rule:

ddx(μ(x)y)=μ(x)dydx+μ′(x)y=μ(x)dydx+μ(x)P(x)y\frac{d}{dx} \big( \mu(x) y \big) = \mu(x) \frac{dy}{dx} + \mu'(x) y = \mu(x) \frac{dy}{dx} + \mu(x) P(x) y

which is exactly μ(x)\mu(x) times the left-hand side of the standard form. So the integrating factor turns a tricky sum of derivatives into a single, clean derivative.

Now let's apply this to the given equation.

  1. Rewrite in standard form. The equation is xdydx−y=2x2x \frac{dy}{dx} - y = 2x^2. Divide through by xx (assuming x≠0x \neq 0):

dydx−1xy=2x\frac{dy}{dx} - \frac{1}{x} y = 2x

Here P(x)=−1xP(x) = -\frac{1}{x} and Q(x)=2xQ(x) = 2x.

  1. Compute the integrating factor. The formula is μ(x)=e∫P(x)dx\mu(x) = e^{\int P(x) dx}. So:

∫P(x)dx=∫−1xdx=−log⁡∣x∣+C\int P(x) dx = \int -\frac{1}{x} dx = -\log|x| + C

We only need one integrating factor (the constant can be ignored), so take:

μ(x)=e−log⁡∣x∣=1∣x∣\mu(x) = e^{-\log|x|} = \frac{1}{|x|}

Since we usually work with positive xx or take the absolute value as understood, the standard integrating factor is 1x\frac{1}{x}. …

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.