Q.The integrating factor of the differential equation dxdy+y=x1+y is:
(A) exx
(B) xex
(C) xex
(D) ex
🔒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 rewrite the equation in the standard linear form dxdy+P(x)y=Q(x), then use the integrating factor μ=e∫Pdx.
First, rewrite the given equation:
dxdy+y=x1+xy
Bring the y/x term to the left:
dxdy+y−xy=x1
Factor y:
dxdy+y(1−x1)=x1 …
The differential equation is first rewritten in standard linear form dxdy+P(x)y=Q(x). After simplification, P(x)=1−x1, so the integrating factor is μ=e∫(1−1/x)dx=xex. The correct option is (B).
The Integrating Factor (IF) method is the go-to tool for solving first-order linear differential equations of the form dxdy+P(x)y=Q(x). The idea is simple: multiply the entire equation by a specially chosen function μ(x) so that the left-hand side becomes the exact derivative of μ(x)y. That function is μ=e∫Pdx.
But here, the given equation isn't in that clean form yet. It has a y term on the right-hand side mixed with a constant. So the first job is to rearrange it into the standard linear shape.
- Rewrite the equation Start with:
dxdy+y=x1+y
The right-hand side is x1+xy. So:
dxdy+y=x1+xy
- Bring all y terms to the left Subtract xy from both sides:
dxdy+y−xy=x1
Factor y:
dxdy+y(1−x1)=x1
Now it's in the standard linear form dxdy+P(x)y=Q(x), with:
P(x)=1−x1,Q(x)=x1
- Find the integrating factor The formula is μ(x)=e∫P(x)dx. Compute:
∫P(x)dx=∫(1−x1)dx=x−log∣x∣+C
We only need one integrating factor, so take C=0:
μ=ex−logx=ex⋅e−logx=ex⋅x1=xex
Remember: e−logx=x1 because elog(1/x)=1/x. This is a common simplification that saves time.
- Verify (optional but good practice) Multiply the standard-form equation by μ: …
Method: Integrating factor for a linear first-order equation (after rearranging)
Use this whenever a first-order equation is linear in y but is not yet in the clean form dxdy+P(x)y=Q(x) — some y-terms are scattered on the wrong side.
Steps
Step 1: Collect every y-term on the left and force the form dxdy+P(x)y=Q(x).
Move any y hiding on the right (like a xy term) across, then factor y out. The coefficient of dxdy must be 1 before you read off P.
Step 2: Read off P(x) and build the integrating factor.
I.F.=e∫P(x)dx …
Common Mistakes
Mistake 1: Applying the I.F. formula to the equation as printed.
Why it's wrong: the equation dxdy+y=x1+y still has a y-term (xy) on the right, so it is not yet in the form dxdy+P(x)y=Q(x). Reading P=1 directly gives the wrong I.F. ex (option D). Correct approach: first move xy left and factor, getting P=1−x1. …
Showing the 12 most recent of 33 on this concept.
- 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-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 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 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.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-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 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 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 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 2024Set eng-2024-05-22-FN1 markMCQQ.The general solution of the differential equation (1+tany)(dx−dy)+2xdy=0 is (A) ex(ycosx+sinx)+sinx=c (B) ex(ycosx+ysinx−sinx)+cosx=0 (C) ey(xcosy+xsiny−siny)=c (D) ey(xcosy+xsiny+siny)=c
›Reveal solutionSolution
This is a first-order linear ODE in x as a function of y; finding the right integrating factor is the crux. Answer: option (C).
Concept and Intuition
Grouping the dx terms and dy terms shows this is linear in x (treating y as the independent variable), of the form dydx+P(y)x=Q(y). The integrating factor e∫Pdy simplifies neatly once we split 2cosy/(cosy+siny) using the identity for a sum/difference of sine and cosine.
Step-by-Step Solution
- Expand: (1+tany)dx−(1+tany)dy+2xdy=0⇒(1+tany)dx+[2x−(1+tany)]dy=0.
- Divide by (1+tany)dy: dydx+1+tany2x=1.
- Write 1+tany2=cosy+siny2cosy. Using 2cosy=(cosy+siny)+(cosy−siny): cosy+siny2cosy=1+cosy+sinycosy−siny.
- Integrating factor: μ(y)=exp[∫(1+cosy+sinycosy−siny)dy]=exp[y+log∣cosy+siny∣]=ey(cosy+siny). …
- 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 2025Set eng-2025-05-26-FN1 markMCQQ.The general solution of the differential equation xlogxdy=(xlogx−y)dx is (A) (x−y)logx+x=c (B) x−y=logxx+c (C) y−x=logxx+c (D) (y−x)logx+x=c
›Reveal solutionSolution
This tests recognizing a first-order LINEAR differential equation in disguise and applying the standard integrating-factor method.
Concept and Intuition
After dividing through by xlogx, the equation takes the standard linear form dxdy+P(x)y=Q(x) with P(x)=xlogx1. The integrating factor e∫Pdx makes the left side an exact derivative dxd(y⋅IF), so the whole equation integrates directly.
Step-by-Step Solution
- Divide both sides by xlogx: dxdy=1−xlogxy ⇒ dxdy+xlogxy=1.
- Integrating factor: IF=exp(∫xlogxdx)=exp(log(logx))=logx (since ∫xlogxdx=log(logx)+C).
- Multiply the ODE by logx: dxd(ylogx)=logx. …
🎓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.