← 2026 Paper 1

UPSC 2026 Maths Optional Paper 1 Q5b — Step-by-Step Solution

10 marks · Section B

Laplace transform applied to IVP for second-order linear ODE with constant coefficients · ODEs · asked 11× in 14 yrs · Read the full method →

Question

Apply Laplace transform to solve (D2+D) y(t)=2(D^2 + D)\,y(t) = 2, D≡ddtD \equiv \dfrac{d}{dt}, subject to the conditions y(0)=3y(0) = 3, y′(0)=1y'(0) = 1.

Technique

The method is the question. Transform the whole equation, using L{y′′}=s2yˉ−sy(0)−y′(0)L\{y''\}=s^2\bar y-sy(0)-y'(0) and L{y′}=syˉ−y(0)L\{y'\}=s\bar y-y(0) so that the initial data enter algebraically; solve for yˉ(s)\bar y(s), split by partial fractions, and invert term by term. Do not solve it as a CF + PI problem — that scores nothing here.

Solution

Step 1 — Write the equation and the transform pair.

The equation is

d2ydt2+dydt=2,y(0)=3,y′(0)=1.\frac{d^2y}{dt^2} + \frac{dy}{dt} = 2,\qquad y(0)=3,\quad y'(0)=1 .

Write yˉ(s)=L{y(t)}=∫0∞e−sty(t) dt\bar y(s)=L\{y(t)\}=\displaystyle\int_0^\infty e^{-st}y(t)\,dt. The standard derivative rules are

L{y′(t)}=syˉ(s)−y(0),L{y′′(t)}=s2yˉ(s)−s y(0)−y′(0),L\{y'(t)\} = s\bar y(s) - y(0),\qquad L\{y''(t)\} = s^2\bar y(s) - s\,y(0) - y'(0),

and for the right-hand side, L{2}=2sL\{2\} = \dfrac{2}{s} (valid for s>0s>0).

Step 2 — Transform, inserting the initial conditions.

Applying LL to both sides:

[s2yˉ−s y(0)−y′(0)]+[syˉ−y(0)]=2s.\bigl[s^2\bar y - s\,y(0) - y'(0)\bigr] + \bigl[s\bar y - y(0)\bigr] = \frac{2}{s}.

Putting y(0)=3y(0)=3, y′(0)=1y'(0)=1:

[s2yˉ−3s−1]+[syˉ−3]=2s,\bigl[s^2\bar y - 3s - 1\bigr] + \bigl[s\bar y - 3\bigr] = \frac{2}{s}, (s2+s) yˉ=2s+3s+4=3s2+4s+2s.(s^2+s)\,\bar y = \frac{2}{s} + 3s + 4 = \frac{3s^2+4s+2}{s}.

Hence, since s2+s=s(s+1)s^2+s=s(s+1),

yˉ(s)=3s2+4s+2s2(s+1).(∗)\bar y(s) = \frac{3s^2+4s+2}{s^2(s+1)} . \tag{$\ast$}

Step 3 — Partial fractions.

The denominator has a double pole at s=0s=0 and a simple pole at s=−1s=-1, so write

3s2+4s+2s2(s+1)=As+Bs2+Cs+1⟺3s2+4s+2=A s(s+1)+B(s+1)+C s2.\frac{3s^2+4s+2}{s^2(s+1)} = \frac{A}{s} + \frac{B}{s^2} + \frac{C}{s+1} \quad\Longleftrightarrow\quad 3s^2+4s+2 = A\,s(s+1) + B(s+1) + C\,s^2 .

Therefore

yˉ(s)=2s+2s2+1s+1.\bar y(s) = \frac{2}{s} + \frac{2}{s^2} + \frac{1}{s+1}.

(Quick check of the split: 2s(s+1)+2(s+1)+s2s2(s+1)=3s2+4s+2s2(s+1)\dfrac{2s(s+1)+2(s+1)+s^2}{s^2(s+1)} = \dfrac{3s^2+4s+2}{s^2(s+1)} ✓.)

Step 4 — Invert.

Using L−1{1/s}=1L^{-1}\{1/s\}=1, L−1{1/s2}=tL^{-1}\{1/s^2\}=t, L−1{1/(s+a)}=e−atL^{-1}\{1/(s+a)\}=e^{-at}:

y(t)=2+2t+e−t.y(t) = 2 + 2t + e^{-t}.

Step 5 — Check against the data and the equation.

y(0)=2+0+1=3y(0)=2+0+1=3 ✓.   y′(t)=2−e−ty'(t)=2-e^{-t}, so y′(0)=2−1=1y'(0)=2-1=1 ✓.   y′′(t)=e−ty''(t)=e^{-t}, so

y′′+y′=e−t+2−e−t=2 ✓y''+y' = e^{-t} + 2 - e^{-t} = 2 \ \checkmark

identically in tt.

(Structural remark, one line in the exam: the double pole at s=0s=0 is what produces the secular term 2t2t — physically the particular integral of a constant forcing for an operator D(D+1)D(D+1) with a zero root; the simple pole at s=−1s=-1 gives the transient e−te^{-t}.)

Answer

  y(t)=2+2t+e−t  \boxed{\;y(t) = 2 + 2t + e^{-t}\;}
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.