Download as pdf or txt
Download as pdf or txt
You are on page 1of 140

An Introduction to the

Laplace Transform and


the z Transform
An Introduction to the
Laplace Transform and
the z Transform

A. C. Grove
Senior Lectumr in Mathematics, Nottingham Polytechnic

Prentice Hall
New York London Toronto Sydney Tokyo Singapore
First published 1991 by
Prentice Hall International (UK) Ltd
66 Wood Lane End, Hemel Hempstead
Hertfordshire HP2 4RG
A division of
Simon & Schuster International Group

O Prentice Hall International (UK) Ltd, 1991


All rights reserved. No part of this publication may be
reproduced, stored in a retrieval system, or transmitted,
in any form, or by any means, electronic, mechanical,
photocopying, recording or otherwise, without prior
permission, in writing from the publisher.
For permission within the United States of America
contact Prentice Hall Inc., Englewood Cliffs, NJ 07632.

Typeset in 10 on 12 point Times


by MCS Ltd, Salisbury, Wiltshire, England

Printed and bound in Great Britain


by BPCC Wheatons Ltd, Exeter

Library of Congress Cataloging-in-Publication Data


Grove, A. C. (Anthony C.), 1937-
An introduction to the Laplace transform and the z transform1 by
A.C. Grove.
p. cm.
Includes bibliographical references and index.
ISBN 0- 13-488933-9
1. Laplace transformation. 2. Z transformation. I. Title.
QA432.G76 1991
5 15 ' .723-dc20 90-229 12
CIP
pppppppp

British Library Cataloguing in Publication Data


Grove, A. C. (Anthony C.) 1937-
An introduction to the Laplace transform and
the z transform.
1. Mathematics. Transformations
I. Title
515.723
ISBN 0-1 3-488933-9
Contents

Preface vii

1 The Laplace transform and the inverse Laplace transform 1

2 The transforms of derivatives and the application to


differential equations

3 Some useful theorems

4 The Heaviside step function

5 The impulse function

6 Transfer functions, block diagrams and stability

7 Convolution

8 Sampled-data control systems and the z transform

9 The inverse z transform

10 Solution of difference equations

11 Discrete transfer function


vi Contents

Appendix 1 An introduction to the definition of the Laplace


transform

Appendix 2 A table of Laplace transforms

Appendix 3 A table of z transforms

Appendix 4 Types of sampling

Answers to exercises

Bibliography

Index
Preface

This book has arisen from a course of lectures given to engineering


students and is intended to assist students in the use of the Laplace
transform and the z transform. The background mathematical theory is
kept to a minimum.
Laplace transforms and z transforms are convenient methods for
solving differential and difference equations respectively; both are
amenable to computer implementation. Some indication is given of
possible origins of these equations but the main purpose is to discuss
methods of solution. However, readers who wish for a deeper
mathematical approach should consult one of the more extensive texts.
I would like to thank my colleagues Mr P. W. Moore and Dr A.
Sackfield for their helpful criticism and encouragement, Prentice Hall
for their sympathetic cooperation, Mrs A. Fullerton and Mrs S.
Mohamedali for conscientiously typing the original manuscript and my
family May, Allison and David for all the support and interest.

vii
The Laplace transform and the
inverse Laplace transform

Introduction

One of the most efficient methods for solving certain ordinary and
partial differential equations is the use of Laplace transforms. The effec-
tiveness of the transform is its ability to convert many differential
equations into algebraic equations. Although other methods provide sol-
utions of equations where the input or forcing function is an exponential
and/or sine function the Laplace transform is able to deal with other
inputs such as pulses, square waves, point loads, etc., in exactly the
same way. The differential equations that arise in the analysis of control
systems are particularly suitable for solution by this means.
The Laplace transform is defined in order to develop the necessary
techniques but a more detailed introduction is given in Appendix 1.

DEFINITIONMultiply a given function of time f(t) by e-" (s


