← 2019 Paper 1

UPSC 2019 Maths Optional Paper 1 Q5b — Step-by-Step Solution

10 marks · Section B

Particular integral via operator method · ODEs · asked 7× in 14 yrs · Read the full method →

Question

Determine the complete solution of the differential equation

d2ydx2−4dydx+4y=3x2e2xsin⁡2x.\frac{d^2y}{dx^2}-4\frac{dy}{dx}+4y=3x^2e^{2x}\sin 2x.

Technique

Exponential shift y=e2xuy=e^{2x}u collapses (D−2)2(D-2)^2 to D2D^2 because the forcing carries the resonant factor e2xe^{2x}; then double integration of 3x2sin⁡2x3x^2\sin2x.

Solution

Step 1 — Complementary function

The auxiliary equation is m2−4m+4=(m−2)2=0m^2-4m+4=(m-2)^2=0, a repeated root m=2m=2. Hence

yc=(C1+C2x)e2x.y_c=(C_1+C_2x)e^{2x}.

Step 2 — Reduce the forcing by the exponential shift

Put y=e2xuy=e^{2x}u. With D=ddxD=\dfrac{d}{dx}, (D−2)2y=4y′...(D-2)^2y=4y'... more cleanly: (D−2)(e2xu)=e2xDu(D-2)\big(e^{2x}u\big)=e^{2x}Du, so

(D−2)2(e2xu)=e2xD2u.(D-2)^2\big(e^{2x}u\big)=e^{2x}D^2u.

The equation (D−2)2y=3x2e2xsin⁡2x(D-2)^2y=3x^2e^{2x}\sin2x becomes

e2x u′′=3x2e2xsin⁡2x⟹u′′=3x2sin⁡2x.e^{2x}\,u''=3x^2e^{2x}\sin2x\quad\Longrightarrow\quad u''=3x^2\sin2x.

Step 3 — Integrate twice

u′=∫3x2sin⁡2x dx.u'=\int 3x^2\sin2x\,dx.

Using ∫x2sin⁡2x dx=−12x2cos⁡2x+12xsin⁡2x+14cos⁡2x\int x^2\sin2x\,dx=-\tfrac12x^2\cos2x+\tfrac12 x\sin2x+\tfrac14\cos2x,

u′=3 ⁣(−12x2cos⁡2x+12xsin⁡2x+14cos⁡2x)=−32x2cos⁡2x+32xsin⁡2x+34cos⁡2x.u'=3\!\left(-\tfrac12x^2\cos2x+\tfrac12 x\sin2x+\tfrac14\cos2x\right)=-\tfrac32x^2\cos2x+\tfrac32x\sin2x+\tfrac34\cos2x.

Integrate again (dropping constants, which are absorbed into ycy_c):

u=−34x2sin⁡2x−32xcos⁡2x+98sin⁡2x.u=-\tfrac34x^2\sin2x-\tfrac32x\cos2x+\tfrac98\sin2x.

(The x2cos⁡2xx^2\cos2x term integrates to −34x2sin⁡2x−34xcos⁡2x+…-\tfrac34 x^2\sin2x-\tfrac34 x\cos2x+\ldots; collecting all pieces gives the coefficients above.)

Step 4 — Particular integral and complete solution

yp=e2xu=e2x ⁣(−34x2sin⁡2x−32xcos⁡2x+98sin⁡2x).y_p=e^{2x}u=e^{2x}\!\left(-\tfrac34x^2\sin2x-\tfrac32x\cos2x+\tfrac98\sin2x\right).

Therefore the complete solution is

Answer

  y=(C1+C2x)e2x+e2x ⁣(−34x2sin⁡2x−32xcos⁡2x+98sin⁡2x).  \boxed{\;y=(C_1+C_2x)e^{2x}+e^{2x}\!\left(-\frac34x^2\sin2x-\frac32x\cos2x+\frac98\sin2x\right).\;}
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.