Q.Solve the following differential equation: The Integrating Factor of the differential equation xdxdy−y=2x2 is (A) e−x (B) e−y (C) x1 (D) x
🔒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.
--- …
Concept: Integrating Factor Method — For a linear first-order ODE of the form dxdy+P(x)y=Q(x), the integrating factor is μ(x)=e∫P(x)dx.
First, rewrite the given equation in standard form:
xdxdy−y=2x2⇒dxdy−x1y=2x.
Here P(x)=−x1.
Compute the integrating factor: …
The differential equation xdxdy−y=2x2 is a first-order linear ODE. After rewriting it in standard form dxdy−x1y=2x, the integrating factor is e∫−x1dx=x1. 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 dxdy+P(x)y=Q(x). The idea is simple: we want to multiply the entire equation by some function μ(x) so that the left-hand side becomes the exact derivative of μ(x)y. Once that happens, we can integrate both sides directly.
Why does this work? Because if you choose μ(x)=e∫P(x)dx, then by the product rule:
dxd(μ(x)y)=μ(x)dxdy+μ′(x)y=μ(x)dxdy+μ(x)P(x)y
which is exactly μ(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.
- Rewrite in standard form. The equation is xdxdy−y=2x2. Divide through by x (assuming x=0):
dxdy−x1y=2x
Here P(x)=−x1 and Q(x)=2x.
- Compute the integrating factor. The formula is μ(x)=e∫P(x)dx. So:
∫P(x)dx=∫−x1dx=−log∣x∣+C
We only need one integrating factor (the constant can be ignored), so take:
μ(x)=e−log∣x∣=∣x∣1
Since we usually work with positive x or take the absolute value as understood, the standard integrating factor is x1. …
Method: Finding the integrating factor of a linear equation
For "the integrating factor is ..." questions, the only work is to reach standard form and compute e∫Pdx.
Steps
Step 1: Divide to make the coefficient of dxdy equal to 1.
This is the step most easily skipped — xdxdy−y=2x2 must first become dxdy−x1y=2x.
Step 2: Read off P(x).
Here P=−x1. …
Common Mistakes
Mistake 1: Reading P=−1 straight from xy′−y=2x2.
Why it's wrong: without dividing by x you wrongly get I.F. =e−x (the tempting option A). Correct approach: divide by x first to get P=−x1.
Mistake 2: Sign error in e−log∣x∣. …
Showing the 12 most recent of 33 on this concept.
- 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 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 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 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 …
- 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 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 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 2026Set eng-2026-05-14-AN1 markMCQQ.The general solution of the differential equation dxdy+xy=x2 is (A) y=31x3+xc (B) y=41x4+cx (C) y=41x3+c (D) y=41x3+cx−1
›Reveal solutionSolution
A standard first-order linear ODE dxdy+P(x)y=Q(x); the integrating factor x makes the left side an exact derivative, giving the general solution y=41x3+xc.
Concept and Intuition
For a linear equation dxdy+P(x)y=Q(x), multiplying both sides by the integrating factor μ(x)=e∫Pdx turns the left side into the exact derivative dxd(μy), which can then be integrated directly.
Step-by-Step Solution
- Here P(x)=x1, Q(x)=x2.
- Integrating factor: μ(x)=e∫x1dx=elogx=x.
- Multiply through: xdxdy+y=x3, i.e. dxd(xy)=x3.
- Integrate both sides: xy=∫x3dx=4x4+c. …
- 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 2024Set eng-2024-05-21-FN1 markMCQQ.The solution of differential equation (x+2y3)dxdy=y is (A) x=y(2xy+c) (B) x=y(y2+c) (C) y=x(x2+c) (D) xy=2y4+c
›Reveal solutionSolution
Flipping the roles of x and y turns this into a standard linear ODE in x; solving it gives x=y(y2+c).
Concept and Intuition
The equation (x+2y3)dxdy=y is not linear in y, but if we invert it and treat x as a function of y, it becomes linear in x — a very common trick when the equation is "linear except the dependent/independent variables are swapped."
Step-by-Step Solution
- Invert: dydx=yx+2y3.
- Rearrange: dydx−y1x=2y2. This is linear in x with P(y)=−y1, Q(y)=2y2.
- Integrating factor: IF=e∫Pdy=e−∫dy/y=e−logy=y1.
- Multiply through: dyd(yx)=y2y2=2y. …
- AP EAPCET 2024Set eng-2024-05-18-FN1 markMCQQ.The general solution of the differential equation (sinycos2y−xsec2y)dy=(tany)dx is (A) tany=3xcos3y+c (B) x(secy+tany)=cos2y+c (C) ysiny=x2cos2y+c (D) 3xtany+cos3y=c
›Reveal solutionSolution
Treating x as the dependent variable turns this into a linear ODE with integrating factor tany, giving 3xtany+cos3y=c.
Concept and Intuition
When an ODE is not linear in y but becomes linear if we treat x as a function of y instead, switching the roles of dependent/independent variable is the key move — here dx/dy appears linearly in x, so it is a standard first-order linear equation solvable via an integrating factor.
Step-by-Step Solution
- Given: (sinycos2y−xsec2y)dy=tanydx. Solve for dx/dy: dydx=tanysinycos2y−xsec2y.
- Split: tanysinycos2y=sinycos2y⋅sinycosy=cos3y, and tanysec2y=cos2y1⋅sinycosy=sinycosy1.
- So dydx=cos3y−sinycosyx, i.e. dydx+sinycosyx=cos3y — linear in x.
- Integrating factor: μ=exp(∫sinycosydy). Since dydlog(tany)=tanysec2y=sinycosy1, we get μ=tany.
- Then dyd(xtany)=cos3y⋅tany=cos3y⋅cosysiny=cos2ysiny. …
- 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. …
🎓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.