← 2015 Paper 1

UPSC 2015 Maths Optional Paper 1 Q7a-ii — Step-by-Step Solution

6 marks · Section B

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

Question

Using Laplace transform, solve y+y=t,  y(0)=1,  y(0)=2.y''+y=t,\;y(0)=1,\;y'(0)=-2.

Technique

Standard Laplace solution of linear ODE with constant coefficients; partial fractions; inverse transform via known pairs.

Solution

Step 1 — Take Laplace transform

Let Y(s)=L{y(t)}Y(s)=\mathcal L\{y(t)\}. Then

Equation:

s2Ys+2+Y=1s2,s^2 Y-s+2+Y=\dfrac{1}{s^2}, (s2+1)Y=1s2+s2,(s^2+1)Y=\dfrac{1}{s^2}+s-2, Y=1s2(s2+1)+ss2+12s2+1.Y=\dfrac{1}{s^2(s^2+1)}+\dfrac{s}{s^2+1}-\dfrac{2}{s^2+1}.

Step 2 — Partial fractions on the first term

1s2(s2+1)=As+Bs2+Cs+Ds2+1.\dfrac{1}{s^2(s^2+1)}=\dfrac{A}{s}+\dfrac{B}{s^2}+\dfrac{Cs+D}{s^2+1}.

Multiply through: 1=As(s2+1)+B(s2+1)+(Cs+D)s21=As(s^2+1)+B(s^2+1)+(Cs+D)s^2.

Expand: 1=As3+As+Bs2+B+Cs3+Ds2=(A+C)s3+(B+D)s2+As+B1=As^3+As+Bs^2+B+Cs^3+Ds^2=(A+C)s^3+(B+D)s^2+As+B.

Match coefficients:

So A=0,  C=0,  B=1,  D=1A=0,\;C=0,\;B=1,\;D=-1:

1s2(s2+1)=1s21s2+1.\dfrac{1}{s^2(s^2+1)}=\dfrac{1}{s^2}-\dfrac{1}{s^2+1}.

Step 3 — Substitute back

Y=1s21s2+1+ss2+12s2+1=1s2+ss2+13s2+1.Y=\dfrac{1}{s^2}-\dfrac{1}{s^2+1}+\dfrac{s}{s^2+1}-\dfrac{2}{s^2+1}=\dfrac{1}{s^2}+\dfrac{s}{s^2+1}-\dfrac{3}{s^2+1}.

Step 4 — Invert

y(t)=t+cost3sint.y(t)=t+\cos t-3\sin t.

Answer

  y(t)=t+cost3sint.  \boxed{\;y(t)=t+\cos t-3\sin 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 — 13 years, mapped. Get the take-away PDF free.