← 2024 Paper 1
UPSC 2024 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 13 yrs · Read the full method →
Question
Find the second solution of the differential equation xy′′+(x−1)y′−y=0 using u(x)=−e−x as one of the solutions.
Technique
Reduction of order: set y=u(x)v(x), derive a first-order ODE for v′, integrate twice.
Solution
Step 1 — Substitute y=u(x)v(x)=−e−xv(x).
y′=e−x(v−v′),y′′=e−x(−v+2v′−v′′).
Substitute into the ODE and divide by e−x:
x(−v+2v′−v′′)+(x−1)(v−v′)+v=0.
Expanding and collecting terms by v,v′,v′′:
- v: −xv+xv−v+v=0.
- v′: 2xv′−xv′+v′=(x+1)v′.
- v′′: −xv′′.
Result: −xv′′+(x+1)v′=0.
Step 2 — First-order ODE for w=v′.
xw′=(x+1)w⇒wdw=(1+x1)dx⇒w=Cxex.
Step 3 — Integrate for v.
v=C∫xexdx=C(x−1)ex+const.
Taking C=1 and discarding the constant (which re-introduces u): v=(x−1)ex.
Step 4 — Second solution.
y2=u⋅v=(−e−x)(x−1)ex=−(x−1)=1−x.
Verification. y2=1−x, y2′=−1, y2′′=0. Then xy2′′+(x−1)y2′−y2=0+(x−1)(−1)−(1−x)=0 ✓.
Answer
y2(x)=1−x.