← 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.
Technique
Standard Laplace solution of linear ODE with constant coefficients; partial fractions; inverse transform via known pairs.
Solution
Let Y(s)=L{y(t)}. Then
- L{y′′}=s2Y−sy(0)−y′(0)=s2Y−s+2.
- L{y}=Y.
- L{t}=1/s2.
Equation:
s2Y−s+2+Y=s21,
(s2+1)Y=s21+s−2,
Y=s2(s2+1)1+s2+1s−s2+12.
Step 2 — Partial fractions on the first term
s2(s2+1)1=sA+s2B+s2+1Cs+D.
Multiply through: 1=As(s2+1)+B(s2+1)+(Cs+D)s2.
Expand: 1=As3+As+Bs2+B+Cs3+Ds2=(A+C)s3+(B+D)s2+As+B.
Match coefficients:
- s3: A+C=0.
- s2: B+D=0.
- s1: A=0.
- s0: B=1.
So A=0,C=0,B=1,D=−1:
s2(s2+1)1=s21−s2+11.
Step 3 — Substitute back
Y=s21−s2+11+s2+1s−s2+12=s21+s2+1s−s2+13.
Step 4 — Invert
y(t)=t+cost−3sint.
Answer
y(t)=t+cost−3sint.