is a parameter) and integrate the product between zero and infinity. The
result, if it exists, is denoted by 9?(f (t )j = F(s) and is called the Laplace
transform of f(t), i.e.
1
F(S) = ~ l f ( t ) l =
QO

0
e-Stf(t) dt

Some examples are as follows.

provided that s > 0 so that e-sf -* 0 as t -* w .


2 Laplace transform and z transform

provided that s + a > 0.

using integration by parts. Hence

provided that s > 0.

These transforms, and others, constitute a table of transforms which


normally consist of a combination of general theorems and the trans-
forms of specific functions. Some of the more common results are given
in Table 1.1 but a more comprehensive table is presented in Appendix
2. Note that, since the Laplace transform is defined as an integral,
the normal rules of integration apply; also the Laplace transform of a
function may not exist.
Thus, if K is a constant,
Laplace and inverse Laplace transforms 3

Table 1.1 Some Laplace transform pairs

Also

which is the linearity property, but

Functions such as t-' and tan(t) do not have Laplace transforms since
the integrals diverge.
The following example illustrates the use of Table 1 . 1 .

I EXAMPLE 1 . 1

I Determine the Laplace transform of


(a) t2 + 21 + 3
(b) 4 sin(3t) + cosh(5t)
(c) cos (1)
4 Laplace transform and z transform

(4 ' = 9(f[ 1 + cos(2t)l)


~ ( c o s(t))

EXERCISE 1.1
Use standard formulae to derive the Laplace transform of the following
functions:

11 cosh(3t) 12 t cos(2t) - cosh(4t)


13 e-3' cos(2t) 14 t 4e 3' - e-2' sin(t)
15 (e' - e-')2 and hence sinh2(t) 16 e2' cosh(t)
17 cos(at - a ) 18 sin(bt +a )
19 sin(t)cos(3t) 20 cos(2t) cos(t)
21 sin2(t)

where a, b, c and cr are constant. In questions 19, 20 and 21 use a suitable


trigonometric identity.
Laplace and inverse Laplace transforms 5

The inverse Laplace transform

In practice it is important to be able to recover f(t) from its Laplace


transform. It can be shown that f(t) is uniquely determined by F(s). If
'
F(s) = P(f (t)) then f (t) = 9- (F(s)) where P- denotes the inverse '
Laplace transform. For example

Rarely do the functions of s appear in standard form. In general F(s)


is a ratio of two polynomials in s which can be expanded in partial frac-
tions provided that the degree of the numerator is less than the degree
of the denominator (a proper rational function).

EXAMPLE 1.2
Determine the inverse Laplace transform of
2s+3 S-6
(a) (b)
s 2 + 4 s + 13 (S - I)(s - 2)
4s - 9
(c)
(s - 1)*(S- 2)
2s+ 3 2s+ 3
s+212+9
on completing the square. Then
2s+ 3 2(s + 2) 1

= 2e-" cos(3t) - f e-" sin(3t)


S-6
( s - l)(s- 2)
by partial fractions. Thus
S-6 2t

(c) 9 - l [ 4s- 9 5
(s - I ) ~ ( -
s 2) ( s - 1)2 s - 2
by partial fractions. Thus

2-1 - [ -
= et + 5te1- e2'
I
6 Laplace transform and z transform

EXERCISE 1.2
Determine the inverse Laplace transform of each of the following functions
of s:
The transforms of derivatives and
the application to differential
equations

Introduction

In the process of formulating practical problems by mathematical


equations, i.e. mathematical modeling, many kinds of differential
equations can arise. Examination of such equations has led to the con-
clusion that there are certain definite methods by which many of them
can be solved. It is not the intention to provide detailed information on
mathematical modeling here but to emphasize the similarity between
many different applications and to discuss a method of solving some of
the equations. A number of these applications will be used in subsequent
sections.
In many instances the mathematical model is obtained from scientific
laws. Many of the general laws of nature find their most natural expres-
sion in the language of differential equations. These equations have to
be solved to give expressions relating the variables involved without the
use of derivatives. It is important, however, to realize that in obtaining
the mathematical model it may be necessary to make certain assump-
tions. For example, it is sometimes assumed that resistance to motion is
proportional to velocity - a valid assumption under certain conditions.
The derived equation and its solution must therefore be used under the
same conditions. It is also important to note that different statements
(laws) give rise to similar types of differential equations. The equations
of some typical examples are given on p8.
8 Laplace transform and z transform

Electrical circuits

The application of Kirchhoff's law to an LCR circuit yields the differen-


tial equations

which on elimination of i gives

or on elimination of q gives

Circuits with several loops generate simultaneous differential equations

Particle dynamics

If a particle of mass m is suspended from a fixed point by a spring of


constant k then the equation of motion is

where x is the displacement from the equilibrium position.


This equation is derived by the application of Newton's second law
assuming that the force exerted by the spring is proportional to the
extension (Hooke's law). The inclusion of damping, assumed to be pro-
portional to the velocity, and external forces generate further terms in
the equation. Similarly the motion of several connected particles can be
described by a set of simultaneous equations.
The motion of a particle projected from the surface of the earth can
be described, relative to suitable three-demensional axes, by the
The transforms o f derivatives 9

equations

Servomechanisms

The error between a required angle 6 and an actual angle 8 in a radar


control system is

If the correcting torque is assumed to be proportional to the error then


the differential equation is of the form

The negative sign is required because the torque must oppose the error.

Biology and chemistry

Differential equations describe, for example, a mixture of chemicals,


radioactive decay, population growth, epidemics, predator-prey
relationships and Newton's law of cooling. Typical equations are as fol-
lows:
10 Laplace transform and z transform

Structures

The bending of a beam can be modeled by the use of one of the


following equations, depending on the loading.

Economics

Commodity prices depend on quantities such as supply and inflation


factors. The resulting differential equations are of the form

A linear second-order differential equation with constant coefficients is


thus of the form

The transforms of derivatives

The transforms of the first, second, third and fourth derivatives are
given in Table 2.1 and are numbered 2, 3, 4 and 5 respectively in

Table 2.1 Laplace transforms of derivatives


The transforms of derivatives 11

Appendix 2. Note that F(s) = 9{ f(t)) as usual and that


f (O), f ' (O), f "(O), ... are the numerical values of f (t), f ' (t), f "(t), ...
when t = 0, where a prime denotes differentiation with respect to t.
These results are obtained from the definition of the Laplace transform
and applying the rule for integration by parts. For example

provided that e-"f(t) + 0 as t + 00. Thus

Similarly

provided that e-stf '(t) + 0 as t + m. Hence

If f(t) is a known function of t then the results may be used to yield


further standard formulae. In the solution of a differential equation
such as
12 Laplace transform and z transform

x is an unknown function of t which we are attempting to find. Its


Laplace transform is therefore an unknown function of s, denoted by
X or X(s). Hence

Function Laplace transform

sx- xo

where xo and xd denote the initial values of x and dxldt respectively.


These expressions are algebraic expressions in s; the transformed
equation will thus be an algebraic equation in s which can be solved for
3. The solution x in terms of t is then obtained by inversion.

Method
1. Transform the differential equation using all the necessary rules and
standard forms.
2. Solve the resulting equation (usually algebraic) for the unknown as
a function of s.
3. Invert the function of s to obtain the required solution.

EXAMPLE 2.1
Solve the equation

given that x = 4, dxldt = -3 when t = 0.

Transforming the equation

and since xo = 4, xd = -3 the equation can be solved for X


The transforms of derivatives 13

by partial fractions. On inversion this gives


x = Se-' - e-2'

E X A M P L E 2.2
Solve the equation

Since no initial conditions are given it is necessary to retain xo and xo'


as unknown constants. Transforming the equation
1
( s Z x- SXo - xo') + 3(sX - xo) + 2x = -
s+2

since s 2 + 3s + 2 = ( s + l ) ( s + 2). In partial fractions this is

from which

Inverting,
x = Ae-' + Be - 2 t - te-2'
If non-initial conditions are known such as x = 1, dxldt = 3 when t = 4,
then the constants A and B can be determined by substitution.

Simultaneous differential equations

The solution of a set of simultaneous differential equations is achieved


using the same procedure. The transformed equations are again nor-
mally algebraic and can be solved by elimination or even matrix
methods.
14 Laplace transform and z transform

EXAMPLE 2.3
Solve the simultaneous equations

given that x = 0,y = 0 when t = 0.


The transformed equations are

Eliminating X by the operation 5 x equation (2.3) + ( s + 3) x equation


(2.4) gives

which on inversion gives


y = 17
3 e-' + ,,-
sin(4t) - :
, cos(4t)
Equations (2.3) and (2.4) can now be solved for X and a further inver-
sion yields an expression for x in terms of t.
A more convenient method is t o note that the second of the original
differential equations gives

which on substitution for y and dyldt from above gives


5 x = - $: e-' + cos(4t) + $! sin(4t)

This method of substituting into one of the original differential


equations in order to avoid the necessity of inverting two separate
functions is possible provided that one of the equations contains only
one derivative, not two (i.e. either dxldt or dyldt but not both).

EXAMPLE 2.4
Solve the simultaneous differential equations
The transforms of derivatives 15

given that x = 0,y = 0 when t = 0.

Note that both equations contain dxldt and dyldt. In this case
generate a third differential equation by eliminating either dxldt or
dyldt (free choice). For example, eliminating dyldt by multiplying
equation (2.6) by 2 and subtracting equation (2.5) gives

which will give y directly provided that x can be found.


Returning to the original differential equations (2.5) and (2.6) and
transforming we obtain

Rearranging we have

Now eliminate J (we need X) by multiplying equation (2.8) by s + 3


and subtract equation (2.9) multiplied by 2s:

Inverting, we obtain

This result can then be used to obtain y by substitution into equation


(2.7)
16 Laplace transform and z transform

EXAMPLE 2.5
If an electron is projected into a uniform magnetic field perpendicular
to its direction of motion its path is given by

where m , c , H and e are constants. If x = 0 , dxldt = u, y = 0 and


dyldt = 0 at t = 0 , determine x and y in terms of t.

The transformed equations are


He
m ( s 2 J- syo -YO)' = - - (sX - xo)
C

Inserting the initial conditions and rearranging gives

He sJ - s2X =
- -
cm
Now eliminate J

Therefore
ucm
x = -sin t)
He
Similarly

y= -=He [I - c o s ( e t ) ]

EXERCISE 2
Solve the following equations:
The transforms of derivatives 17

given that y = 2 when t = 0 .

given that y = 2, dyldt = 0 when t = 0 .

given that y = 3 , dyldt = 1 when t = 0 .

given that T = To when 6 = 0 and p and To are constant.

given that r = 1 , dr/d6 = 2 when 8 = 0 .

given that x = 3 , dxldt = 2 when t = 0.

given that x = 0 , dx/dt = - 2 when t = 0 .

given that x = - 1 , y = 2 when t = 0 .

given that x = 0 , y =0 when t = 0 .

given that x = 2, y = -1 when t = 0.


18 Laplace transform and z transform

11 The displacements x and y of two connected particles are given by the


equations

Determine the general solution for x and y in terms of t.

12 The currents il and i2 in connected loops satisfy the differential


equations

Determine each current in terms of t if initially both are zero.

13 A light rod is clamped horizontally at one end ( x = 0), is freely hinged


at the other ( x = 1) and is subject t o a horizontal thrust P at x = 0. If G
is the couple applied at the clamped end the deflection y satisfies the
differential equation

where E, I , P, G and 1 are constant. Show that

Y=-
P
[
G sin(nx)-nx
n1
+ 1 - cos(nx)
I
where n = PIEI, and hence that
Some useful theorems

There are a number of general results which facilitate the determination


and application of the Laplace transform. Some of the more important
ones are discussed here but more comprehensive tables are available
(Erdilyi, 1954; Spiegel, 1965) as are formal proofs (Doetsch, 1971;
Watson, 1981). Each property is also referenced to the table of trans-
forms (Appendix 2).
In the use of any general results it is absolutely necessary to have a
clear understanding of the functional notation f(t), F(s), F ( s + a), and
of the relationship between f(t) and F(s):
F ( s ) = Wf (t)l f ( t ) = 9-( F ( s ) )
F ( s + a ) is obtained from F ( s ) on replacing s by s + a
F(s) is obtained from F ( s + a ) on omitting a

Linearity property (1)

If g ( f ( t ) l and g ( g ( t ) ) exist, then S??(af(t) + bg(t)), where a and b are


constants, exists and

since, from the definition,


20 Laplace transform and z transform

First shifting property (exponential multiplier) (7)

f ( t ) ) = F ( s ) then P ( e - " ' f ( t ) ) = F ( s + a ) . From the definition


I f 9?'(

9?{e-"'f ( t ) )= 100

0
e-"e-"' f ( t ) dt

since F ( s ) = 100

0
e-"'f ( t ) d t . Similarly

'
9-( F ( s+ a ) ) = e-"' f ( t )

EXAMPLE 3.1
From Y { t n )= n . / s( n + l )
n!
Lf(e-artn)=
( S + a)"+'

EXAMPLE 3.2
Determine

Y- 21.1
If F ( s + a ) = l / ( s+ 214 then F ( s ) = 1/s4 and f ( t ) = 9 - ' ( F ( s ) ]

9-
1
+ 2)4) = e - 2 t 9 ] t
= e-Zt -
3!

The transform of an integral (6)

If F ( s ) = ~2?{
f ( t ) ) then
Some useful theorems 21

Similarly

EXAMPLE 3.3
Determine

Alternatively evaluate the integral and then determine the transform of


the resulting function of t.

e-' sin(3t) dt] = 9 [- +


3
10
e-'
- [ - sin(3r) - 3 C O S ( ~ ~ ) ]
10

EXAMPLE 3.4
Determine

where i is an unspecified function of t.

i dt] =! g l i l
,[[: 1 -
= -s

where i = Y ( i ) .
22 Laplace transform and z transform

EXAMPLE 3.5
Evaluate

where a and w are constants.


Using (6)

EXAMPLE 3.6
Determine

Using (6)

on integrating by parts twice.

Note that in Examples 3.5 and 3.6 the same results could have been
obtained by other methods. For example

in partial fractions. The constants A , B, C and D are evaluated and each


term is then inverted.
Some useful theorems 23

EXAMPLE 3.7
Solve the differential equation
di t
L - + R ~ + ~ idt=E
dt c 0
1
for the current i in a circuit if L, C, R and E are constants and i = 0
when t = 0.

Transforming the equation


1 - E
L(si- io) + Ri+- r = -
cs s

(
i Ls+R+-
is)-:--

- E
I =
(LS' + R s + l/C)

If we assume that R' < 4L/C, a = R/2L and 0' = 1/LC- ~ ' 1 4 ~then '
P' > 0 and the solution on inversion becomes
E
i = - e-"' sin(@)
LP
However, if R 2 > 4L/C, a = R/2L, y 2 = ~ 1 then4 Y2 > ~0.
~ - l/LC ~
Hence
- E
I =
L [ ( s + a ) ' - Y2]
and the solution becomes
I=- e-"' sinh(?t)
LY

Differentiation of transforms

I f F ( s ) = 9 {f ( t ) )then
d
91- t f ( t ) )= - 1F(s)l
ds
and more generally
24 Laplace transform and z transform

Note also therefore that

If ( l l t )f ( t ) has a limit as t -t 0 from the right, then

or in inverse form

EXAMPLE 3.8
Find 6e(t2 sin(2t)) .

EXAMPLE 3.9
Find y if
Some useful theorems 25

EXAMPLE 3.10
Find

= [tan-l(i)]a=--
.s
7r
2 tan- (i)

from Figure 3.1.

k
Figure 3.1

EXAMPLE 3.1 1
Find y if J = s / ( s 2 - 112.
26 Laplace transform and z transform

EXAMPLE 3.12
Solve the differential equation

given that x = 0, dxldt = A when t = 0.

Note that all differential equations considered previously have involved


constant coefficients. In this case the method remains as follows:
transform the equation, solve the resulting equation and then invert.
Hence, transforming equation (3.1),

Since xo = 0, xd = A ,

The terms s2P and sP are products of functions of s and must be


differentiated as such.

The resulting equation (3.2) is therefore another differential equation


but in Z and s which may or may not be easier to solve than the orig-
inal equation (3.1).
In this case the variables R and s can be separated.

where C = ln(K). Inverting, the solution is

x = Cte -''
Some useful theorems 27

Periodic functions (9)

Suppose that f(t) is a periodic function of period T so that


f (t + T) = f (t) for all values of t. Then

Since 1 + e-ST+ e-2sT+ * * * is an infinite geometric series, its sum to


infinity is 1/(1 - e-'+) provided that e-sT < 1. The transform of f(t) is
then given by

I EXAMPLE 3.13
I Determine the Laplace transform of the square wave defined by

-
-
1-e-~T
[I
'I2
0
~ e - , dt - 1
T

T/2
Ee-" dt]
28 Laplace transform and z transform

since 1 - e -ST-- (1 - e -sT/2)(1+ e-sT/2). From the definition of the


hyperbolic tangent this result may also be written as

F(s) =
S
tanh (T)
EXAMPLE 3.14
Solve the equation

where f(t) is the square wave defined in Example 3.13 and given that
x = dxldt = 0 when t = 0.

Transforming, we have

Therefore

The only standard form which might enable us to deal with F(s)
multiplied by an exponential is standard form 8 of Appendix 2 which
is yet to be discussed. We shall therefore leave the formal inverse until
later; however, we need the exponential function to be in the
numerator. Therefore
Some useful theorems 29

Initial value theorem


If the indicated limits exist, then
limit f (t) = limit sF(s)
t+O S400

PROOF 9 (f'(t)) = ] 0
e -st f t (t) dt. Integration by parts gives
fa-

If f '(t) is sectionally continuous and of exponential order then


00

limit
s-00
J0 eaStf'(t) d t = O
Therefore
limit [sF(s) - f (O)] = 0
s+a

limit sF(s) = f(0) = limit f(t)


s-'m t+O

If f(t) is not continuous at t = 0 the required result still holds.

Final value theorem


If the indicated limits exist, then
limit f (t) = limit sF(s)
t-00 s-0

PROOF From above

limit 9(f (t)] = limit


s+O s-0
1 00

0
e-"ft (t) dt

00

= f ' (t) dt

= limit
t-00
1f 0
t
'(t) dt

= limit f (t) - f (0)


t'00
30 Laplace. transform and z transform

The limit of the right-hand side is


limit sF(s) - f (0)
s-0

Hence
limit f (t) = limit sF(s)
t-'- s-0

In many applications of these theorems 9 (f(t)) will be known but


f(t) will not. It can also be shown that the final value theorem cannot
be applied if there is any value of s with non-negative real part for which
sF(s) is unbounded. For example note that
S
limit =O
s+o s2+ 1
The theorem cannot be applied to F(s) = l / (s2 + 1) since this is
+
unbounded for the value s = j. In this case f(t) = P-' (F(s)) = sin(t)
and limitt-+, sin(t) does not exist.
In the modeling and control of systems it is useful to obtain the values
of the steady state gain and the steady state error. Examples of these are
given after discussion of transfer functions in Chapter 6 but for the
moment two examples follow to indicate other uses of these theorems.
Some useful theorems 31

Applying the final value theorem, both limits must be zero. Therefore
A = 0. Hence

EXAMPLE 3.16
If sy = - tan-'(s) + C and y = 0 when t = 0 determine y.

By the initial value theorem


limit sjj = limit y = 0
S'oo 1'0

Therefore C = 4 2 . Hence
sjj = - tan-'(s) + -T2 = tan-'
Since

Since

EXERCISE 3.1
Determine the Laplace transforms of each of the following functions where
O,a, b, k and T are constant:
32 Laplace transform and z transform

Period 27r

12 y = k t O<r<T
Period T
Period 2

Determine the inverse of the following.


The Heaviside step function

Introduction

The Heaviside step function (unit step function) denoted by u(t) or H(t)
is defined as (Figure 4.1)

I f T is any fixed constant then (Figure 4.2)

i.e. the Heaviside function shifted by T units.


The function is defined such that the equality appears once and once

Figure 4.1 The unit step function y = u ( t )


34 Laplace transform and z transform

Figure 4.2 The delayed step function y = u(t - T)

Figure 4.3 (a) The function y =f(t); (b) the function


Y =f(t)u(t - TI
The Heaviside step function 35

only. From the graph it can be seen that an alternative name is the 'unit
step function' which may be interpreted as a model of a switch that is
switched on at time t = T.
The combination of the step function and any other function f ( t ) , i.e.

is clearly a function f ( t ) multiplied by 0 if t < T,1 if t 2 T, i.e. a func-


tion which is equal to 0 if t < T and f ( t ) if t 2 T. This combination is
shown in Figure 4.3.
For T 2 0 , the Laplace transform of the unit step function is

This result is listed as 11 in Appendix 2.

EXAMPLE 4.1
Sketch the function
y = 3 4 1 - 1 ) - 2 u ( t - 2)
and determine its Laplace transform.

Figure 4.4 The function y = 3u(t - 1 ) - 2u(t - 2)


36 Laplace transform and z transform

The function represents a step of magnitude 3 at t = 1 followed by a


step of magnitude - 2 at t = 2. The sketch is therefore that shown in
Figure 4.4.
9 { 3 u ( t - 1) - 2u(t - 2)) = 3 9 ( u ( t - 1)) - 2Y(u(t - 2))
- 3e-S 2e-2S
----
S S
using the above result.

EXAMPLE 4.2
Determine an expression for the function
a<t<b
elsewhere
This function is considered in two parts: the operation at t = a (switch
on), and the operation at t = b (switch off). At t = a there is a step of
magnitude + 5, i.e. 5u(t - a). At t = b there is a step of magnitude
- 5, i.e. - 5u(t - b). Therefore

EXAMPLE 4.3
Determine an expression for

There are four operations to consider: at t = 1, t = 3 (two) and t = 4.


at t = 1, t-1 is introduced
at t = 2, t-1 is removed
at t = 2, 8 - 2t is introduced
at t = 4, 8 - 2t is removed

Second shift theorem (8)

The second shifting property of the Laplace transform states that if


2 [f (t)) exists then
2 (f( t - T)u (t - T)) = e - I T ~ ( s )
The Heaviside step function 37

or, in inverse form,

The function f ( t ) rarely appears in the form f ( t - T ) . It is necessary


either to rewrite the standard form as
f ( t ) u ( t - T ) )= e-sT.9(f ( t
9( + T)J
or to rewrite f ( t ) in the form f ( t - T ) . The latter is less suitable for
dealing with an inverse so that a rewrite of f ( t ) , when necessary, is the
preferred method. It is again important to be aware of the relationship
9( f( t ) ) = F ( s ) and the meaning of f ( t - T ) . For example if f ( 2 ) =
sin(2t) then f ( t - T ) = sin [2(t - T ) ].

EXAMPLE 4.4
Determine the Laplace transform of (t - 2)u(t - 2).
1
g ( ( t - 2)u(t - 2)) = e - 2 s S ( t ) = e - 2 L
s
since T = 2 and f (t - 2) = t - 2, so that f(t) = t and F ( s ) = l/s2.

EXAMPLE 4.5
Find the Laplace transform of

f(t) =
-e
O-'[ t<T
t>T
f(t) = -e-'u(t - T ) = -e -(I-T+T) u(t - T )
-
--e - Te-(t-T) u (t - T )
Note that t is written as t - T + T and that the laws of indices are used
to write e - ( I - T + T ) as e -(I-T) e - T .
9 ( f ( t ) ] = S ( - e - Te -(I-T) u(t - TI1
- 1
- - e - T e -ST
s+ 1
-(s+ 1) T
-
- -e
s+ 1
using 8 and 17 of Appendix 2.
9 Laplace transform and z transform

EXERCISE 4.1
Sketch the graph of each of the following functions and find their Laplace
transforms:

Write the following as a single equation using the unit step function; sketch
the graphs and find the Laplace transforms:

Express the following as a single equation using the step function and find
the Laplace transform:
9
The Heaviside step function 39

12 Show that

can be written as e-3t[l - u (t - 2)J and hence find S f [f(t)) .

13 Express the following in terms of Heaviside's unit step function:

Find the Laplace transforms of the following:

cos(t - 4 3 ) t )4 3
elsewhere

t>l
elsewhere

IS f ( t ) = r 03 ' t>l
elsewhere
40 Laplace transform and z transform

19 A square wave is given in the form

y= [ E
-E
E
O<t<T
T<t<2T
2T<t<3Tetc.
Show that

20 Determine jj if y = 1,2,3, ... for the intervals (0, T), (T, 2T),
(2T, 3 T), ... (the staircase function).

EXAMPLE 4.6
Determine

From the table of standard forms (Appendix 2, number 17)

(ignoring e-as) since it is necessary to determine f(t) the inverse of


F(s).

EXAMPLE 4.7
Solve the differential equation

where

and y = 1 when t = 0 .
The Heaviside step function 41

Transforming the equation gives

Since

the inverse of p is

If it is necessary to use partial fractions in order to determine the


inverse of F(s) then the factor e-aS must not be included in that
calculation. For example in calculating 9- (e-'1 ( s + 1) ( s + 2))

Hence

I EXAMPLE 4.1
I
The solution of Example 3.14 of a square wave forcing function now
becomes
42 Laplace transform and z transform

using a binomial expansion. Since

EXAMPLE 4.9
A light horizontal beam of length I is clamped at each end and carries
a load w Nm-' over the length x = a to x = b measured from the left-
hand end of the beam. Determine the deflection of the beam.

The mathematical model of this is the differential equation

subject to the conditions y = 0, dy/dx = 0 at x = 0 and y = 0,


dy/dx = 0 at x = I (i.e. zero deflection and zero gradient at each end).
Taking the Laplace transform of the equation gives

At x = 0, y = 0, dy/dx = 0 but d 2 y / d ~ and


2 d3y/dx3 are unknown
constants.
Let d 2 y / d ~=2 A and d 'y/dx3 = B at x = 0. The equation becomes

and solving for 7 we obtain

which on using 16 and 8 of Appendix 2 for inversion gives

- x 3 +-
y =A x 2 + B [(x - a)'u(x - a ) - ( x - b14u(x - b)]
2 6 24EI (4.1)

The remaining conditions y = 0, dy/dx = 0 at x = I are now used to


determine A and B. On substitution of y = 0, x = I into equation (4.1)
we obtain
o=--A 1 2 +B- 13+- w [(I - a ) 4 - (I - b)4]
2 6 24EI
I and by differentiation of equation (4.1) with respect to x and
The Heaviside step function 43

I substitution of dyldx = 0 at x = I we have


B w
I
O = A t + - 12+- (I- b13]
2 6EI
Note that u(x - a ) = u ( x - b) = 1 at x = I. Hence the constants A and
B are obtained by solving the simultaneous equations (4.2) and (4.3). I
Some properties of u ( t )

1. The solution of many problems begins at t = 0 so that any analysis


for t < 0 is of no interest

2. The step function can be treated algebraically in the same way as


any other function. It is a multiplying factor which is zero for t < 0
and 1 for t > 0.
3. u ( - t ) = 1 - u(t) (Figure 4.5).

Figure 4.5 (a) The step function y = u(t); (b) the function
y=u(-t)
44 Laplace transform and z transform

4. u ( T - t ) = u [ - ( t - T ) ]= 1 - u ( t - T ) .
5 . Scaling: # ( a t )= u ( t )
i.e. the step at t = 0 is independent of a;

i.e. step occurs when at = T, t = T'a.


It may be possible to sum an infinite series after transforming each
term. For example in transforming a square wave function or a staircase
function the resulting series is a geometric series as in Chapter 3. The
sum to infinity of a geometric series is

provided that 1 r 1 < 1.

EXERCISE 4.2

Find the inverse of the following transforms:

Solve the following differential equations:

given that i = 0, dildt = 6 at t = 0.

given that x = 0, dxldt = 0 at t = 0.


The Heaviside step function 45

where f(t) = 2, 0 < t < 3, and x = 1, dxldt =O at t =O.

given that y = - 1, dyldt = 1 when t = 0.

14 The voltage E applied to an electrical circuit is given by

Determine the current in the circuit if both current and charge are
initially zero, i.e. solve the equations

if i=O and q=O when t = 0 .

15 The external force f(t) acting on a mechanical system is given by

Solve the differential equation

given that x = 0, dxldt = 3 when t = 0.

16 The currents in an electrical circuit are given by the equations

If R 1= 5 ohms, R2 = 10 ohms, L = 1 henry and C = 0.1 farads determine


i2 if E = 100 volts for 0 < t < 1 and initially both il and i2 are zero.
The impulse function

Introduction

It is convenient to have a notation for intense pulses so brief that


measuring equipment of a given resolving power is unable to distinguish
between them and even briefer pulses. This concept is covered in
mechanics by the term impulse. The idea has been in use for more than
a century in mathematical circles and was extensively employed by
Heaviside. The notation 6 (t), introduced by Dirac into quantum
mechanics, is now in general use.
We are familiar with the ideas of point masses, point charges, point
sources, concentrated forces, surface charges, etc., which are accepted
entities. These things do not actually exist. Their value stems from the
fact that the impulse response - the effect associated with the impulse -
may be indistinguishable, given measuring equipment of specified
resolving power, from the response due to a physically realizable pulse.
It is thus convenient to have a name for pulses which are so brief and
intense that making them any briefer or more intense does not matter.
For example, if we consider a mass (or charge) distribution along the
x axis density p (x) then

total mass (charge) between o and b = 1b

a
p(x) d x

The idea of a point mass (unit point charge) concentrated at x = 0 is then


a limiting process, a more and more intense distribution over a narrower
and narrower band. The delta function 6(x) is defined as the limiting
The impulse function 47

density for the total point mass (charge) to be equal to unity, i.e.

However, 6(x) = 0 for all x except x = 0 and 6(0) must be infinite. For
a particle of unit mass at xo, the corresponding density is 6(x-xo).
Although the impulse function and associated functions, referred to as
generalized functions, are idealized functions, the operations involving
them can be made mathematically rigorous. These functions can be
combined algebraically, integrated and differentiated. Their value in the
analysis of engineering and physical systems is considerable.
A more general property is that

which will be discussed later.


The graphical representation of the delta function is shown in Figures
5.1 and 5.2. The function may also be defined as
1 d
6(t) = limit - [u(t) - u(t - E ) ] = - [u(t)]
E+O E dt
i.e. the derivative of the step function. The Laplace transforms are

9(6(t - a ) ) = e-""9(6(t)) = e-as

by the shift theorem.

Figure 5.1 The impulse function y = 6 ( t - t o )


48 Laplace transform and z transform

Figure 5.2 The impulse of strength K , y = K 6 ( t - to)

Other generalized functions are as follows:


unit doublet (dipole) 6'(t) 2[6'(t)j = s
unit triplet 6''(t) P ( ~ " ( t ) =
) s2

Some important properties

2. Since the area (integral) is equal to unity we define the strength of


the impulse as being equal to unity. Hence an impulse of magnitude
K occurring at t = a is written as K 6(t -a).
3. (a) G(tlf(t)=f(t) 6(t)=f(O) 6(t)
(b) - a l f ( t ) = f ( a ) 6(t - a )
These rules are suggested by the interpretation of 6(t), 6(t - a ) as
pulses so that the product of the two functions is zero for all values of
t except that at which the impulse occurs.

Note that f ( a ) is a constant - the numerical value of f (t) at t = a


(Figure 5.3).
The integral gives the area under the curve of the combined func-
tions. This is the sifting property of the impulse function since the
operation on f(t) sifts out a single value of f(t).
The impulse function 49

Figure 5.3 (a) The combination y =f(t) and y = 6(t); (b) the
combination y =f(t) and y = 6(t - a )

if the range of integration includes t = to; otherwise the integral is


zero.
6. Scaling:
1
6(at - to) = - 6(t - tola)
101
Areas under the graphs must be equal; therefore a change in the
50 Laplace transform and z transform

time scale requires a change in height. Any scaling should be con-


sidered before other operations.
7. Sampling property: An infinite series of impulses equally spaced at
intervals of to is

and the product

contains information about f ( t ) only at times t = nto and nowhere


else. The effect is then to produce a set of values of the function f ( t )
at t = nto, i.e. f (to), f (2to), f (3to), ..., a set of sampled values.

EXAMPLE 5.1
Solve the differential equation

where f(t) is an impulse of strength 5 at t = 2 and x = 4, dxldt = 0 at


t=0.

An impulse of strength 5 at t = 2 is 5 6(t - 2). The equation to be


solved is

Transforming we have
(s2p- sxo - xd) + ~ ( S -
P XO)+ 2P = 5e-2s
Since xo = 4, xd= 0,
P(s2 + 3s + 2) = 5e-2Q 4s + 12

From Appendix 2
1 -t -21
~ - ~ [ ( ~ + l ) ( s + 2= )e) - e
and
The impulse function 51

Therefore
X = 5 ie-('-2) - e-2(f-2)]u(t - 2) + 4(2e-" - e-')
+ 12(e-' - e-2')
= 5 ie-('-2) - e-2(f-2) 1~ (-t2) + 8e-I - 4e-2'

EXAMPLE 5.2
Solve for i the equations

where E is an impulse of magnitude Eo at t = 0 and initially both


current i and charge q are zero.

E is therefore given by E = Eo 6(t), and so the transformed equations


are
L(si- io) + q/C= 9 (Eo 6(t)) = E o
i=sq-qo
Eliminating q we have
i(Ls + 1/Cs) = EO

which on inversion gives


t
]
i = sLc o s [ (LC) 112

EXERCISE 5

Determine the Laplace transforms of the following:

1 A 6(t) where A is a constant.


2 86(t + 3c) where c is a constant.
3 Fo 6(t - 3) where Fo is a constant.
4 5 6(2t- 5).

Solve the following differential equations:

given that x = 1, dxldt = 0 when t = 0 and Po is constant.


52 Laplace transform and z transform

given that Y = 0, d Y/dt = 2 when t = 0.

given that Y= 1, dY/dt = 0 when t = 0.

given that q = 0 when t = 0 and R,C,Eo and El are constants.

9 A mass is attached to the lower end of a vertical spring suspended from


a fixed point. At time t = to the mass is struck by an impulsive force in
the upward direction of magnitude Po. If the damping is assumed to be
proportional to the velocity then the displacement x is given by the
differential equation
d2x dx
m- + c -+ k x = P o 6(t - to)
dr dt
Solve this equation if x = 0, dx/dt = 0 at t = 0 assuming that
4km2 - c 2 > 0.

10 A light beam of length I rests horizontally on supports at each end and


carries a load W at a point $ I from the left-hand end. Solve the
equation

subject to the conditions y = 0 at x = 0 and at x = I and at each free end


d2y/dx2 (the bending moment) is zero.

11 A circuit is subjected to an infinite series of impulsive voltages of


magnitude Eo at t = 0,1,2,... . If the current in the circuit is given by

determine i in terms of t if i = 0, di/dt = 0 when t = 0.


Transfer functions, block diagrams
and stability

Transfer functions

In the study of equations representing physical systems, it is necessary


to consider the relationships between the input and output variables of
the system. Consider a system governed by the linear differential
equation

where a , b, c are constants and all the initial conditions are zero. In a
stable system the roots of the auxiliary equation must have negative real
parts so that the ratio bla is positive.
Taking Laplace transforms of both sides produces the algebraic
equation

where s is the Laplace transform variable and X(s),T(s) are the Laplace
transforms of x and f(t) respectively. The function as2+ bs + c is called
the characteristic function and the equation

is the characteristic equation.


Since the transformed equation is algebraic, then
54 Laplace transform and z transform

Figure 6.1 A block diagram

The function on the right-hand side is the transfer function relating X(s)
and T(s) and is the ratio
Laplace transform of output
Laplace transform of input
The usual notation for a transfer function is Y(s), G(s). A block
diagram (Figure 6.1) can be used to represent such a relationship.
A transfer function can also be obtained by one of the following
methods.

Trial solution method


Assume a particular integral x = ~ e j " ' . By substitution into equation
(6.1) we obtain

The function on the right-hand side is called the transfer function of the
system and is the ratio of output to input.
This form will be encountered in the discussion of the Fourier trans-
form.

D operator
If D = d/dt and D 2 = d2/dt2 then equation (6.1) can be written

so that

Note the similarity of the transfer function using s,j w or D.


Transfer functions, block diagrams, stability 55

Simple block diagrams

A system governed by a differential equation can be represented dia-


grammatically by a block, or combination of blocks, each consisting of
a transfer function Y(s) with input f(s) and output X(s).
Consider the system of an amplifier, a d.c. motor and a load shown
in Figure 6.2. To facilitate the writing of the equations the system can
be subdivided into smaller parts as illustrated. The equivalent block
diagram can then be obtained:

Figure 6.2 A typical system


56 Laplace transform a n d z transform

1-1 Y(s)= Yl (s)Y2(s)Y3 (s)Y4 (s) -I so


Figure 6.3

Figure 6.4 The error sensor

By substituting among these equations the intermediate variables can be


eliminated and the relationship between the Laplace transform of the
output (8,) and the Laplace transform of the input (21 ) can be obtained.
8, = Y 4 ( s )T = Y4(s)Y3(s)ir= *-*

Therefore

6
5
= Y4 ( s )Y3 ( s )Y2 ( s )Yl ( s )
1
(6.6)

Hence the transfer functions of blocks in series are multiplied and the
system can be represented by a block diagram as shown in Figure 6.3.
In practice it may be necessary to compare the output 9, to a par-
ticular value or set of values, say Bi, so that suitable correction voltages
E are applied to the amplifier. The equation for an error sensor is then

the block diagram of which is shown in Figure 6.4.

Typical examples

1. Consider the system shown in Figure 6.5. From (6.6) and (6.7)
above the equations are
Transfer functions, block diagrams, stability 57

Figure 6.5

Substituting for !i we have

Therefore

2. A system (Figure 6.6) may also have a transfer function in the feed-
back loop. The equations are

80 = YI (s) Y2(s)
-
E
-x
80
= Y3(s)

By substitution the overall transfer function becomes

Figure 6.6
58 Laplace transform and z transform

Figure 6.7 A CR network

Figure 6.8 An operational amplifier

For purposes of analysis transfer functions can be represented and


studied by means of CR networks (Figure 6.7)

or operational amplifiers (Figure 6.8)

EXAMPLE 6.1
Determine the steady state gain of the system whose transfer function
is

when the input is u ( t ) , the unit step function.

If the output is y ( t ) then


Transfer functions, block diagrams, stability 59

The steady state gain for unit input is defined by


limit y ( t ) = limit sY(s) (by the final value theorem)
1-00 s-0

lOO(1 + 2s)
= limit
S-o ( s 2 + 8 s + 6 ) ( s + 3)

Steady state error

The prime reason for using feedback is to minimize the error between
the actual system output and the desired system output. The magnitude
of the steady state error, the value to which the error signal tends as the
transient disturbance from any change of input dies away, is a measure
of the accuracy of the system.
Consider the system defined in Figure 6.9. The equations are

and by eliminating 8, we obtain

By definition
steady state error = limit e ( t )= limit si?
t+- s + 0

by the final value theorem. Therefore


3vi
steady state error = limit
s+O 1 + Y1(s)Y2(s)

Figure 6.9
60 Laplace transform and z transform

Poles, zeros and stability

Let us consider the general form of a transfer function G ( s ) given by

If N ( s ) and D ( s ) are of degree k and degree m respectively then they


can be factorized into k factors and m factors respectively. The
constants involved may be real or complex.
The roots of N ( s ) = 0 are called the zeros of the transfer function
G ( s ) , whilst the roots of D ( s ) = 0 are called the poles. The power of
each factor determines the order of the pole or zero. The stability and
corresponding response of a system can be determined from the location
of the poles.

EXAMPLE 6.2
- 1 ) ( ~- 0.5)
S(S
G ( s )=
( s + 1 ) 2 (s 2 + S + 1 )
The, zeros are at s = 0, s = 1, s = 0.5. The poles are at s = - 1 and
+
s = - 112 j&2. Since G ( s )+ 0 as s + + 0 0 , G ( s ) is also considered
to have a zero at infinity.
Since s may be complex all finite values of poles and zeros can then
be plotted on an Argand diagram (Figure 6.10) where x and 0 mark
the poles and zeros respectively.
* Im(s)
-- 1
X

*
+
f\ f3 A
*
\/ w w
-1 1 Re@)

X
--- 1

Figure 6.10
Transfer functions, block diagrams, stability 61

An output function defined by Y(s) is a combination of two func-


tions, i.e.

where G(s) is the transfer function of the system and X(s) is dependent
on the input to that system. Hence the poles of Y(s) can arise from
1. the poles of G (s) and
2. the poles of X(s).
The portion due to the poles of G(s) is defined as the natural response
and that due to the poles of X(s) the forced response. If the system has
all its poles in the left-hand half of the s plane these values of s have
negative real parts so that the natural response is a combination of nega-
tive exponential terms which tend to zero as t 0 0 , i.e. a transient
+

response.

Stability considerations

By a stable system we mean a system that yields a finite output for every
finite input. Stability considerations can be represented by the transfer
function G (s).
A system is stable if all the poles of G(s) lie in the left-hand half of
the s plane since again the response will contain only negative
exponential terms, e.g.

represents a stable system, pole at s = - a.


A system is unstable if one or more poles lie in the right-hand half
of the s plane or if multiple-order pole(s) lie on the imaginary axis. In
this case the response will contain terms such as eat, a > 0 or t cos(wt).
For example,

represents an unstable system, pole at s = a.


If G(s) defines a function which approaches a non-zero value or a
bounded oscillation then the system is marginally stable, e.g.
62 Laplace transform a n d z transform

+
The first-order complex conjugate pair s = j a defines an oscillatory
system.
Note that the coefficients in the numerator which determine the zeros
only affect the constants in the calculation of partial fractions and not
the form of those fractions. The zeros therefore contribute to amplitude
and phase but do not influence the form of the time function and hence
stability.

Sinusoidal steady state response

If the driving function (input) is sinusoidal, e.g. A sin(wt) or


Im(A exp(jwt)), then the steady state (particular integral) is also sinu-
soidal of the same frequency but with different amplitude and phase, i.e.

where R and 4 depend on w and of course the constants of the system


under consideration. This dependence is conveniently obtained by
replacing s by jo
Y(jo) = G(jo)X(jo)
and discussion confined to the function G(jo) which, in general, will be
complex having magnitude I G(jw) I, argument @(jw):
G(jw) steady state transfer function
I G(j4I magnitude (amplitude) response
@(jo) phase response
Hence given G(s) we can evaluate I G(jw) I and @(jw)as functions of w.

NOTE 1 Gain M is defined as M = 2 0 loglolG(jw)l and a


Bode plot is graphs of M and @ against o. Such information is helpful
in determining the necessary additions to stabilize a system or improve
its response.

NOTE 2 Output amplitude = system magnitude x input ampli-


tude
since 1 Y(jo) 1 = 1 G(jo)X(jo) 1 = l G ( j 4 1 1 X ( j 4 1
and
output phase = system phase + input phase
Transfer functi~ns,block diagrams, stability 63

since
arg[Y(jo)l = arg[G(jo)X(jo)l
= arg [G(jw)l + arg [X(jo)l
(the multiplication of complex expressions in polar form).

EXAMPLE 6.3
Determine the magnitude response and phase response of
l + s
G(s) =
1+s+s2

l + s
G(s) =
1+s+s2
1 +( j 4
G(jo) =
1 + +
(jw) ( j ~ ) ~

- l+jo
(1 - w2) j w +
magnitude response = I G(jo) (

= (1

-
I 1+jo
- w2) +jw
- Il+jwI
l(1 -w2)+jwl
2 1/2
-
- (l+o
[(I- w212 w 2] + 1/2

phase response = arg [ G ( j o ) l


l+jo
2
-a )+jw
]
+
= arg(1 j w ) - arg [(I- w2) +j o ]
= tan-'(o) - tan-'

EXERCISE 6

Determine the poles, zeros, magnitude response and phase response of the
following functions of s:
64 Laplace transform and z transform
Convolution

The concept of convolution is inherent in almost every field of the


physical sciences and engineering. For example, in mechanics it is known
as the superposition or Duhamel integral; in systems theory it plays a
crucial role as the impulse response integral, and in optics as the point
spread or smearing function.
Let f(t) and g(t) be defined for t > 0 and piecewise continuous. Then
the convolution of f and g, written f *g, is defined by

which is another function of t defined for positive t.

EXAMPLE 7.1
Determine the convolution of f(t) and g(t) if f(t) = e', g(t) = t2.
I
U2el-rr
d u = 2e1- t 2 - 2t - 2
0

obtained by integrating by parts twice.

EXAMPLE 7.2
Determine f *g if

and f (t ) = sin(t )
66 Laplace transform and z transform

I so that

f*g= 1I

3
2 sin(t-u) du for 3 < t

I Hence

I which may be written [2 - 2 cos(t - 3)]H(1- 3).

The convolution has several special properties of which the most


important is

(Appendix 2, number 10). This result is particularly useful in finding


inverse transforms, i .e.

Another major use is claimed to be the evaluation of convolution inte-


grals by transforming to functions of s and then inverting the product
by some other method.
Other properties are easily obtained from the definition:
f*g=g*f
a f *cg= (cf) * g = c ( f *g) where c is a constant
f * (81 + g2) = f *g1 + f *g2
f l * (f2 *f3) = (fl *f2) *f3
a 6(t) *f =f * 6(t) = f, 6(t - a ) *f =f(t - a), a > 0, by evaluating the
convolution integral.

EXAMPLE 7.3
Determine
Convolution 67

1 t e a
e s + 1 ) , ] = 1 1o6 ( u - a ) ( t - u ) d u =

which may be written (t - a)H(t - a ) .

EXAMPLE 7.4
Using Laplace transforms and the convolution integral solve the
differential equation

where i = dildt = 0 when t = 0 and f ( t ) is an unspecified function.

Transforming the equation gives


(s2i-si0- id) + 0 2 i = Y ( f ( t ) l= F ( s )
Hence

Inverting using Appendix 2, number 10, we obtain

since f * g = g *f. Hence, given f ( t ) , the current may be found by


evaluating one of these integrals analytically, graphically or numeri-
cally.

EXAMPLE 7.5
Determine the convolution of the functions
t2 t > O 1 O<t<l
0 t<O 0 elsewhere

Method I : Analytic evaluation of the convolution integral


h(t)= t2 t20
~ ( t=)1 - H(t - 1 )
where H ( t ) denotes the step function, the alternative notation being
used to avoid any confusion with the variable of integration.
68 Laplace transform and z transform

I
h *x =
So [ l - H(u - 1)] (t - u ) du
~

Method 2: Graphical interpretation and evaluation of the convolution


integral. Let
I
y =h *x =
So x(u)h(t - u) du t20

Figures 7.l(a) and 7.l(b) show graphs of h(u) and x(u). The iden-
tification of points A and B emphasizes the operations of folding
(Figure 7.1 (c), graph of x ( - u)) and shift (Figure 7.1 (d), graph of
<
x(t - u)). Figure 7.l(e) shows the graph of h(u)x(t - u) for 0 t < 1.
Hence
y= 1I

0
I r u 2 du = j t 3 O<t<l (7.2)

Figure 7.1 (a) Graph of h(u); (b) graph of x(u); (c) graph of
x(- u ) (folding); (d) graph of x(t - u) (shift); (e) graph of
h(u)x(t - u), 0 < t < 1; (f) graph of h(u)x(t - u), t 2 1
Convolution 69

The graph of h (u)x(t - u) for t > 1 (Figure 7.1 (f)) gives


I

1 x u 2 du=:t3-:(I- 113 t>l (7.3)


I- 1

Hence combining equations (7.2) and (7.3) the result is

Some texts refer to the convolution integral as the Faltung integral


from the German word for folding.
70 Laplace transform and z transform

Volterra integral equation

In 1931 the Italian mathematician Vito Volterra published a model of


population growth. An important equation called a Volterra integral
equation occurred in this analysis and is of the form

where x(t) is an unknown function and f(t), h(t) are known functions.
Subsequently many problems in thermodynamics, electrical systems,
nuclear reactor theory and chemotherapy have been modeled with this
type of equation. Note that the integral in equation (7.4) is a convo-
lution integral so that taking Laplace transforms and using number 10
of Appendix 2 gives

Solving for X(s) we obtain

which, in theory, can be inverted to give x(t).

EXAMPLE 7.6
Solve the Volterra integral equation

x(t)=e-'-4 cos[2(t-u)x](u)du

Taking Laplace transforms


1 S
X(s) = -- 4X(s) -
s+1 s2+4
1
X(s)
( l+-
s4:4)
--
-s+l
( ~ + 2=-
) ~1
X(s)
s2+4 S+1
s2+4
X(s) =
(S + 1)

- 5 4 8
--- +
s+1 (s+2) ( ~ + 2 ) ~
by partial fractions. Inverting we obtain x(t) = 5e-' - 4e-2' - 8te- 2'.
>
Convolution 71

EXERCISE 7

1 Determine the convolution f *g and verify that Y (f*g) = .Y ( f ) Y (g)


for each of the following:
(a)f(t)=5, t 2 0 g(t) = 22, t 2 0
(b) f ( t ) = t - 1 , t>O g(t) = 3t2, t 2 0
(c) f(t) = cos(t), t 2 0 g(t) = sin(3t), t 2 0
(d) f(t) = e-', t 2 0 g(t) = t + 2, t 2 0

2 Write the inverse Laplace transforms of the following functions as a


convolution:

3 Evaluate the convolutions


(a) 6 (t) * cos(4t) (b) 6(t - 2) * e-"u(t)

4 Solve the following differential equations giving the result as a


convolution integral:
d 2~ 2 a -+
(a) -+ d y a 2 y =f(t)
dt2 dt
given that y = 0, dyldt = 0 when t = 0, a is constant and f(t) is an
unspecified function of t.
d 2i di
(b) -+
dt2
( a + b) -+
dt
a b i = f(t)

given that i = 0, di/dt = 0 when t = 0, and a, b are constants.

given that x = 0, dxldt = 2 when t = 0. D o not attempt to determine


,Y{l/(l+ t ) ) .
72 Laplace transform and z transform

5 The actual angle 9 in a control mechanism is given by the differential


equation

K constant

I f $ is a function of t and 9 = 0, d9ldt = 0 when t = 0, determine 9 as a


convolution integral in terms of $.

6 Solve the following equations:


t
(a) x ( t ) = t + 2 sin(t - u)x(u) du
So
Sampled-data control systems and
the z transform

In certain types of feedback control system the signal appears as a set


of sequence values. This signal might be a discrete-time signal in its own
right or derived from a continuous-time function by a sampling oper-
ation. In either case the signal can be considered as a train of impulses
equally spaced at discrete moments of time. Such systems are known as
sampled-data control systems or discrete-time systems. The sampling
operation introduces a time delay and a loss of information between
samples which may lead to instability in the control system. The analysis
of such systems can be undertaken using difference equations and the
z transform in the same way that continuous-time systems were
represented by differential equations and the Laplace transform. The
impact of the digital computer, the transmission of digitized data with
greater accuracy than continuous data and the use of time-shared com-
munication have all contributed to the interest in sampled-data theory.
Consider a continuous function f(t). If this function is sampled at
equal intervals of time T, the sampled function is a sequence of numbers

This series of numbers gives a limited description of f(t). Its values at


other times can only be approximated by means of interpolation and
extrapolation (Figure 8.1). The sampled information will be designated
f*(t), the graph of which will be a bar chart or simply a set of impulses
of appropriate magnitude at t = 0, T, 2T, 3 T, .... Data predictors can be
used to construct f(t) from the information f *(t) (Shinners, 1964).
Note that discontinuous functions must be defined precisely at the
74 Laplace transform and z transform

Figure 8.1 Sampling of f ( t )

points of discontinuity, e.g. u(t - k ) at t = k is defined, in Chapter 4, to


be equal to + 1.
The sampled function f * ( t ) may be represented, as in Chapter 5 ,
property 7, by

It is assumed that the sampIing process is ideal and that no electronic


switching time is considered.
The LapIace transform of this function can be written as

If we now define a new variable z such that


Sampled-data control systems 75

and denote F*(s) by F ( z ) then

'
which is a power series in z - or 112. F ( z ) is called the z transform of
the sequence or discrete-time signal f ( n T ) and the relationship is written
as

In general, if any continuous function possesses a Laplace transform


then the corresponding sampled function has a z transform.

EXAMPLE 8.1
Determine the z transform of the sampled function f ( n T ) if f ( t ) is the
unit step function u ( t ) .

Sampling this function gives f ( n T )= 1 , n 2 0.

n=O

from equation (8.1). Hence

(this is the sum of a geometric progression that is convergent for


1 z 1 > 1). Therefore

EXAMPLE 8.2
Determine the z transform of the sampled function f ( n T ) if f ( t ) is the
ramp function f ( t )= t .

Sampling gives f ( n T )= 0 , T, 2T, 3T, ... . From equation (8.1)


76 Laplace transform and z transform

which is convergent for 1 z 1 > 1 . Therefore

EXAMPLE 8.3
Determine the z transform of the sampled function f(n) if f(t) = e-"
where a is a constant.

Sampling gives f(n) = e-'".


F(z) = 1 + e-"z - I + e-2a
Z
-2 + e-3a
Z
-3 +

- 1 - Z
1 - e-az- 1 - e-a
which is convergent for I z 1 > e-". Therefore

In the same way that a table of Laplace transforms is derived from


basic definitions, so also is a table of z transforms (Appendix 3). Note
the following.

1. z may be complex so that conditions for convergence of the infinite


series involve the modulus.
2. The z transform is a unique transformation.
3. It can be shown that the z transform is independent of T so that
f (n T) can be replaced by f (n), the preferred notation. The sampling
interval T is simply a scale factor.

Some important theorems

These results can be proved from the definition (Doetsch, 1971; Karni
and Byatt, 1982).

1. Addition:
,yv1(n) + f2(n)1 = r v 1 ( n ) ) + yrf2cn)r
Sampled-data control systems 77

Multiplication by a constant:

Translation - shift theorem:

These are shown in the table of standard forms (23 and 19-22
respectively).
Initial value theorem:

limit [f *(t)] = limit [F(z)]


t-.O z-'=

Final value theorem:

limit [f *(t)] = limit


t-.= z-'l

Periodic sequence theorem: if f (n) = f (0), f (1), f (2,), ..., f (N - 1)


and the sequence of N values is repeated periodically then

where F(z) is the z transform of the periodic function and Fl(z) is


the z transform of the sequence f (0), ...,f (N - 1). For example if
f (n) = 1, - 1, - 1, 1, and these four values are repeated periodically
then

and
78 Laplace transform and z transform

EXAMPLE 8.4
Using the table of standard forms determine the z transforms of the
following sampled functions:
(a) f ( n ) = n (b) f (n ) = Ke - O n - 2 sin(bn) if a, b and K
are constants.
(c) f ( n ) = e - 2 ( n - 2 ) ~ ( n - 2 ) (d) f ( n ) = 2 " ( n 2 - n )

(a) f(n)=n:
2
F(2) =
(2 - 1)2
using number 4.
(b) f(n)=Ke-On- 2 sin(bn):
Kz - 22 sin(b)
F(2) =
z - e-" z2 - 22 cos(b) + 1
using numbers 6 and 8.
(c) f(n)=e-2(n-2)u(n-2):

F(z) = z - 2 r { e - 2 n ]
Z
= 2-2
z - e-2
using numbers 23 and 6.
(d) f(n) = 2"(n2 - n). From number 27 it is necessary first to
determine the transform of n - n:
z(2 + 1) - 2 22
d(n2-n) = -
(Z - i 3 (Z - 112- (2 - 113
The required transform is
2(2/ 2) - 82
[(2/2) - 11) - ( z - 213

EXERCISE 8

Determine the z transform of each of the following:


Sampled-data control systems 79

7 cos(n9 8 e-"" sin(on)


9 3 sin(2n) - 4 cos(3n) 10 3" sin(2n)
11 u ( n ) - 4u(n - 1 ) 2 [l + (- 1)"] e-"T
13 u ( n - k ) 14 cosh(an)
15 2n - u ( n ) + 3e-" 16 2n - 3(n - l)u(n - 1 )
17 u ( n ) - e - " - u ( n - l ) + e - ( * - ' ) u ( n - 1).

a , o, T and k are constants.


--

The inverse z transform

The z transform F ( z ) of a given sequence f ( n ) is unique. Hence the


z transform and its inverse form a transform pair:

We now consider the problem of obtaining f ( n ) from a given F ( z ) .


There are three different methods: the Power series method; the partial
fraction expansion method; the residue method. The partial fraction
method is restricted to the case where F ( z ) is in the form of a rational
function, while the other methods apply to a larger class of functions.

Power series method

Using the method for dividing two polynomials F ( z ) is expressed in the


form of a power series to obtain

In Chapter 8 the z transform was defined as

A comparison of these series shows that there is a one-to-one correspon-


dence bet ween the coefficients an and the required sequence values f (n).
The inverse z transform 81

Hence

E X A M P L E 9.1
Determine the inverse z transform of
z2+z
F(z)=
z3-3z2+3z-1
Z-' + 4z-2 + 9z-3 + 1 6 ~ - ~ . . .
z3-3z2+3z-1 1 z2+z
z2-3~+3-~-'
4~-3+Z-'
42 - 12 + 122-' - 4zW2
9- l l z - ' + 4 ~ - ~
'
9 - 272- + 27z-2 - 92- 3
162- ' - 2 3 ~ +- 9z-3
~
Hence
, F ( z ) = z- ' +4 ~ + 9z-3
- ~ + 1 6 ~ -..~ .
so that ao=O, a1 = 1 , a2 = 4 , a 3 = 9 , a4= 16, ..., and f(O)=O, f ( l ) = 1,
f(2) = 4, f(3) = 9, f (4)= 16, ..., which suggests that f ( n ) may be equal
to n2.
A disadvantage of this method is that, in general, only the sequence
values are obtained and additional techniques are necessary to obtain a
closed form version of f ( n ) .
Other methods can be used to derive the series expansion, e.g. the
binomial theorem can be used to expand z/(z + 1 ) in a series of
negative powers of z:
-- - ( l + Z - l ) - l = l + Z - 1 +...
z+ 1
-

Partial fraction method

The approach here parallels that used to obtain the inverse Laplace
transform of F ( s ) . In this case, however, we work with F ( z ) / z instead
of F ( s ) . Why F ( z ) / z and not F(z)? Examining our standard forms we
82 Laplace transform and z transform

note that functions of z occur in the form

and not in the normal partial fraction form


1 1 1
z - 1' ( z - 112' Z-e-'

EXAMPLE 9.2
Determine f(n) if

in partial fractions. Thus

Put z = 1 to obtain A = 1 and put z = - 113 to obtain B = - 3. Hence

From the standard forms 3 and 12 in Appendix 3

Hence

Note that the sampled function f *(t) becomes

EXAMPLE 9.3
Determine f(n) if
The inverse z transform 83

for which A = 1, B = - 1, C = 1. Therefore

Inverting using 12 and 13 in Appendix 3 gives


f(n)=(-3)"-(-2)"-in(-2)"
= (-3)" - (-2)" + n(-2)"-' n>O
Sampled values of f(n) can be obtained by calculations for
n = 0,1,2, ... or by the expansion of F(z) in powers of z-" using the
binomial theorem.

EXAMPLE 9.4
Determine the inverse z transform of

Note that the denominators of 14 and 15 in Appendix 3 can be made


to fit z2 - 3z + 1 by choosing
2 cosh(o0) = 3
i.e.

and since
sinh(wo) = [cosh2(wo) - 11 'I2

so that 14 and 15 read

Now

Therefore
2
f (n) = cosh(won) + - (i - k)sinh(oon)
J5
-1 3
where wo = cosh (z).
84 Laplace transform and z transform

Residue method

From the definition of the z transform of a given sequence f(n) it can


be shown (Aseltine, 1958; Doetsch, 1971; Karni and Byatt, 1982) that

where C is any simple closed curve enclosing I z I = R, I z I > R being the


region of convergence.
This integral is known as a contour integral and can be evaluated
using Cauchy's residue theorem. This theorem states that the value of
the integral is the sum of the residues of z n - ' ~ ( z )corresponding to the
poles of the function that lie inside a simple closed curve C that encloses
Iz(=R.

Pole

The function G(z) = 2 " - ' ~ ( 2 ) has a pole of order n at z = ZI if

Z -
limit G(z) = 00
ZI

and the value of (z - zl)"G(z) at z = zl is finite and non-zero. For


example

has a first-order pole (referred to as a simple pole) at z = 0 and a pole


of second order at z = -3.

Residue

Associated with each pole of a function is a number called the residue


of the function at the pole, which can be calculated from the formula

evaluated at z = a and where m is the order of the pole and R the


residue.
The inverse z transform 85

EXAMPLE 9.5
Determine the residues of

There is a pole of order 1 at z = - 3:

For z = - 3 we obtain
R-3 = 9/16
There is a pole of order 2 at z = 1:

Note that the residue at a pole corresponds to the coefficient of the


jirst-order term in a partial fraction expansion.

which requires A = 9/ 16, B = 71 16, C = 114, so that = 91 16 and


R1 = 7/16.

EXAMPLE 9.6
Determine the inverse z transform of
4

There is a pole of second order at z = - 3:


86 Laplace transform and z transform

EXAMPLE 9.7
Determine the inverse z transform of

Consider

which has a simple pole at z = 0 when n = 0 but not at z = 0 for n 2 1.


Thus the cases n = 0 and n 2 1 must be considered separately.
For n = O

For n 2 1

Hence
f(n) = (- I)"-' - (-2)"-' rial
The inverse z transform 87

Figure 9.1

Note that the function f(n) or f(nT) obtained using either of these
methods only describes the function at the sampling instants. There is
no information available between sampling instants. For example, both
of the functions f i and f2 in Figure 9.1 pass through the given data
points at tl, t2, t3, t4, t5 and ta.

EXERCISE 9
Determine the inverse z transforms of the following.
88 Laplace transform and z transform

It is suggested that the various methods are used as follows:


Results of Appendix 3 1-10
Partial fractions 11, 13, 14, 15
Division 1-18
Residue 1, 11, 12, 13, 14, 16
Solution of difference equations

An important application of the z transform is the solution of linear


difference equations with constant coefficients. Difference equations are
also referred to as recurrence relations or recurrence equations. These
equations arise in the mathematical modeling of general discrete systems
and in the simulation of analog systems by digital processing (Shinners,
1964; Kuo, 1975; Borrie, 1986). Such equations are of the form

where g(n) and f(n) are two sequences. Some typical examples follow.

Digital filter

If in is the current in the nth loop and V ,is the voltage at node An
(Figure 10.1) then the relationship between successive loop currents is

or between successive nodal voltages is

In either case we obtain a difference equation which is linear with con-


stant coefficients. Note that equation (10.2) is a second-order equation
since the voltage at node n + 2 is expressed as a linear combination of
90 Laplace transform and z transform

Figure 10.1 A digital filter

the voltages at two previous nodes. Similarly the loop equation (10.1)
yields a second-order equation in the loop currents.
Simultaneous equations can also be generated. For example

where xn is the input, yn is the output and un is an intermediate


sequence.

Bending moments

The equation satisfied by the bending moments at the supports of a


beam resting on several equidistant supports at the same level can be
written in the form

where w is the weight per unit length of the beam and a is the distance
between the supports.

Population growth

If xn denotes the size of a population after n years then


Xn -~ +k 2 ~ n - 2
n - 1= k l ~ n - 1

where k l and k2 are constants.


Solution of difference equations 91

Savings account

If interest is paid at an annual rate r and is compounded N times per


annum then

where x, is the total deposit in the nth compounding period and yn is


the total amount at the end of the nth period.

Computing

Difference equations arise in, for example, the modeling of combina-


torial problems, selection-sort algorithms and divide and conquer algor-
ithms.

Sampled-data system

If we consider the operation of a sampled-data system where all the


signal processing functions can be defined by the operations

1. additionlsubtraction,
2. multiplication/division,
3. summation,
4. single-sample delay,

then, since the inputs and outputs are simply strings of numbers, the
system can be implemented either as a set of equations or by the use of
special-purpose electronic circuits. In either case the system can be
defined in terms of elementary building blocks that specify the basic
mathematical operations.
From Figure 10.2 the equation is

In order to obtain a solution (y, in terms of n and x,) of such an


equation we require two known values, i.e. initial conditions.
92 Laplace transform and z transform

Figure 10.2 A sampled-data system ( T = single sample delay)

The method of solution via the z transform is to transform the differ-


ence equation using any necessary standard forms (19-22) and obtain an
algebraic expression for F ( z ) , the transform of f(n). The function f(n)
can be current, voltage or some other function.
Note that the solution f(n) can be derived in a variety of forms
depending on the method of inversion that is used but that the result is
always a set of sampled values.

E X A M P L E 10.1
Solve the difference equation
f ( n + 2 ) - 2 f ( n + 1)+ f ( n ) = 3n n>2
given that f(0) = 0 and f(1) = 2 .

Transforming the equation we have


32
[ z 2 ~ ( -z z) 2 f ( 0 )- zf(1)I - 2[ZF(z)- zf(O)] + F(2)=
(2 - I ) ~
Solution of difference equations 93

Using the residue method for the first term and standard form 4
(Appendix 3) for the second term we obtain

EXAMPLE 10.2
Solve the difference equation
2 f ( n ) - 3f ( n + 1 ) =(- I)"-'
if f ( 0 ) = 2.

Transforming the equation we have

z 3z +- 62
-- +
5(Z+ I ) 5 ( 3 z - 2) 3 2 - 2
in partial fractions. Thus

Hence

EXERCISE 10

Solve the following difference equations:

1 f (n + 1 ) + 2f ( n ) = ( - I)", given that f ( 0 ) = - 2 .


2 2i(n + 2) - 3i(n + 1 ) + i ( n ) = 0 , given that i(0) = 2, i(1) = - 1.
94 Laplace transform and z transform

x(n + 2) + 5x(n + 1 ) + 6 x ( n )= 3 , given that x(0) = - 2, x(1) = 1 .


f(n + 1 ) - f ( n ) = n 2 , given that f(0) = 0.
f ( n + 2 ) - 4 f ( n + 1 ) + 4 f ( n )=2", given that f(O)= 1 , f ( l ) = - 1.
x(n + 2) + x(n + 1 ) - 2x(n)= sin(n?r/2),given that x(0) = 0, x(1)= 2.
8y(n + 2) + 6y(n + 1 ) + y ( n ) = 5 , given that y(0) = 0, y(1) = - 1.
10f(n+ 2 ) - 1 1f ( n + 1 ) + 3 f ( n ) = 10, given that f(O)=O, f(1) = O .
y(n + 2) - J3y(n + 1 ) + y ( n ) = 0, given that y(0) = 1 , y(1) = J3.
f(n + 2) + 9 f ( n )= 1 3 ( 2 ) " - ~given
, that f(0) = 1 , f(1) = 2.
i(n + 2) - 4i(n + 1 ) + i ( n )= 0, given that i(0)= 0, i(1)= - 1 .
x(n + 2) - 2x(n + 1 ) + x ( n ) = 0 , given that x(0) = A , x(1) = B.
i(n + 2) - 3i(n + 1 ) + i ( n )= 0, given that i(0)= 2, i(1)= 6.
2 f ( n + 3 ) - 3 f ( n + 2 ) +f(n)=O, given that f(O)=O, f ( l ) = 1 , f(2)= -4.
Discrete transfer function

In the same way that differential equations and the Laplace transform
enable continuous-time systems to be represented by transfer functions,
so can discrete-time systems be represented by transfer functions. We
are dealing, of course, with difference equations and the z transform,
which then allows discussion of frequency domain concepts such as
magnitude and phase response.
Consider a system with input x(n), output y(n) (Figure 11.1) deter-
mined by the coefficients ai, bj such that the input-output relationship
is defined by a difference equation

Note that the input x(n) is the output of a sampler which is assumed to
be ideal. Assuming that all initial conditions are zero, the z transform
of equation (1 1.1) yields

where Y(z) = g(y(n)) and X(z) = g ( x ( n ) ). Collecting terms and


rearranging equation (1 1.2) we obtain

If both numerator and denominator are of degree k then G(z) can be


% Laplace transform and z transform

Figure 11.1

written in the form

with no loss of generality. The numerator can be factorized to obtain the


zeros, the denominator to obtain the poles, of G(z) and the system
analyzed for stability and response as in Chapter 6.
It should be emphasized, however, that if the output y(t) is a well-
behaved function between sampling instants then y(n) and Y(z) will give
an accurate description of the true output; otherwise, the z transform
may give misleading results.
It should also be noted that there are significant differences between
Laplace transforms and z transforms that must be borne in mind. For
example, consider two elements in cascade, in one case separated by a
sampler and in the other directly linked. Figure 11.2 shows case 1.

Hence the overall transfer function is the product of the two separate
transfer functions.
Figure 11.3 shows case 2. In this case the second element is driven at
the sampling instants and also between sampling instants. The z trans-
form of the output can be shown to be

Figure 11.2
Discrete transfer function 97

>

X(z) Gl (s) G2(s) y2 (2

Figure 11.3

where H(z) represents the z transform of the cascaded combination


corresponding to the transfer function GI(s)Gz(s).
Note that, in general,

i.e. the product of z transforms is not equal to the z transform of the


multiplicands.
For a more detailed discussion of the stability of discrete time systems
the reader should consult an appropriate textbook (e.g. Shinners, 1964;
Kuo, 1975; Borrie, 1986).
Appendix I
An introduction to the definition of
the Laplace transform

This more detailed introduction to the Laplace transform follows that


'
suggested by Hancock. The opportunity is also taken to mention some
of the ideas that would be encountered in a more rigorous mathematical
development.
Consider the differential equation

given that x = 2, dxldt = 9 at t = 0. Suppose that we approach the


solution of this equation by considering an integrating factor method.
Let ePt be an integrating factor:

Now integrate:

I
S. T. R. Hancock, 'The Laplace transform', Mathematical Gazette, 361 (1963),
215-19.

99
100 Laplace transform and z transform

Substituting into the differential equation we obtain

d X - p[xept
ept -
dt
-p 1 xept dt] - 6xept + 6 p 1 xept dt + 8 1 xept dt

Collecting terms gives

This is a complicated equation which appears to be more difficult to


solve than the original. Is it therefore possible to simplify this equation?

NOTE 1 The coefficient of xePt dt is p2+ 6 p + 8. If p were


negative, say - s, s > 0, then s2- 6 s + 8 would be analogous to the left-
hand side of the original differential equation

NOTE 2 If again p were negative the equation can be


simplified by choosing to integrate between limits, definite integrals.
What limits? Since the initial values are given choose t = 0 as the lower
limit and, because we have introduced negative exponentials, choose
t = + 00 as the upper limit, i.e.

(s2 - 6 s + 8) 1
00

0
9
e-"x dt = -+ 2 s - 3
s-5

1
o
e-"x dt =
2s2 - 13s + 24
(S - 5)(s2 - 6 s + 8)
Appendix 1 101

Note that this is an algebraic expression for l," e-"x dt in terms of s.


How to obtain x in terms of t is not obvious at this stage but note that
the right-hand side can be written in the form

for which the known solution is

and that the method operating on the right-hand side of the original
differential equation (9e5') produced 91 ( s - 5).

The method, in theory, becomes: multiply by e-", integrate from 0


to 00, manipulate algebraically and reverse (invert). We thus define the
Laplace transform of a function f(t) as

if this integral exists.


The function e-S' is called the kernel of the transformation. Other
similar transformations are Fourier, Hankel and Mellin.

Existence of the Laplace transform

The definition of the Laplace transform is an improper integral which


may or may not converge. It is possible then that the Laplace transform
of certain functions may not exist or that the inverse may not be unique.
The sufficient conditions for the existence of the transform are stated in
theorem 1.

THEOREM1 If f (t) is piecewise continuous for t 2 0 and


satisfies the condition
I f @ )I C Me", f 2T
where a, M and T are fixed non-negative constants then 9 ( f (t)) exists
for all s > a.

The theorem implies that all bounded continuous functions and every
polynomial have Laplace transforms. Thus tn, n = 1,2,3, ... has a
Laplace transform but el2 does not. It should also be noted that the
102 Laplace transform and z transform

conditions are not necessary for the existence. There are functions, such
as ?-'I2, that do not satisfy the conditions but yet have a Laplace
transform.
7

It can be shown that functions that differ only at several isolated


points can in fact have the same Laplace transform. This loss of
uniqueness can only be accommodated by the inclusion of null
functions. These functions do not generally arise in practical situations
so that their exclusion presents no difficulty in the application of Laplace
transforms. The uniqueness is then stated in theorem 2.

THEOREM2 Lerch's Theorem. I f f (t) is piecewise continuous


for t $ 0 and satisfies the condition

where a, M and T are fixed non-negative constants then the inverse


Laplace transform of F(s) where f (t) = 9-' (F(s)), is unique.

Hence we assume that the Laplace transform and the inverse, for all
functions of practical interest, are unique.
Appendix 2
A table of Laplace transforms

1 Sum aF(s)+ bG ( s ) or af((s)+ bg ( s )

2 First derivative sF(s)- f (0) or s f ( s )- fo

3 Second derivative

4 Third derivative

5 Fourth derivative

(Continued)
41 (a) { < 1 and od=wo(l - { 2 ) 1/2 u(t) - e- loot
where a d is the frequency of free damped
{wo
oscillation. cos(wdt) + - sin(wdt)
ad oscilla
(b) t = 1 u(t) - e-@"[l + wet]
(c) { > 1 and ~ = w o ( { ~1)'12
- u(t) - e - toot

42 Delayed ramp (t - T)u(t - T)

43 Rectangular pulse

44 Rectangular
periodic wave,
period T
45 Hal f-wave-rectified
sine, period
T = 2?r/w T/2<z<T (~~+

46 Full-wave-rectified
sine, period f(t) = I sin(wt) I
T = 2dw

Initial value theorem limit f(t) = limit sF(s) Final value theorem limi
1-0 S--00 t-tw
Appendix 3
A table of z transforms

1 f(O)=k Impulse at n = 0 k
f ( n ) = 0 , n = 1,2, ...
2 f(m)=k Impulse at n = m kz-"I
f(n) = 0 , n f m

kze -'

z 2 - 22 cos(o0)+ 1
(Continued)
112 Laplace transform and z transform

12 a nwhere a is constant

f l ( z ) - z f (0)

z 2 ~ ( z-)z2f(0)- zf(1)

z3~(-
z )z 3 f ( 0 )- z 2 f ( 1 )- z f ( 2 )
zU'F(z)- zn'f(0)- *..- zf(m - 1 )
(Continued)
Appendix 3 113

Initial value theorem limit f ( n ) = limit F ( z )


n 0
+ z+*

2- 1
Final value theorem limit f ( n ) = limit -F ( z )
-
Appendix 4
Iypes ot sampling

Instantaneous sampling is not feasible. It is not possible to construct


switches which can operate in an arbitrarily short time. It is common
practice therefore to use either natural or flat-topped sampling.

Natural sampling

The sampling waveform consists of a train of pulses of duration T and


separated by the sampling time T. The sampled signal then consists of
a sequence of pulses of varying magnitude whose tops follow the wave-
form of m (t). (Figure A4.1.)
A low-pass filter will deliver an output signal which is directly pro-
portional to 7 and inversely proportional to T so that there must be a
compromise between large 7 and a large guard time between the end of
one sample and the beginning of another.

Flat-topped sampling

More frequently flat-topped pulses are used. A flat-topped pulse has a


constant amplitude which is established by the sample value of the signal
at some point within the pulse interval.
Figure A4.2 shows sampling of the signal at the beginning of the
pulse. In sampling of this type the signal m(t) cannot be recovered
exactly but the distortion need not be large. Flat-topped sampling has
Appendix 4 115

Figure A4.1 (a) A signal y = m(t); (b) sampling waveform; (c) naturally
sampled signal

Figure A4.2 Flat-topped sampling


116 Laplace transform and z transform

the merit that it simplifies the circuitry required to perform the sampling
operation. The distortion results from the fact that the original signal
was 'observed' through a finite rather than an infinitesimal time 'aper-
ture' and hence is referred to as the aperture efect. The spectrum is
found to be multiplied by the sampling function Sa(x).
Answers to exercises

Exercise 1.I
118 Laplace transform and z transform

Exercise 1.2

1 it3

3 2t - 3 + 5e-'

Exercise 2
Answers to exercises 119

Exercise 3
120 Laplace transform and z transform

Exercise 4.1
1
1 - (4 - e - S )
S

13 (a) 2 ( t - l ) u ( t - 1 )
(b) cos(t) + [cos(2t)- cos(t)]u(t - n ) + [cos(3t)- cos(2t)l u ( t - 2 n )
Answers to exercises 121

Exercise 4.2

cos [3(t- I ) ] u ( t - 1 )
f
( e2"- " + cos[2(t- I ) ] + j sin[2(t- l ) ] ) u ( t - 1 )
3 -(t-2)
$ ( t- 2 ) e u(t - 2) - cos[2(t- l ) ] u ( t- 1 )

3 sin[3(t- 3)Ju(t- 3)
(t - 1)ze-2(t- 1) ~ (- t1 )

4 sin [2(t- 2)Ju(t - 2)

sinh(t - 7r/6)u(t- 7r/6)

$ ( t - 5 ) 3e 3 ( r - 5 ) u(t - 5 )
[ l -cos(t- 2 ) J u ( t - 2 ) - [ l - c o s ( t - 3 ) ] u ( t - 3 )
i = [5e-(t-') + e 5 ( ' - ' ) - 61 u(t - 1 ) + eS' - e-'
x = t ( l - 2e-(r-2) + e - 2 ( ' - 2 ) ) u ( t - 2)

x = 2 - C O S ( ~ )- 2 [ l - C O S ( ~- 3)]u (t - 3)
y= [8e-(t-l) - gte-2(t-1) ] ~ ( t I-) - ( 1 + t)e-2t

i = $ [ I -cos(4t)] -:: 11 - c o s [ 4 ( t - Z ) ] ) u ( t - 2 )
x = 3 sin(2t) + :t sin(2t) - :(t - sin [2(t- u(t -
'A)] 'A)

16 i2 = !
!! Ie-2, sinh
J6
(di t) - e-2('- 0 sinh [& (t - I ) ] u(t - 1 ) )

Exercise 5
122 Laplace transform and z transform

9 x=- e sin[w(t-t~)Ju(t-to)
mu
where a = c/2m and w2 = k - c 2 / 4 m 2

Exercise 6

Poles Zeros Magnitude Phase

-+ tan-'(o)
7r
1 s=o
2

'
tan- (w/ 3 )
Answers to exercises 123

Exercise 7

1 (a) 5t2 t2O (b) f t 4 - t 3 t20


(c) - icos(3t) + icos(t) t20 (d) 1 + t - e - ' t>O
(e) t - 1 + e-' - (t - l)u(t - 1)
(f) 2 - 2 cos(2t) - (2 - 2 cos [2(t - 2)J ] u(t - 2)
2 (a) 3e-3' * e-'
(b) 5 cos(3t) * e4'
(c) u(t - 3)*: sin(4t)
(d) 8(t-2)* e-3'
(e) [2u(t - 1) - 3u(t - 2)J * cos(3t)
3 (a) cos(4t) (b) e-2('-2)u(t-2)

(b) i = f(t) *-
1
b-a
(e-"' - e-") = 5 I

o
f(t - U)
e-'lr - - b/t
b-a
du

(c) x = 2e-2t - 2e-3' + ( e - 2 ( t - ~ )- , - 3 ( t - ~ ) ) dU

6 (a) x=-t+et-e-'
(b) x = 3(e1+ e-') * sin(t) = 5 e' + e-' - 3 cos(t)

Exercise 8
124 Laplace transform and z transform

Exercise 9

1
6 - sinh(w0n) where w o = cosh-'(2) 0, 1, 4, 15,...
J3
2
7 cosh(w0n) + - sinh(w0n) where wo = cosh- (2) ' 1, 4, 15, ...
P
8 ( n - 2)
sin(?)

9 (ir (7)+ (i)" (7)


cos ~3 sin

10 - (n - 3)(- 2 ) ( n - 3 ) ~ (-
n 3) 0 , 0 , 0 , 0 , 2 , -8,24 ,...
11 -$(-1)"-n(-1)"+$(2)"

12 (n2+3n+2)(2)" 13 f(-3)"+$(4)"

14 -;(-2)" +j 0 , 2 , - 2 , 6 , -10 ,...


Answers to exercises 125

15 (3) " - (2) "I2 cos 6) 0, 3, 11, 27 ,...

Note that the sequence values may be obtained from the function f(n) by
substitution of successive values of n = 0, 1, 2, 3, ... .

Exercise 10

1
11 i(n) = - - sinh(o0n) where wo = cosh- (2) '
J3

6
13 i(n) = 2 cosh(o0n) +- sinh(o0n) where o o = cosh- ' (:)
45
14 f ( n ) = -!(-!)"+!-3n
Alternatively by division of the polynomials f (n) = 0, 1, - 4, - 6, - 9.5, ... .
Bibliography

Further reading
Doetsch, G. (1971) Guide to the Applications of the Laplace and z-transforms,
Van Nostrand Reinhold.
Erdklyi, A. (1954) Tables of Integral Transforms (Bateman Manuscript Project,
2 vols), McGraw-Hill.
Kaplan, W. (198 1) Advanced Mathematics for Engineers, Addison-Wesley .
Karni, S. and Byatt, W. J. (1982) Mathematical Methods in Continuous and
Discrete Systems, Holt , Rinehart and Winston.
Spiegel, M. R. (1965) Theory and Problems of Laplace Transforms, Schaum's
Outline Series, McGraw-Hill.
Stroud, K. A. (1 973) Laplace Transforms - Programmes and Problems, Stanley
Thornes.
Watson, E. J. (1981) Laplace Transforms and Applications, Van Nostrand
Reinhold.

Applications

Ahmed, N. and Natarajan, T. (1 983) Discrete-time Signals and Systems, Reston


Publishing.
Aseltine, J. A. (1958) Transform Method in Linear Systems Analysis, McGraw-
Hill.
Banks, S. P. (1986) Control System Engineering, Prentice Hall.
Borrie, J. A. (1986) Modern Control Systems, Prentice Hall.
Kuo, B. C. (1975) Automatic Control Systems, Prentice Hall.
Schwarzenbach, J. and Gill, K. F. (1984) System Modelling and Control,
Edward Arnold.
Shinners, S. M. (1 964) Control System Design, Wiley .
Index

Amplitude response, 62 Error sensor, 56


Exponential multiplier, 20
Beam-bending, 10, 42, 52
Bibliography, 126 Faltung integral, 69
Block diagram, 55 Feedback, 57, 73
Final value theorem
Cauchy's residue theorem, 84 Laplace transform, 29
Characteristic equation, 53 z transform, 77
Characteristic function, 53 First shift theorem, 20
Control system, 55 Forced response, 61
Convolution
graphical representation, 68 Generalized functions, 47
integral, 65 General solution, 13
properties, 66
CR networks, 58 Heaviside step function, 33

Data predictor, 73 Impulse function, 46


Delayed function, 34 properties, 48
Delta function, 46 relation to step function, 47
Derivatives, transforms of, 10 sampling property, 50
Difference equations, 89 sifting property, 48
Differential equations, 7 Initial value theorem
constant coefficients, 10 Laplace transform, 29
simultaneous, 13 z transform, 77
variable coefficients, 26 Integration theorem, 20
Differentiation of transforms, 23 Inverse Laplace transform, 4
Digital filter, 89 Inverse z transform
Dirac delta function, 46 partial fractions, 8 1
Discrete systems, 89 power series, 80
Discrete time signal, 73 residue, 84
Discrete transfer function, 95
Duhamel integral, 65 Kernel, 101
128 Index

Laplace transform natural, 114


definition, 1 property of delta function, 50
derivative, 10 Sequence, 73
existence, 101 Servo-mechanism, 9
integral, 20 Shift theorem
inverse, 4 first, 20
linearity, 19 second, 36
periodic function, 27 Sifting property of delta function, 48
table, 3, 103 Simultaneous differential equations, 13
Smearing function, 65
Magnitude response, 62 Square wave, 27, 40, 41
Stability, 61
Natural response, 61 Staircase function, 40
Node, 89 Steady state error, 59
Steady state gain, 59
Operational amplifier, 58 Steady state response, 62
Order of pole, zero, 60 Step function, 46
Superposition integral, 65
Partial fractions, 5, 41
Periodic function, 27 Table of Laplace transforms, 3, 103
Periodic sequence, 77 Table of z transforms, 111
Phase response, 62 Transfer function, 54
Point spread function, 65 Translation theorem, 36
Poles, 60

Recurrence equations, 89 Unit impulse, 46


Recurrence relations, 89 Unit step function, 33
Recursion relation, 89
Residue, 84 Volterra integral equation, 70
Residue theorem, 84
Zeros, 60
Sampled-data systems, 73, 91 z transform
Sampled function, 73 final value theorem, 77
Sampler, ideal, 74 initial value theorem, 77
Sampling properties, 76
flat topped, 114 table, 111
AN INTRODUCTION TO THE
LAPLACE TRANSFORM AND THE z TRANSFORM
A.C. GROVE

The rapid growth in computing power has meant that


discrete mathematics and hence the z transform have
become increasingly important. This basic introductory
text covers the techniques and applications of Laplace
and z transforms, which is prerequisite knowledge for
courses in all engineering disciplines, IT, applied maths,
computer science and the physical sciences.

The book:
contains numerous worked examples to support
the theoretical material, and end-of-chapter
exercises
is oriented towards engineering applications
includes the necessary theory, but without going
into in-depth mathematical detail.

Tony Grove, senior lecturer in mathematics,


Nottingham Polytechnic, UK, has based this book on
his course of lectures given to engineering students at
the Polytechnic.

COVER BY RACHAEL ADAMS DESIGN

ISBN 0-LA-qBBYJJ-7
I

PRENTICE HALL

You might also like