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

Question

Determine the complete solution of the differential equation

d2ydx24dydx+4y=3x2e2xsin2x.\frac{d^2y}{dx^2}-4\frac{dy}{dx}+4y=3x^2e^{2x}\sin 2x.

Technique

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

Solution

Step 1 — Complementary function

The auxiliary equation is m24m+4=(m2)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}, (D2)2y=4y...(D-2)^2y=4y'... more cleanly: (D2)(e2xu)=e2xDu(D-2)\big(e^{2x}u\big)=e^{2x}Du, so

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

The equation (D2)2y=3x2e2xsin2x(D-2)^2y=3x^2e^{2x}\sin2x becomes

e2xu=3x2e2xsin2xu=3x2sin2x.e^{2x}\,u''=3x^2e^{2x}\sin2x\quad\Longrightarrow\quad u''=3x^2\sin2x.

Step 3 — Integrate twice

u=3x2sin2xdx.u'=\int 3x^2\sin2x\,dx.

Using x2sin2xdx=12x2cos2x+12xsin2x+14cos2x\int x^2\sin2x\,dx=-\tfrac12x^2\cos2x+\tfrac12 x\sin2x+\tfrac14\cos2x,

u=3 ⁣(12x2cos2x+12xsin2x+14cos2x)=32x2cos2x+32xsin2x+34cos2x.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=34x2sin2x32xcos2x+98sin2x.u=-\tfrac34x^2\sin2x-\tfrac32x\cos2x+\tfrac98\sin2x.

(The x2cos2xx^2\cos2x term integrates to 34x2sin2x34xcos2x+-\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 ⁣(34x2sin2x32xcos2x+98sin2x).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 ⁣(34x2sin2x32xcos2x+98sin2x).  \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 — 13 years, mapped. Get the take-away PDF free.