← 2023 Paper 1

UPSC 2023 Maths Optional Paper 1 Q8a — Step-by-Step Solution

15 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

Solve the following initial value problem by using Laplace transform technique:

d2ydt2−4dydt+3y(t)=f(t),y(0)=1,  y′(0)=0,\frac{d^2 y}{dt^2}-4\frac{dy}{dt}+3y(t)=f(t),\quad y(0)=1,\;y'(0)=0,

where f(t)f(t) is a given function of tt.

Technique

Take Laplace transform of the ODE; partial fractions on the IC-driven part; convolution theorem to invert the F(s)F(s)-driven part. The two pieces add to give the full solution.

Solution

Step 1 — Take Laplace transforms.

Let Y(s)=L{y(t)}Y(s)=L\{y(t)\} and F(s)=L{f(t)}F(s)=L\{f(t)\}. Standard transforms: L{y′′}=s2Y−sy(0)−y′(0)=s2Y−s.L\{y''\}=s^2Y-sy(0)-y'(0)=s^2Y-s. L{y′}=sY−y(0)=sY−1.L\{y'\}=sY-y(0)=sY-1.

Apply to the ODE:

s2Y−s−4(sY−1)+3Y=F(s).s^2Y-s-4(sY-1)+3Y=F(s). Y(s2−4s+3)=F(s)+s−4.Y(s^2-4s+3)=F(s)+s-4.

Factor s2−4s+3=(s−1)(s−3)s^2-4s+3=(s-1)(s-3):

Y(s)=F(s)+s−4(s−1)(s−3).Y(s)=\frac{F(s)+s-4}{(s-1)(s-3)}.

Step 2 — Inverse-transform the IC-driven part.

s−4(s−1)(s−3)=As−1+Bs−3\dfrac{s-4}{(s-1)(s-3)}=\dfrac{A}{s-1}+\dfrac{B}{s-3}. Solve: A(s−3)+B(s−1)=s−4A(s-3)+B(s-1)=s-4. At s=1s=1: −2A=−3⇒A=32-2A=-3\Rightarrow A=\tfrac{3}{2}. At s=3s=3: 2B=−1⇒B=−122B=-1\Rightarrow B=-\tfrac{1}{2}.

L−1{s−4(s−1)(s−3)}=32et−12e3t.L^{-1}\Bigl\{\dfrac{s-4}{(s-1)(s-3)}\Bigr\}=\tfrac{3}{2}e^t-\tfrac{1}{2}e^{3t}.

Step 3 — Inverse-transform the FF-driven part.

1(s−1)(s−3)=12(s−3)−12(s−1)\dfrac{1}{(s-1)(s-3)}=\dfrac{1}{2(s-3)}-\dfrac{1}{2(s-1)} (partial fractions).

So

L−1{F(s)(s−1)(s−3)}=12[L−1{F(s)/(s−3)}−L−1{F(s)/(s−1)}].L^{-1}\Bigl\{\frac{F(s)}{(s-1)(s-3)}\Bigr\}=\frac{1}{2}\bigl[L^{-1}\{F(s)/(s-3)\}-L^{-1}\{F(s)/(s-1)\}\bigr].

By the convolution theorem L−1{F⋅G}=f∗gL^{-1}\{F\cdot G\}=f*g: L−1{F(s)/(s−3)}=L−1{F(s)}∗L−1{1/(s−3)}=f(t)∗e3t=∫0tf(τ)e3(t−τ)dτ.L^{-1}\{F(s)/(s-3)\}=L^{-1}\{F(s)\}*L^{-1}\{1/(s-3)\}=f(t)*e^{3t}=\int_0^t f(\tau)e^{3(t-\tau)}d\tau. L−1{F(s)/(s−1)}=f(t)∗et=∫0tf(τ)et−τdτ.L^{-1}\{F(s)/(s-1)\}=f(t)*e^t=\int_0^t f(\tau)e^{t-\tau}d\tau.

Therefore

L−1{F(s)(s−1)(s−3)}=12∫0tf(τ)[e3(t−τ)−et−τ]dτ.L^{-1}\Bigl\{\frac{F(s)}{(s-1)(s-3)}\Bigr\}=\frac{1}{2}\int_0^t f(\tau)\bigl[e^{3(t-\tau)}-e^{t-\tau}\bigr]d\tau.

Step 4 — Combine.

Answer

  y(t)=32et−12e3t+12∫0tf(τ)[e3(t−τ)−et−τ]dτ.  \boxed{\;y(t)=\frac{3}{2}e^t-\frac{1}{2}e^{3t}+\frac{1}{2}\int_0^t f(\tau)\bigl[e^{3(t-\tau)}-e^{t-\tau}\bigr]d\tau.\;}
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.