← 2022 Paper 1

UPSC 2022 Maths Optional Paper 1 Q7b — Step-by-Step Solution

15 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

Solve y3y+2y=h(t)y''-3y'+2y=h(t) via Laplace transform, where h(t)={2,0<t<40,t>4h(t)=\begin{cases}2,&0<t<4\\ 0,&t>4\end{cases}, y(0)=0,y(0)=0y(0)=0,\,y'(0)=0.

Technique

Standard Laplace transform with Heaviside step source; partial fractions; second shifting theorem.

Solution

Setup. h(t)=22u(t4)h(t)=2-2u(t-4) where u()u(\cdot) is the Heaviside step.

Laplace: L{h(t)}=2s2se4s=2(1e4s)s\mathcal L\{h(t)\}=\dfrac{2}{s}-\dfrac{2}{s}e^{-4s}=\dfrac{2(1-e^{-4s})}{s}.

Step 1 — Take Laplace transform of ODE

L{y}=s2Ysy(0)y(0)=s2Y\mathcal L\{y''\}=s^2 Y-sy(0)-y'(0)=s^2 Y. L{y}=sYy(0)=sY\mathcal L\{y'\}=sY-y(0)=sY. L{y}=Y\mathcal L\{y\}=Y.

ODE in ss-domain: s2Y3sY+2Y=2(1e4s)ss^2 Y-3sY+2Y=\dfrac{2(1-e^{-4s})}{s}.

Y(s23s+2)=2(1e4s)sY(s^2-3s+2)=\dfrac{2(1-e^{-4s})}{s},

Y=2(1e4s)s(s23s+2)=2(1e4s)s(s1)(s2)Y=\dfrac{2(1-e^{-4s})}{s(s^2-3s+2)}=\dfrac{2(1-e^{-4s})}{s(s-1)(s-2)}.

Step 2 — Partial fractions on 1s(s1)(s2)\dfrac{1}{s(s-1)(s-2)}

1s(s1)(s2)=As+Bs1+Cs2\dfrac{1}{s(s-1)(s-2)}=\dfrac{A}{s}+\dfrac{B}{s-1}+\dfrac{C}{s-2}.

So 1s(s1)(s2)=1/2s1s1+1/2s2\dfrac{1}{s(s-1)(s-2)}=\dfrac{1/2}{s}-\dfrac{1}{s-1}+\dfrac{1/2}{s-2}.

Step 3 — Inverse transform of “constant” part

L1 ⁣{2s(s1)(s2)}=2 ⁣[1/2s1s1+1/2s2]L112et+e2t=(et1)2\mathcal L^{-1}\!\left\{\dfrac{2}{s(s-1)(s-2)}\right\}=2\!\left[\dfrac{1/2}{s}-\dfrac{1}{s-1}+\dfrac{1/2}{s-2}\right]\xrightarrow{\mathcal L^{-1}}1-2e^t+e^{2t}=(e^t-1)^2. Hmm let me redo.

21/2s12\cdot\dfrac{1/2}{s}\xrightarrow{}1. 21s12et2\cdot\dfrac{-1}{s-1}\xrightarrow{}-2e^t. 21/2s2e2t2\cdot\dfrac{1/2}{s-2}\xrightarrow{}e^{2t}.

Sum: 12et+e2t=(1et)21-2e^t+e^{2t}=(1-e^t)^2? Check: (1et)2=12et+e2t(1-e^t)^2=1-2e^t+e^{2t} ✓.

So the “constant” part contributes f(t):=12et+e2tf(t):=1-2e^t+e^{2t}.

Step 4 — Inverse transform of e4se^{-4s} part

L1 ⁣{e4sF(s)}=f(t4)u(t4)\mathcal L^{-1}\!\left\{e^{-4s}\cdot F(s)\right\}=f(t-4)\cdot u(t-4) (second shifting theorem), where ff is the inverse of FF.

L1 ⁣{2e4ss(s1)(s2)}=f(t4)u(t4)=[12et4+e2(t4)]u(t4)\mathcal L^{-1}\!\left\{\dfrac{2 e^{-4s}}{s(s-1)(s-2)}\right\}=f(t-4)u(t-4)=[1-2e^{t-4}+e^{2(t-4)}]u(t-4).

Step 5 — Combine (note the - sign in YY)

Y=2s(s1)(s2)2e4ss(s1)(s2)Y=\dfrac{2}{s(s-1)(s-2)}-\dfrac{2e^{-4s}}{s(s-1)(s-2)}.

y(t)=f(t)f(t4)u(t4)=[12et+e2t][12et4+e2(t4)]u(t4).y(t)=f(t)-f(t-4)u(t-4)=[1-2e^t+e^{2t}]-[1-2e^{t-4}+e^{2(t-4)}]u(t-4).

Answer

  y(t)=12et+e2t[12et4+e2(t4)]u(t4).  \boxed{\;y(t)=1-2e^t+e^{2t}-[1-2e^{t-4}+e^{2(t-4)}]u(t-4).\;}
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.