Professional Documents
Culture Documents
CHEE319 Tutorial3 2011
CHEE319 Tutorial3 2011
1. Using partial fraction expansions, find the causal function f whose Laplace transform
Z ∞
F (s) , f (t)e−st dt
0−
is given by:
2
(1.1) F (s) = s(s+2) ;
Solution: Note that the polynomial s(s + 2) in the denominator of F (s) is of the form
Q n
i=1 (s − pi ), where the pi are all distinct. We can therefore use the so-called “cover-up”
method. We want to write
C1 C2
F (s) = + .
s s+2
Let’s find the constants C1 and C2 . We start with C1 . We have
sC2
sF (s) = C1 + .
s+2
It follows that C1 = (sF (s))|s=0 , so that
2s 2 2
C1 = = = = 1.
s(s + 2) s=0 (s + 2) s=0 2
Similarly, we have
(s + 2)C1
(s + 2)F (s) = + C2 .
s
It follows that C2 = ((s + 2)F (s))|s=−2 , so that
2(s + 2) 2
C2 = = = −1.
s(s + 2) s=−2 s s=−2
Hence,
1 1
F (s) = − .
s s+2
Using the Laplace table, as well as linearity of the inverse Laplace transform, we see that
f is the causal function
1 − e−2t , t ≥ 0
f (t) = .
0, t<0
10
(1.2) F (s) = s(s+1)(s+10) ;
1
Solution: Since the polynomial s(s + 1)(s + 10) in the denominator of F (s) is of the form
Q n
i=1 (s − pi ), where the pi are all distinct, we can use the “cover-up” method as we did
in (1.1). We want to write
C1 C2 C3
F (s) = + + .
s s + 1 s + 10
Let’s find the constants C1 , C2 , and C3 , starting with C1 . We have
sC2 sC3
sF (s) = C1 + + .
s + 1 s + 10
It follows that C1 = (sF (s))|s=0 , so that
10s 10
C1 = = = 1.
s(s + 1)(s + 10) s=0 (s + 1)(s + 10) s=0
(s + 1)C1 (s + 1)C3
(s + 1)F (s) = + C2 + ,
s s + 10
It follows that C2 = ((s + 1)F (s))|s=−1 , so that
10(s + 1) 10 10
C2 = = =− .
s(s + 1)(s + 10) s=−1 s(s + 10) s=−1
9
(s + 10)C1 (s + 10)C2
(s + 10)F (s) = + + C3 .
s s+1
It follows that C3 = ((s + 10)F (s))|s=−10 , so that
10(s + 10) 10 10 1
C3 = = = = .
s(s + 1)(s + 10) s=−10 s(s + 1) s=−10 90
9
Hence,
1 10 1 1 1
F (s) = − · + · .
s 9 s + 1 9 s + 10
As in (1.1), using the Laplace table, as well as linearity of the inverse Laplace transform,
we see that f is the causal function
10 −t
+ 91 e−10t , t ≥ 0
1− 9 e
f (t) = .
0, t<0
3s+2
(1.3) F (s) = s2 +4s+20
;
Solution: Denoting 2 + 4i by z, we see that the denominator of F (s) factors as s2 +
4s + 20 = (s + z)(s + z). (Here the overline denotes complex conjugation. That is, if
2
z = a + bi, then z , a − bi.) Since z, z are distinct, we can proceed as in (1.1) and (1.2).
We want to write
C1 C2
F (s) = + .
s+z s+z
Let’s find C1 . We have C1 = ((s + z)F (s))|s=−z , so that
(s + z)(3s + 2) 3s + 2 −3z + 2 −3(2 + 4i) + 2 −4 − 12i
C1 = = = = = ,
(s + z)(s + z) s=−z
s + z s=−z
−z + z −2 − 4i + 2 − 4i −8i
when t ≥ 0. (Here we have used Euler’s identity for the sine and cosine functions in the
last line.) Hence f is the causal function
OR
Solution 2: Noting the Laplace transform pairs
ω
e−at sin ωt →
(s + a)2 + ω 2
s+a
e−at cos ωt →
(s + a)2 + ω 2
3
and completing the square on the denominator of F (s):
3s + 2
F (s) =
(s + 2)2 + 42
we see that
3s + 2 s + 2/3 s + 2 − 4/3
F (s) = =3 =3
(s + 2)2 + 42 (s + 2)2 + 42 (s + 2)2 + 42
s+2 4
=3 −
(s + 2)2 + 42 (s + 2)2 + 42
and the solution f (t) follows.
3s2 +9s+12
(1.4) F (s) = (s+2)(s2 +5s+11)
;
Solution: The denominator of F (s) factors as (s + 2)(s2 + 5s + 11) = (s + 2)(s + z)(s + z),
where
√
5 19
z , +i .
2 2
Since 2, z, z are distinct, we can proceed as in (1.1)–(1.3). We want to write
C1 C2 C3
F (s) = + + .
s+2 s+z s+z
Let’s find C1 . We have C1 = ((s + 2)F (s))|s=−2 , so that
(s + 2)(3s2 + 9s + 12) 3s2 + 9s + 12
6
C1 = 2
= 2 = .
(s + 2)(s + 5s + 11) s=−2
s + 5s + 11 s=−2 5
4
when t ≥ 0. Hence f is the causal function
(
6 −2t
√ √ √
e + 95 e−5t/2 cos( 19t/2) − 51 19 −5t/2
95 e sin( 19t/2), t≥0
f (t) = 5 .
0, t<0
2(s+2)(s+5)2
(2.2) F (s) = (s+1)(s2 +4)2
;
Solution: As in (2.1), it is clear from looking at the denominator of F (s) that we must
make use of Heaviside’s theorem. The denominator of F (s) can be written as (s+1)(s2 +
4)2 = (s + 1)(s2 + 4)(s2 + 4) = (s + 1)(s + 2i)2 (s − 2i)2 . We want to write
C1 C2 C3 C4 C5
F (s) = + + + + .
s + 1 s + 2i (s + 2i)2 s − 2i (s − 2i)2
5
The constants C1 , C2 , C3 , C4 and C5 are given by
so that
32/25 −16/25 + 579i/200 −83/20 + 39i/20 −16/25 − 579i/200
F (s) = + + +
s+1 s + 2i (s + 2i)2 s − 2i
−83/20 − 39i/20
+ .
(s − 2i)2
when t ≥ 0. Using Euler’s identity again, we can write this in a more recognizable
fashion as
32 −t 32 579 83 39
f (t) = e − cos(2t) + sin(2t) − t cos(2t) − t sin(2t).
25 25 100 10 10
Hence f is the causal function
32 −t 32 579 83 39
25 e − 25 cos(2t) + 100 sin(2t) − 10 t cos(2t) − 10 t sin(2t), t≥0
f (t) = .
0, t<0
s2 −1
(2.3) F (s) = (s2 +1)2
.
Solution: Proceeding as in (2.2), we write the denominator as (s2 + 1)2 = (s + i)2 (s − i)2 .
We want to write
C1 C2 C3 C4
F (s) = + 2
+ + .
s + i (s + i) s − i (s − i)2
6
The constants C1 , C2 , C3 and C4 are given by
d
C1 = (s + i)2 F (s) = 0;
ds s=−i
s2 − 1
2 1
C2 = ((s + i) F (s))|s=−i = 2
= ;
(s − i) s=−i 2
d
C3 = (s − i)2 F (s) = 0;
ds s=i
s2 − 1
1
C4 = ((s − i)2 F (s))|s=i = = ,
(s + i)2 s=i 2
so that
1/2 1/2
F (s) = 2
+ .
(s + i) (s − i)2
e + e−it
it
1 −it 1 it
f (t) = te + te = t = t cos(t)
2 2 2
3. Solve the following scalar initial-value problems using the Laplace transform:
(3.1) ÿ(t) + ẏ(t) + 4y(t) = 0, with initial conditions y(0) = 1 and ẏ(0) = 2;
Solution: Taking the Laplace transform of both sides, and denoting the Laplace transform
of y by Y , we have
where
√
1 15
z, + i.
2 2
7
Let’s use a partial fraction expansion to find y, as we did in Question 1. Obviously we
can use the “cover-up” method. We want to write
C1 C2
Y (s) = + .
s+z s+z
As in Question 1, we can perform straightforward calculations to show that the constants
C1 and C2 are given by
√
1 15
C1 = ((s + z)Y (s))|s=−z = − i;
2 √6
1 15
C2 = ((s + z)Y (s))|s=−z = + i,
2 6
and that
√ √ √
y(t) = e−t/2 cos( 15t/2) − 15 −t/2
3 e sin( 15t/2).
(3.2) ÿ(t) + ẏ(t) = t, with initial conditions y(0) = 1 and ẏ(0) = −1.
Solution: Taking the Laplace transform of both sides as in (3.1), we have
1
s2 Y (s) − sy(0) − ẏ(0) + sY (s) − y(0) = .
s2
Plugging in the initial conditions, we obtain
1
s2 Y (s) − s + sY (s) = .
s2
Isolating Y (s) and rearranging terms, we obtain
1
s2
+s s3 + 1 1 1
Y (s) = = 3 = + 3 .
s2 +s s (s + 1) s + 1 s (s + 1)
For the partial fraction expansion of the second term of Y (s), we want to write
1 C1 C2 C3 C4
= + 2 + 3 + .
s3 (s+ 1) s s s s+1
1 d2
1 1 2
C1 = 2
= 3
= 1;
2 ds s=0 s + 1
2 (s + 1) s=0
d 1 1
C2 = = − = −1;
ds s=0 s + 1 (s + 1)2 s=0
1
C3 = = 1;
s + 1 s=0
1 1
C4 = ((s + 1) 3 ) = = −1,
s (s + 1) s=−1 s3 s=−1
8
so that
1 1 1 1 1 1 1 1
Y (s) = + − 2+ 3− = − 2 + 3.
s+1 s s s s+1 s s s
Consulting the table, we see that
y(t) = 1 − t + 12 t2 .