← 2014 Paper 1

UPSC 2014 Maths Optional Paper 1 Q8c — Step-by-Step Solution

20 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 the initial value problem

d2ydt2+y=8e2tsint,y(0)=0,  y(0)=0,\dfrac{d^{2}y}{dt^{2}}+y=8e^{-2t}\sin t,\quad y(0)=0,\;y'(0)=0,

by using Laplace-transform.

Technique

Laplace transform with shift theorem; partial fractions in two irreducible quadratics; complete the square; inverse Laplace via shift theorem.

Solution

Step 1 — Apply Laplace transform

With Y(s)=L{y(t)}Y(s)=\mathcal L\{y(t)\} and zero ICs, L{y}=s2Y\mathcal L\{y''\}=s^{2}Y.

For RHS: L{sint}=1/(s2+1)\mathcal L\{\sin t\}=1/(s^{2}+1), so by the shift theorem,

L{e2tsint}=1(s+2)2+1=1s2+4s+5.\mathcal L\{e^{-2t}\sin t\}=\dfrac{1}{(s+2)^{2}+1}=\dfrac{1}{s^{2}+4s+5}.

The transformed ODE:

(s2+1)Y(s)=8s2+4s+5    Y(s)=8(s2+1)(s2+4s+5).(s^{2}+1)Y(s)=\dfrac{8}{s^{2}+4s+5}\;\Longrightarrow\;Y(s)=\dfrac{8}{(s^{2}+1)(s^{2}+4s+5)}.

Step 2 — Partial fractions

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

Expanding and matching coefficients of s3,s2,s1,s0s^{3},s^{2},s^{1},s^{0}:

Solving: from C=AC=-A in the ss-equation, 4A+4B=04A+4B=0, so A=BA=-B. Substituting into s2s^{2}-equation: 4B+B+D=0-4B+B+D=0, D=3BD=3B. From s0s^{0}: 5B+3B=85B+3B=8, B=1B=1. Hence A=1,  C=1,  D=3A=-1,\;C=1,\;D=3.

Y(s)=s+1s2+1+s+3s2+4s+5.Y(s)=\dfrac{-s+1}{s^{2}+1}+\dfrac{s+3}{s^{2}+4s+5}.

Step 3 — Inverse Laplace transform

First fraction:

s+1s2+1=ss2+1+1s2+1  L1  cost+sint.\dfrac{-s+1}{s^{2}+1}=-\dfrac{s}{s^{2}+1}+\dfrac{1}{s^{2}+1}\;\xrightarrow{\mathcal L^{-1}}\;-\cos t+\sin t.

Second fraction: Complete the square in the denominator: s2+4s+5=(s+2)2+1s^{2}+4s+5=(s+2)^{2}+1. Rewrite the numerator s+3=(s+2)+1s+3=(s+2)+1:

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

By the shift theorem L1{F(s+2)}=e2tf(t)\mathcal L^{-1}\{F(s+2)\}=e^{-2t}f(t):

L1 ⁣{s+2(s+2)2+1}=e2tcost,    L1 ⁣{1(s+2)2+1}=e2tsint.\mathcal L^{-1}\!\left\{\dfrac{s+2}{(s+2)^{2}+1}\right\}=e^{-2t}\cos t,\;\;\mathcal L^{-1}\!\left\{\dfrac{1}{(s+2)^{2}+1}\right\}=e^{-2t}\sin t.

Combined: e2t(cost+sint)e^{-2t}(\cos t+\sin t).

Step 4 — Sum

y(t)=(sintcost)+e2t(cost+sint).y(t)=(\sin t-\cos t)+e^{-2t}(\cos t+\sin t).

Answer

  y(t)=sintcost+e2t(sint+cost).  \boxed{\;y(t)=\sin t-\cos t+e^{-2t}(\sin t+\cos 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.