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

Question

Find the second solution of the differential equation xy′′+(x−1)y′−y=0xy''+(x-1)y'-y=0 using u(x)=−e−xu(x)=-e^{-x} as one of the solutions.

Technique

Reduction of order: set y=u(x)v(x)y=u(x)v(x), derive a first-order ODE for v′v', integrate twice.

Solution

Step 1 — Substitute y=u(x)v(x)=−e−xv(x)y=u(x)v(x)=-e^{-x}v(x).

y′=e−x(v−v′),y′′=e−x(−v+2v′−v′′).y'=e^{-x}(v-v'),\qquad y''=e^{-x}(-v+2v'-v'').

Substitute into the ODE and divide by e−xe^{-x}:

x(−v+2v′−v′′)+(x−1)(v−v′)+v=0.x(-v+2v'-v'')+(x-1)(v-v')+v=0.

Expanding and collecting terms by v,v′,v′′v,v',v'':

Result: −xv′′+(x+1)v′=0-xv''+(x+1)v'=0.

Step 2 — First-order ODE for w=v′w=v'.

xw′=(x+1)w  ⇒  dww=(1+1x)dx  ⇒  w=Cxex.xw'=(x+1)w\;\Rightarrow\;\frac{dw}{w}=\left(1+\frac{1}{x}\right)dx\;\Rightarrow\;w=Cxe^x.

Step 3 — Integrate for vv.

v=C∫xex dx=C(x−1)ex+const.v=C\int xe^x\,dx=C(x-1)e^x+\text{const}.

Taking C=1C=1 and discarding the constant (which re-introduces uu): v=(x−1)exv=(x-1)e^x.

Step 4 — Second solution.

y2=u⋅v=(−e−x)(x−1)ex=−(x−1)=1−x.y_2=u\cdot v=(-e^{-x})(x-1)e^x=-(x-1)=1-x.

Verification. y2=1−xy_2=1-x, y2′=−1y_2'=-1, y2′′=0y_2''=0. Then xy2′′+(x−1)y2′−y2=0+(x−1)(−1)−(1−x)=0xy_2''+(x-1)y_2'-y_2=0+(x-1)(-1)-(1-x)=0 ✓.

Answer

  y2(x)=1−x.  \boxed{\;y_2(x)=1-x.\;}
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.