← 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 14 yrs · Read the full method →

Question

Solve the differential equation

d2ydx2+(3sin⁡x−cot⁡x)dydx+2ysin⁡2x=e−cos⁡xsin⁡2x.\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=−cos⁡xt=-\cos x (so dt/dx=sin⁡xdt/dx=\sin x); the cross term in y′y' is engineered to cancel, reducing to a linear constant-coefficient ODE in tt.

Solution

Step 1 — Choose the substitution

The combination 3sin⁡x−cot⁡x3\sin x-\cot x and the factor sin⁡2x\sin^2 x suggest changing the independent variable to

t=−cos⁡x,dtdx=sin⁡x,d2tdx2=cos⁡x.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)sin⁡x,d2ydx2=Y′′(t)sin⁡2x+Y′(t)cos⁡x.\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

Y′′sin⁡2x+Y′cos⁡x⏟y′′+(3sin⁡x−cot⁡x)Y′sin⁡x⏟y′+2Ysin⁡2x=e−cos⁡xsin⁡2x.\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: (3sin⁡x−cot⁡x)Y′sin⁡x=3Y′sin⁡2x−Y′cos⁡x.(3\sin x-\cot x)Y'\sin x=3Y'\sin^2 x-Y'\cos x. The ±Y′cos⁡x\pm Y'\cos x terms cancel:

Y′′sin⁡2x+3Y′sin⁡2x+2Ysin⁡2x=e−cos⁡xsin⁡2x.Y''\sin^2 x+3Y'\sin^2 x+2Y\sin^2 x=e^{-\cos x}\sin^2 x.

Divide by sin⁡2x\sin^2 x (and note e−cos⁡x=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)=0⇒m=−1,−2m^2+3m+2=(m+1)(m+2)=0\Rightarrow m=-1,-2. CF =C1e−t+C2e−2t=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=1⇒A=16(1+3+2)A=1\Rightarrow A=\tfrac16. Hence

Y(t)=C1e−t+C2e−2t+16et.Y(t)=C_1e^{-t}+C_2e^{-2t}+\tfrac16 e^{t}.

Step 5 — Return to xx (recall t=−cos⁡xt=-\cos x)

e−t=ecos⁡xe^{-t}=e^{\cos x}, e−2t=e2cos⁡xe^{-2t}=e^{2\cos x}, et=e−cos⁡xe^{t}=e^{-\cos x}:

Answer

  y=C1ecos⁡x+C2e2cos⁡x+16e−cos⁡x.  \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 — 14 years, mapped. Get the take-away PDF free.