03 01 Laplace Transforms Slides Handout
03 01 Laplace Transforms Slides Handout
03 01 Laplace Transforms Slides Handout
Credits:
This module and these
notes were developed
by Dr Pardaig Kirwan
with only minor modifications on my part.
Outline
Definition and properties of the Laplace transforms.
Convert a function in time domain (t) to a function in frequency domain (s), and back.
Solving constant linear, constant coefficient ODEs using Laplace transforms.
1 of 40
Lecture 13
Equation
Laplace Transform
Very Easy
Difficult
Solution of Differential
Equation
Algebra Problems
Solution of
Problems
Algebra
2 of 40
Lecture 13
Definition 1
The Laplace transform of a function f (t) is denoted by L[f (t)] and is defined as
follows:
Z
L[f (t)] =
f (t)est dt
3 of 40
Lecture 13
Note:
When the limits are inserted the result will become a function of s.
Z
L[f (t)] =
f (t)est dt = F(s)
0
Example 2
Use the definition above to determine the Laplace transform of
f (t) = a (constant)
Hence determine
(a) L[3]
(b) L[7]
(c) L[2]
4 of 40
Lecture 13
Example 3
Use the definition above to determine the Laplace transform of
f (t) = eat
Hence determine
(a) L[e2t ]
(c) L[e3t ]
(b) L[e7t ]
Class Exercise
Use the definition of the Laplace transform to determine
L[e8t ]
5 of 40
Lecture 13
Example 4
Use the definition of the Laplace transform to determine
(a) L[e2t + e3t ]
(b) L[7e3t ]
6 of 40
Lecture 13
Example 5
Determine the Laplace transform of
f (t) = ejat
Hence, determine the Laplace transform of
(a) f (t) = cos(at)
(b) f (t) = sin(at)
7 of 40
Lecture 13
Example 6
Determine the Laplace transform of
e3t + e3t
f (t) =
2
Other Transforms
a
s2 a2
s
L[cosh(at)] = 2
s a2
L[sinh(at)] =
Class Exercise
Determine the laplace transform of f (t) = sinh(7t).
8 of 40
Lecture 13
Example 7
Determine the Laplace transform of f (t) = 4t3
In General
n
L[t ] =
n!
sn+1
Example 8
Determine the Laplace transform of
(a) f (t) = t2
(b) f (t) = 7t6
(c) f (t) = 3t2 + 6t 4
9 of 40
Lecture 13
Summary
f (t)
a
eat
cos(at)
sin(at)
cosh(at)
sinh(at)
tn
Lecture 13
Class Exercises
Determine the Laplace transforms of the following.
(a) sin(7t)
(b) e2t 3e4t
11 of 40
Shift Theorems
Shift Theorems
Lecture 14
Example 9
Determine the Laplace transforms of
(a) sin(2t)
(b) e3t sin(2t)
Example 10
Determine the Laplace transforms of
(a) t2
(b) e5t t2
12 of 40
Shift Theorems
Shift Theorems
Lecture 14
The following result is similar to the first shift theorem except that, in this case, it is
the time-variable that is shifted not the s-variable.
= eas F(s)
= f (t a)
Example 11
Determine the Laplace transform of
(a) t2
(b) (t 3)2
13 of 40
Shift Theorems
Shift Theorems
Lecture 14
Class Exercises
Determine the Laplace transforms of
(a) f (t) = e2t cosh(4t)
(b) g(t) = 3t2 e4t
(c) h(t) = sin(t + 3)
(d) k(t) = 6et3
14 of 40
Lecture 15
Multiplication by t
If L[f (t)] = F(s) then
d[F(s)]
L[tf (t)] =
ds
Example 12
Determine the Laplace transforms of
(a) sin(2t)
(b) t sin(2t)
Example 13
Determine the Laplace transforms of
(a) e2t
(b) 3te2t
15 of 40
Lecture 15
Division by t
If L[f (t)] = F(s) then
f (t)
L
=
t
F(s)ds
s
Note:
f (t)
This rule is only applicable if the limit of
exists as t 0. But to test this,
t
when we put t = 0 we get division by zero. So we use lHopitals rule. This states
that
f (x)
f 0 (x)
lim
= lim 0
xa g(x)
xa g (x)
16 of 40
Lecture 15
Example 14
(a) Determine the Laplace transform of f (t) = sin(2t).
sin(2t)
(b) Determine whether the limit lim
exists or not.
t0
t
sin(2t)
.
(c) Determine the Laplace transform of f (t) =
t
Class Exercises
Determine the Laplace transform of the following
(a) f (t) = 3t cos(2t)
1 cos(2t)
(b) f (t) =
t
e3t 1
(d) f (t) =
t
17 of 40
Lecture 16
Definition 15
If L[f (t)] = F(s) then the inverse Laplace Transform is
f (t) = L1 [F(s)]
L
f (t)
F(s)
L1
18 of 40
Lecture 16
Hence the value of a function f (t) for negative t is immaterial to the Laplace
transform.
This is reflected in the inverse Laplace transform by the use of the Heaviside
step function.
Consequently we can write
7
L1 2
= sin(7t)U(t)
s + 49
6
L1 3
= 3t2 U(t)
s
The importance of U(t) will be seen later, however we note this by means of
the following table.
19 of 40
Lecture 16
Summary
f (t)
aU(t)
eat U(t)
cos(at)U(t)
sin(at)U(t)
cosh(at)U(t)
sinh(at)U(t)
tn U(t)
Lecture 16
sin(at)U(t)
L1
Example 16
Determine
7
1
(a) L
s2 + 49
(b) L
6
s3
21 of 40
Lecture 16
Because the Laplace transform is a linear operator it follows that the inverse
Laplace transform is also linear.
Example 17
1
(a) L
9s
s2 + 16
(b) L
1
2
+
s+2 s3
3
4
+
s+6 s7
Class Exercise
(a) L1
18
s2
(b) L1
22 of 40
Partial Fractions
Partial Fractions
Lecture 17
Example 18
(a) Show that
1
2
3s + 1
+
= 2
s+2 s3
s s6
(b) Determine
1
3s + 1
s2 s 6
1
2
3s + 1
The problem is how did we get
+
from 2
.
s+2 s3
s s6
23 of 40
Partial Fractions
Partial Fractions
Lecture 17
Partial Fractions
To determine constants A and B such that
cs + d
A
B
=
+
(s a)(s b)
sa sb
we multiply both sides by (s a)(s b) to leave us with
cs + d = A(s b) + B(s a)
By letting s = a and then s = b we obtain values for A and B respectively.
Example 19
Determine
L
4s + 1
s2 s 12
24 of 40
Partial Fractions
Partial Fractions
Lecture 17
Example 20
Determine
1
s + 14
2s2 + 7s + 3
Class Exercises
Determine
8s 6
(a) L1 2
s 2s
s
1
(b) L
3s2 + 14s + 8
25 of 40
Lecture 18
Example 21
Determine the inverse Laplace transform of
3
(s 1)2 + 9
26 of 40
Lecture 18
Example 22
Complete the square in the denominator, and determine the inverse Laplace
transform of
s3
(a) 2
s 6s + 13
6s
(b) 2
s + 8s + 17
27 of 40
Lecture 18
Class Exercise
Complete the square in the denominator, and determine the inverse Laplace
transform of
6
(a) 2
s + 4s + 13
2s
(b) 2
s + 10s + 29
28 of 40
Lecture 19
Method:
This involves 4 distinct stages:
(1) Determine the Laplace transform of the differential equation.
(2) Insert the given initial conditions.
(3) Rearrange the equation algebraically to give the transform of the solution.
(4) Determine the inverse transform to obtain the solution of the differential
equation.
This can be modelled as follows:
.
Differential
Problems
Equation
Laplace Transform
Very Easy
Difficult
Solution of Differential
Equation
Algebra Problems
Solution of
Problems
Algebra
29 of 40
Lecture 19
Example 23
If L[x(t)] = X(s) then show that
dx(t)
= sX(s) x(0)
L
dt
Transforms of derivatives:
If L[x(t)] = X(s) then
L
"
dx(t)
dt
d x(t)
L
dt2
= sX(s) x(0)
= s2 X(s) sx(0) x0 (0)
30 of 40
Lecture 19
Example 24
Solve the following differential equation using Laplace transforms.
dy(t)
+ 2y(t) = 10e3t
dt
given that y = 6 when t = 0.
Class Exercise
Solve the following differential equation using Laplace transforms.
di(t)
4i(t) = 10
dt
given that i = 0 when t = 0.
31 of 40
Lecture 20
Example 25
Solve the following differential equation using Laplace transforms.
d2 x(t)
dx(t)
+3
+ 2x(t) = 0
2
dt
dt
dx(t)
given that x(t) = 6 and
= 3 when t = 0.
dt
32 of 40
Lecture 20
The following example uses partial fractions where the denominator contains a
product of repeated linear factors such as (as + b)2 . These results in two
partial fractions of the form
A
B
+
as + b (as + b)2
Inverting the Laplace transform will require the firstshift theorem and the
table of transforms.
Example 26
Solve the following differential equation using Laplace transforms.
d2 x(t)
dx(t)
+6
+ 9x(t) = 0
dt2
dt
dx(t)
given that x(t) = 0 and
= 1 when t = 0.
dt
33 of 40
Lecture 20
Class Exercise
Solve the following differential equation using Laplace transforms.
d2 x(t)
dx(t)
0
(a)
+
10x(t)
=
0,
x(0)
=
1,
x
(0) = 0
+
8
2
dt
dt
dy(t)
+ 10y(t) = 10 cos(2t),
y(0) = 1, y0 (0) = 0
(b) 4
dt
d2 x(t)
dx(t)
0
+
10
+
25x(t)
=
10,
x(0)
=
0,
x
(0) = 0
(c)
2
dt
dt
34 of 40
Lecture 21
The following example uses partial fractions where the denominator contains a
quadratic factor which cannot be factored such as as2 + bs + c. This results in
a partial fraction of the form
As + B
as2 + bs + c
Inverting the Laplace transform will require completing the square, the
firstshift theorem and the table of transforms.
Example 27
Solve the following differential equation using Laplace transforms.
d2 x(t)
dx(t)
+4
+ 9x(t) = sin(4t)
dt2
dt
dx(t)
given that x(t) = 0 and
= 0 when t = 0.
dt
35 of 40
Lecture 21
Example 28
Use Laplace transforms to solve
d2 x(t)
+ x(t) = 2t
dt2
x(0) = 0, x0 (0) = 5
Class Exercise
Solve the following differential equation using Laplace transforms.
d2 x(t) dx(t)
2t
2x(t)
=
e
dt2
dt
given that x(t) = 4 and
dx(t)
= 1 when t = 0.
dt
36 of 40
Electrical Circuits
Electrical Circuits
Lecture 22
Example 29
Consider the following electrical circuit.
10
20V
0.004F
0.1H
i(t)
Electrical Circuits
Electrical Circuits
Lecture 22
Example 30
Consider the following electrical circuit.
CF
cos(t)
LH
i(t)
Electrical Circuits
Electrical Circuits
q(t)
q(t) =
Lecture 22
1
6=
LC
39 of 40
Electrical Circuits
Electrical Circuits
q(t)
q(t) =
t sin(t) cos(t)
2 2
Lecture 22
1
=
LC
This is the result of Resonance where the applied voltage has the frequency as
the systems natural frequency.
The derivation of the above solution is much easier using the Convolution
Theorem (next section).
40 of 40
Lecture 23
In this Section we introduce the convolution of two functions f (t), g(t) which
we denote by (f g)(t).
The convolution is an important construct because of the convolution theorem
which allows us to find the inverse Laplace transform of a product of two
transformed functions:
L1 (F(s)G(s)) = (f g)(t)
Definition 31
If f (t) and g(t) are one-sided functions then their convolution is defined by:
Z t
(f g)(t) =
f (t x)g(x)dx
0
The rationale for this peculiar definition when we look at its discrete version,
i.e. the convolution of sequences.
41 of 40
Lecture 23
This is an odd looking definition but it turns out to have considerable use both
in Laplace transform theory and in the modelling of linear engineering
systems.
One should note that the variable of integration is x.
As far as the integration process is concerned the t-variable is (temporarily)
regarded as a constant.
Example 32
Let f (t) = t and g(t) = t2 . Determine
(a) (f g)(t)
(b) (g f )(t)
42 of 40
Lecture 23
Example 33
Determine the Laplace transforms of
(a) f (t) = t
(b) g(t) = t2
(c) (f g)(t)
43 of 40
Lecture 23
= F(s)G(s)
L1 (F(s)G(s))
= (f g)(t)
Example 34
Use the convolution theorem to determine the inverse Laplace transform of
3s
(s2 + 9)(s2 + 4)
44 of 40
Lecture 23
Class Exercise
Use partial fractions to determine the inverse Laplace transform of
7
(s 1)(s + 4)
45 of 40
Lecture 24
Example 35
Consider the following electrical circuit.
0.001F
20 cos(100t)
0.1H
i(t)
Lecture 24
Class Exercise
Consider the following electrical circuit.
0.001F
20 cos(25t)
0.1H
i(t)
Lecture 25
48 of 40
Lecture 25
(
ga (t) =
1
2a
a < t < a
otherwise
1
2a
t
49 of 40
Lecture 25
As we let a 0 the graph of ga (t) gets taller and narrower, but always with an area
of 1.
Definition 36
The impulse function is given by
(t) = lim ga (t)
a0
50 of 40
Lecture 25
Properties
1
(t) = 0 when t 6= 0
Z
(t) dt = 1
Z
(t)f (t) dt = f (0)
Z
(t c)f (t) dt = f (c)
51 of 40
Lecture 25
Example 37
Determine the solution of
d2 y(t)
dy(t)
+
2
+ 10y(t) = (t 5)
2
dt
dt
subject to y(0) = y0 (0) = 0.
52 of 40
Transfer Functions
Transfer Functions
Lecture 26
In this section we introduce the concept of a transfer function and then use this
to obtain a Laplace transform model of a linear engineering system.
We shall also see how to obtain the impulse response of a linear system and
hence to construct the general response by use of the convolution theorem.
Linear engineering systems are those that can be modelled by linear
differential equations.
We shall only consider those systems that can be modelled by constant
coefficient ordinary differential equations.
53 of 40
Transfer Functions
Transfer Functions
Lecture 26
Transfer Functions
Transfer Functions
Lecture 26
Definition 38
We define the transfer function of a system to be the ratio of the Laplace
transform of the output signal to the Laplace transform of the input signal with
the initial conditions as zero.
The transfer function (a function of s), is denoted by H(s).
In this case
H(s)
Y(s)
1
= 2
F(s)
as + bs + c
Now, in the special case in which the input signal is the delta function,
f (t) = (t), we have F(s) = 1 and so, H(s) = Y(s).
We call the solution to the differential equation in this special case the unit
impulse response function and denote it by h(t)U(t).
We include the step function U(t) to emphasize its one-sidedness.
55 of 40
Transfer Functions
Transfer Functions
Lecture 26
So
h(t)U(t) = L1 (H(s)) when f (t) = (t)
Now, keeping this in mind and returning to the general case in which the input
signal f (t) is not necessarily the impulse function (t), we have:
Y(s) = H(s)F(s)
The solution for the output signal is, as usual, obtained by taking the inverse
Laplace transform:
y(t)
= L1 (Y(s))
= L1 (H(s)F(s))
= (h f )(t)
Transfer Functions
Transfer Functions
Lecture 26
Example 39
Determine the impulse response function h(t) to a linear engineering system
modelled by the differential equation:
d2 y
+ 9y = cos(3t)
dt2
y(0) = 0, y0 (0) = 0
57 of 40