# Inverse Laplace using partial fractions

Printable View

• Apr 1st 2009, 04:31 PM
meg0529
Inverse Laplace using partial fractions
So the question is an initial value problem involving a second order dif eq and we need to then use inverse Laplace.

y''+4y= cost y(0)=1 and y'(0)=0

expanding,

$\displaystyle s^2Y(s) - sy(0) -y'(0) + 4Y(s) = \frac{s}{s^2 +1}$

Then solve for Y(s)

$\displaystyle Y(s) = \frac{s}{(s^2 +4)(s^2+1)} - \frac{s}{s^2+4}$

the term on the right gives us cos2t

for the term on the left I used Partial fractions. our professor doesn't want us to solve for A,B,C etc. he just wants the functions. So following his example in class I did the following:

$\displaystyle \frac{As+B}{(s^2+1)} + \frac{Cs+D}{s^2+4} \Rightarrow \frac{As}{s^2+1} + \frac{B}{s^2+1} + \frac{Cs}{s^2+4}+\frac{D}{s^2+4}$

Using the table I got
$\displaystyle Y(s) = Acost + Bsint + (C-1)cos2t + Dsin2t$

The answer in the back of the book is
$\displaystyle \frac{1}{3}cos(2t) + \frac{2}{3}cos(t)$

Can anyone tell me what I'm doing wrong? I basically did EXACTLY what he did in class.

Thanks so much!
• Apr 1st 2009, 05:31 PM
Jake8054
shouldn't Y(s) be +s/(s^2+4) rather than minus. You add s to the other side not subtract it.
• Apr 1st 2009, 07:37 PM
meg0529
Yes I'm sorry that should be a plus!
• Apr 2nd 2009, 03:39 AM
HallsofIvy
What values did you find for A, B, C, and D?