← 2016 Paper 1

UPSC 2016 Maths Optional Paper 1 Q5c — Step-by-Step Solution

10 marks · Section B

Linear first-order · ODEs · asked 6× in 14 yrs · Read the full method →

Question

Solve: dydx=11+x2(etan⁡−1x−y)\dfrac{dy}{dx}=\dfrac{1}{1+x^2}\left(e^{\tan^{-1}x}-y\right).

Technique

Linear first-order ODE; integrating factor μ=earctan⁡x\mu=e^{\arctan x}; substitution t=arctan⁡xt=\arctan x to integrate ∫e2tdt\int e^{2t}dt.

Solution

Step 1 — Put in linear standard form

dydx+11+x2 y=etan⁡−1x1+x2.\frac{dy}{dx}+\frac{1}{1+x^2}\,y=\frac{e^{\tan^{-1}x}}{1+x^2}.

This is linear in yy with P(x)=11+x2P(x)=\dfrac{1}{1+x^2}, Q(x)=etan⁡−1x1+x2Q(x)=\dfrac{e^{\tan^{-1}x}}{1+x^2}.

Step 2 — Integrating factor

∫P dx=∫dx1+x2=tan⁡−1x,μ=etan⁡−1x.\int P\,dx=\int\frac{dx}{1+x^2}=\tan^{-1}x,\qquad \mu=e^{\tan^{-1}x}.

Step 3 — Multiply through and integrate

ddx ⁣(y etan⁡−1x)=etan⁡−1x⋅etan⁡−1x1+x2=e2tan⁡−1x1+x2.\frac{d}{dx}\!\left(y\,e^{\tan^{-1}x}\right)=e^{\tan^{-1}x}\cdot\frac{e^{\tan^{-1}x}}{1+x^2}=\frac{e^{2\tan^{-1}x}}{1+x^2}.

Substitute t=tan⁡−1x, dt=dx1+x2t=\tan^{-1}x,\ dt=\dfrac{dx}{1+x^2}:

y etan⁡−1x=∫e2t dt=12e2t+C=12e2tan⁡−1x+C.y\,e^{\tan^{-1}x}=\int e^{2t}\,dt=\frac{1}{2}e^{2t}+C=\frac{1}{2}e^{2\tan^{-1}x}+C.

Step 4 — Solve for yy

Answer

  y=12etan⁡−1x+C e−tan⁡−1x.  \boxed{\;y=\frac{1}{2}e^{\tan^{-1}x}+C\,e^{-\tan^{-1}x}.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.