Q.(xi) The integrating factor of dxdy+y=x1+y is ______.
🔒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 →Concept understanding — Integrating Factor Method
Integrating Factor Method
Some first-order differential equations refuse to separate — you cannot get all the y's on one side and all the x's on the other. The integrating factor method is the standard trick for a special (and very common) family of these: the linear first-order equation. The idea is beautifully simple: multiply the whole equation by one cleverly chosen function, and the messy left-hand side collapses into a single derivative that we can integrate directly.
The Standard Form
An equation is linear of first order if it can be written as
dxdy+Py=Q
where P and Q are functions of x alone (or constants). Notice y and dxdy appear only to the first power, and never multiplied together — that is what "linear" means here.
Always rearrange into this exact shape first. The coefficient of dxdy must be 1 before you read off P and Q.
The Integrating Factor
The magic multiplier is
I.F.=e∫Pdx.
Why this one? Multiply the equation by e∫Pdx:
e∫Pdxdxdy+Pe∫Pdxy=Qe∫Pdx.
By the product rule, the left-hand side is exactly dxd(y⋅e∫Pdx), because the derivative of e∫Pdx is Pe∫Pdx. So the equation becomes
dxd(y⋅I.F.)=Q⋅I.F.
The left side is now a single derivative — that is the whole point of choosing this factor.
The Solution
Integrate both sides with respect to x:
y⋅I.F.=∫(Q⋅I.F.)dx+C.
This is the general solution. In words: (solution) × (integrating factor) = integral of (Q × integrating factor), plus a constant.
A Quick Illustration
For dxdy+x1y=x, we read P=x1, Q=x. Then ∫Pdx=logx, so I.F.=elogx=x. The solution is
y⋅x=∫x⋅xdx+C=3x3+C.
--- …
The key idea is to first rewrite the equation in the standard linear form dxdy+P(x)y=Q(x), then apply the integrating factor μ=e∫Pdx.
Step 1: Expand the right-hand side:
dxdy+y=x1+xy
Step 2: Bring all y terms to the left:
dxdy+y−xy=x1
dxdy+y(1−x1)=x1 …
The equation is not in standard linear form — rewriting it as dxdy+(1−x1)y=x1 reveals the integrating factor e∫(1−1/x)dx=xex.
The Integrating Factor (IF) method is designed for first-order linear differential equations of the form
dxdy+P(x)y=Q(x).
The idea is to multiply through by a function μ(x) that turns the left-hand side into the derivative of μ(x)y. That function is μ(x)=e∫P(x)dx.
Here, the given equation is
dxdy+y=x1+y.
It looks almost linear, but the right-hand side mixes y with x. We must first rearrange it into the standard form.
- Rewrite the equation. Expand the right-hand side:
dxdy+y=x1+xy.
- Bring all y terms to the left. Subtract xy from both sides:
dxdy+y−xy=x1.
Factor y from the two middle terms:
dxdy+(1−x1)y=x1.
Now it is in the standard linear form with
P(x)=1−x1,Q(x)=x1.
- Find the integrating factor. Compute ∫P(x)dx:
∫(1−x1)dx=x−log∣x∣+C.
We only need one antiderivative (the constant is absorbed later), so take
∫P(x)dx=x−log∣x∣.
Then the integrating factor is
μ(x)=ex−log∣x∣=ex⋅e−log∣x∣=ex⋅∣x∣1.
Since we usually work with positive x in such problems (or take x>0 for simplicity), we drop the absolute value:
μ(x)=xex.
A common shortcut: ex−logx=xex directly, because e−logx=1/x for x>0. …
Method: Finding the Integrating Factor After Collecting the y-Terms
Sometimes a term containing y hides on the right side. You must move every y-term to the left before you can read P(x) and build the integrating factor.
Steps
Step 1: Expand and bring all y-terms to the left.
If the right side contains a piece like xy, subtract it across so the equation reads
dxdy+(coefficient of y)y=(terms free of y).
Step 2: Identify P(x) as the full coefficient of y. …
Common Mistakes
Mistake 1: Reading P(x)=1 without moving the xy term across.
Why it's wrong: expanding the right side gives x1+xy, and the xy piece must join the left side, changing P to 1−x1. Correct approach: collect every y-term on the left before identifying P.
Mistake 2: Simplifying ex−logx incorrectly. …
Showing the 12 most recent of 33 on this concept.
- AP EAPCET 2023Set eng-2023-05-18-FN1 markMCQQ.If logy is an integrating factor of dydx+P(y)x=Q(y), then P(y)= (A) y+logy1 (B) logyy (C) ylogy (D) ylogy1
›Reveal solutionSolution
Working backward from the known integrating factor logy=e∫P(y)dy and differentiating recovers P(y)=ylogy1.
Concept and Intuition
For a linear ODE dydx+P(y)x=Q(y) (linear in x, with y as the independent variable), the integrating factor is IF=e∫P(y)dy. If we're told what the integrating factor equals, we can reverse-engineer P(y) by taking logs and then differentiating.
Step-by-Step Solution
- Standard fact: IF=e∫P(y)dy.
- Given IF=logy (i.e. logy), set e∫P(y)dy=logy.
- Take the natural log of both sides: ∫P(y)dy=log(logy).
- Differentiate both sides with respect to y (by the Fundamental Theorem of Calculus, the left side gives back P(y)): P(y)=dyd[log(logy)].
- By the chain rule: dydlog(logy)=logy1⋅dyd(logy)=logy1⋅y1=ylogy1. …
- AP EAPCET 2022Set eng-2022-07-07-AN1 markMCQQ.An integrating factor of the differential equation (x2+1)dxdy+xy=x3 is (A) 1+x2x (B) 21log(1+x2) (C) 1+x2 (D) elog(1+x2)
›Reveal solutionSolution
Writing the ODE in standard linear form dxdy+Py=Q and computing e∫Pdx gives the integrating factor 1+x2.
Concept and Intuition
A first-order linear ODE dxdy+P(x)y=Q(x) is solved by multiplying through by the integrating factor μ(x)=e∫P(x)dx, chosen precisely so that dxd[μ(x)y]=μ(x)Q(x). So the entire method hinges on correctly identifying P(x) after dividing the equation into standard form.
Step-by-Step Solution
- Start with (x2+1)dxdy+xy=x3.
- Divide by (x2+1) to reach standard form: dxdy+x2+1xy=x2+1x3.
- Here P(x)=x2+1x.
- Compute ∫P(x)dx=∫x2+1xdx=21log(x2+1) (substituting u=x2+1). …
- AP EAPCET 2024Set eng-2024-05-20-AN1 markMCQQ.Integrating factor of the differential equation sinxdxdy−ycosx=1 is (A) sinx (B) cosx (C) secx (D) cosecx
›Reveal solutionSolution
Rewriting the equation in standard linear form and computing e∫Pdx gives the integrating factor cscx — (D).
Concept and Intuition
A first-order linear ODE dxdy+P(x)y=Q(x) has integrating factor e∫P(x)dx. The given equation must first be divided through so the coefficient of dxdy is exactly 1.
Step-by-Step Solution
- Given: sinxdxdy−ycosx=1.
- Divide by sinx: dxdy−sinxcosxy=sinx1, i.e. dxdy−(cotx)y=cscx.
- Here P(x)=−cotx.
- Integrating factor =e∫−cotxdx=e−log∣sinx∣=(sinx)−1=cscx.
Common Mistakes …
- AP EAPCET 2023Set eng-2023-05-16-AN1 markMCQQ.The integrating factor of the linear differential equation dxdy=4x+3y1 is (A) e−4x (B) e4x (C) e3y (D) e−3y
›Reveal solutionSolution
The ODE is not linear in y, but writing x as the dependent variable turns it into dydx−4x=3y, whose integrating factor is e−4y — the option carrying the exponent −4.
Concept and Intuition
A first-order linear ODE must look like dxdy+P(x)y=Q(x). Here dxdy=4x+3y1 has the unknown buried in a denominator, so it is not linear in y. The rescue is a change of viewpoint: nothing stops us from regarding x as the function and y as the independent variable. Since dydx=1/dxdy, the reciprocal instantly clears the denominator and the equation becomes linear in x. The integrating factor is then e∫Pdy, with P the coefficient of x.
Step-by-Step Solution
- Invert: dydx=4x+3y.
- Put it in standard linear form (dependent variable x):
dydx−4x=3y,P(y)=−4, Q(y)=3y.
- Integrating factor: I.F.=e∫Pdy=e∫(−4)dy=e−4y. …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.The integrating factor of the linear differential equation dxdy+P(x)y=Q(x) is a solution of the differential equation (A) dxdy−P(x)y=0 (B) dxdy+P(x)y=0 (C) dxdy−xy=P(x) (D) dxdy+yx=P(x)
›Reveal solutionSolution
The integrating factor μ=e∫Pdx is itself a solution of the homogeneous equation y′=P(x)y.
Concept and Intuition
The whole point of the integrating factor is that dxd(μy)=μdxdy+μP(x)y should equal μ(dxdy+P(x)y), which requires dxdμ=μP(x) — i.e. μ itself solves the first-order linear homogeneous ODE y′−P(x)y=0.
Step-by-Step Solution
- The integrating factor is defined as μ(x)=e∫P(x)dx.
- Differentiate: μ′(x)=P(x)e∫Pdx=P(x)μ(x).
- Rearranged: μ′(x)−P(x)μ(x)=0. …
- AP EAPCET 2025Set eng-2025-05-21-FN1 markMCQQ.The general solution of the equation dxdy+x1y=x1ex is (A) y=xex+c (B) y=xex+ce−x (C) y=xex+c (D) y=xe−x+cx
›Reveal solutionSolution
This is a standard linear first-order ODE solved via an integrating factor; the answer is (C).
Concept and Intuition
An equation of the form dxdy+P(x)y=Q(x) is solved by multiplying through by the integrating factor μ=e∫Pdx, which makes the left side a perfect derivative dxd(μy).
Step-by-Step Solution
- Here P(x)=x1, Q(x)=x1ex.
- Integrating factor: μ=e∫x1dx=elogx=x.
- Multiply the ODE by x: xdxdy+y=ex, i.e. dxd(xy)=ex.
- Integrate both sides: xy=ex+c. …
- AP EAPCET 2024Set eng-2024-05-19-AN1 markMCQQ.If xdy+(y+y2x)dx=0 and y=1 at x=1, then (A) y=1+logxx (B) y=x1+logx (C) y=x(1+logx) (D) y=x(1+logx)1
›Reveal solutionSolution
A Bernoulli equation in disguise; the substitution v=1/y linearizes it, and the initial condition y(1)=1 pins down the constant to give y=x(1+logx)1.
Concept and Intuition
An equation of the form dxdy+P(x)y=Q(x)yn is a Bernoulli equation. Dividing by yn and substituting v=y1−n converts it into a linear first-order ODE in v, which can then be solved with the standard integrating-factor method.
Step-by-Step Solution
- Given xdy+(y+y2x)dx=0. Divide by dx: xdxdy+y+y2x=0.
- Divide by x: dxdy+xy=−y2 — a Bernoulli equation with n=2.
- Divide throughout by y2: y−2dxdy+xy1=−1.
- Let v=y−1, so dxdv=−y−2dxdy, i.e. y−2dxdy=−dxdv.
- Substitute: −dxdv+xv=−1⇒dxdv−xv=1, a linear ODE in v.
- Integrating factor =e∫−1/xdx=e−logx=x1.
- dxd(xv)=x1⇒xv=logx+C⇒v=x(logx+C). …
- AP EAPCET 2022Set eng-2022-07-05-AN1 markMCQQ.By multiplying with e∫Pdx on both sides of the equation dxdy+P(x)y=Q(x), the left side of the equation takes the form dxd(yf(x)), then f(x)= (A) ∫ye∫Pdxdx (B) yP(x) (C) e∫Pdx (D) P(x)e∫Pdx
›Reveal solutionSolution
This is the definition-check behind the standard integrating-factor method for first-order linear ODEs: the multiplier that turns the left side into an exact derivative dxd(y⋅(something)) is, by construction, the integrating factor itself.
Concept and Intuition
The whole point of the integrating factor μ(x)=e∫Pdx is that dxdμ=P(x)μ(x) (by the fundamental theorem of calculus applied to the exponent). This special property is exactly what's needed to make μdxdy+μPy collapse into a single product-rule derivative.
Step-by-Step Solution
- Start with dxdy+P(x)y=Q(x) and multiply both sides by μ(x)=e∫Pdx:
μdxdy+μP(x)y=μQ(x).
- Compute dxdμ: since μ=e∫Pdx, by the chain rule dxdμ=P(x)⋅e∫Pdx=P(x)μ. …
- AP EAPCET 2021Set eng-2021-08-23-AN1 markMCQQ.Find the particular solution of the following differential equation, given that y=1 when x=0. (1+x2)dxdy=em(Tan−1(x))−y (A) xeTan−1(x)=Tan−1(x)+1 (B) xeTan−1(x)=Tan−1(x)−1 (C) yeTan−1(x)=Tan−1(x)+1 (D) yeTan−1(x)=Tan−1(x)−1
›Reveal solutionSolution
This is a first-order linear ODE in y; the integrating factor etan−1x turns the left side into an exact derivative, and the initial condition fixes the constant to 1.
Concept and Intuition
Any equation of the form (1+x2)y′+y=g(x) is linear, since dividing by (1+x2) gives y′+1+x2y=1+x2g(x), and the coefficient of y, 1+x21, integrates to tan−1x — so the integrating factor is always etan−1x for this family of equations.
Step-by-Step Solution
- Rewrite: dxdy+1+x2y=1+x2e−tan−1x.
- Integrating factor: μ=e∫1+x2dx=etan−1x.
- Multiplying through: dxd[yetan−1x]=1+x2etan−1x⋅e−tan−1x=1+x21.
- Integrate both sides: yetan−1x=tan−1x+C. …
- AP EAPCET 2026Set eng-2026-05-15-AN1 markMCQQ.The general solution of the differential equation (1+y2)+(x−etan−1y)dxdy=0 is (A) xetan−1y=tan−1y+c (B) x2e2tan−1y=etan−1y+c (C) (x−2)=ce−tan−1y (D) 2xetan−1y=e2tan−1y+c
›Reveal solutionSolution
This is a first-order linear ODE that becomes linear in x (not y) once you recognise the tan−1y integrating factor. The answer is (D).
Concept and Intuition
When the equation is not linear in y but treating x as the dependent variable (function of y) makes it linear, we should switch roles: write it as dydx+P(y)x=Q(y) and use the integrating factor e∫Pdy.
Step-by-Step Solution
- Given: (1+y2)+(x−etan−1y)dxdy=0.
- Rearranging: (x−etan−1y)dxdy=−(1+y2), so dydx=−(1+y2)x−etan−1y=1+y2etan−1y−x.
- This gives the linear form: dydx+1+y21x=1+y2etan−1y.
- Integrating factor: I=e∫1+y2dy=etan−1y.
- Multiply through: dyd(xetan−1y)=etan−1y⋅1+y2etan−1y=1+y2e2tan−1y.
- Let t=tan−1y, so dt=1+y2dy. Then ∫e2tdt=21e2t. …
- AP EAPCET 2024Set eng-2024-05-20-FN1 markMCQQ.The general solution of the differential equation (y2+x+1)dy=(y+1)dx is (A) x+2+(y+1)log(y+1)2=y+c (B) x+2+log(y+1)2=y+1y+c (C) y+1x=log(y+1)2+y+c (D) y+1x+2+log(y+1)2=y+c
›Reveal solutionSolution
This is a linear differential equation once you treat x as the dependent variable and y as the independent variable; solving it and simplifying the constant gives option (D).
Concept and Intuition
The equation (y2+x+1)dy=(y+1)dx mixes x and y in a way that is NOT separable and NOT linear in y as a function of x. But if we flip our viewpoint and treat x as a function of y, the equation becomes linear in x — this is a common trick: whenever the "wrong" variable makes the equation linear, solve for that one instead.
Step-by-Step Solution
- Divide by (y+1)dy:
dydx=y+1y2+x+1=y+1x+y+1y2+1
- Rearrange into standard linear form dydx−y+11x=y+1y2+1, so P(y)=−y+11, Q(y)=y+1y2+1.
- Integrating factor: μ=e∫Pdy=e−log(y+1)=y+11.
- The solution is x⋅μ=∫Q⋅μdy, i.e.
y+1x=∫(y+1)2y2+1dy
- Substitute u=y+1 (so y=u−1, y2+1=u2−2u+2):
(y+1)2y2+1=u2u2−2u+2=1−u2+u22
- Integrate: ∫(1−u2+u22)du=u−2logu−u2+C, i.e.
y+1x=(y+1)−2log(y+1)−y+12+C
- Add y+12 to both sides: …
- AP EAPCET 2024Set eng-2024-05-23-FN1 markMCQQ.The solution of the differential equation exydx+exdy+xdx=0 is (A) ex+yx2=c (B) 2yex+x2=c (C) yex+x2ey=c (D) ex+xey=c
›Reveal solutionSolution
The first two terms of the equation are exactly d(yex); separating out the remaining xdx term and integrating directly gives the solution.
Concept and Intuition
Many differential equations that look complicated are secretly "exact" — the left side is the total differential of some simple combination of x and y. Spotting the pattern udv+vdu=d(uv) (here with u=y, v=ex) turns an equation that looks like it needs an integrating factor into a one-line integration.
Step-by-Step Solution
- Given: exydx+exdy+xdx=0.
- Recall d(yex)=yd(ex)+exdy=yexdx+exdy — exactly the first two terms of the given equation.
- So the equation becomes d(yex)+xdx=0, i.e. d(yex)=−xdx.
- Integrate both sides: yex=−2x2+C.
- Multiply through by 2: 2yex=−x2+2C, i.e. 2yex+x2=c (writing c=2C).
Common Mistakes …
🎓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.