← 2018 Paper 1
UPSC 2018 Maths Optional Paper 1 Q5a — Step-by-Step Solution
10 marks · Section B
Particular integral via operator method · ODEs · asked 7× in 13 yrs · Read the full method →
Question
Solve: y′′−y=x2e2x.
Technique
CF from auxiliary equation; PI by exponential shift ϕ(D)1e2xu=e2xϕ(D+2)1u then operator series to order D2.
Solution
This is a constant-coefficient linear ODE; write it as (D2−1)y=x2e2x where D=dxd.
Step 1 — Complementary function
Auxiliary equation m2−1=0⇒m=±1, so
yc=C1ex+C2e−x.
Step 2 — Particular integral (exponential shift)
yp=D2−11x2e2x.
Since 2 is not a root of m2−1, the forcing is non-resonant. Use the shift rule ϕ(D)1e2xu=e2xϕ(D+2)1u:
yp=e2x(D+2)2−11x2=e2xD2+4D+31x2.
Step 3 — Expand the operator inverse as a series
Factor out 3 and expand 1+34D+D21 to order D2 (higher powers annihilate x2):
31(1+34D+D2)−1=31[1−34D+D2+(34D)2−⋯]=31[1−34D+(916−31)D2].
The D2 coefficient is 916−31=916−3=913. Apply to x2 (with Dx2=2x, D2x2=2):
D2+4D+31x2=31[x2−34(2x)+913(2)]=31[x2−38x+926]=279x2−24x+26.
Hence
yp=27(9x2−24x+26)e2x.
Step 4 — General solution
Answer
y=C1ex+C2e−x+271(9x2−24x+26)e2x.