← 2019 Paper 1

UPSC 2019 Maths Optional Paper 1 Q6c-i — Step-by-Step Solution

10 marks · Section B

Reduction of order with one solution known · ODEs · asked 3× in 13 yrs · Read the full method →

Question

Solve the differential equation

d2ydx2+(3sinxcotx)dydx+2ysin2x=ecosxsin2x.\frac{d^2y}{dx^2}+(3\sin x-\cot x)\frac{dy}{dx}+2y\sin^2 x=e^{-\cos x}\sin^2 x.

Technique

Change of independent variable t=cosxt=-\cos x (so dt/dx=sinxdt/dx=\sin x); the cross term in yy' is engineered to cancel, reducing to a linear constant-coefficient ODE in tt.

Solution

Step 1 — Choose the substitution

The combination 3sinxcotx3\sin x-\cot x and the factor sin2x\sin^2 x suggest changing the independent variable to

t=cosx,dtdx=sinx,d2tdx2=cosx.t=-\cos x,\qquad \frac{dt}{dx}=\sin x,\qquad \frac{d^2t}{dx^2}=\cos x.

Step 2 — Transform the derivatives

With y=Y(t)y=Y(t) and chain rule:

dydx=Y(t)sinx,d2ydx2=Y(t)sin2x+Y(t)cosx.\frac{dy}{dx}=Y'(t)\sin x,\qquad \frac{d^2y}{dx^2}=Y''(t)\sin^2 x+Y'(t)\cos x.

Step 3 — Substitute into the equation

Ysin2x+Ycosxy+(3sinxcotx)Ysinxy+2Ysin2x=ecosxsin2x.\underbrace{Y''\sin^2 x+Y'\cos x}_{y''}+(3\sin x-\cot x)\underbrace{Y'\sin x}_{y'}+2Y\sin^2 x=e^{-\cos x}\sin^2 x.

Expand the middle term: (3sinxcotx)Ysinx=3Ysin2xYcosx.(3\sin x-\cot x)Y'\sin x=3Y'\sin^2 x-Y'\cos x. The ±Ycosx\pm Y'\cos x terms cancel:

Ysin2x+3Ysin2x+2Ysin2x=ecosxsin2x.Y''\sin^2 x+3Y'\sin^2 x+2Y\sin^2 x=e^{-\cos x}\sin^2 x.

Divide by sin2x\sin^2 x (and note ecosx=ete^{-\cos x}=e^{t}):

Y+3Y+2Y=et.Y''+3Y'+2Y=e^{t}.

Step 4 — Solve the constant-coefficient equation in tt

Auxiliary: m2+3m+2=(m+1)(m+2)=0m=1,2m^2+3m+2=(m+1)(m+2)=0\Rightarrow m=-1,-2. CF =C1et+C2e2t=C_1e^{-t}+C_2e^{-2t}. For the PI, since 11 is not a root, try Yp=AetY_p=Ae^{t}: (1+3+2)A=1A=16(1+3+2)A=1\Rightarrow A=\tfrac16. Hence

Y(t)=C1et+C2e2t+16et.Y(t)=C_1e^{-t}+C_2e^{-2t}+\tfrac16 e^{t}.

Step 5 — Return to xx (recall t=cosxt=-\cos x)

et=ecosxe^{-t}=e^{\cos x}, e2t=e2cosxe^{-2t}=e^{2\cos x}, et=ecosxe^{t}=e^{-\cos x}:

Answer

  y=C1ecosx+C2e2cosx+16ecosx.  \boxed{\;y=C_1e^{\cos x}+C_2e^{2\cos x}+\frac16e^{-\cos 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.