Q.General solution of dxdy+ytanx=secx is:
(A) ysecx=tanx+c
(B) ytanx=secx+c
(C) tanx=ytanx+c
(D) xsecx=tany+c
🔒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.
--- …
This is a first-order linear equation with P(x)=tanx, Q(x)=secx. The integrating factor is
I.F.=e∫tanxdx=elog∣secx∣=secx. …
With integrating factor secx, the equation gives ysecx=tanx+c — option (A).
The equation
dxdy+ytanx=secx
is first-order linear, of the form dxdy+P(x)y=Q(x) with P(x)=tanx and Q(x)=secx.
1. Integrating factor
∫tanxdx=log∣secx∣,I.F.=elog∣secx∣=secx.
2. Multiply through
secxdxdy+ysecxtanx=sec2x.
The left side is exactly dxd(ysecx), since dxd(secx)=secxtanx. So …
Method: Integrating factor with a trigonometric coefficient
Use this for linear equations like dxdy+ytanx=secx.
Steps
Step 1: Read off P(x) and integrate it.
Here P=tanx, and ∫tanxdx=log∣secx∣.
Step 2: Simplify the integrating factor using elog(⋅)=(⋅).
I.F.=elog∣secx∣=secx.
Step 3: Collapse to dxd(y⋅I.F.) and integrate. …
Common Mistakes
Mistake 1: Confusing ∫sec2xdx with dxdsecx.
Why it's wrong: after collapsing to dxd(ysecx)=sec2x, integrating gives tanx, so ysecx=tanx+c (option A). Using secxtanx instead is a derivative, not an integral. Correct approach: recall ∫sec2xdx=tanx+c.
Mistake 2: Wrong integrating factor. …
Showing the 12 most recent of 15 on this concept.
- KEAM 2024Set eng-2024-06074 marksMCQQ.The general solution of the differential equation 2ytanx+dxdy=5sinx is (A) y=5secx+Csec2x (B) y=5+Ccosx (C) y=5cosx+C (D) y=5cosx+Ccos2x (E) y=5sec2x+Csecx
›Reveal solutionSolution
Solve the linear ODE with integrating factor sec2x.
Rewrite as dxdy+2tanxy=5sinx. Integrating factor:
μ=e∫2tanxdx=e2logsecx=sec2x.
Then
dxd(ysec2x)=5sinxsec2x=5cos2xsinx. …
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.The general solution of the differential equation (x2y2+y)dx−(x−2x3y)dy=0 is (A) x2y2−xy=C (B) x3y+yx=C (C) xy2+xy=C (D) xy2−xy=C (E) x2y+xy=C
›Reveal solutionSolution
The general solution is xy2−xy=C.
Concept and Intuition
Regroup terms into recognizable exact differentials d(xy2) and d(y/x).
Step-by-Step Solution
- Expand: (x2y2+y)dx−(x−2x3y)dy=0⇒x2y2dx+ydx−xdy+2x3ydy=0.
- Note d(xy2)=y2dx+2xydy, so x2y2dx+2x3ydy=x2d(xy2).
- Note d(y/x)=x2xdy−ydx, so ydx−xdy=−x2d(y/x).
- Equation: x2d(xy2)−x2d(y/x)=0⇒d(xy2)−d(y/x)=0. …
- KEAM 2024Set eng-2024-06094 marksMCQQ.The general solution of dxdy+y=5 is (A) −log∣5−y∣=x+C (B) −log∣5−y∣=ex+C (C) (5−y)2=2x+C (D) y=log∣x+C∣ (E) log∣x∣+C
›Reveal solutionSolution
The equation is separable: 5−ydy=dx, which integrates to −log∣5−y∣=x+C.
Write dxdy=5−y, so 5−ydy=dx. …
- KEAM 2026Set eng-2026-04174 marksMCQQ.The general solution of the differential equation x3dxdy+3x2y=cosx is (A) y=x3sinx+C (B) y=x3sinx+Cx (C) y=x2sinx+C (D) y=x2sinx+C (E) y=x3sinx+C
›Reveal solutionSolution
Recognize the exact derivative dxd(x3y).
Since dxd(x3y)=x3dxdy+3x2y, the equation x3dxdy+3x2y=cosx becomes
dxd(x3y)=cosx. …
- KEAM 2025Set eng-2025-04234 marksMCQQ.The integrating factor of the differential equation sinxdy=21(sin2x+2ycosx)dx is (A) secx (B) sinx (C) tanx (D) cosx (E) cscx
›Reveal solutionSolution
The equation reduces to y' - (cot x) y = cos x, giving integrating factor e^{-integral cot x dx} = csc x.
Concept and Intuition
Rewrite the equation in standard linear form dy/dx + P(x)y = Q(x); the integrating factor is e^{integral P dx}.
Step-by-Step Solution
- sin x dy = (1/2)(sin2x + 2y cos x) dx; using sin2x = 2 sin x cos x, the RHS = (sin x cos x + y cos x) dx.
- So sin x (dy/dx) = sin x cos x + y cos x, i.e. dy/dx = cos x + y cot x. …
- KEAM 2024Set eng-2024-06074 marksMCQQ.The integrating factor of the differential equation (3sinxcosx)dy=(1+3ysin2x)dx, where 0<x<2π, is (A) secx (B) sinx (C) tanx (D) cosx (E) cotx
›Reveal solutionSolution
Put in linear form; the coefficient of y gives IF =cosx.
From (3sinxcosx)dy=(1+3ysin2x)dx:
dxdy=3sinxcosx1+3ysin2x=3sinxcosx1+3sinxcosx3sin2xy.
The y-coefficient is cosxsinx=tanx, so …
- KEAM 2025Set eng-2025-04254 marksMCQQ.The integrating factor of the differential equation (1+x2)dy=(1−2xy)dx is (A) x2+1 (B) loge(x2+1) (C) x2+1x (D) x(x2+1) (E) loge∣x∣
›Reveal solutionSolution
Put in standard linear form dxdy+Py=Q and compute e∫Pdx.
Rewrite (1+x2)dy=(1−2xy)dx as
dxdy+1+x22xy=1+x21.
Here P=1+x22x, so …
- KEAM 2026Set eng-2026-04224 marksMCQQ.The solution of the differential equation (y+x2)dx=xdy,x>0 is a curve which passes through the point (1,0). The equation of the curve is (A) y=x(x+1) (B) y=x(x−1) (C) y=x2(x−1) (D) y=x2(x+1) (E) y=x(x2−1)
›Reveal solutionSolution
Rewrite as a first-order linear ODE y′−y/x=x, use integrating factor 1/x, then apply the point (1,0).
From (y+x2)dx=xdy: xdxdy=y+x2⇒dxdy−xy=x.
Integrating factor =e−∫dx/x=x1, so dxd(xy)=1. …
- KEAM 2024Set eng-2024-06064 marksMCQQ.The integrating factor of the differential equation xdxdy+2y=xex is (A) logex (B) loge2x (C) x (D) x2 (E) 2x
›Reveal solutionSolution
Dividing by x gives P(x)=x2, so the integrating factor is x2.
Divide xdxdy+2y=xex by x: dxdy+x2y=ex. …
- KEAM 2021Set eng-2021-P2-B14 marksMCQQ.The integrating factor of the differential equation xy′+2y−7x3=0 is (A) log∣x∣ (B) x2 (C) x21 (D) 21log∣x∣ (E) x
›Reveal solutionSolution
The integrating factor is x2.
Concept and Intuition
A linear ODE y′+P(x)y=Q(x) has integrating factor e∫Pdx. First put the equation in standard form by dividing through by the coefficient of y′.
Step-by-Step Solution
- xy′+2y−7x3=0⇒y′+x2y=7x2.
- Here P(x)=x2, so ∫Pdx=2log∣x∣. …
- KEAM 2026Set eng-2026-04174 marksMCQQ.The integrating factor of the differential equation 2dy=(y+cosx)dx is (A) e−2x (B) e−x/2 (C) e2x (D) ex/2 (E) −ex/2
›Reveal solutionSolution
Put in standard linear form and read off the integrating factor.
From 2dy=(y+cosx)dx:
2dxdy=y+cosx ⇒ dxdy−21y=21cosx. …
- KEAM 2022Set eng-2022-P2-B14 marksMCQQ.The integrating factor of the differential equation 4xdy−e−2ydy+dx=0 is (A) e−2y (B) e2x2 (C) e4y (D) e−4y (E) x4
›Reveal solutionSolution
The integrating factor is e4y.
Concept and Intuition
Rewrite the equation as linear in x with respect to y; the integrating factor is e∫Pdy.
Step-by-Step Solution
- 4xdy−e−2ydy+dx=0⇒(4x−e−2y)dy+dx=0.
- Divide by dy: dydx+4x=e−2y.
- This is linear with P(y)=4.
- Integrating factor =e∫4dy=e4y.
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.