Skip to content
NCERT Exemplar · Q44

Q.(xi) The integrating factor of dydx+y=1+yx\frac{dy}{dx}+y=\frac{1+y}{x} is ______.

Rajasthan RbseShort· 1mImportance★★★★★
Appeared in past exams:MHT-CET 2024· Set pcm-2024-05-09-E· 2mexact
74% · 164/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 equation is not in standard linear form — rewriting it as dydx+(1−1x)y=1x\frac{dy}{dx} + \left(1 - \frac{1}{x}\right)y = \frac{1}{x} reveals the integrating factor e∫(1−1/x) dx=exxe^{\int (1 - 1/x)\,dx} = \frac{e^x}{x}.

The Integrating Factor (IF) method is designed for first-order linear differential equations of the form

dydx+P(x) y=Q(x).\frac{dy}{dx} + P(x)\,y = Q(x).

The idea is to multiply through by a function μ(x)\mu(x) that turns the left-hand side into the derivative of μ(x)y\mu(x) y. That function is μ(x)=e∫P(x) dx\mu(x) = e^{\int P(x)\,dx}.

Here, the given equation is

dydx+y=1+yx.\frac{dy}{dx} + y = \frac{1+y}{x}.

It looks almost linear, but the right-hand side mixes yy with xx. We must first rearrange it into the standard form.

  1. Rewrite the equation. Expand the right-hand side:

dydx+y=1x+yx.\frac{dy}{dx} + y = \frac{1}{x} + \frac{y}{x}.

  1. Bring all yy terms to the left. Subtract yx\frac{y}{x} from both sides:

dydx+y−yx=1x.\frac{dy}{dx} + y - \frac{y}{x} = \frac{1}{x}.

Factor yy from the two middle terms:

dydx+(1−1x)y=1x.\frac{dy}{dx} + \left(1 - \frac{1}{x}\right)y = \frac{1}{x}.

Now it is in the standard linear form with

P(x)=1−1x,Q(x)=1x.P(x) = 1 - \frac{1}{x}, \quad Q(x) = \frac{1}{x}.

  1. Find the integrating factor. Compute ∫P(x) dx\int P(x)\,dx:

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

We only need one antiderivative (the constant is absorbed later), so take

∫P(x) dx=x−log⁡∣x∣.\int P(x)\,dx = x - \log|x|.

Then the integrating factor is

μ(x)=e x−log⁡∣x∣=ex⋅e−log⁡∣x∣=ex⋅1∣x∣.\mu(x) = e^{\,x - \log|x|} = e^x \cdot e^{-\log|x|} = e^x \cdot \frac{1}{|x|}.

Since we usually work with positive xx in such problems (or take x>0x>0 for simplicity), we drop the absolute value:

μ(x)=exx.\mu(x) = \frac{e^x}{x}.

Tip

A common shortcut: e x−log⁡x=exxe^{\,x - \log x} = \frac{e^x}{x} directly, because e−log⁡x=1/xe^{-\log x} = 1/x for x>0x>0. …

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.