← 2014 Paper 1
UPSC 2014 Maths Optional Paper 1 Q7a — Step-by-Step Solution
15 marks · Section B
Reduction of order with one solution known · ODEs · asked 3× in 13 yrs · Read the full method →
Question
Solve the following differential equation:
xdx2d2y−2(x+1)dxdy+(x+2)y=(x−2)e2x,
when ex is a solution to its corresponding homogeneous differential equation.
Technique
Reduction of order via y=exv; first-order ODE in w=v′; integrating factor; recognise antiderivative.
Solution
Strategy. Reduction of order: substitute y=exv(x) to convert the second-order equation into a first-order ODE in v′.
Step 1 — Substitute y=exv
y′=ex(v+v′), y′′=ex(v+2v′+v′′).
LHS:
xex(v+2v′+v′′)−2(x+1)ex(v+v′)+(x+2)exv=ex[collect].
Collect terms:
- v′′ coefficient: x.
- v′ coefficient: 2x−2(x+1)=−2.
- v coefficient: x−2(x+1)+(x+2)=x−2x−2+x+2=0.
So LHS =ex(xv′′−2v′).
Setting = RHS =(x−2)e2x and dividing by ex:
xv′′−2v′=(x−2)ex.
Step 2 — Substitute w=v′
This becomes first-order in w:
xw′−2w=(x−2)ex⟺w′−x2w=x(x−2)ex=(1−x2)ex.
Step 3 — Integrating factor
μ=exp(−∫x2dx)=x−2.
dxd(x2w)=x21(1−x2)ex=(x21−x32)ex.
Recognise dxd(x2ex)=x2ex−x32ex=(x21−x32)ex.
So x2w=x2ex+C, hence w=ex+Cx2.
Step 4 — Integrate back
v′=w=ex+Cx2. Integrate:
v=ex+3Cx3+D.
Therefore
y=exv=ex(ex+3Cx3+D)=e2x+3Cx3ex+Dex.
Renaming constants (c1=D, c2=C/3):
Answer
y=c1ex+c2x3ex+e2x.