← 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 y′′−3y′+2y=h(t) via Laplace transform, where h(t)={2,0,0<t<4t>4, y(0)=0,y′(0)=0.
Technique
Standard Laplace transform with Heaviside step source; partial fractions; second shifting theorem.
Solution
Setup. h(t)=2−2u(t−4) where u(⋅) is the Heaviside step.
Laplace: L{h(t)}=s2−s2e−4s=s2(1−e−4s).
L{y′′}=s2Y−sy(0)−y′(0)=s2Y.
L{y′}=sY−y(0)=sY.
L{y}=Y.
ODE in s-domain: s2Y−3sY+2Y=s2(1−e−4s).
Y(s2−3s+2)=s2(1−e−4s),
Y=s(s2−3s+2)2(1−e−4s)=s(s−1)(s−2)2(1−e−4s).
Step 2 — Partial fractions on s(s−1)(s−2)1
s(s−1)(s−2)1=sA+s−1B+s−2C.
- s=0: 1/[(0−1)(0−2)]=1/2=A.
- s=1: 1/[1⋅(1−2)]=−1=B.
- s=2: 1/[2⋅1]=1/2=C.
So s(s−1)(s−2)1=s1/2−s−11+s−21/2.
L−1{s(s−1)(s−2)2}=2[s1/2−s−11+s−21/2]L−11−2et+e2t=(et−1)2. Hmm let me redo.
2⋅s1/21.
2⋅s−1−1−2et.
2⋅s−21/2e2t.
Sum: 1−2et+e2t=(1−et)2? Check: (1−et)2=1−2et+e2t ✓.
So the “constant” part contributes f(t):=1−2et+e2t.
L−1{e−4s⋅F(s)}=f(t−4)⋅u(t−4) (second shifting theorem), where f is the inverse of F.
L−1{s(s−1)(s−2)2e−4s}=f(t−4)u(t−4)=[1−2et−4+e2(t−4)]u(t−4).
Step 5 — Combine (note the − sign in Y)
Y=s(s−1)(s−2)2−s(s−1)(s−2)2e−4s.
y(t)=f(t)−f(t−4)u(t−4)=[1−2et+e2t]−[1−2et−4+e2(t−4)]u(t−4).
Answer
y(t)=1−2et+e2t−[1−2et−4+e2(t−4)]u(t−4).