Laplace Transform Notes
Laplace Transform Notes
Laplace Transform Notes
Wen Shen
April 2009
NB! These notes are used by myself. They are provided to students as a supplement to the
textbook. They can not substitute the textbook.
Laplace Transform is used to handle piecewise continuous or impulsive force.
We say the transform converges if the limit exists, and diverges if not.
Next we will give examples on computing the Laplace transform of given functions by definition.
Example 1. f (t) = 1 for t 0.
A
Z A
1
1
1 st
st
F (s) = L{f (t)} = lim
e 1 dt = lim e = lim esA 1 = ,
A
A 0
A
s
s
s
0
(s > 0)
Example 2. f (t) = et .
Z
F (s) = L{f (t)} = lim
lim
e
0
st at
e dt = lim
1 (sa)A
1
e
1 =
,
sa
sa
1
(sa)t
(s > a)
A
1 (sa)t
dt = lim
e
A
sa
0
lim
(
est tn dt =
n
= 0 + lim
s A
lim
est tn1 dt =
Z A n1 st )
st A
e
nt e
tn
dt
s 0
s
0
n
L{tn1 }.
s
n
L{tn1 },
s
n1
L{tn2 },
s
n,
L{tn2 } =
n2
L{tn3 },
s
By induction, we get
n
n (n 1)
n (n 1) (n 2)
L{tn1 } =
L{tn2 } =
L{tn3 }
s
s
s
s
s
s
n (n 1) (n 2)
1
n! 1
n!
= =
L{1} = n = n+1 , (s > 0)
s
s
s
s
s s
s
L{tn } =
By Example 2 we have
L{eiat } =
1
1(s + ia)
s + ia
s
a
=
= 2
= 2
+i 2
.
2
2
s ia
(s ia)(s + ia)
s +a
s +a
s + a2
1,
0 t < 2,
f (t) =
t 2, 2 t.
2
We do this by definition:
Z
Z 2
Z
st
st
F (s) =
e f (t) dt =
e dt +
(t 2)est dt
0
0
2
2 Z A
1
1 st
1 st
=
e + (t 2) est
e dt
s
s
2 s
t=0
t=2
1 2s
1 1 st
1 2s
1
=
(e 1) + (0 0) +
e
=
(e 1) + 2 e2s
s
s s
s
s
t=2
L{f (t)} =
e
0
st 0
st
f (t)dt = e
f (t)
0
By using these properties, we could find more easily Laplace transforms of many other functions.
Example 1.
From
L{tn } =
n!
n!
.
(s a)n+1
we get
L{eat tn } =
s2
b
,
+ b2
we get
b
.
(s a)2 + b2
s2
s
,
+ b2
we get
sa
.
(s a)2 + b2
sn+1
Example 2.
From
L{sin bt} =
Example 3.
From
L{cos bt} =
Example 4.
L{t3 + 5t 2} = L{t3 } + 5L{t} 2L{1} =
Example 5.
L{e2t (t3 + 5t 2)} =
3!
1
1
+5 2 2 .
4
s
s
s
1
1
3!
+5
2
.
4
2
(s 2)
(s 2)
s2
5
Example 6.
L{(t2 + 4)e2t et cos t} =
because
L{t2 + 4} =
2
4
+ ,
3
s
s
2
4
s+1
+
,
3
(s 2)
s 2 (s + 1)2 + 1
L{(t2 + 4)e2t } =
2
4
+
.
3
(s 2)
s2
at
we get
Example 8.
L{te } =
b
2
s + b2
Example 9.
L{t cos bt} =
s
2
s + b2
0
=
1
sa
2bs
.
+ b2 )2
(s2
s2 b2
= = 2
.
(s + b2 )2
0
=
1
(s a)2
if
3
s2 + 4
=L
3
2
2
2 s + 22
3
= L1
2
2
s2 + 22
3
sin 2t.
2
Example 11.
2
1
6
1 1
3!
1 5t 1 3!
1
1
1
L
=L
= L
= e L
= e5t t3 .
4
4
4
4
(s + 5)
3 (s + 5)
3
(s + 5)
3
s
3
Example 12.
s+1
s2 + 4
=L
s
2
s +4
1
+ L1
2
2
2
s +4
1
= cos 2t sin 2t.
2
Example 13.
s+1
s+1
3/4
1/4
3
1
1
1
1
L
=L
=L
+
= e2t + e2t .
2
s 4
(s 2)(s + 2)
s2 s+2
4
4
Here we used partial fraction to find out:
s+1
A
B
=
+
,
(s 2)(s + 2)
s2 s+2
A = 3/4,
B = 1/4.
y(0) = 1, y 0 (0) = 2.
Step 1. Take Laplace transform on both sides: Let L{y(t)} = Y (s), and then
L{y 0 (t)} = sY (s) y(0) = sY 1,
2
s2 Y s 2 3(sY 1) 10Y = .
s
2
s2 s + 2
+s+23=
,
s
s
Y (s) =
s2 s + 2
.
s(s 5)(s + 2)
Step 3: Take inverse Laplace transform to get y(t) = L1 {Y (s)}. The main technique here is
partial fraction.
Y (s) =
s2 s + 2
A
B
C
A(s 5)(s + 2) + Bs(s + 2) + Cs(s 5)
= +
+
=
.
s(s 5)(s + 2)
s
s5 s+2
s(s 5)(s + 2)
Structure of solutions:
Take Laplace transform on both sides. You will get an algebraic equation for Y .
Solve this equation to get Y (s).
Take inverse transform to get y(t) = L1 {y}.
Example 15. (Distinct real roots, but one matches the source term.) Solve the initial value
problem by Laplace transform,
y 00 y 0 2y = e2t ,
y(0) = 0, y 0 (0) = 1.
1
.
s2
Solve it for Y :
(s2 s2)Y (s) =
1
s1
+1 =
,
s2
s2
Y (s) =
s1
s1
=
.
(s 2)(s2 s 2)
(s 2)2 (s + 1)
2 1
2 1
1
1
+
+
9 s + 1 9 s 2 3 (s 2)2
2
2
1
y(t) = L1 {Y } = et + e2t + te2t .
9
9
3
Compare this to the method of undetermined coefficient: general solution of the equation
should be y = yH + Y , where yH is the general solution to the homogeneous equation and
Y is a particular solution. The characteristic equation is r2 r 2 = (r + 1)(r 2) = 0,
so r1 = 1, r2 = 2, and yH = c1 et + c2 e2t . Since 2 is a root, so the form of the particular
solution is Y = Ate2t . This discussion concludes that the solution should be of the form
y = c1 et + c2 e2t + Ate2t
for some constants c1 , c2 , A. This fits well with our result.
9
y 0 (0) = 1.
y(0) = 0,
Before we solve it, lets use the method of undetermined coefficients to find out which terms
will be in the solution.
r2 2r + 2 = 0,
(r 1)1 + 1 = 0,
yH = c1 et cos t + c2 et sin t,
r1,2 = 1 i,
Y = Aet ,
s1
1
c1 (s 1) + c2
A
1
+
c
+
A
=
+
.
2
(s 1)2 + 1
(s 1)2 + 1
s+1
(s 1)2 + 1
s+1
1
s+2
+1=
s+1
s+1
s+2
s+2
A
B(s 1) + C
Y (s) =
=
=
+
2
2
(s + 1)(s 2s + 2)
(s + 1)((s 1) + 1)
s+1
(s 1)2 + 1
s2 Y 1 2sY + 2Y =
1 1
1
9
s1
1
+
2
5 s + 1 5 (s 1) + 1 5 (s 1)2 + 1
1
1
9
y(t) = et et cos t + et sin t.
5
5
5
10
y(0) = 2,
y 0 (0) = 1.
r1,2 = i,
yH = c1 cos t + c2 sin t,
Y = A cos 2t
so
y = yH + Y = c1 cos t + c2 sin t + A cos 2t,
and the Laplace transform would be
Y (s) = c1
s1
s
s
1
+ c2 2
+A 2
.
+1
s +1
s +4
s2
s
+4
s
2s3 + s2 + 9s + 4
+
2s
+
1
=
s2 + 4
s2 + 4
2s3 + s2 + 9s + 4
As + B Cs + D
Y (s) =
= 2
+ 2
.
2
2
(s + 4)(s + 1)
s +1
s +4
3 + 7i = 3B + 3Ai,
7
B = 1, A = .
3
0 + 2i = 3D 6Ci,
7 s
1
1 s
+ 2
2
2
3s +1 s +1 3s +4
and
y(t) =
7
1
cos t + sin t cos 2t.
3
3
11
1
D = 0, C = .
3
A very brief review on partial fraction, targeted towards inverse Laplace transform.
Goal: rewrite a fractional form PPmn (s)
(where Pn is a polynomial of degree n) into sum of
(s)
simpler terms. We assume n < m.
The type of terms appeared in the partial fraction is solely determined by the denominator
Pm (s). First, fact out Pm (s), write it into product of terms of (i) s a, (ii) s2 + a2 , (iii)
(sa )2 + b2 . The following table gives the terms in the partial fraction and their corresponding
inverse Laplace transform.
term in PM (s)
from where?
real root, or
sa
g(t) = eat
inverse L.T.
A
sa
Aeat
A
B
+
s a (s a)2
Aeat + Bteat
double roots,
(s a)2
(s a)
A
B
C
+
+
2
s a (s a)
(s a)3
imaginary roots or
s 2 + 2
Aeat + Bteat +
C 2 at
te
2
As + B
s2 + 2
A cos t + B sin t
A(s ) + B
(s )2 + 2
et (A cos t + B sin t)
complex roots, or
(s )2 + 2
12
uc t =
0, 0 t < c,
1, c t.
0,
0 < t < c,
uc tf (t) =
f (t), c t.
We say uc picks up the interval [c, ).
Example 1. Consider
1 uc (t) =
1, 0 t < c,
0, c t.
13
g(t) =
f (t), a t < b
0,
otherwise
sin t, 0 t < 1,
et ,
1 t < 5,
ft =
2
t
5 t,
we can rewrite it in terms of the unit step function as we did in Example 3, treat each interval
separately
t
f (t) = sin t u0 (t) u1 (t) + e u1 (t) u5 (t) + t2 u5 (t).
14
Z
Z
est
est
esc
st
st
L{uc (t)} =
e uc (t) dt =
e 1 dt =
=
0
=
,
s t=c
s
s
0
c
(s > 0).
f (t c), c t,
g(t) =
0,
0 t < c,
is the shift of f by c units. See figure below.
f
Let F (s) = L{f (t)} be the Laplace transform of f (t). Then, the Laplace transform of g(t) is
Z
Z
st
L{g(t)} = L{uc (t) f (t c)} =
e uc (t)f (t c) dt =
est f (t c) dt.
0
So we conclude
L{uc (t)f (t c)} = ecs L{f (t)} = ecs F (s) ,
which is equivalent to
L1 {ecs F (s)} = uc (t)f (t c) .
Note now we are only considering the domain t 0. So u0 (t) = 1 for all t 0.
15
f (t) =
sin t,
0 t < 4 ,
sin t + cos(t 4 ), 4 t.
).
4
Example 6. Given
f (t) =
1
s
)} = 2
+ e 4 s 2
.
4
s +1
s +1
t, 0 t < 1,
1, 1 t.
Example 7. Given
f (t) =
1
s 1
e
.
s2
s2
0,
0 t < 2,
t + 3, 2 t.
1
1
+ 5e2s .
2
s
s
Example 8. Given
g(t) =
1, 0 t < 2,
t2 , 2 t.
4
3
2
+ 2+
3
s
s
s
0, 0 t < 3,
et , 3 t < 4,
f (t) =
0, 4 t.
1
1
1 3(s1)
e4 e4s
=
e
e4(s1) .
s1
s1
s1
17
and
1 e2s
1
1
= 3 e2s 3 .
3
s
s
s
1 2
1 1
We know that L { s3 } = 2 t , so we have
( 1 2
t,
0 t < 2,
1
1
2
f (t) = L1 {F (s)} = t2 u2 (t) (t 2)2 =
.
1 2
2
2
t 12 (t 2)2 , 2 t.
2
F (s) =
A
B
+
s+4 s3
0,
f (t) =
17 e4(t3) + 17 e3(t3) ,
0 t < 3,
3 t.
s+22
ses
s+22
s s + 2 2
s
F (s) = 2
=e
=s
+
.
s + 4s + 5
(s + 2)2 + 1
(s + 2)2 + 1 (s + 2)2 + 1
So
0,
f (t) =
e2(t1) [cos(t 1) 2 sin(t 1)] ,
18
0 t < 1,
1 t.
0, 0 t < 1,
00
0
y + y + y = g(t),
g(t) =
,
y(0) = 1, y 0 (0) = 0 .
1, 1 t,
Let L{y(t)} = Y (s), so L{y 0 } = sY 1 and L{y 00 } = s2 Y s. Also we have L{g(t)} =
L{u1 (t)} = es 1s . Then
1
s2 Y s + sY 1 + Y = es ,
s
which gives
s+1
es
+ 2
.
Y (s) =
2
s(s + s + 1) s + s + 1
Now we need to find the inverse Laplace transform for Y (s). We have to do partial fraction
first. We have
1
A
Bs + C
=
+
.
s(s2 + s + 1)
s
s2 + s + 1
Compare the numerators on both sides:
1 = A(s2 + s + 1) + (Bs + C) s
Set s = 0, we get A = 1.
Compare s2 -term: 0 = A + B, so B = A = 1.
Compare s-term: 0 = A + C, so C = A = 1.
So
Y (s) = e
s+1
1
2
s s +s+1
s2
s+1
.
+s+1
(s + 21 ) + 13 23
s+1
s+1
=
=
,
s2 + s + 1
(s + 12 )2 + ( 23 )2
(s + 12 )2 + ( 23 )2
19
so
L1
We conclude
"
y(t) = u1 (t) 1 e
s+1
2
s +s+1
21 (t1)
12 t
=e
!
3
1
3
cos
t + sin
t .
2
2
3
!#
"
1
3
3
3
1
3
cos
(t 1) sin
(t 1) +e 2 t cos
t + sin
t .
2
2
2
2
3
Remark: There are other ways to work out the partial fractions.
Extra question: What happens when t ?
Answer: We see all the terms with the exponential function will go to zero, so y 1 in the
limit. We can view this system as the spring-mass system with damping. Since g(t) becomes
constant 1 for large t, and the particular solution (which is also the steady state) with 1 on
the right hand side is 1, which provides the limit for y.
Further observation:
We see that the solution to the homogeneous equation is
"
#
1
3
3
e 2 t c1 cos
t + c2 sin
t ,
2
2
and these terms do appear in the solution.
Actually the solution consists of two part: the forced response and the homogeneous
solution.
Furthermore, the g has a discontinuity at t = 1, and we see a jump in the solution also
for t = 1, as in the term u1 (t).
20
Example 2. (Undamped system with force, pure imaginary roots) Solve the following initial
value problem
0, 0 t < ,
1, t < 2,
y 00 + 4y = g(t) =
y(0) = 1, y 0 (0) = 0 .
0, 2 t,
Rewrite
1
1
L{g} = es e2 .
s
s
1
e e2 .
s
Solve it for Y :
Y (s) =
e e2
s
e
e2
s
+
=
+
.
s(s2 + 4)
s2 + 4
s(s2 + 4) s(s2 + 4) s2 + 4
1
A= ,
4
1
B= ,
4
C = 0.
1
1 1
} = cos 2t .
+ 4)
4 4
s(s2
21
0, 0 t < 4,
et , 4 5 < 2,
g(t) =
0, 5 t.
Find Y (s).
Rewrite
g(t) = et (u4 (t) u5 (t)) = u4 (t)et4 e4 u5 (t)et5 e5 ,
so
G(s) = L{g(t)} = e4 e4s
1
1
e5 e5s
.
s1
s1
1
s
+ 2
.
2
(s 1)(s + 4) s + 4
Remark: We see that the first term will give the forced response, and the second term is from
the homogeneous equation.
The students may work out the inverse transform as a practice.
22
Example 4. (Undamped system with force, example 2 from the book p. 334)
0 t < 5,
0,
00
0
(t 5)/5, 5 5 < 10,
y + 4y = g(t), y(0) = 0, y (0) = 0, g(t) =
1,
10 t.
Lets first work on g(t) and its Laplace transform
g(t) =
t5
1
1
(u5 (t) u10 (t)) + u10 (t) = u5 (t)(t 5) u10 (t)(t 10),
5
5
5
1
1
1
1
G(s) = L{g} = e5s 2 e10s 2
5
s
5
s
Y (s) =
G(s)
1 5s
1
1 10s
1
=
e
e
s2 + 4
5
s2 (s2 + 4) 5
s2 (s2 + 4)
1
A B Cs + 2D
= + 2+ 2
+ 4)
s
s
s +4
s2 (s2
one gets A = 0, B = 41 , C = 0, D = 81 . So
1
1 1
1
2
1
1
. 1
1
h(t) = L
=L
2 2
= t sin 2t.
2
2
2
s (s + 4)
4 s
8 s +2
4
8
Go back to y(t)
1
1
y(t) = L1 {Y } = u5 (t)h(t 5) u10 (t)h(t 10)
5
5
1
1
1
1
1
1
=
u5 (t) (t 5) sin 2(t 5) u10 (t) (t 10) sin 2(t 10)
5
4
8
5
4
8
0 t < 5,
0,
1
1
(t 5) 40 sin 2(t 5),
5 5 < 10,
=
20
1
1
(sin
2(t
5)
sin
2(t
10)),
10 t.
4
40
Note that for t 10, we have y(t) =
1
4
The plots of g and y are given in the book. Physical meaning and qualitative nature of the
solution:
The source g(t) is known as ramp loading. During the interval 0 < t < 5, g = 0 and initial
conditions are all 0. So solution remains 0. For large time t, g = 1. A particular solution is
Y = 41 . Adding the homogeneous solution, we should have y = 14 + c1 sin 2t + c2 cos 2t for t
large. We see this is actually the case, the solution is an oscillation around the constant 14 for
large t.
23