← 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: dydx=11+x2(etan1xy)\dfrac{dy}{dx}=\dfrac{1}{1+x^2}\left(e^{\tan^{-1}x}-y\right).

Technique

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

Solution

Step 1 — Put in linear standard form

dydx+11+x2y=etan1x1+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)=etan1x1+x2Q(x)=\dfrac{e^{\tan^{-1}x}}{1+x^2}.

Step 2 — Integrating factor

Pdx=dx1+x2=tan1x,μ=etan1x.\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 ⁣(yetan1x)=etan1xetan1x1+x2=e2tan1x1+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=tan1x, dt=dx1+x2t=\tan^{-1}x,\ dt=\dfrac{dx}{1+x^2}:

yetan1x=e2tdt=12e2t+C=12e2tan1x+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=12etan1x+Cetan1x.  \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 — 13 years, mapped. Get the take-away PDF free.