Q.Integrating factor of the differential equation dxdy+ytanx−secx=0 is:
(A) cosx
(B) secx
(C) ecosx
(D) esecx
🔒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 the Integrating Factor Method for a first-order linear differential equation of the form dxdy+P(x)y=Q(x). The integrating factor (I.F.) is e∫Pdx.
Step 1: Rewrite the given equation in standard form:
dxdy+(tanx)y=secx
Here, P(x)=tanx and Q(x)=secx.
Step 2: Compute the integrating factor: …
The differential equation is linear in y: dxdy+(tanx)y=secx. Its integrating factor is e∫tanxdx=elog∣secx∣=secx. Hence the correct option is (B).
The key to solving any first-order linear differential equation of the form dxdy+P(x)y=Q(x) is the Integrating Factor Method. Why does it work? Because multiplying the entire equation by a specially chosen function μ(x) turns the left-hand side into the exact derivative of μ(x)y, which we can then integrate directly. That function is μ(x)=e∫P(x)dx.
Here, the given equation is dxdy+ytanx−secx=0. Let’s rewrite it in the standard linear form:
dxdy+(tanx)y=secx
So P(x)=tanx and Q(x)=secx.
Now we compute the integrating factor step by step.
-
Identify P(x) and set up the integral
The integrating factor μ(x) is e∫P(x)dx=e∫tanxdx.
-
Evaluate ∫tanxdx
Recall that tanx=cosxsinx. Let u=cosx, then du=−sinxdx, so ∫tanxdx=∫cosxsinxdx=−∫udu=−log∣u∣+C=−log∣cosx∣+C.
A more common form is log∣secx∣+C, since −log∣cosx∣=log∣secx∣.
For the integrating factor, we only need one antiderivative (the constant of integration is irrelevant — it cancels out), so we take ∫tanxdx=log∣secx∣.
TipRemember: ∫tanxdx=log∣secx∣+C is a standard result. It’s faster than re-deriving every time.
-
Exponentiate to get μ(x)
μ(x)=elog∣secx∣=∣secx∣ …
Method: Integrating Factor e∫tanxdx — Watch the Exponent
The integrating factor is e∫Pdx, with the integral of P in the exponent — not P itself. Getting ∫tanxdx right is the crux here.
Steps
Step 1: Put the equation in standard form.
dxdy+ytanx−secx=0 becomes dxdy+(tanx)y=secx, so P=tanx.
Step 2: Integrate P first.
∫tanxdx=log∣secx∣. …
Common Mistakes
Mistake 1: Writing the integrating factor as etanx or esecx.
Why it's wrong: the exponent must be ∫Pdx, not P itself; with P=tanx, the exponent is ∫tanxdx=log∣secx∣. Correct approach: integrate P before exponentiating.
Mistake 2: Not simplifying elog∣secx∣. …
Showing the 12 most recent of 33 on this concept.
- 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 2025Set eng-2025-05-22-AN1 markMCQQ.The general solution of the differential equation dxdy+cosx+sinxsecxy=1+tanxcosx is (A) (cosx+sinx)y=sinx+c (B) (cosx+sinx)y=cosx+c (C) (1+tanx)y=cosx+c (D) secx(cosx+sinx)y=sinx+c
›Reveal solutionSolution
Recognising P(x)=secx/(cosx+sinx) as sec2x/(1+tanx) gives the integrating factor 1+tanx; the equation then integrates cleanly to secx(cosx+sinx)y=sinx+c.
Concept and Intuition
For a linear ODE y′+P(x)y=Q(x), the integrating factor is e∫Pdx. Spotting that a messy P(x) is secretly of the form u(x)u′(x) for some simple u(x) (here u=1+tanx) instantly gives ∫Pdx=log∣u∣ without a hard integration.
Step-by-Step Solution
- Here P(x)=cosx+sinxsecx. Multiply numerator and denominator by secx: secx(cosx+sinx)sec2x=1+tanxsec2x (since cosx(cosx+sinx)=cos2x(1+tanx)).
- So P(x)=1+tanxsec2x=dxdlog(1+tanx), giving integrating factor IF=1+tanx.
- Q(x)=1+tanxcosx, so Q⋅IF=1+tanxcosx⋅(1+tanx)=cosx.
- The linear-ODE solution is y⋅IF=∫Q⋅IFdx+c: (1+tanx)y=∫cosxdx+c=sinx+c. …
- AP EAPCET 2026Set eng-2026-05-15-FN1 markMCQQ.The general solution of the differential equation dxdy+ytanx=−tanxlog(cosx) (0<x<2π) (A) secx=e⋅ey−kcosx (B) secx=e⋅ey−ksecx (C) tanx=e⋅ey−kcosx (D) tanx=e⋅ey+ksecx
›Reveal solutionSolution
A first-order linear ODE with integrating factor secx; solving it and rearranging the logarithmic solution into exponential form reproduces exactly the printed option. Answer: secx=e⋅ey−kcosx.
Concept and Intuition
The equation is a standard linear ODE dxdy+P(x)y=Q(x) with P(x)=tanx. Its integrating factor is e∫tanxdx=e−logcosx=secx. After solving, the answer is naturally logarithmic; the answer choices present it exponentiated, so the final algebraic step is just re-expressing log(cosx)=… as secx=e⋅e(…).
Step-by-Step Solution
- Standard form: dxdy+ytanx=−tanxlog(cosx), P(x)=tanx, Q(x)=−tanxlog(cosx).
- Integrating factor: IF=e∫tanxdx=e−log(cosx)=cosx1=secx.
- Solution: ysecx=∫secx⋅(−tanxlog(cosx))dx+k=−∫secxtanxlog(cosx)dx+k.
- Integrate by parts with u=log(cosx), dv=secxtanxdx⇒v=secx: ∫secxtanxlog(cosx)dx=secxlog(cosx)−∫secx⋅(−tanx)dx=secxlog(cosx)+secx+C. …
- AP EAPCET 2025Set eng-2025-05-22-FN1 markMCQQ.The general solution of the differential equation y+cosx(dxdy)−cos2x=0 is (A) (secx+tanx)y=x+cosx+c (B) (1+cosx)y=(x+c)cosx−cos2x (C) (1+sinx)y=(x+c)cosx−cos2x (D) (secx+tanx)y=x−sinx+c
›Reveal solutionSolution
A first-order linear ODE in y; using the integrating factor secx+tanx and rewriting it as (1+sinx)/cosx yields option (C).
Concept and Intuition
After dividing by cosx, the equation becomes linear in y with integrating factor e∫secxdx=secx+tanx (a standard integral). Since secx+tanx=cosx1+sinx, the solution can be rewritten multiplying through by cosx, which is exactly the form the answer choices use.
Step-by-Step Solution
- Start with y+cosxdxdy−cos2x=0. Divide by cosx: dxdy+ysecx=cosx.
- This is linear: P(x)=secx, Q(x)=cosx. Integrating factor μ=e∫secxdx=elog∣secx+tanx∣=secx+tanx.
- The solution is y⋅μ=∫Q⋅μdx: y(secx+tanx)=∫cosx(secx+tanx)dx=∫(1+sinx)dx=x−cosx+C.
- Now write secx+tanx=cosx1+sinx, so y⋅cosx1+sinx=x−cosx+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 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-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 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 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 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 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.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)μ. …
🎓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.