← 2016 Paper 1
UPSC 2016 Maths Optional Paper 1 Q5c — Step-by-Step Solution
10 marks · Section B
Linear first-order · ODEs · asked 5× in 13 yrs · Read the full method →
Question
Solve: dxdy=1+x21(etan−1x−y).
Technique
Linear first-order ODE; integrating factor μ=earctanx; substitution t=arctanx to integrate ∫e2tdt.
Solution
dxdy+1+x21y=1+x2etan−1x.
This is linear in y with P(x)=1+x21, Q(x)=1+x2etan−1x.
Step 2 — Integrating factor
∫Pdx=∫1+x2dx=tan−1x,μ=etan−1x.
Step 3 — Multiply through and integrate
dxd(yetan−1x)=etan−1x⋅1+x2etan−1x=1+x2e2tan−1x.
Substitute t=tan−1x, dt=1+x2dx:
yetan−1x=∫e2tdt=21e2t+C=21e2tan−1x+C.
Step 4 — Solve for y
Answer
y=21etan−1x+Ce−tan−1x.