Mathematics Engineers
Mathematics Engineers
ENGINEERS
MATHEMATICS FOR
Understanding key mathematical concepts and applying them successfully to solve problems are vital skills
FOR ENGINEERS
that all engineering students must acquire. Mathematics for Engineers introduces, teaches, develops and
nurtures those skills. Practical, informal and accessible, it begins with the foundations and gradually builds
upon this knowledge as it introduces more complex concepts. Learn everything you will need for your first year
engineering mathematics course, together with a wealth of introductory material for even more advanced
topics such as Laplace and Fourier transforms and partial differential equations.
Key features
• Applications of mathematics are drawn from a wide range of engineering areas: aeronautical, automotive,
FIFTH EDITION
chemical, civil, computer, electrical and electronic, manufacturing, materials, mechanical, production,
reliability, and systems engineering.
• Hundreds of interactive examples are provided in the context of various engineering disciplines, so you
are able to both engage with the problems and also see the relevance of the maths to your wider studies.
• A wealth of practice and revision exercises with solutions help test your knowledge.
• Key points and important results are highlighted throughout.
• Computer and calculator examples and exercises are incorporated in relevant sections.
• Specimen examination papers give further opportunity to practise.
• A foundation section gives you a firm base in arithmetic, the building block of many high-level
mathematical topics.
Mathematics for
Engineers
Fifth Edition
Anthony Croft
Loughborough University
Robert Davison
Harlow, England • London • New York • Boston • San Francisco • Toronto • Sydney • Dubai • Singapore • Hong Kong
Tokyo • Seoul • Taipei • New Delhi • Cape Town • São Paulo • Mexico City • Madrid • Amsterdam • Munich • Paris • Milan
A01_CROF5939_04_SE_A01.QXD 11/27/18 1:06 PM Page iv
10 9 8 7 6 5 4 3 2 1
23 22 21 20 19
NOTE THAT ANY PAGE CROSS REFERENCES REFER TO THE PRINT EDITION
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page v
Brief contents
Contents ix
Publisher’s acknowledgements xv
Preface xvi
Using mathematical software packages xx
1 Arithmetic 1
2 Fractions 18
3 Decimal numbers 35
5 Basic algebra 57
9 Trigonometry 335
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page viii
14 Vectors 669
15 Differentiation 740
17 Integration 826
Contents
Publisher’s acknowledgements xv
Preface xvi
Using mathematical software packages xx
1 Arithmetic 1
Block 1 Operations on numbers 3
Block 2 Prime numbers and prime factorisation 10
End of chapter exercises 17
2 Fractions 18
Block 1 Introducing fractions 20
Block 2 Operations on fractions 25
End of chapter exercises 33
3 Decimal numbers 35
Block 1 Introduction to decimal numbers 37
Block 2 Significant figures 42
End of chapter exercises 43
x Contents
5 Basic algebra 57
Block 1 Mathematical notation and symbols 59
Block 2 Indices 72
Block 3 Simplification by collecting like terms 88
Block 4 Removing brackets 91
Block 5 Factorisation 99
Block 6 Arithmetic of algebraic fractions 106
Block 7 Formulae and transposition 119
End of chapter exercises 133
9 Trigonometry 335
Block 1 Angles 337
Block 2 The trigonometrical ratios 341
Block 3 The trigonometrical ratios in all quadrants 352
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page xi
Contents xi
14 Vectors 669
Block 1 Basic concepts of vectors 671
Block 2 Cartesian components of vectors 685
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page xii
xii Contents
15 Differentiation 740
Block 1 Interpretation of a derivative 742
Block 2 Using a table of derivatives 755
Block 3 Higher derivatives 764
End of chapter exercises 769
17 Integration 826
Block 1 Integration as differentiation in reverse 828
Block 2 Definite integrals 840
Block 3 The area bounded by a curve 847
Block 4 Computational approaches to integration 857
Block 5 Integration by parts 867
Block 6 Integration by substitution 874
Block 7 Integration using partial fractions 885
Block 8 Integration of trigonometrical functions 888
End of chapter exercises 892
Contents xiii
xiv Contents
Lecturer Resources
For password-protected online resources tailored to support
the use of this textbook in teaching, please visit
www.pearsoned.co.uk/croft
A01_CROF5939_04_SE_A01.QXD 11/9/18 2:57 PM Page xv
Publisher’s acknowledgements
Preface
Audience
This book has been written to serve the mathematical needs of students engaged in a
first course in engineering or technology at degree level. Students of a very wide
range of these programmes will find that the book contains the mathematical
methods they will meet in a first-year course in most UK universities. So the book
will satisfy the needs of students of aeronautical, automotive, chemical, civil,
electronic and electrical, systems, mechanical, manufacturing, and production
engineering, and other technological fields. Care has been taken to include illustra-
tive examples from these disciplines where appropriate.
Aims
There are two main aims of this book.
Firstly, we wish to provide a readable, accessible and student-friendly introduc-
tion to mathematics for engineers and technologists at degree level. Great care has
been taken with explanations of difficult concepts, and wherever possible statements
are made in everyday language, as well as symbolically. It is the use of symbolic
notation that seems to cause many students problems, and we hope that we have
gone a long way to alleviate such problems.
Secondly, we wish to develop in the reader the confidence and competence to
handle mathematical methods relevant to engineering and technology through an
interactive approach to learning. You will find that the book encourages you to take
an active part in the learning process – this is an essential ingredient in the learning
of mathematics.
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page xvii
Preface xvii
Learning mathematics
In mathematics almost all early building blocks are required in advanced work. New
ideas are usually built upon existing ones. This means that, if some early topics are
not adequately mastered, difficulties are almost certain to arise later on. For example,
if you have not mastered the arithmetic of fractions, then you will find some aspects
of algebra confusing. Without a firm grasp of algebra you will not be able to perform
the techniques of calculus, and so on. It is therefore essential to try to master the full
range of topics in your mathematics course and to remedy deficiencies in your prior
knowledge.
Learning mathematics requires you to participate actively in the learning process.
This means that in order to get a sound understanding of any mathematical topic it is
essential that you actually perform the calculations yourself. You cannot learn math-
ematics by being a spectator. You must use your brain to solve the problem, and you
must write out the solution. These are essential parts of the learning process. It is not
sufficient to watch someone else solve a similar problem, or to read a solution in a
book, although these things of course can help. The test of real understanding and
skill is whether or not you can do the necessary work on your own.
xviii Preface
by the pencil icon. Make sure you have to hand scrap paper, pens or pencils and a
calculator. Interactive examples contain ‘empty boxes’ and ‘completed boxes’. An
empty box indicates that a calculation needs to be performed by you. The corres-
ponding completed box on the right of the page contains the calculation you should
have performed. When working through an interactive example, cover up the com-
pleted boxes, perform a calculation when prompted by an empty box, and then
compare your work with that contained in the completed box. Continue in this way
through the entire example. Interactive examples provide some help and structure
while also allowing you to test your understanding.
Sets of exercises are provided regularly throughout most blocks. Try these exer-
cises, always remembering to check your answers with those provided. Practice
enhances understanding, reinforces the techniques, and aids memory. Carrying out a
large number of exercises allows you to experience a greater variety of problems,
thus building your expertise and developing confidence.
Content
The content of the book reflects that taught to first-year engineering and technology
students in the majority of UK universities. However, particular care has been taken
to develop algebraic skills from first principles and to give students plenty of oppor-
tunity to practise using these. It is our firm belief, based on recent experience of
teaching engineering undergraduates, that many will benefit from this material
because they have had insufficient opportunity in their previous mathematical edu-
cation to develop such skills fully. Inevitably the choice of contents is a compro-
mise, but the topics covered were chosen after wide consultation coupled with
many years of teaching experience. Given the constraint of space we believe our
choice is optimal.
Preface xix
One of the main developments influencing the learning and teaching of engineering
mathematics in recent years has been the widespread availability of sophisticated
computer software and its adoption by many educational institutions.
As engineering students, you will meet a range of software in your studies. It is
also highly likely that you will have access to specialist mathematical software.
Two software packages that are particularly useful for engineering mathematics,
and which are referred to on occasions throughout this book, are Matlab and Maple.
There are others, and you should enquire about the packages that have been made
available for your use. A number of these packages come with specialist tools for
subjects such as control theory and signal processing, so you will find them useful in
other subjects that you study.
Common features of all these packages include:
• the facility to plot two- and three-dimensional graphs;
• the facility to perform calculations with symbols (e.g. a2, x + y, as opposed to
just numbers) including the solution of equations.
In addition, some packages allow you to write computer programs of your own that
build upon existing functionality, and enable the experienced user to create powerful
tools for the solution of engineering problems.
The facility to work with symbols, as opposed to just numbers, means that these
packages are often referred to as computer algebra systems or symbolic processors.
You will be able to enter mathematical expressions, such as (x + 2)(x - 3) or
t - 6
2
, and subject them to all of the common mathematical operations:
t + 2t + 1
simplification, factorisation, differentiation, integration, and much more. You will be
able to perform calculations with vectors and matrices. With experience you will
find that lengthy, laborious work can be performed at the click of a button.
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page xxi
The particular form in which a mathematical problem is entered – that is, the
syntax – varies from package to package. Raising to a power is usually performed
using the symbol ^. Some packages are menu driven, meaning that you can often
select symbols from a menu or toolbar. At various places in the text we have pro-
vided examples of this for illustrative purposes. This textbook is not intended to be a
manual for any of the packages described. For thorough details you will need to refer
to the manual provided with your software or its on-line help.
At first sight you might be tempted to think that the availability of such a package
removes the need for you to become fluent in algebraic manipulation and other
mathematical techniques. We believe that the converse of this is true. These pack-
ages are sophisticated, professional tools and as such require the user to have a good
understanding of the functions they perform, and particularly their limitations. Fur-
thermore, the results provided by the packages can be presented in a variety of forms
(as you will see later in the book), and only with a thorough understanding of the
mathematics will you be able to appreciate different, yet correct, equivalent forms,
and distinguish these from incorrect output.
Figure 1 shows a screenshot from Maple in which we have defined the function
f (x) = x2 + 3x - 2 and plotted part of its graph. Note that Maple requires the
following particular syntax to define the function: f: = x : x 2 + 3x - 2. The
quantity x2 is input as x^2.
Finally, Figure 2 shows a screenshot from the package Matlab. Here the package
is being used to obtain a three-dimensional plot of the surface z = sin(x2 + y2) as
described in Chapter 21. Observe the requirement of Matlab to input x2 as x # ^2.
Figure 1
A screenshot from
Maple showing
the package being
used to define
the function
f (x) = x2 + 3x - 2
and plot its graph.
A01_CROF5939_04_SE_A01.QXD 10/1/18 3:58 PM Page xxii
Figure 2
A screenshot from
Matlab showing the
package being used
to plot a three-
dimensional graph.
The following commands are indicative only and should be read in conjuction with the software’s on-line help and the examples found later
in the book.
Purpose Maple example Matlab example Page
integer, n, is prime
an integer, n
(1+3*I)/(2-I) (1+3*j)/(2-j)
(Continued)
Purpose Maple example Matlab example Page
Chapter 1
Arithmetic
Because Maple and Matlab, in common with many similar packages, are
designed to compute not just with single numbers but with entire
sequences of numbers at the same time, data are sometimes entered in
the form of arrays, as we will demonstrate. Arrays are multi-
dimensional objects. Two particular types of array are vectors and
matrices, which are studied in detail in Chapters 12–14.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 2
Chapter 1 contents
Operations on numbers
BLOCK 1
1.1 Introduction
Whole numbers are the numbers . . . -3, -2, -1, 0, 1, 2, 3 . . . . Whole numbers are
also referred to as integers. The positive integers are 1, 2, 3, 4, . . . . The negative inte-
gers are . . . , -4, -3, -2, -1. The . . . indicates that the sequence of numbers contin-
ues indefinitely. The number 0 is an integer but it is neither positive nor negative.
Given two or more whole numbers it is possible to perform an operation on them.
The four arithmetic operations are addition (+), subtraction (-), multiplication (*)
and division (, ).
Addition (+)
We say that 4 + 5 is the sum of 4 and 5. Note that 4 + 5 is equal to 5 + 4 so that
the order in which we write down the numbers does not matter when we are adding
them. Because the order does not matter, addition is said to be commutative. When
more than two numbers are added, as in 4 + 8 + 9, it makes no difference whether
we add the 4 and 8 first to get 12 + 9, or whether we add the 8 and 9 first to get
4 + 17. Whichever way we work we shall obtain the same result, 21. This property
of addition is called associativity.
Subtraction (-)
We say that 8 - 3 is the difference of 8 and 3. Note that 8 - 3 is not the same as
3 - 8 and so the order in which we write down the numbers is important when we
are subtracting them. Subtraction is not commutative. Adding a negative number
is equivalent to subtracting a positive number; thus 5 (2) 5 2 3. Sub-
tracting a negative number is equivalent to adding a positive number: thus
7 - (-3) = 7 + 3 = 10.
Multiplication (*)
The instruction to multiply the numbers 6 and 7 is written 6 * 7. This is known as
the product of 6 and 7. Sometimes the multiplication sign is missed out altogether
and we write (6)(7). An alternative and acceptable notation is to use a dot to repre-
sent multiplication and so we could write 6 # 7, although if we do this care must be
taken not to confuse this multiplication dot with a decimal point.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 4
Division ( , )
The quantity 8 , 4 means 8 divided by 4. This is also written as 8>4 or 84 and is
known as the quotient of 8 and 4. We refer to a number of the form p>q when p and
q are whole numbers as a fraction. In the fraction 84 the top line is called the
numerator and the bottom line is called the denominator. Note that 8>4 is not the
same as 4>8 and so the order in which we write down the numbers is important.
Division is not commutative. Division by 0 is never allowed: that is, the denomi-
nator of a fraction must never be 0. When dividing positive and negative numbers
recall the following rules for determining the sign of the result:
Example 1.1
Evaluate
(a) the sum of 9 and 4
(b) the sum of 9 and -4
(c) the difference of 6 and 3
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 5
1.1 Introduction 5 1
(d) the difference of 6 and -3
(e) the product of 9 and 3
(f) the product of -9 and 3
(g) the product of -9 and -3
(h) the quotient of 10 and 2
(i) the quotient of 10 and -2
(j) the quotient of -10 and -2
Solution
(a) 9 + 4 = 13
(b) 9 + (-4) = 9 - 4 = 5
(c) 6 - 3 = 3
(d) 6 - (-3) = 6 + 3 = 9
(e) 9 * 3 = 27
(f) (-9) * 3 = -27
(g) (-9) * (-3) = 27
10
(h) 2 = 5
10
(i) - 2 = -5
- 10
(j) -2 = 5
Solution
(a) With three trips in 48 hours, on average, there will be one trip every 16 hours.
Assuming that the machine can be restarted instantly, the average time
between trips is 16 hours. This is the inter-breakdown time.
(b) In 16 hours there is one trip. This is equivalent to saying that the breakdown
1
rate is 16 of a trip per hour.
More generally,
1
the breakdown rate =
the inter-breakdown time
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 6
Exercises
Solutions to exercises
1 2 4 20
2 117 5 4200
The order in which the four operations are carried out is important but may not be
obvious when looking at an expression. Consider the following case. Suppose we
wish to evaluate 2 * 3 + 4. If we carry out the multiplication first the result is
2 * 3 + 4 = 6 + 4 = 10. However, if we carry out the addition first the result is
2 * 3 + 4 = 2 * 7 = 14. Clearly we need some rules that specify the order in
which the various operations are performed. Fortunately there are rules, called
precedence rules, that tell us the priority of the various operations – in other words,
the order in which they are carried out.
Knowing the order in which operations will be carried out becomes particularly
important when programming using software such as Maple, Matlab and Excel if
you are to avoid unexpected and erroneous results.
To remind us of the order in which to carry out these operations we can make use
of the BODMAS rule. BODMAS stands for:
Multiplication, * M
Division, , second priority
f third priority
Addition, +
Subtraction, -
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 7
Here ‘of’ means the same as multiply, as in ‘a half of 6’ means ‘12 * 6’.
Later in Chapter 5 we meet a further operation called exponentiation. We shall
see that exponentiation should be carried out once brackets have been dealt with.
Example 1.3
Evaluate
(a) 2 * 3 + 4
(b) 6 , 2 - 1
(c) 2 * (3 + 4)
(d) 6 , (2 - 1)
Solution
(a) There are two operations in the expression: multiplication and addition.
Multiplication has a higher priority than addition and so is carried out first.
2 * 3 + 4 = 6 + 4
= 10
(b) There are two operations: division and subtraction. Division is carried out first.
6 , 2 - 1 = 3 - 1
= 2
(c) The bracketed expression, (3 + 4), is evaluated first, even though the addition
has a lower priority than multiplication.
2 * (3 + 4) = 2 * 7
= 14
(d) The bracketed expression is evaluated first.
6 , (2 - 1) = 6 , 1
= 6
This example illustrates the crucial difference that brackets can make to the value of
an expression.
When all the operations in an expression have the same priority, then we simply
work from left to right.
Example 1.4
Evaluate
(a) 9 + 3 - 6 + 2 - 4
(b) 12 * 2 , 4 * 3
Solution
(a) Noting that the operations addition and subtraction have the same priority we
work from left to right thus:
9 + 3 - 6 + 2 - 4 = 12 - 6 + 2 - 4
= 6 + 2 - 4
= 8 - 4
= 4
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 8
(b) Since multiplication and division have equal priority we work from left to right.
12 * 2 , 4 * 3 = 24 , 4 * 3
= 6 * 3
= 18
Example 1.5
Evaluate
(a) 27 , (7 - 4) + 3 * 4
(b) [(6 * 2) , (1 + 2)] , [3 + 5 - 7 + 3]
Solution
(a) Evaluation of the expression in brackets is performed first to give
27 , 3 + 3 * 4
The resulting expression contains the operations of division, multiplication and
addition. Division and multiplication have higher priority than addition and so
are performed first, from left to right. This produces
9 + 12
Hence the result is 21.
(b) Evaluating the innermost bracketed expressions gives:
[12 - 3] , [3 + 5 - 7 + 3]
Evaluating each of the two remaining bracketed expressions results in
4 , 4
and so the final result is 1.
Often a division line replaces bracketed quantities. For example, in the expression
7 + 9
3 + 1
there is an implied bracketing of the numerator and denominator, meaning
(7 + 9)
(3 + 1)
16
The bracketed quantities would be evaluated first, resulting in , which simplifies
to 4. 4
Exercises
(e) 12 + 6 , 2
1 Evaluate the following arithmetic expressions
(f) 12 , 6 + 2
using the rules for priority of operations:
8-2
(a) 12 , 2 * 6 (g)
(b) 12 * 6 , 2 2 + 1
(c) 12 , (2 * 6) -10 , 2
(h)
(d) (12 , 2) * 6 -6 + 1
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 9
Solutions to exercises
Solutions to exercises
1 (a) 44 (b) -13 (c) 3 (d) -6 3 (a) 1 (b) 7 (c) 7 (d) 10 (e) 7
2.1 Introduction
A prime number is a positive integer, larger than 1, which cannot be written as the
product of two smaller integers. This means that the only numbers that divide exactly
into a prime number are 1 and the prime number itself. Examples of prime numbers
are 2, 3, 5, 7, 11, 13, 17 and 19. Clearly 2 is the only even prime. The numbers 4 and
6 are not primes as they can be written as products of smaller integers, namely
4 = 2 * 2, 6 = 2 * 3
When a number has been written as a product we say that the number has been
factorised. Each part of the product is termed a factor. When writing 6 = 2 * 3
then both 2 and 3 are factors of 6. Factorisation of a number is not unique. For ex-
ample, we can write
12 = 2 * 6, 12 = 3 * 4, 12 = 2 * 2 * 3
All these are different, but nevertheless correct, factorisations of 12.
When a number is written as the product of prime numbers we say that the num-
ber has been prime factorised. Prime factorisation is unique.
Prime numbers have a long history, being extensively studied by the ancient Greek
mathematicians including Pythagoras. There has been significant renewed interest in
prime numbers once it was recognised that they have important applications in cryp-
tography and particularly Internet security. Whilst it is easy to multiply two very
large prime numbers together it is very difficult then to factorise the result to obtain
the original primes. Prime numbers form the basis of systems such as the RSA cryp-
tosystem in which a message is encoded, but can only be decoded by someone who
has knowledge of the original prime numbers.
Example 2.1
Prime factorise the following numbers: (a) 18, (b) 693.
Solution
The technique of prime factorisation entails repeatedly dividing the number and its
factors by prime numbers until no further division is possible.
(a) Starting with the first prime, 2, we note that 18 may be written as
18 = 2 * 9
We now consider the factor 9. Clearly 2 is not a factor of 9 so we try the next
prime number, 3, which is a factor.
18 = 2 * 3 * 3
All the factors are primes: that is, 18 has been prime factorised.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 11
2.1 Introduction 11 1
(b) We note that 2 is not a factor of 693 and so try the next prime, 3. We see that 3
is a prime factor and write
693 = 3 * 231
693 = 3 * 3 * 77
Looking at 77, we note that 3 is not a factor and so try the next prime, 5. Since 5 is
not a factor we try the next prime, 7, which is a factor. We write
693 = 3 * 3 * 7 * 11
All the factors are now prime and so no further factorisation is possible.
Since ancient times methods have been developed to find prime numbers. The inter-
ested reader is referred, for example, to the sieve of Eratosthenes, which is an effi-
cient method for finding relatively small prime numbers.
The computing packages Maple and Matlab have several built-in commands
for performing prime number calculations. For full details you should refer to the
on-line help.
Example 2.2
(a) Use software to determine whether the integers 1017, 5607 and 787777 are
prime.
(b) Use software to prime-factorise the integers in part (a) that are not prime.
Solution
(a) The Maple command isprime(n) is used to test whether an integer, n, is
prime. It returns true if the integer is prime, and false otherwise. Matlab can
test whether each element in an array, A, is prime or not. It does this in a single
command isprime(A). This returns a corresponding array containing ones
or zeros with 1 corresponding to true (i.e. prime) and 0 corresponding to false
(i.e. not prime).
Maple
> isprime(1017), isprime(5607), isprime(787777);
and Maple outputs
false, false, true
indicating that only 787777 is a prime number.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 12
Matlab
>> A=[1017 5607 787777]
>> isprime(A)
and Matlab outputs
A =
1017 5607 787777
ans =
0 0 1
again indicating that 787777 is a prime number.
Maple
> ifactor(1017), ifactor(5607)
and Maple outputs
113 * 32; 7 * 32 * 89
which means 1017 = 3 * 3 * 113, and 5607 = 3 * 3 * 7 * 89.
Matlab
>> factor(1017)
ans =
3 3 113
ans =
3 3 7 89
Exercises
1 Explain why 2 is the only even prime number. 3 Prime factorise the following numbers:
(a) 30 (b) 96 (c) 500 (d) 589 (e) 3239
2 State all prime numbers between 50 and 100.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 13
Solutions to exercises
2 53, 59, 61, 67, 71, 73, 79, 83, 89, 97 (c) 2 * 2 * 5 * 5 * 5
(d) 19 * 31
3 (a) 2 * 3 * 5 (e) 41 * 79
(b) 2 * 2 * 2 * 2 * 2 * 3
Key point Given two or more numbers, the highest common factor (h.c.f.) is the largest (highest)
number that is a factor of all the given numbers.
To put this another way, the h.c.f. is the highest number that divides exactly into each
of the given numbers.
Example 2.3
Find the h.c.f. of 16 and 30.
Solution
We prime factorise each number:
16 = 2 * 2 * 2 * 2, 30 = 2 * 3 * 5
There is only one prime factor common to both: 2. Hence 2 is the h.c.f. of 16 and 30.
Example 2.4
Find the h.c.f. of 30 and 50.
Solution
Prime factorisation yields
30 = 2 * 3 * 5, 50 = 2 * 5 * 5
The common prime factors are 2 and 5 and so the h.c.f is 2 * 5 = 10.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 14
Example 2.5
Find the h.c.f. of 36, 54 and 126.
Solution
Prime factorisation yields
36 = 2 * 2 * 3 * 3
54 = 2 * 3 * 3 * 3
126 = 2 * 3 * 3 * 7
Exercises
Solutions to exercises
Suppose we are given two or more numbers and wish to find numbers into which all
the given numbers will divide. For example, given 4 and 6 we see that both divide
exactly into 12, 24, 36, 48, and so on. The smallest number into which they both
divide is 12. We say that 12 is the lowest common multiple of 4 and 6.
Key point The lowest common multiple (l.c.m.) of a set of numbers is the smallest (lowest)
number into which all of the given numbers will divide exactly.
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 15
Solution
There are many numbers into which both 6 and 8 divide exactly: for example, 48, 96
and 120. We seek the smallest number with this property. By inspection and trial and
error we see that the smallest number is 24. Hence the l.c.m. of 6 and 8 is 24.
For larger numbers it is not appropriate to use inspection as a means of finding the
l.c.m.; a more systematic method is needed, and this is now explained.
The numbers are prime factorised. The l.c.m. is formed by examining the prime
factorisations. All the different primes that occur in the prime factorisations are
noted. The highest occurrence of each prime is also noted. The l.c.m. is then formed
using the highest occurrence of each prime. Consider the following example.
Example 2.7
Find the l.c.m. of 90, 120 and 242.
Solution
Each number is prime factorised to yield
90 = 2 * 3 * 3 * 5
120 = 2 * 2 * 2 * 3 * 5
242 = 2 * 11 * 11
The different primes are noted: these are 2, 3, 5 and 11. The highest occurrence of
each prime is noted:
Prime 2 3 5 11
Highest occurrence 3 2 1 2
The highest occurrence of 2 is 3 since 2 occurs three times in the prime factorisation
of 120. The highest occurrence of 3 is 2 since 3 occurs twice in the prime factorisa-
tion of 90.
The l.c.m. is then 2 2 2 3 3 5 11 11, which is 43560. Hence
43560 is the smallest number into which 90, 120 and 242 will all divide exactly.
Example 2.8
Find the l.c.m. of 25, 35 and 45.
Solution
Prime factorisation of each number yields
25 = 5 * 5
35 = 5 * 7
45 = 3 * 3 * 5
M01_CROF5939_04_SE_C01.QXD 9/20/18 12:45 PM Page 16
Example 2.9
Find the l.c.m. of 4, 8 and 24.
Solution
Each number is prime factorised: 4 = 2 * 2, 8 = 2 * 2 * 2 and 24 = 2 * 2 *
2 * 3. The l.c.m. is formed using the highest occurrence of each prime and is then
2 * 2 * 2 * 3 = 24. Note from this example that the l.c.m. of a set of numbers
can be one of the numbers in the set.
Exercises
Solutions to exercises
1 Find the h.c.f. of the following sets of numbers: 3 Prime factorise the following numbers:
(a) 20, 30, 40, 50 (b) 60, 108, 180 (c) 18, 126, (a) 315 (b) 2695 (c) 988 (d) 16905
198, 324 (d) 105, 147, 210, 273
Solutions to exercises
Solutions to exercises
1 (a) 11 (b) 3 (c) 11 (d) 4 (e) 4 (f) 4 3 (a) 3 (b) 8 (c) 15 (d) 2
Chapter 2
Fractions
Chapter 2 contents
Introducing fractions
BLOCK 1
1.1 Introduction
Note that the denominator is never zero because division by 0 is not permissible.
Fractions can be classified as either proper fractions or improper fractions.
When determining whether a fraction is proper or improper we ignore any negative
signs in the numerator and denominator.
If the numerator, p, is less than the denominator, q, then the fraction is proper. If p
is equal to or greater than q then the fraction is improper. Examples of proper frac-
99
tions are 12, 100 and 52 . Examples of improper fractions are 23, 55 and 100
99 .
Exercises
Solutions to exercises
Every fraction can be expressed in different forms. For example, you may know that
1 2 3
2 , 4 and 6 all have the same value. These are examples of equivalent fractions.
Equivalent fractions have the same value.
We note that multiplying or dividing both numerator and denominator of a frac-
tion by the same number produces an equivalent fraction: that is, a fraction with the
same value as the original fraction. Consider the following example.
16
Starting with the fraction 24 we
1 multiply both numerator and denominator by 2 to obtain 32 48
2 multiply both numerator and denominator by 10 to obtain 160240
3 divide both numerator and denominator by 4 to obtain 46
4 divide both numerator and denominator by 8 to obtain 32 .
16 32 160 4
Hence 24 , 48, 240, 6 and 32 are all equivalent fractions. They all have exactly the same
value.
A fraction in its simplest form is one that has no factors common to both numer-
ator and denominator. This means that it is not possible to divide both numerator and
17
denominator exactly. For example, 49 is in its simplest form; there is no number
which can divide exactly into both 17 and 49. However, 18 48 is not in its simplest form:
6 is a factor of both numerator and denominator. It is thus possible to divide both
numerator and denominator by 6 to obtain 38 . This is an equivalent fraction and is in
its simplest form.
Example 1.1
36
Express 120 in its simplest form.
Solution
We seek factors that are common to both numerator and denominator. By using
prime factorisation we can find the h.c.f. of 36 and 120 to be 12. Dividing numerator
3 36 3
and denominator by this h.c.f. yields 10 . Hence in its simplest form 120 is 10 .
An alternative way to find the simplest form is to prime factorise numerator and
denominator: thus
36 2 * 2 * 3 * 3
=
120 2 * 2 * 2 * 3 * 5
We note all of the factors common to both numerator and denominator: these are
2 * 2 * 3. These factors are cancelled.
2 * 2 * 3 * 3 2 * 2 * 3 * 3 3 3
= = =
2 * 2 * 2 * 3 * 5 2 * 2 * 2 * 3 * 5 2 * 5 10
Cancelling all the common factors is equivalent to dividing numerator and denomi-
nator by the h.c.f., 12, so these two approaches, while appearing different, are in fact
the same.
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 22
Example 1.2
90
Express 210 in its simplest form.
Solution
Prime factorising numerator and denominator yields
90 2 * 3 * 3 * 5
= 2 * 3 * 5 * 7
210
The factors common to both numerator and denominator are
2, 3, 5
Cancelling the common factors yields
3
7
90
Hence 210 in its simplest form is 73 .
Solution
(a) There are 15 faulty items from a total of 300. So the fraction of items that are
15
faulty is 300 .
(b)
15 3 * 5 1
= =
300 2 * 2 * 3 * 5 * 5 20
Exercises
Solutions to exercises
24 3
2 (a) 40 (b) 10 (c) 24
4 5 3
(a) 100 3
(b) 200
2 12 8
3 (a) 32 (b) 32 (c) 32 6 (a) 56 (b) 1 (c) 45 (d) 10
7
(e) 25 (f) 25
1 Classify each of the following fractions as 3 Express each fraction in its simplest form:
proper or improper: 20
(a) 100 16
(b) 60 9
(c) 45 22
(d) 24 (e) 56
16
(a) 76 (b) 67 (c) 66 (d) 22
21
(e) 31
Solutions to exercises
Operations on fractions
BLOCK 2
2.1 Introduction
This block explains and illustrates how to perform the four arithmetic operations on
fractions. Writing fractions in equivalent forms so that they all have the same
denominator is a crucial first step when adding and subtracting fractions. Mixed
fractions comprise a whole number component as well as a fractional component.
They can be written as improper fractions and vice versa. The block concludes with
multiplication and division of fractions.
To add and subtract fractions we must rewrite each fraction so that they have the
same denominator. This denominator is called the common denominator as it is
common to each fraction.
The common denominator is the l.c.m. of the original denominators. Once each
fraction has been written in equivalent form with the common denominator, the
numerators are then added or subtracted as required. In summary:
1 Calculate the l.c.m. of the original denominators to find the common denominator.
2 Express each fraction in equivalent form with the common denominator.
3 Add/subtract numerators and divide the result by the l.c.m.
Example 2.1
Find 38 + 56 .
Solution
The original denominators are 6 and 8. Their l.c.m. is 24. Each fraction is written in
equivalent form with 24 as the denominator:
3 9 5 20
is equivalent to ; is equivalent to
8 24 6 24
So
3 5 9 20
+ = +
8 6 24 24
9 + 20
=
24
29
=
24
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 26
Example 2.2
Find 13 - 14 + 16 .
Solution
The original denominators are 3, 4 and 6.
Their l.c.m. is 12
Each fraction is written in equivalent form with the l.c.m. as denominator:
1 4
is equivalent to 12
3
1 3
is equivalent to 12
4
1 2
is equivalent to 12
6
So
1 1 1 4 3 2
- + = - +
3 4 6 12 12 12
3
= 12
1
=
4
Exercises
1 Find
(a) 32 + 1
6
9
(b) 10 - 3
5 (c) 12 - 2
5 (d) 56 - 1
12 + 1
3
(h) 83 + 2
5 + 3
10 (i) 67 - 2
3 + 5
9
1 1 1 1
(e) 79 - 2
3 + 5
6 (f) 2 - 3
4 (g) 14 - 9
10
(j) 12 + 6 - 3 - 4
Solutions to exercises
1 (a) 65 (b) 10
3 1
(c) 10 13
(d) 12 (e) 17 5 13
18 (f) 4 (g) - 20
(h) 43 19 1
40 (i) 18 (j) - 3
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 27
We have already met proper and improper fractions. We now examine mixed fractions.
The number 423 is an example of a mixed fraction. We note that there is a whole
number part, 4, and a proper fraction part, 23 . The mixed fraction may be written in an
equivalent form as an improper fraction:
2 2
4 = 4 +
3 3
12 2
= +
3 3
14
=
3
Hence 423 is equivalent to 14
3.
Example 2.3
(a) Express 234 as an improper fraction.
Solution
3 3
(a) 2 = 2 +
4 4
8 3
= +
4 4
11
=
4
3 1 11 7
(b) 2 + 1 = +
4 6 4 6
33 14
= +
12 12
47
=
12
Example 2.4
Express 47
12 as a mixed fraction.
Solution
Dividing 47 by 12 results in 3, with a remainder of 11. So
47 11
= 3 +
12 12
11
= 3
12
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 28
Exercises
1 Express the following mixed fractions as 3 Calculate the following, expressing your
improper fractions: answer as an improper fraction:
(a) 112 (b) 213 (c) 314 (d) 325 (e) -1025 (a) 125 + 234 (b) 413 + 637 (c) 245 - 123
2 Express the following improper fractions as (d) 612 - 334 + 215 (e) 313 - 449
mixed fractions:
(a) 45 (b) 56 (c) 12 47 62 4 Express the solutions to question 3 as mixed
5 (d) 3 (e) - 7
fractions.
Solutions to exercises
2 (a) 114 (b) 115 (c) 225 (d) 1523 (e) -867 4 3
(a) 420 (b) 1016 2 19 1
21 (c) 115 (d) 420 (e) -19
Solution
2 4 2 * 4 8
* = =
3 7 3 * 7 21
Note that the new numerator of 8 is formed by multiplying the two original numer-
ators. Similarly the new denominator is the product of the two original denominators.
Sometimes it is possible to simplify the result.
Example 2.6
Calculate 38 * 14
27 .
Solution
3 14 3 * 14 42
* = =
8 27 8 * 27 216
42 7
Writing 216 in its simplest form is 36 .
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 29
Solution
9
The fraction 12 can be simplified to 34 . Similarly 36
20
can be simplified to 59 . Hence
9 1 20 3 1 5
* * = * *
12 5 36 4 5 9
3 1 1
= * * cancelling a factor of 5
4 1 9
1 1 1
= * * cancelling a factor of 3
4 1 3
1
=
12
Example 2.8
Calculate (a) 38 * 9
10 , (b) 38 * 10
81 .
Solution
3 9 27
(a) * =
8 10 80
3 10 5
(b) * =
8 81 108
We are sometimes asked to calculate quantities such as ‘13 of 96’ or ‘52 of 60’. Note
the use of the word ‘of’ in these expressions. When we are given such an expression
we treat the ‘of’ as we would a multiplication sign. So when calculating, for exam-
ple, 13 of 96 we calculate
1
* 96
3
which results in 32.
Example 2.9
Calculate 25 of 60.
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 30
Solution
2
* 60 = 2 * 12 (cancelling a factor of 5)
5
= 24
So 52 of 60 is 24.
Example 2.10
3
(a) Find 25 of 100.
3
(b) Given 1 m is 100 cm, express 25 m in cm.
Solution
(a)
3
* 100 = 12 (cancelling a factor of 25)
25
3 3
(b) 25 of 1 m is the same as 25 of 100 cm which, using the result from (a), is 12 cm.
Solution
3
(a) The wire stretches by 100 of 4 m.
3 3
* 4 = (cancelling a factor of 25)
100 25
3
The wire stretches by 25 m.
(b) The resulting length of the wire is
3 3
4 + = 4
25 25
Using Example 2.10 this may be expressed as 4 m 12 cm.
Example 2.12
Calculate 112 * 314 .
Solution
Mixed fractions are converted into their equivalent improper form. The multipli-
cation is then performed.
1 1 3 13
1 * 3 = *
2 4 2 4
39
=
8
7
= 4
8
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 31
Exercises
(d) 79 * 12
35 (e) 58 * 12
25
3 Calculate
(a) 21 * 23 * 3 2 9
4 (b) 5 * 20 * 10 3
13 (c) 4 * 5
6 * 10
11
(d) 67 * 8
9 * 21 2
32 (e) 3 * 6
5
* 7
9 * 4
1
Solutions to exercises
2 (a) 52 (b) 21
8
(c) 34 (d) 15
4 3
(e) 10 4 (a) 514 (b) 1056 (c) 6 (d) 3123 (e) 523
Example 2.13
Calculate 83 , 56 .
Solution
The second fraction, 56 , is inverted to 65 . The calculation is now carried out as a
multiplication.
3 5 3 6
, = *
8 6 8 5
9
=
20
M02_CROF5939_04_SE_C02.QXD 9/20/18 2:02 PM Page 32
Example 2.14
Calculate 223 , 116 .
Solution
2 1 8 7
2 , 1 = ,
3 6 3 6
8 6
= *
3 7
16
=
7
2
= 2
7
Example 2.15
Calculate (a) 67 , 2
21 , (b) 5 , 214 .
Solution
6 2 6 21
(a) , = *
7 21 7 2
= 9
1 9
(b) 5 , 2 = 5 ,
4 4
4
= 5 *
9
20
=
9
= 229
Exercises
Solutions to exercises
16 18
1 (a) 15 (b) 17 (c) 34 (d) 6 (e) 25
42 2 (a) 147 (b) 513 (c) 54 (d) 135 (e) 213
1 Evaluate 3 Evaluate
3
(a) 54 + 10 (b) 78 - 1
3 (c) 56 * 8
15 (d) 34 , 9
8 112 + 313
Solutions to exercises
11 13
1 (a) 10 (b) 24 (c) 49 (d) 23 3 153
92
1 Express each of the following fractions in their 5 Calculate the following, expressing your
simplest form: answer as a mixed fraction:
12
(a) 60 9
(b) 36 (c) 27 6 377
81 (d) 92 (e) 390
(a) 214 + 313 (b) 245 - 123 (c) 523 - 112 + 215
(d) 5 - 427 + 1
3
9
(e) 10 + 6
7 - 125
2 Express each of the following mixed fractions
as an improper fraction:
6 Calculate
(a) 323 (b) 525 (c) 712 (d) -934 (e) 1047
(a) 67 * 14 7
27 (b) 10 *
4
5 * 30
49 (c) 89 * 18
25
3 Express each of the following improper (d) 1- 452 * 1- 342 (e) 16
21 * 1- 4 2
3
Solutions to exercises
2 (a) 11 27 15 39 74
3 (b) 5 (c) 2 (d) - 4 (e) 7 9 (a) 249 (b) 211 39 53 11
32 (c) 444 (d) -365 (e) -227
7 2
5 (a) 512 (b) 115 (c) 611 1 5
30 (d) 121 (e) 14 12 (a) 52 (b) 83 (c) 13 (d) 15
2 1
(e) 10
6 (a) 94 (b) 35
12
(c) 16 3 4
25 (d) 5 (e) - 7 13 1
(a) 210 9
N cm-2 (b) 2710 N cm-2
Chapter 3
Decimal numbers
Chapter 3 contents
1.1 Introduction
This section gives a quick overview of the decimal system by way of revision. Recall
that our number system is based on 10. The number 5276 means
5000 + 200 + 70 + 6
or, to write it another way,
(5 * 1000) + (2 * 100) + (7 * 10) + (6 * 1)
This reminds us of the ‘thousands’, ‘hundreds’, ‘tens’ and ‘units’ from early school
days.
To deal with fractions we extend this system to include ‘tenths’, ‘hundredths’,
‘thousandths’, and so on. We separate the whole number part and fractional part by
using a decimal point ‘.’.
Consider 37.92. There is a whole number part, 37, and a fractional part, .92. This
number represents
(3 * 10) + (7 * 1) + a9 * b + a2 * b
1 1
10 100
The 9 is referred to as being in the first decimal place; the 2 is in the second
decimal place. Similarly 2.1006 represents
(2 * 1) + a1 * b + a0 * b + a0 * b + a6 * b
1 1 1 1
10 100 1000 10000
Note that the 6 is in the fourth decimal place.
Example 1.1
Express (a) 0.2, (b) 0.25, (c) 0.624 as fractions in their simplest form.
Solution
1
(a) 0.2 is equivalent to 2 * 10 . So
0.2 = 2 * a b =
1 2 1
=
10 10 5
(b)
0.25 = 2 * a b + 5 * a b
1 1
10 100
2 5
= +
10 100
M03_CROF5939_04_SE_C03.QXD 9/20/18 2:39 PM Page 38
25
=
100
1
=
4
(c)
6 2 4
0.624 = + +
10 100 1000
624 78
= =
1000 125
Example 1.2
Express (a) 5.156, (b) 3.045 as mixed fractions in their simplest form.
Solution
(a)
156
5.156 = 5 +
1000
39 39
= 5 + = 5
250 250
45
(b) 3.045 = 3 +
1000
9
= 3 +
200
9
= 3 200
Example 1.3
Write the following as decimal numbers: (a) 43 , (b) 38 , (c) 94 , (d) 6 52 .
Solution
The easiest way to convert a fraction to a decimal number is to use a calculator.
Check that you can obtain the following using a calculator.
(a) 0.75 (b) 0.375 (c) 0.444 . . . (d) 6.4
M03_CROF5939_04_SE_C03.QXD 9/20/18 2:39 PM Page 39
1.1 Introduction 39 3
Example 1.4 Materials Engineering – Strain experienced by a stressed
material
In materials engineering, testing techniques include subjecting a specimen to a force
which causes an extension. An important quantity is strain, P, defined as
/ - /0
P =
/0
where /0 is the original length of the specimen, and / is the length once the force is
applied.
It is important to be able to test materials for their tensile strength – this is the
amount of stress the material is able to stand before it breaks. In carrying out such a
test an engineer will need to calculate the strain.
Engineers also use the strain when mathematically modelling the extension or
compression of an elastic material that is subjected to tensile or compressive forces.
Suppose a block of material of length 0.5 m is subject to a force which causes the
material to extend to a length of 0.51 m. Calculate the strain in the material and
express it as both a proper fraction and a decimal fraction.
Solution
Here /0 is the original length and so /0 = 0.5. Once the force is applied, the length
becomes / = 0.51. Then
/ - /0 = 0.51 - 0.5 = 0.01
The strain is then
/ - /0 0.01
P = = = 0.02
/0 0.5
2 1
As a proper fraction this is 100 = 50 .
Exercises
1 Express the following decimal numbers as 3 Express the following decimal numbers as
proper fractions in their simplest form: proper fractions in their simplest form:
(a) 0.8 (b) 0.80 (c) 0.08 (d) 0.080 (a) 0.16 (b) 0.88 (c) 0.108 (d) 0.555
(e) 0.800 (e) 0.965
2 Express the following decimal numbers as 4 Write each of the following as a decimal
proper fractions in their simplest form: number:
(a) 0.2 (b) 0.25 (c) 0.225 (d) 0.025 (a) 51 (b) 20
3 7
(c) 40 (d) 21 110
84 (e) 20
(e) 0.2025
Solutions to exercises
4
1 (a) 5 (b) 45 (c) 25
2 2
(d) 25 (e) 45 3 (a) 4
25 (b) 22 27 111 193
25 (c) 250 (d) 200 (e) 200
1
2 (a) 5 (b) 14 (c) 40
9 1
(d) 40 81
(e) 400 4 (a) 0.2 (b) 0.15 (c) 0.175 (d) 0.25 (e) 5.5
M03_CROF5939_04_SE_C03.QXD 9/20/18 2:39 PM Page 40
We are often required to write a number to a given number of decimal places (d.p.),
usually 2, 3 or 4.
When asked to write to 1 d.p. we need to consider the first two decimal places,
when writing to 2 d.p. we need to consider the first three decimal places, and so on.
If the final digit is less than 5, we simply ignore it. This is called rounding down. If the
final digit is 5 or more we increase the previous digit by 1. This is called rounding up.
Example 1.5
Write 6.38623 to (a) 4 d.p., (b) 3 d.p., (c) 2 d.p., (d) 1 d.p.
Solution
(a) When writing to 4 d.p. we need to consider the first five decimal places: in this
case that is 6.38623. The final digit is 3. Since this is less than 5 we simply ignore
it and are left with 6.3862. Thus to 4 d.p. the number 6.38623 is 6.3862. Note that
6.3862 is less than 6.38623 and so we have rounded down. The number 6.3862 is
closer to 6.38623 than any other number with four decimal places.
(b) To write to 3 d.p. we consider the first four d.p.: that is, we consider 6.3862.
The final digit is a 2. This is less than 5 and so is simply ignored, leaving 6.386.
So, to 3 d.p., the number 6.38623 is 6.386.
Since 6.386 is less than 6.38623 we have rounded down. The number 6.386
is closer to 6.38623 than any other number with 3 d.p.
(c) To write to 2 d.p. we consider the first 3 d.p.: that is, 6.386. The final digit is 6.
Since this is greater than or equal to 5 the previous digit, 8, is increased by 1 to
9. So to 2 d.p. we have 6.39.
Since 6.39 is greater than 6.38623 we have rounded up. The number 6.39 is
closer to 6.38623 than any other number with 2 d.p.
(d) Writing to 1 d.p. we consider the first 2 d.p.: that is, 6.38. The final digit is 8
and so the previous digit, 3, is rounded up to 4. Thus to 1 d.p. we have 6.4.
Example 1.6
Write 1.9751 to (a) 2 d.p., (b) 1 d.p.
Solution
(a) We consider the first 3 d.p.: that is, 1.975. The final digit is 5 and so the
previous digit, 7, is rounded up to 8. This results in 1.98.
(b) To write to 1 d.p. we consider the first 2 d.p.: that is, 1.97. The final digit is 7
and so the 9 must be increased. Clearly the 9 cannot be increased to 10 and so
we increase the 1.9 to 2.0. Thus to 1 d.p. we have 2.0. Note that it is important to
write 2.0 and not simply 2. The 2.0 signifies that the number is written to 1 d.p.
Exercises
1 Write 2.152637 to (a) 5 d.p., (b) 4 d.p., 3 Write 9.999 to (a) 2 d.p., (b) 1 d.p.
(c) 3 d.p., (d) 2 d.p., (e) 1 d.p.
Solutions to exercises
1 (a) 2.15264 (b) 2.1526 (c) 2.153 3 (a) 10.00 (b) 10.0
(d) 2.15 (e) 2.2
1 Write the following numbers to 3 d.p.: 3 Convert the following decimal numbers to
(a) 7.6931 (b) ⫺2.0456 (c) 0.0004 fractions in their simplest form:
(d) 3.9999 (a) 0.80 (b) 0.55 (c) 0.12 (d) 0.125 (e) 0.625
2 To 1 d.p. a number, X, is 4.3. State (a) the 4 Express the following fractions as decimal
smallest, (b) the largest possible value of X. numbers to 3 d.p.:
(a) 74 (b) 11
2
(c) 35 (d) - 29
Solutions to exercises
1 (a) 7.693 (b) ⫺2.046 (c) 0.000 (d) 4.000 3 (a) 54 (b) 20
11 3
(c) 25 (d) 81 (e) 58
2 (a) 4.25 (b) 4.34999 . . . 4 (a) 0.571 (b) 0.182 (c) 0.600 (d) ⫺0.222
M03_CROF5939_04_SE_C03.QXD 9/20/18 2:39 PM Page 42
Significant figures
BLOCK 2
2.1 Introduction
We have seen how a number can be written to so many decimal places. Similar to,
but nevertheless distinct from, writing to so many decimal places is writing to so
many significant figures (s.f.).
When writing to so many significant figures we consider digits both before and after
the decimal point. When writing to 2 s.f. we consider the first three digits, when writ-
ing to 3 s.f. we consider the first four digits, and so on. We always consider one more
digit than the number of significant figures required.
To write a number to 2 s.f. we can use at most two non-zero digits, to write to 3 s.f.
we use at most three non-zero digits, and so on. Rounding up and rounding down fol-
low the same rules as detailed in the previous block.
Example 2.1
Write 86.97529 to (a) 5 s.f., (b) 4 s.f., (c) 3 s.f., (d) 2 s.f., (e) 1 s.f.
Solution
(a) Writing to 5 s.f. we consider the first six digits: that is, 86.9752. The final digit
is 2 and so this is ignored: that is, we round down. Hence to 5 s.f. the number is
86.975. Note that there are no more than five non-zero digits in the final answer.
The number 86.975 is closer to 86.97529 than any other five-digit number.
(b) We consider the first five digits: that is, 86.975. The final digit is 5 and so the
previous digit, 7, is rounded up to 8. Thus to 4 s.f. we have 86.98.
(c) The first four digits are 86.97. The final digit is 7 and so the previous digit is
rounded up. We cannot round up a 9 to a 10 and so 86.9 is rounded up to 87.0.
(d) Writing to 2 s.f. we consider the first three digits, namely 86.9. The final digit,
9, means that the 6 is rounded up to 7, producing 87.
(e) Writing to 1 s.f. we consider the first two digits: 86. The final digit, 6, means the
8 is rounded to 9, producing 90. Note that although the number has been written
to 1 s.f. there are two digits in the final answer. However, there is only one non-
zero digit.
Example 2.2
Write 99.99 to (a) 3 s.f., (b) 2 s.f., (c) 1 s.f.
Solution
(a) The first four digits are considered: that is, 99.99. The final digit is 9 and so
there must be rounding up. Here 99.99 is rounded up to 100.0.
M03_CROF5939_04_SE_C03.QXD 9/20/18 2:39 PM Page 43
Zeros at the beginning of a number are ignored when counting digits. For example,
to write 0.000164 to 1 s.f. we consider the number 0.00016. The leading 0s have not
been counted. The 1 is rounded up to 2 producing 0.0002 to 1 s.f. Note that there is
only one non-zero digit.
1 Write 28.403951 to (a) 6 s.f., (b) 5 s.f., 4 Write 0.550 to (a) 2 s.f., (b) 1 s.f.
(c) 4 s.f., (d) 3 s.f., (e) 2 s.f., (f) 1 s.f.
5 Write 5.5550 to (a) 2 s.f., (b) 1 s.f.
2 Write 9.0046 to (a) 3 s.f., (b) 2 s.f., (c) 1 s.f.
Solutions to exercises
1 (a) 28.4040 (b) 28.404 (c) 28.40 (d) 28.4 4 (a) 0.55 (b) 0.6
(e) 28 (f) 30
5 (a) 5.6 (b) 6
2 (a) 9.00 (b) 9.0 (c) 9
1 Write each of the following as a proper 3 Write the following fractions as decimals,
fraction in its simplest form: giving your answer to 3 d.p.:
(a) 0.12 (b) 0.125 (c) 0.1250 (d) 0.85 (a) 31 (b) 32 (c) 19 (d) 11
4
(e) 67
(e) 0.76
4 Write 19.919 to (a) 2 d.p., (b) 1 d.p.
2 Write the following fractions as decimals:
(a) 53 (b) 10
3 3
(c) 20 3
(d) 40 3
(e) 100 5 Write 19.99 to (a) 3 s.f., (b) 2 s.f., (c) 1 s.f.
M03_CROF5939_04_SE_C03.QXD 11/28/18 5:38 PM Page 44
6 Write 0.0982 to (a) 3 d.p., (b) 2 d.p., 9 To four significant figures a number is 0.3452.
(c) 1 d.p., (d) 2 s.f., (e) 1 s.f. State the maximum and minimum possible
values of the number.
7 To 4 d.p. a number is 9.9190. State
(a) the maximum possible value, 10 A block of material of length 0.9 m is subject
(b) the minimum possible value of the original to a force which causes the material to extend
number. to a length of 0.93 m. Calculate the strain in
the material and express it as both a proper
8 To three significant figures a number is 3.60. fraction and a decimal fraction stating your
State the maximum and minimum possible answer to four decimal places.
values of the number.
Solutions to exercises
3
1 (a) 25 (b) 18 (c) 81 (d) 17 19
20 (e) 25 6 (a) 0.098 (b) 0.10 (c) 0.1 (d) 0.098
(e) 0.1
2 (a) 0.6 (b) 0.3 (c) 0.15 (d) 0.075 (e) 0.03
7 (a) 9.91904999 . . . (b) 9.91895
3 (a) 0.333 (b) 0.667 (c) 0.111 (d) 0.364
(e) 0.857 8 3.604999 . . . , 3.595
1
5 (a) 20.0 (b) 20 (c) 20 10 , 0.0333
30
M04_CROF5939_04_SE_C04.QXD 11/28/18 5:57 PM Page 45
Chapter 4
Percentage and ratio
Chapter 4 contents
Block 1 Percentage
Block 2 Ratio
Percentage
BLOCK 1
1.1 Introduction
4 48 Block 1 Percentage
(b)
117
117% of 240 = 100 * 240 = 280.8
(c)
100
100% of 20 = * 20 = 20
100
We note from (c) that 100% of a number is simply the number itself.
Solution
The maximum voltage is 240 plus 5% of 240: that is, 105% of 240.
105
105% of 240 = * 240 = 252 volts
100
The minimum voltage is 240 less 5% of 240: that is, 95% of 240.
95
95% of 240 = * 240 = 228 volts
100
Solution
The maximum value is 80 plus 5% of 80, that is
80 + a
5
* 80b = 80 + 4
100
= 84 Æ
The minimum value is
80 - a
5
* 80b = 80 - 4
100
= 76 Æ
Often a physical characteristic of an item will change. For example, the volume of
gas in a cylinder can change as pressure is applied; the length of a metal bar can
increase (decrease) when the bar is heated (cooled). Sometimes we are asked to
calculate the percentage change of such a physical characteristic.
Percentage change is calculated using the formula
new value - original value
percentage change = * 100
original value
If the change is positive then there has been an increase in the measured quantity; if
the change is negative then there has been a decrease in the quantity.
4 50 Block 1 Percentage
1 Express the following fractions as percentages: 25.01 m. Calculate the percentage change in
3 7
(a) 10 (b) 20 (c) 21 27
80 (d) 25 (e) 3 the length of the track as its temperature
changes from 20 °C to 70 °C.
2 Calculate the following:
(a) 80% of 75 (b) 37% of 250 (c) 125% of 550 6 Mechanical Engineering – Compression
of a gas. The volume of gas in a cylinder is
3 The pressure inside a vessel is 17.5 ; 10% 1098 cm3. Pressure is increased and the
atmospheres. Calculate the maximum and volume changes to 936 cm3. Calculate the
minimum pressures inside the vessel. percentage change in the volume of gas.
Solutions to exercises
1 (a) 30% (b) 35% (c) 26.25% (d) 108% 5 Increase of 0.04%
(e) 300%
6 Decrease of 14.75%
2 (a) 60 (b) 92.5 (c) 687.5
7 27300 W
3 Maximum = 19.25 atmospheres, minimum =
15.75 atmospheres 8 180
Ratio
BLOCK 2
2.1 Introduction
Ratios are often used to describe the relative sizes of parts that result when some quan-
tity is divided up. For example, we might be interested in a current that branches into
3 7
two parts with one part taking 10 of the initial current and the other part taking 10 . This
division can be expressed as a ratio, as we shall explain in this block, and we write
the ratio using a colon as 3:7. Essentially ratios are a way of describing two (or
more) fractions whose sum is 1.
Suppose a number is divided in the ratio 3:2. We note that 3 + 2 = 5. We can think
of the number being divided into two parts. The first part is 53 of the original; the
second part is 25 of the original.
As another example, suppose a quantity is divided in the ratio 4:5:3. We note that
4 + 5 + 3 = 12. We can think of the quantity being divided into three parts. The
4 5
first part is 12 of the original, the second part is 12 of the original, and the third part is
3
12 of the original.
The following examples illustrate how calculations with ratio are performed.
Example 2.1 Electrical Engineering – Branch currents
A branch in a circuit divides the current of 30 amps in the ratio of 3:7. Calculate the
current in each branch.
Solution
A ratio of 3:7 means that for every 3 amps in one branch there are 7 amps in the other
branch. So we can think of every 10 amps as being split into 3 amps in one branch
3
and 7 amps in the other branch. In other words, one branch receives 10 of the current;
7
the other branch receives the remaining 10 of the current. Now
3 3 7 7
of 30 = * 30 = 9; of 30 = * 30 = 21
10 10 10 10
So the current is split into 9 amps in one branch and 21 amps in the other branch.
Note from the above example that a ratio of 3:7 is equivalent to splitting a number
3 7
into two parts: 10 of the number in one part and 10 of the number in the other part.
In general, we can split a number, x, in the ratio m:n. The first part will be
m n
* x; the second part will be * x.
m + n m + n
M04_CROF5939_04_SE_C04.QXD 9/20/18 2:47 PM Page 52
4 52 Block 2 Ratio
Example 2.2
Divide 108 in the ratio (a) 5:7, (b) 2:3.
Solution
(a) The first number is
5 5
* 108 = * 108 = 45
5 + 7 12
The second number is
7 7
* 108 = * 108 = 63
5 + 7 12
(b) The first number is
2 2
2 + 3 * 108 = 5 * 108 = 43.2
Just as a fraction can be written in many equivalent ways, so can a ratio. The next
example illustrates this.
Example 2.3
Divide 90 in the ratio (a) 4:5, (b) 8:10.
Solution
(a) The first part is
4 4
* 90 = * 90 = 40
4 + 5 9
The second part is
5 5
* 90 = * 90 = 50
4 + 5 9
(b) The first part is
8 8
* 90 = * 90 = 40
8 + 10 18
The second part is
10 10
* 90 = * 90 = 50
8 + 10 18
We see that dividing 90 in the ratios 4:5 and 8:10 produces the same result. The
ratios 4:5 and 8:10 are equivalent.
Key point The ratios m:n and km:kn are equivalent. Note that the constant k may be integer or
fractional.
M04_CROF5939_04_SE_C04.QXD 9/20/18 2:47 PM Page 53
4 54 Block 2 Ratio
After stretching
Then
-0.025
Poisson ratio = v = - = 0.42 (to 2 d.p.)
0.06
Usually the Poisson ratio of a material lies between 0 and 0.5. Some materials,
though, have a negative Poisson ratio. This happens when stretching in the axial
direction causes an expansion in the transverse directions too because then both
strains are positive. Materials with this property can be naturally occurring or syn-
thetic and are described as auxetic. Auxetic materials have many important applica-
tions, for example in shock absorbers.
Solutions to exercises
1 25, 225 4 (a) 2:1 (b) 1:3 (c) 4:3:5 (d) 2:1 (e) 3:2:6
2 1
2 3, 3 5 5.45 kg
4 56 Block 2 Ratio
percentage change
= a b * 100
new value - original value
original value
Solutions to exercises
1 470.4 7 6:13
2 77.78% 8 138.30 °C
3 - 165 9 22.73%
6 44, 55, 77
M05_CROF5939_04_SE_C05.QXD 9/22/18 7:07 AM Page 57
Chapter 5
Basic algebra
Chapter 5 contents
Block 2 Indices
Block 5 Factorisation
1.1 Introduction
This introductory block reminds you of important notations and conventions used
throughout engineering mathematics. We discuss the arithmetic of numbers, the
plus or minus sign, ; , the modulus notation ƒ ƒ , and the factorial notation !. Sym-
bols are introduced to represent physical quantities in formulae and equations. The
topic of algebra deals with the manipulation of these symbols. The block closes
with an introduction to algebraic conventions. In what follows, a working knowl-
edge of the addition, subtraction, multiplication and division of numerical fractions
is essential.
Figure 1.1
Numbers can be – 32 2.5 π
represented on a
number line. –5 –4 –3 –2 –1 0 1 2 3 4 5 6 7 8
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 60
The line extends indefinitely both to the left and to the right. Mathematically we
say that the line extends from minus infinity to plus infinity. The symbol for infinity
is q .
The symbol 7 means ‘greater than’: for example, 6 7 4. Given any number, all
numbers to the right of it on the number line are greater than the given number. The
symbol 6 means ‘less than’: for example, -3 6 19. We also use the symbols Ú
meaning ‘greater than or equal to’ and … meaning ‘less than or equal to’. For ex-
ample, 7 … 10 and 7 … 7 are both true statements.
Sometimes we are interested in only a small section, or interval, of the real line.
We write [1, 3] to denote all the real numbers between 1 and 3 inclusive: that is, 1 and
3 are included in the interval. Thus the interval [1, 3] consists of all real numbers x,
such that 1 … x … 3. The square brackets [,] mean that the end-points are included
in the interval, and such an interval is said to be closed. We write (1, 3) to represent
all real numbers between 1 and 3, but not including the end-points. Thus (1, 3) means
all real numbers x such that 1 6 x 6 3, and such an interval is said to be open. An
interval may be closed at one end and open at the other. For example, (1, 3] consists
of all numbers x such that 1 6 x … 3. Intervals can be represented on a number line.
A closed end-point is denoted by 䊉; an open end-point is denoted by ~. The inter-
vals (-6, -4), [-1, 2] and (3, 4] are illustrated in Figure 1.2.
Figure 1.2
The intervals –6 –5 –4 –3 –2 –1 0 1 2 3 4 5 6 7 8
(-6, -4), [-1, 2]
and (3, 4] are
depicted on the
real line.
Example 1.1 6 1
State the reciprocal of (a) , (b) , (c) 7.
11 5
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 61
1 5
(b) The reciprocal of is or simply 5
5 1
1
(c) The reciprocal of 7 is
7
1 1
(b) The modulus of is
5 5
1 1
(c) The modulus of - is
7 7
Factorials !
Another commonly used notation is the factorial, !. The number 5!, read ‘five factor-
ial’, or ‘factorial five’, means 5 * 4 * 3 * 2 * 1, and the number 7! means
7 * 6 * 5 * 4 * 3 * 2 * 1. Note that 1! equals 1, and by convention 0! is defined
to equal 1 as well. Your scientific calculator is probably able to evaluate factorials.
For example,
6! = 6 * 5 * 4 * 3 * 2 * 1
= 720
Example 1.3
(a) Evaluate without using a calculator 4! and 5!.
(b) Use your calculator to find 10!.
Solution
(a) 4! = 4 * 3 * 2 * 1 = 24. Similarly, 5! = 5 * 4 * 3 * 2 * 1 = 120.
Note that 5! = 5 * 4!.
(b) From your calculator check that 10! = 3628800.
Example 1.4
Find the factorial button on your calculator and hence state the value of 11!.
Solution
The button may be marked !. Refer to the manual if necessary. Check that
11! = 39916800
Exercises
1 Draw a number line and on it label points to 5 Which of the following statements are true?
represent -5, -3.8, -p, - 56, - 12, 0,22, p (a) -8 … 8 (b) -8 … -8 (c) -8 … ƒ 8 ƒ
and 5. (d) | -8| 6 8 (e) ƒ -8 ƒ … -8
2 Evaluate (a) |-18|, (b) |4|, (c) | -0.001|, (f) 9! … 8! (g) 8! … 10!
(d) |0.25|, (e) |0.01 - 0.001|, (f) 2!,
6 Calculate the number of permutations of the
9! letters in the words:
(g) 8! - 3!, (h) .
8! (a) submarine (b) satellite
9
3 State the reciprocal of (a) 8, (b) .
13
4 Evaluate (a) 7 ; 3, (b) 16 ; 7,
(c) -15 ; 12 , (d) -16 ; 0.05,
(e) |-8| ; 13, (f) |-2| ; 8.
Solutions to exercises
1 –3.8 –p – 56 2 p
– 12
–5 –4 –3 –2 –1 0 1 2 3 4 5 6 7 8
2 (a) 18 (b) 4 (c) 0.001 (d) 0.25 (e) 0.009 5 (a), (b), (c), (g) are true.
(f) 2 (g) 40314 (h) 9 9!
1 13 6 (a) 9! = 362880 (b) = 45360
3 (a) (b) 2!2!2!
8 9
4 (a) 4, 10 (b) 9, 23 (c) -1512, -1412
(d) -16.05, -15.95 (e) -5, 21
(f) -6, 10
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 64
Table 1.1
The Greek A a alpha I l iota P r rho
alphabet. B b beta K k kappa © s sigma
≠ g gamma ¶ l lambda T t tau
¢ d delta M m mu y upsilon
E e epsilon N n nu £ f phi
Z z zeta j xi X x chi
H h eta O o omicron ° c psi
™ u theta ß p pi Æ v omega
Mathematics is a very precise language and care must be taken to note the exact
position of any symbol in relation to any other. If x and y are two symbols, then the
quantities xy, xy, xy can all mean different things. In the expression xy you will note
that the symbol y is placed to the right of and slightly higher than the symbol x. In
this context y is called a superscript. In the expression xy, y is placed lower than and
to the right of x, and is called a subscript.
T2 T3
T4
Addition (+)
If the letters x and y represent two numbers, then their sum is written as x y. Note
that x + y is the same as y + x just as 4 + 7 is equal to 7 + 4.
Subtraction (-)
Subtracting y from x yields x - y. This quantity is also called the difference of x and
y. Note that x - y is not the same as y - x just as 11 - 7 is not the same as 7 - 11.
Multiplication (*)
The instruction to multiply x and y together is written as x * y. Usually the multipli-
cation sign is missed out altogether and we write simply xy. An alternative and
acceptable notation is to use a dot to represent multiplication, and so we could write
x.y. The quantity xy is called the product of x and y. Note that xy is the same as yx
just as 4 * 3 is the same as 3 * 4. Because of this we say that multiplication is
commutative. Multiplication is also associative. This means that when we multiply
three quantities together, such as x * y * z, it does not matter whether we evaluate
x * y first and then multiply the result by z, or evaluate y * z first and then multiply
the result by x. Thus
(x * y) * z = x * ( y * z)
= x * y * z
When mixing numbers and symbols it is usual to write the numbers first. Thus
3 * x * y * 4 = 3 * 4 * x * y = 12xy.
Example 1.7
Simplify (a) 9(2y), (b) -3(5z), (c) 4(2a), (d) 2x * (2y).
Solution
(a) Note that 9(2y) means 9 * (2 * y). Because of the associativity of multipli-
cation 9 * (2 * y) means the same as (9 * 2) * y, that is 18y.
(b) -3(5z) means -3 * (5 * z). Because of associativity this is the same as
(-3 * 5) * z, that is -15z.
(c) 4(2a) means 4 * (2 * a). We can write this as (4 * 2) * a, that is 8a.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 66
(d) Because of the associativity of multiplication, the brackets are not needed and
we can write 2x * (2y) = 2x * 2y, which equals
2 * x * 2 * y = 2 * 2 * x * y
= 4xy
Example 1.8
What is the distinction between 9(-2y) and 9 - 2y?
Solution
The expression 9(-2y) means 9 * (-2y). Because of associativity of multiplication
we can write this as 9 * (-2) * y which equals -18y. On the other hand 9 - 2y
means subtract 2y from 9. This cannot be simplified.
Division (,)
x
The quantity x , y means x divided by y. This is also written as x>y or and is
y
x
known as the quotient of x and y. In the expression the top line is called the
y
numerator and the bottom line is called the denominator. Note that x>y is not the
x
same as y>x. Division by 1 leaves a quantity unchanged so that is simply x. Div-
1
ision by 0 is never allowed.
Algebraic expressions
A quantity made up of symbols and the operations + , - , * and > is called an
algebraic expression. One algebraic expression divided by another is called an
algebraic fraction. Thus
x + 7 3x - y
and
x - 3 2x + z
are algebraic fractions. The reciprocal of an algebraic fraction is found by inverting
it so that the old numerator becomes the new denominator, and the old denominator
2 x x + 7
becomes the new numerator. Thus the reciprocal of is . The reciprocal of
x - 3 x 2 x - 3
is .
x + 7
Example 1.9
State the reciprocal of each of the following expressions:
y x + z 1 1
(a) (b) (c) 3y (d) (e)
z a - b a + 2b y
Solution y z
(a) The reciprocal of is .
z y
x + z a - b
(b) The reciprocal of is .
a - b x + z
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 67
Finding the reciprocal of a complicated expression can cause confusion. Study the
following example carefully.
Example 1.10
State the reciprocal of:
1 1
(a) p + q (b) +
R1 R2
Solution
p + q
(a) Because p + q can be thought of as its reciprocal is
1
1
p + q
1 1
Note in particular that the reciprocal of p + q is not+ . This distinction is
p q
important and a common cause of error. To avoid an error, carefully identify the
numerator and denominator in the original expression before inverting.
1 1
(b) The reciprocal of + is
R1 R2
1
1 1
+
R1 R2
To simplify this further requires knowledge of the addition of algebraic
fractions, which is dealt with in Block 6. It is important to note that the
1 1
reciprocal of + is not R1 + R2.
R1 R2
1 1 1
XC = * = where v is the angular frequency of the applied alternating
v C vC
voltage (see Chapter 9, Block 7, Section 7.4).
Sigma notation, ©
Sigma notation provides a concise and convenient way of writing long sums. The sum
x1 + x2 + x3 + x4 + ### + x11 + x12
is written using the capital Greek letter sigma, © , as
k = 12
k = 12
a xk or a k = 1 xk
k=1
The © stands for the sum of all the values of xk as k ranges from 1 to 12. Note that
the lowermost and uppermost values of k are written at the bottom and top of the
sigma sign respectively.
Example 1.13
Write out explicitly what is meant by
k=5
3
ak
k=1
Solution
We must let k range from 1 to 5:
k=5
3 3 3 3 3 3
ak = 1 + 2 + 3 + 4 + 5
k=1
Example 1.14
1 1 1 1
Express + + + concisely using sigma notation.
1 2 3 4
Solution
1
Each term takes the form where k varies from 1 to 4. Write down the sigma notation:
k
k=4
1
ak
k=1
Example 1.15
k=3
Write out explicitly a k = 1 1.
Solution
Here k does not appear explicitly in the terms to be added. This means add the num-
ber 1, three times:
k=3
a1 = 1 + 1 + 1
k=1
= 3
k=n
In general ak=1 1 = n.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 70
Exercises
1
1 State the reciprocal of (a) x, (b) , (c) xy, 6 The value of x is 100 ; 3. The value of y is
1 2 z 120 ; 5. Find the maximum and minimum
(d) , (e) a + b, (f) . values of
xy a + b x y
(a) x + y (b) xy (c) (d)
y x
2 The pressure p in a reaction vessel changes N
from 35 pascals to 38 pascals. Write down the 7 Write out explicitly (a) a i = 1 fi,
N
value of dp. (b) a i = 1 fi xi.
3 Express as simply as possible: 8 By writing out the terms explicitly show that
(a) (-3) * x * (-2) * y k=5 k=5
(b) 9 * x * z * (-5)
a 3k = 3 a k
k=1 k=1
4 Simplify (a) 8(2y), (b) 17x(-2y), 3
(c) 5x(8y), (d) 5x(-8y). 9 Write out explicitly ak=1 y(xk)dx.
Solutions to exercises
1 1 1 a + b
1 (a) (b) z (c) (d) xy (e) (f) 6 (a) max 228, min 212 (b) 12875, 11155
x xy a + b 2 (c) 0.8957, 0.7760 (d) 1.2887, 1.1165
2 dp = 3 pascals N
7 (a) a i = 1 fi = f1 + f2 + ### + fN-1 + fN
3 (a) 6xy (b) -45xz N
(b) a i = 1 fi xi = f1x1 + f2 x2 + # # #
4 (a) 16y (b) -34xy (c) 40xy (d) -40xy + fN-1xN-1 + fN xN
Computer algebra packages are specially designed computer programs with the abil-
ity to manipulate symbols, solve equations, etc. There are several different packages
available but the common ones are Maple and Matlab. You should enquire about the
availability of this software in your college or university.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 71
Solutions to exercises
1
–1 – 12 0
1
2 1
2 (a) 3 (b) -11 (c) -1 (d) 3 8 (a) 15x (b) 8x (c) -56x
3 (a) 4 (b) 4 (c) -4 (d) 24 9 x(-y) is the product of x and y. The
1 3 3y expression x - y means subtract y from x.
4 (a) (b) (c)
9 4 4x 3 2 2
11 a i = 1 fi (xi - x) = f1(x1 - x)
5 (a) 33.25, 36.75 (b) 423, 517 + f2(x2 - x )2 + f3(x3 - x )2
6 2 metres per second
Indices
BLOCK 2
2.1 Introduction
When we wish to multiply a number by itself several times we make use of index or
power notation. The number 4 * 4 * 4 is written as 43 and read ‘4 raised to the
power 3’ or ‘4 cubed’. Note that the number of times ‘4’ occurs in the product is
written as a superscript. In this context we call the superscript 3 an index. Similarly
we could write
and
7 * 7 * 7 * 7 * 7 = 75, a * a * a = a3, m * m * m * m = m4
More generally, in the expression xy, x is called the base and y is called the index or
power. The plural of index is indices. The process of raising to a power is also
known as exponentiation because yet another name for a power is an exponent.
When dealing with numbers your calculator is able to evaluate expressions involving
powers, probably using the xy button.
Example 2.1
Use a calculator to evaluate 312.
Solution
Using the xy button on the calculator check that you obtain 312 = 531441.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 73
Recall from Chapter 1 that when several operations are involved we can make use of
the BODMAS rule for deciding the order in which operations must be carried out.
The BODMAS rule makes no mention of exponentiation. Exponentiation should
be carried out once any brackets have been dealt with. Consider the following
examples.
Example 2.3
Evaluate 7 * 32.
Solution
There are two operations involved here, exponentiation and multiplication. The expo-
nentiation should be carried out before the multiplication, so 7 * 32 = 7 * 9 = 63.
Example 2.4
Write out fully (a) 3m4, (b) (3m)4.
Solution
(a) In the expression 3m4 the exponentiation is carried out before the multiplication
by 3, so
3m4 means 3 * (m * m * m * m)
that is
3 * m * m * m * m
(b) Here the bracketed expression is raised to the power 4 and so should be
multiplied by itself four times:
(3m)4 = (3m) * (3m) * (3m) * (3m)
or simply 81m4.
Note the important distinction between (3m)4 and 3m4 and in particular the way that
the power is applied.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 74
5 74 Block 2 Indices
Care must be taken when using your calculator to find powers of negative numbers.
For example, (-2)2 means (-2) * (-2) = +4. Check that your calculator gives the
correct answer. It may be necessary to enclose the 2 in brackets.
Exercises
1 1 1 1 1
1 Evaluate, without using a calculator: (c) * * * *
(a) 33 (b) 34 (c) 25 2 2 7 7 7
5 Evaluate without using a calculator:
2 2 2 3 1 2 1 3
(a) a b (b) a b (c) a b (d) a b
2 Evaluate, without using a calculator:
(a) 0.22 (b) 152 3 5 2 2
(e) 0.13
3 Evaluate using a calculator:
(a) 73 (b) (14)3.2
6 Explain what is meant by 5 * 34. How would
you write the expression if you wanted the
4 Write each of the following using index
multiplication by 5 carried out first?
notation:
(a) 7 * 7 * 7 * 7 * 7 (b) t * t * t * t
Solutions to exercises
4 8 1 1
1 (a) 27 (b) 81 (c) 32 5 (a) (b) (c) (d) (e) 0.001
9 125 4 8
2 (a) 0.04 (b) 225 6 5 * 34 means 5 * 81 = 405. If the intention
is to carry out the multiplication first we would
3 (a) 343 (b) 4651.7 write (5 * 3)4.
1 2 1 3
4 (a) 75 (b) t4 (c) a b a b
2 7
The first law extends in an obvious way when more terms are involved.
Example 2.6
Simplify b5 * b4 * b7.
Solution
The indices are added. Thus b5 * b4 * b7 = b5 + 4 + 7 = b16.
Example 2.7
Simplify y4y2y3.
Solution
All quantities have the same base. To multiply the quantities together, the indices are
added:
y 4y 2y 3 = y9
Example 2.8
84
Simplify (a) 2 , (b) x18 , x7.
8
Solution
In each case we are required to divide expressions involving indices. The bases are
the same and we can use the second of the given laws.
84
(a) The indices must be subtracted: thus = 84 - 2 = 82.
8 2
(b) Again the indices are subtracted, and so x18 , x7 = x18-7 = x11.
Example 2.9
59 y5
Simplify (a) 7 , (b) 2 .
5 y
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 76
5 76 Block 2 Indices
Solution
(a) The bases are the same, and the division is carried out by subtracting the
indices:
59
= 5 9-7 = 52
57
y5
(b) 2 = y 5-2 = y3
y
Example 2.10
Simplify (a) (82)3, (b) (z3)4.
Solution
We use the third of the given laws.
(a) (82)3 = 82 * 3 = 86
(b) (z3)4 = z3 * 4 = z12
Example 2.11
Simplify (x2)5.
Solution
Apply the third law.
(x2)5 = x 2 * 5 = x10
Example 2.12
Simplify (ex)y.
Solution
Again, using the third law, the two powers are multiplied:
(ex)y = e x * y = e xy
Two important results that can be derived from the laws state:
Example 2.13
Remove the brackets from (a) (3x)2, (b) (x3y7)4.
Solution
(a) Noting that 3 = 31 and x = x1 then
(3x)2 = (31x1)2
= 31 * 2x1 * 2
= 32x2
= 9x2
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 77
Exercises
1 Show that (-xy)2 is equivalent to x2y2. 4 Remove the brackets from (a) (8a)2,
(b) (7ab)3, (c) 7(ab)3, (d) (6xy)4, (e) (6x)4y.
2 Show that (-xy)3 is equivalent to -x3y3.
5 Simplify (a) 15x2(x3), (b) 3x2(5x),
3 Write each of the following expressions with a
(c) 18x-1(3x4).
single index:
67 6 Simplify (a) 5x(x3), (b) 4x2(x3), (c) 3x7(x4),
(a) 67 69 (b) 19 (c) (x4)3
6 (d) 2x8(x11), (e) 5x2(3x9).
Solutions to exercises
3 (a) 616 (b) 6-12 (c) x12 5 (a) 15x5 (b) 15x3 (c) 54x3
4 (a) 64a2 (b) 343a3b3 (c) 7a3b3 6 (a) 5x4 (b) 4x5 (c) 3x11 (d) 2x19 (e) 15x11
(d) 1296x4y4 (e) 1296x4y
5 78 Block 2 Indices
is called the degree of the polynomial. Polynomials with low degrees have special
names:
Example 2.14
Which of the following expressions are polynomials? Give the degree of those that are.
1
(a) 3x2 + 4x + 2 (b) (c) 2x (d) 2t + 4
x + 1
Solution
Recall that a polynomial expression must contain only terms involving whole
number powers of the variable.
Give your answers:
(a) 3x2 + 4x + 2, polynomial of degree 2
1
(b) , not a polynomial
x + 1
(c) 2x, not a polynomial
Exercises
1 State which of the following are linear polyno- 3 Which of the following are polynomials?
mials, which are quadratic polynomials, and (a) 4t + 17 (b) 12 - 12 t (c) 15
which are constants:
(a) x (b) x2 + x + 3 (c) x2 - 1 (d) 3 - x 1 1
(d) t2 - 3t + 7 (e) + + 7
(e) 7x - 2 (f) 12 (g) 12x + 34 (h) 3 - 12x2 t2 t
4 State the degree of each of the following
2 State which of the following are polynomials: polynomials. For those of low degree, give
1 their name.
(a) -a2 - a - 1 (b) x1>2 - 7x2 (c) (d) 19 (a) 2t3 + 7t2 (b) 7t7 + 14t3 - 2t2 (c) 7x + 2
x
(d) x2 + 3x + 2 (e) 2 - 3x - x2 (f) 42
Solutions to exercises
1 (a), (d), (e) and (g) are linear; (b), (c) and (h) 3 (a), (b), (c) and (d) are polynomials.
are quadratic; (f) is a constant.
4 (a) 3, cubic, (b) 7, (c) 1, linear, (d) 2,
2 (a) is a polynomial, (d) is a polynomial of quadratic, (e) 2, quadratic, (f) 0, constant.
degree 0, (b) and (c) are not polynomials.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 79
Example 2.15
Write each of the following expressions using a positive index and simplify if possible.
1
(a) 2-3 (b) -3 (c) x-1 (d) x-2 (e) 10-1
4
Solution
1 1
(a) 2-3 = 3
=
2 8
1
(b) = 43 = 64
4-3
1 1
(c) x-1 = 1 =
x x
1
(d) x-2 = 2
x
1 1
(e) 10-1 = 1 = or 0.1
10 10
Example 2.16
Write each of the following using a positive index:
1
(a) -4 (b) 17-3 (c) y-1 (d) 10-2
t
Solution
Use the previous key point.
1
(a) -4 = t4
t
1
(b) 17-3 =
173
1
(c) y-1 =
y
1 1
(d) 10-2 = 2
which equals or 0.01
10 100
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 80
5 80 Block 2 Indices
Example 2.17
a8 * a7 m9 * m-2
Simplify (a) 4
, (b) .
a m-3
Solution
(a) Use the first law of indices to simplify the numerator:
a8 * a7 a15
=
a4 a4
Then use the second law to simplify the result:
a11
(b) First simplify the numerator using the first law of indices:
m9 * m-2 m7
=
m-3 m-3
Then use the second law to simplify the result:
m7-(-3) = m10
Exercises
Solutions to exercises
1 1
1 (a) = 0.1 (b) 3 = 0.001 2 (a) x1 = x (b) t4 + 3 = t7 (c) y-2 + 6 = y4
10 10
1
(c) 4 = 0.0001
10
So far we have used indices that are whole numbers. We now consider those that
are fractions. Consider the expression 1161>222. Using the third law of indices,
(am)n = amn, we can write
(161>2)2 = 161>2 * 2
= 161
= 16
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 81
So 161兾2 is a number that when squared equals 16, that is 4 or -4. In other words
161兾2 is a square root of 16, that is 216. There are always two square roots of a non-
zero number, and we write
161>2 = ;4
In general
Similarly
(81>3)3 = 81>3 * 3
= 81
= 8
so that 81>3 is a number that when cubed equals 8. Thus 81>3 is the cube root of 8, that
is 23 8, namely 2. Each number has only one cube root, and so
81>3 = 2
In general we have
Key point n
x1/n is the nth root of x, that is 2x
Your calculator will be able to evaluate fractional powers, and roots of numbers.
Check that you can obtain the results of the following examples.
Example 2.18
Evaluate (a) 1441>2, (b) 1251>3.
Solution
(a) 1441>2 is a square root of 144, that is ;12.
(b) Noting that 53 = 125, we see that 1251>3 = 2 3 125 = 5.
Example 2.19
Evaluate (a) 321>5, (b) 322>5, (c) 82>3.
Solution
5 32 . Now 25 = 32 and so 2
(a) 321>5 is the fifth root of 32, that is 2 5 32 = 2.
(b) Using the third law of indices we can write 322>5 = 322 * 1>5 = (321>5)2. Thus
322>5 = (321>5)2
= 22
= 4
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 82
5 82 Block 2 Indices
Example 2.20
Write the following with a single index:
(a) 2x 5 (b) 2 4 x3
Solution
(a) 2x 5 = (x 5)1>2. Then using the third law of indices we can write this as
x 5 * 1>2 = x 5>2.
4 x3 = (x3)1>4. Using the third law we can write this as x 3 * 1>4 = x 3>4.
(b) 2
Example 2.21
1
Show that z-1>2 = .
2z
Solution
1
z-1>2 = 1>2
z
1
=
2z
Example 2.22
2z
Simplify 3 -1>2 .
zz
Solution
Rewrite 2z using an index and simplify the denominator using the first law of
indices:
2z z1>2
3 -1>2
=
zz z2.5
Finally, use the second law to simplify the result:
1
z 0.5-2.5 = z-2 or
z2
Example 2.23
The generalisation of the third law of indices states that (ambn)k = amkbnk. By taking
m = 1, n = 1 and k = 12 show that 2ab = 2a 2b.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 83
This result often allows answers to be written in alternative forms. For example, we
may write 248 as 23 * 16 = 23 216 = 423.
Exercises
1 Evaluate using a calculator (a) 31>2, (b) 15 - 1>3, 5 From the third law of indices show that
(c) 853, (d) 811>4. (ab)1>2 = a1>2 b1>2. Deduce that the square root
of a product is equal to the product of the
2 Evaluate using a calculator (a) 15 - 5, (b) 15 - 2>7. individual square roots.
Solutions to exercises
1 (a) 1.7321 (b) 0.4055 (c) 614125 (d) 3 4 (a) z-3 (b) a-1>6 (c) z-3>10
2 (a) 1.317 * 10-6 (4 s.f.) (b) 0.4613 (4 s.f.) 6 (a) x12 (b) x3兾4 (c) x1兾4
It is often necessary to use very large or very small numbers such as 78000000 or
0.00000034. Scientific notation can be used to express such numbers in a more con-
cise form. Each number is written in the form
a * 10 n
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 84
5 84 Block 2 Indices
where a is usually a number between 1 and 10. We can make use of the following facts:
10 = 101, 100 = 102, 1000 = 103, and so on
and
0.1 = 10-1, 0.01 = 10-2, 0.001 = 10-3, and so on
Furthermore, to multiply a number by 10n the decimal point is moved n places to the
right if n is a positive integer, and n places to the left if n is a negative integer. If nec-
essary, additional zeros are inserted to make up the required number of decimal
places. Then, for example,
the number 5000 can be written 5 * 1000 = 5 * 103
the number 403 can be written 4.03 * 100 = 4.03 * 102
the number 0.009 can be written 9 * 0.001 = 9 * 10-3
Example 2.24
Write the number 0.00678 in scientific notation.
Solution
0.00678 = 6.78 * 10-3
Your scientific calculator will be able to accept numbers in scientific notation. Often
the E button is used, and a number such as 4 .2 * 107 will be entered as 4.2E7. Note
that 10E4 means 10 * 104, that is 105. To enter the number 103, say, you would key
in 1E3. Entering powers of 10 incorrectly is a common cause of error. You must
check how your particular calculator accepts numbers in scientific notation.
Example 2.26
Use your calculator to find 4.2 * 10-3 * 3.6 * 10-4.
Solution
This exercise is designed to check that you can enter numbers given in scientific
notation into your calculator. Check that
4.2 * 10-3 * 3.6 * 10-4 = 1.512 * 10-6
Exercises
Solutions to exercises
We are used to counting in the base 10 or decimal system in which we use the 10
digits 0,1,2,3,4,5,6,7,8 and 9. In Chapter 3, Block 1 we reminded you that the num-
ber 5276 means
5000 + 200 + 70 + 6
or, to write it another way,
(5 * 1000) + (2 * 100) + (7 * 10) + (6 * 1)
This reminds us of the ‘thousands’, ‘hundreds’, ‘tens’ and ‘units’ from early school
days. It is helpful in what follows to note that we can also think of this representation as
103 102 101 100
5 2 7 6
Note that the ‘thousands’, ‘hundreds’, ‘tens’ and ‘units’ are simply powers of the
number base 10. In the remainder of this section we shall indicate the number base
being used by a subscript, as in 527610.
In several applications, particularly in digital computing, it is essential to use
bases other than 10. In base 2 we use only the two digits 0 and 1. Numbers in the
base 2 system are called binary numbers, and we call 0 and 1 binary digits or
simply bits.
To evaluate the decimal equivalent of a binary number such as 11012 we note that
powers of 2 are now used to determine the place value:
23 22 21 20
1 1 0 1
So
11012 = (1 * 23) + (1 * 22) + (0 * 21) + (1 * 20)
= 8 + 4 + 0 + 1
= 1310
Note that using two binary digits we can represent the four (i.e. 22) decimal numbers,
0, 1, 2, 3:
00 2 = 010 012 = 110 10 2 = 210 112 = 310
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 86
5 86 Block 2 Indices
With three binary digits we can represent eight (i.e. 23) decimal numbers, 0, 1, 2, 3,
4, 5, 6, 7:
000 2 = 0 10 0012 = 110 010 2 = 210 0112 = 310
100 2 = 410 1012 = 510 110 2 = 610 1112 = 710
In general, with n binary digits we can represent the 2n decimal numbers 0, 1, 2, . . . ,
2n - 1.
Example 2.27
Find which decimal numbers can be represented using (a) 8 binary digits, (b) 16
binary digits.
Solution
(a) With 8 binary digits we can represent the 256 (=28) decimal numbers 0, 1, 2, . . .
255. Note that a base 2 number having 8 binary digits is often referred to as a
byte.
(b) With 16 binary digits we can represent the 65536 (=216) decimal numbers 0, 1,
2, . . . , 65535.
Exercises
1 Find the decimal equivalent of the binary 2 Find which decimal numbers can be
number 110011001. represented using a 6-bit binary number.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 87
Solutions to exercises
1 409 3 494
1 Write down the three laws of indices and give 7 Rewrite 2a5 using a single index.
a numerical example illustrating each.
8 Express the numbers 4320 and 0.0065 in
2 In the expression 54 state which number is the scientific notation.
index and which is the base.
9 Remove the brackets from (7x2)-3.
3 Simplify each of the following:
a11 10 Simplify
(a) 4 (b) (ab)4
a y6y-3y0.5
4 Remove the brackets from the expression y-2y7
(4x3)5.
11 Simplify
1
5 Write using a positive index. (a) (3a2b) (2a3b2) (b) (a4b3) (7a-2b-1)
x-1>2
(c) xx2x3 (d) (-2y) (-3y2) (-4y-2)
6 Simplify (e) (e2x )y
a7 * a-13
a-5
Solutions to exercises
36 6 a-1
1 For example, 23 * 27 = 210, 2 = 34,
(57)2 = 514. 3
7 a5>2
2 index 4, base 5
8 4.320 * 103, 6.5 * 10-3
7 4b
3 (a) a (b) a
9 7-3x-6
4 45x15
10 y-1.5
1>2
5 x
11 (a) 6a5b3 (b) 7a2b2 (c) x6 (d) -24y (e) e2xy
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 88
3.1 Introduction
In this block we explain what is meant by the phrase ‘like terms’ and show how like
terms are collected together and simplified.
Like terms are multiples of the same quantity. For example, 5y, 17y and 12y are all
multiples of y and so are like terms. Similarly, 3x2, -5x2 and 14x2 are all multiples of
x2 and so are like terms.
Further examples of like terms are:
• kx and lx, which are both multiples of x;
• x2y, 6x2y, -13x2y, -2yx2, which are all multiples of x2y;
• abc2, -7abc2, kabc2, which are all multiples of abc2.
Like terms can be collected together and added or subtracted in order to simplify
them.
Example 3.1
Simplify 5x - 13x + 22x.
Solution
All three terms are multiples of x and so are like terms. The expression can be
simplified to 14x.
Example 3.2
Simplify 5z + 2x.
Solution
5z and 2x are not like terms. They are not multiples of the same quantity. This
expression cannot be simplified.
Example 3.3
Simplify 5a + 2b - 7a - 9b.
Solution
5a + 2b - 7a - 9b = -2a - 7b
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 89
Solution
2x2 and 11x2, both being multiples of x2, can be collected together and added to give
13x2. Similarly, -7x and x are like terms and these can be added to give -6x. We find
2x2 - 7x + 11x2 + x = 13x2 - 6x
which cannot be simplified further.
Example 3.5
Simplify 12x + 34x - 2y.
Solution
1
2x + 34x - 2y = 5
4x - 2y
Example 3.6
Simplify 3a2b - 7a2b - 2b2 + a2.
Solution
Note that 3a2b and 7a2b are both multiples of a2b and so are like terms. There are no
other like terms. Therefore
3a2b - 7a2b - 2b2 + a2 = -4a2b - 2b2 + a2
Exercises
Solutions to exercises
1 (a) 10x (b) 12q (c) 18x2 (d) -9v2 4 (a) 9x (b) 162x2 (c) -162x2 (d) -27x
(e) cannot be simplified (e) -162x2
2 5x2 + 3x + 1 7 ab + abc
1 1
3 x + x 8 0.01x + 0.35x
3 2
4 ab + ba 9 4y + 2x - 3xy
5 ab - ba 10 7a - 3b + 2g - 7a + 11b
Solutions to exercises
5 0 10 8b + 2g
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 91
Removing brackets
BLOCK 4
4.1 Introduction
4.2 Removing brackets from expressions of the form a(b c) and a(b c)
Key point a (b + c) = ab + ac
a (b - c) = ab - ac
Note that when the brackets are removed both terms in the brackets are multiplied by
a. If you insert numbers instead of letters into these expressions you will see that
both left- and right-hand sides are equivalent. For example,
4(3 + 5) has the same value as 4(3) + 4(5), that is 32
and
7(8 - 3) has the same value as 7(8) - 7(3), that is 35
Example 4.1
Remove the brackets from: (a) 9(2 + y), (b) 9(2y).
Solution
(a) In the expression 9(2 + y) the 9 must multiply both terms in the brackets:
9(2 + y) = 9(2) + 9(y)
= 18 + 9y
(b) Recall that 9(2y) means 9 * (2 * y) and that when multiplying numbers
together the presence of brackets is irrelevant. Thus 9(2y) = 9 * 2 * y = 18y.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 92
The crucial distinction between the role of the factor 9 in the two expressions
9(2 + y) and 9(2y) should be noted.
Example 4.2
Remove the brackets from 9(x + 2y).
Solution
In the expression 9(x + 2y) the 9 must multiply both the x and the 2y in the brackets.
Thus
9(x + 2y) = 9x + 9(2y)
= 9x + 18y
Example 4.3
Remove the brackets from -3(5x - z).
Solution
The number -3 must multiply both the 5x and the z. Thus
-3(5x - z) = (-3)(5x) - (-3)(z)
= -15x + 3z
Example 4.4
Remove the brackets from 6x(3x - 2y).
Solution
6x(3x - 2y) = 6x(3x) - (6x)(2y)
= 18x 2 - 12xy
Example 4.5
Remove the brackets from -(3x + 1).
Solution
Although unwritten, the minus sign outside the brackets stands for -1. We must
consider the expression -1(3x + 1).
-1(3x + 1) = (-1)(3x) + (-1)(1)
= -3x + (-1)
= -3x - 1
Example 4.6
Remove the brackets from -(5x - 3y).
Solution
-(5x - 3y) means -1(5x - 3y). Thus
-1(5x - 3y) = (-1)(5x) - (-1)(3y)
= -5x + 3y
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 93
Solution
(a) The 9 must multiply both the term 2x and the term 3y. Thus
9(2x + 3y) = 18x + 27y
(b) In the expression m(m + n) the first m must multiply both terms in the brackets.
Thus
m(m + n) = m2 + mn
Example 4.8
Remove the brackets from the expression 5x - (3x + 1) and simplify the result by
collecting like terms.
Solution
The brackets in -(3x + 1) were removed in Example 4.5. Thus
5x - (3x + 1) = 5x - 1(3x + 1)
= 5x - 3x - 1
= 2x - 1
Example 4.9
-x - 1 -(x + 1) x + 1
Show that , and - are all equivalent.
4 4 4
Solution
-x - 1
Consider -(x + 1). Removing the brackets we obtain - x - 1 and so is
-(x + 1) 4
equivalent to .
4
-(x + 1)
A negative quantity divided by a positive quantity will be negative. Hence
4
x + 1
is equivalent to - .
4
Study all three expressions carefully to recognise the variety of equivalent ways in
which we can write an algebraic expression.
Note that when the brackets are removed both the terms in the brackets multiply c.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 94
Example 4.10
Remove the brackets from (2x + 3y)x.
Solution
Both terms in the brackets multiply the x outside. Thus
(2x + 3y)x = 2x(x) + 3y(x)
= 2x2 + 3xy
Example 4.11
Remove the brackets from
(a) (x + 3) (-2) (b) (x - 3) (-2)
Solution
(a) Both terms in the brackets must multiply the -2.
(x + 3) (-2) = -2x - 6
Exercises
Solutions to exercises
Alternatively, we see that each term in the first bracket multiplies each term in the
second. To remind us of this we can use the picture in Figure 4.1.
Figure 4.1
(a + b) (c + d ) = ac + bc + ad + bd
Example 4.12
Remove the brackets from (3 + x)(2 + y).
Solution
We find
(3 + x)(2 + y) = (3 + x)(2) + (3 + x)(y)
= (3)(2) + (x)(2) + (3)(y) + (x)(y)
= 6 + 2x + 3y + xy
Example 4.13
Remove the brackets from (3x + 4)(x + 2) and simplify your result.
Solution
(3x + 4)(x + 2) = (3x + 4)(x) + (3x + 4)(2)
= 3x2 + 4x + 6x + 8
= 3x2 + 10x + 8
Example 4.14
Remove the brackets from (a + b)2 and simplify your result.
Solution
When a quantity is squared it must be multiplied by itself. Thus
(a + b)2 = (a + b)(a + b)
= (a + b)a + (a + b)b
= a2 + ba + ab + b2
= a2 + 2ab + b2
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 96
Example 4.15
Remove the brackets from the following expressions and simplify the results:
(a) (x + 7)(x + 3) (b) (x + 3)(x - 2) (c) (3 - x)(x + 2)
Solution
(a) Remove the brackets to obtain
(x + 7)(x + 3) = x2 + 7x + 3x + 21
Simplify the result to obtain
(x + 7)(x + 3) = x2 + 10x + 21
(b) Remove the brackets to obtain
(x + 3)(x - 2) = (x + 3)(x) + (x + 3)(-2)
= x2 + 3x - 2x - 6
Simplify the result to obtain
(x + 3)(x - 2) = x2 + x - 6
(c) Remove the brackets and simplify to find
(3 - x)(x + 2) = (3 - x)x + (3 - x)2
= 6 + x - x2
Example 4.16
Explain the distinction between (x + 3)(x + 2) and x + 3(x + 2).
Solution
In the first case, on removing the brackets we find
(x + 3)(x + 2) = x2 + 3x + 2x + 6
= x2 + 5x + 6
In the second case we have
x + 3(x + 2) = x + 3x + 6 = 4x + 6
Note that in the second case the term (x + 2) is only multiplied by 3 and not by x.
Example 4.17
Remove the brackets from (s2 + 2s + 4)(s + 3).
Solution
Each term in the first set of brackets must multiply each term in the second. Working
through all combinations systematically we have
(s2 + 2s + 4)(s + 3) = (s2 + 2s + 4)(s) + (s2 + 2s + 4)(3)
= s3 + 2s2 + 4s + 3s2 + 6s + 12
= s3 + 5s2 + 10s + 12
Figure 4.2
The network will Component 1
fail only if both has reliability R1
components fail.
Component 2
has reliability R2
If the two components in Figure 4.2 have reliability R1 and R2, respectively, it can
be shown that the reliability, R, of the combined system is
R = 1 - (1 - R1)(1 - R2)
Remove the brackets from the right-hand side of this expression and simplify the
result.
Solution
Consider first the bracketed terms on the right:
(1 - R1)(1 - R2) = (1 - R1) * 1 - (1 - R1) * R2
= 1 - R1 - R2 + R1R2
This expression must be subtracted from 1 to give R:
R = 1 - (1 - R1 - R2 + R1R2)
= R1 + R2 - R1R2
We shall see the significance of this result in Block 7 – Formulae and transposition.
Exercises
1 Remove the brackets from each of the 2 Remove the brackets from each of the
following expressions and simplify where following expressions:
possible: (a) (7 + x)(2 + x) (b) (9 + x)(2 + x)
(a) (2 + a)(3 + b) (b) (x + 1)(x + 2) (c) (x + 9)(x - 2) (d) (x + 11)(x - 7)
(c) (x + 3)(x + 3) (d) (x + 5)(x - 3) (e) (x + 2)x (f) (3x + 1)x
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 98
(g) (3x + 1)(x + 1) (h) (3x + 1)(2x + 1) 3 Remove the brackets from
(i) (3x + 5)(2x + 7) (j) (3x + 5)(2x - 1) (s + 1)(s + 5)(s - 3).
(k) (5 - 3x)(x + 1) (l) (2 - x)(1 - x)
Solutions to exercises
2 7(2x + y) 8 (x + 1)(x - 3)
5 (x - 1)(x + 2) 11 3
4 112x + 72
Solutions to exercises
2 14x + 7y 8 x2 - 2x - 3
3 -2a - 2b 9 x3 - 2x2 - 3x
4 8 + 6x + x2 10 x3 - 3x2 - x + 3
3 21
5 x2 + x - 2 11 8x + 4
6 x2 - 4 12 15x2y + 45xy
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 99
Factorisation
BLOCK 5
5.1 Introduction
In Block 4 we showed the way in which brackets were removed from algebraic
expressions. Factorisation, which can be considered as the reverse of this process, is
dealt with in this block. It is essential that you have had a lot of practice removing
brackets before you attempt this block.
5.2 Factorisation
Thus 14x + 7 is equivalent to 7(2x + 1) . We see that 14x + 7 has factors 7 and
(2x + 1) . The factors 7 and (2x + 1) multiply together to give 14x + 7 . The
process of writing an expression as a product of its factors is called factorisation.
When asked to factorise 14x + 7 we write
14x + 7 = 7(2x + 1)
and so we see that factorisation can be regarded as reversing the process of removing
brackets in that we are now inserting them.
Always remember that the factors of an algebraic expression are multiplied
together.
Example 5.1
Factorise the expression 4x + 20 .
Solution
Both terms in the expression 4x + 20 are examined to see if they have any factors in
common. Clearly 20 can be factorised as (4)(5) and so we can write
4x + 20 = 4x + (4)(5)
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 100
The factor 4 is common to both terms on the right; it is called a common factor. The
common factor is placed at the front and outside the brackets to give
4x + 20 = 4(x + 5)
Note that the solution can and should be checked by removing the brackets again.
Example 5.2
Factorise z2 - 5z.
Solution
Note that since z2 = z * z we can write
z2 - 5z = z(z) - 5z
so that there is a common factor of z . Hence
z2 - 5z = z(z) - 5z
= z(z - 5)
Example 5.3
Factorise 6x - 9y.
Solution
By observation we note that there is a common factor of 3. Thus
6x - 9y = 3(2x) - 3(3y)
= 3(2x - 3y)
Example 5.4
Identify the factor common to both 14z and 21w. Hence factorise 14z + 21w .
Solution
The factor common to both 14z and 21w is
7
We can then write
14z + 21w = 7(2z + 3w)
Example 5.5
Factorise 6x - 12xy.
Solution
First identify any common factors. In this case there are two,
and 6 and x
Then we can write
6x - 12xy = 6x (1 - 2y)
If there is any doubt, check your answer by removing the brackets again.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 101
Exercises
Solutions to exercises
1 (a) 5(x + 3y) (b) 3(x - 3y) (c) 2(x + 6y) 3 a(1 + b)
2 1x
1 1
(d) 4(x + 8z + 4y) (e) + 2 y2
4 x2(4 + 3yx + 5yx2)
2 (a) a(a + 3b) (b) xy(1 + z) (c) 3x(3x - 4)
Key point An expression of the form ax2 + bx + c where a, b and c are numbers is called a
quadratic expression.
The numbers b or c may be zero but a must not be zero. The number a is called the
coefficient of x2 , b is the coefficient of x and c is called the constant term.
Consider the product (x + 1) (x + 2) . Removing brackets yields x2 + 3x + 2.
We see that the factors of x2 + 3x + 2 are (x + 1) and (x + 2) . However, if we
were given the quadratic expression first, how would we factorise it? The following
examples show how to do this but note that not all quadratic expressions can be
factorised.
To enable us to factorise a quadratic expression in which the coefficient of x2
equals 1, note the following expansion:
(x + m)(x + n) = x2 + mx + nx + mn
= x2 + (m + n)x + mn
So, given a quadratic expression we can think of the coefficient of x as m + n and
the constant term as mn. Once the values of m and n have been found the factors can
be easily stated.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 102
Example 5.6
Factorise x2 + 4x - 5.
Solution
Writing x2 + 4x - 5 = (x + m)(x + n) = x2 + (m + n)x + mn we seek num-
bers m and n so that m + n = 4 and mn = -5. By trial and error it is not difficult
to find that m = 5 and n = -1. So we can write
x2 + 4x - 5 = (x + 5)(x - 1)
The answer can be checked easily by removing brackets.
Example 5.7
Factorise x2 + 6x + 8.
Solution
The coefficient of x2 is 1. We can write
x2 + 6x + 8 = (x + m)(x + n)
= x2 + (m + n)x + mn
so that m + n = 6 and mn = 8. Try various possibilities for m and n until you find
values that satisfy both of these equations.
m = n = 4 and 2, or 2 and 4
Finally factorise the quadratic:
x2 + 6x + 8 = (x + 4)(x + 2)
As an alternative to the technique of Example 5.8, experience and practice can often
help us to identify factors. For example, suppose we wish to factorise 3x2 + 7x + 2.
We write
3x2 + 7x + 2 = ( )( )
In order to obtain the term 3x2 we can place terms 3x and x in the brackets to give
3x2 + 7x + 2 = (3x + ?)(x + ?)
In order to obtain the constant 2, we consider the factors of 2. These are 1, 2 or -1,
-2. By placing these factors in the brackets we can factorise the quadratic expression.
Various possibilities exist: we could write (3x + 2)(x + 1), (3x + 1)(x + 2) ,
(3x - 2)(x - 1) or (3x - 1)(x - 2), only one of which is correct. By removing
brackets from each in turn we look for the factorisation that produces the correct
middle term, 7x. The correct factorisation is found to be
3x 2 + 7x + 2 = (3x + 1)(x + 2)
With practice you will be able to carry out this process quite easily.
Example 5.9
Factorise the quadratic expression 5x2 - 7x - 6.
Solution
Write
5x2 - 7x - 6 = ( )( )
To obtain the quadratic term 5x2 , insert 5x and x in the brackets:
5x2 - 7x - 6 = (5x + ?)(x + ?)
Now examine the factors of -6. These are
Use these factors to find which pair, if any, gives rise to the middle term, -7x, and
complete the factorisation.
5x2 - 7x - 6 = (5x + 3)(x - 2)
Example 5.10
On occasions you will meet expressions of the form x2 - y2. Such an expression is
known as the difference of two squares. Note that here we are finding the difference
between two squared terms. It is easy to verify by removing brackets that this
factorises as
x2 - y2 = (x + y)(x - y)
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 104
So, if you can learn to recognise such expressions it is an easy matter to factorise
them. Factorise
(a) x2 - 36z2 (b) 25x2 - 9z2 (c) a2 - 1
Solution
In each case we are required to find the difference of two squared terms.
(a) Note that x2 - 36z2 = x2 - (6z)2. This factorises as (x + 6z)(x - 6z).
(b) Here 25x2 - 9z2 = (5x)2 - (3z)2. This factorises as (5x + 3z)(5x - 3z).
(c) a2 - 1 = (a + 1)(a - 1).
Exercises
1 Factorise 3 Factorise
(a) x2 + 8x + 7 (b) x2 + 6x - 7 (a) x2 + 9x + 14 (b) x2 + 11x + 18
(c) x2 + 7x + 10 (d) x2 - 6x + 9 (c) x2 + 7x - 18 (d) x2 + 4x - 77
(e) x2 + 5x + 6 (e) x2 + 2x (f) 3x2 + x
(g) 3x2 + 4x + 1 (h) 6x2 + 5x + 1
2 Factorise (i) 6x2 + 31x + 35 (j) 6x2 + 7x - 5
(a) 2x2 + 3x + 1 (b) 2x2 + 4x + 2 (k) -3x2 + 2x + 5 (l) x2 - 3x + 2
(c) 3x2 - 3x - 6 (d) 5x2 - 4x - 1
(e) 16x2 - 1 (f) -x2 + 1 (g) -2x2 + x + 3 4 Factorise
1 1
(a) z2 - 144 (b) z2 - 4 (c) s2 - 9
Solutions to exercises
1 Factorise (a) 3z - 12, (b) -18 + 3t, 3 Factorise (a) x2 + x, (b) 3x2 + 6x,
(c) 12 x + 14 . (c) 9x2 - 12x.
2 Factorise (a) mn + 11m, (b) 3pq - 2p, 4 Factorise (a) x2 + 8x - 9, (b) x2 + 9x - 22,
(c) 11pq - 3qr, (d) 4zx + 20yz. (c) x2 + 10x + 9, (d) x2 + 7x + 12,
(e) x2 - 7x + 12.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 105
Solutions to exercises
1 (a) 3(z - 4) (b) 3(-6 + t) (c) 121x + 122 5 (a) (2x - 19)(7x + 3)
(b) (5x + 1)(9x + 7) (c) (3x + 11)(2x - 1)
2 (a) m(n + 11) (b) p(3q - 2)
(c) q(11p - 3r) (d) 4z(x + 5y) 6 x(3x2 + 17x + 11)
6.1 Introduction
Just as one whole number divided by another is a numerical fraction, one algebraic
expression divided by another is called an algebraic fraction. Examples are
x 3x + 2y x2 + 3x + 1
, and
y x - y x - 4
The top line is called the numerator of the fraction and the bottom line is called the
denominator:
In this block we explain how algebraic fractions can be simplified, added, sub-
tracted, multiplied and divided.
Consider the fraction 1035 . To simplify this we can factorise the numerator and the
denominator and then cancel any common factors. Common factors are those factors
that occur in both the numerator and the denominator. For instance,
10 5 * 2
=
35 7 * 5
2
=
7
Note that the common factor of 5 has been cancelled. It is important to remember
that only common factors can be cancelled. The fractions 10 2
35 and 7 have identical
values – they are equivalent fractions – but 7 is in a simpler form than 10
2
35 . We apply
the same process when simplifying algebraic fractions.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:25 AM Page 107
Solution
yx
(a) In the expression , x is a factor common to both numerator and denominator.
2x
This common factor can be cancelled to give
yx y
=
2x 2
x 1x
(b) Note that can be written . The common factor of x can be cancelled to give
xy xy
1.x 1
=
xy y
x
(c) In the expression notice that an x appears in both numerator and
x + y
denominator. However, x is not a common factor. Recall that factors of an
expression are multiplied together whereas in the denominator x is added to y.
This expression cannot be simplified.
Example 6.2
abc 3ab
Simplify, if possible, (a) , (b) .
3ac b + a
Solution
When simplifying remember that only common factors can be cancelled.
abc b
(a) =
3ac 3
3ab
(b) = This cannot be simplified.
b + a
Example 6.3
21x3 36x
Simplify (a) , (b) .
14x 12x3
Solution
Factorising and cancelling common factors gives:
21x3 7 * 3 * x * x2
(a) =
14x 7 * 2 * x
3x2
=
2
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 108
36x 12 * 3 * x
(b) 3
=
12x 12 * x * x2
3
= 2
x
Example 6.4
3x + 6
Simplify .
6x + 12
Solution
First we factorise the numerator and the denominator to see if there are any common
factors.
3x + 6 3(x + 2)
=
6x + 12 6(x + 2)
The factor x + 2 is common and can be cancelled. There is also a common factor of
3. Thus
3x + 6 3(x + 2)
=
6x + 12 6(x + 2)
1
=
2
Example 6.5
12
Simplify .
2x + 8
Solution
Factorise the numerator and denominator, and cancel any common factors.
12 6 * 2 6
= =
2x + 8 2(x + 4) x + 4
Example 6.6
3 3(x + 4)
Show that and 2 are equivalent.
x + 1 x + 5x + 4
Solution
The denominator, x2 + 5x + 4, can be factorised as (x + 1)(x + 4) so that we can
consider
3(x + 4)
(x + 1)(x + 4)
Note that (x + 4) is a factor common to both the numerator and the denominator. In
this form we see that (x + 4) is a common factor which can be cancelled to leave
3 3 3(x + 4)
. Thus and 2 are equivalent fractions.
x + 1 x + 1 x + 5x + 4
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 109
(x - 1)(x - 1)
Identify the factor that is common to both numerator and denominator, and cancel
this common factor.
x - 1 1
=
(x - 1)(x - 1) x - 1
Hence the two given fractions are equivalent.
Example 6.8
6(4 - 8x)(x - 2)
Simplify .
1 - 2x
Solution
The factor 4 - 8x can be factorised to 4(1 - 2x). Thus
6(4 - 8x)(x - 2) (6)(4)(1 - 2x)(x - 2)
= = 24(x - 2)
1 - 2x (1 - 2x)
Example 6.9
x2 + 2x - 15
Simplify 2 .
2x - 5x - 3
Solution
First factorise the numerator and the denominator:
x2 + 2x - 15 (x + 5)(x - 3)
=
2x2 - 5x - 3 (2x + 1)(x - 3)
Finally cancel any common factors to leave
x + 5
2x + 1
Exercises
Solutions to exercises
x + 1 x + 3 x - 1 3x - 1
1 (a) 21 (b) 21 (c) 78 (d) 11
7
(e) 14 7 (a) (b) (c) (d)
x - 1 x + 7 x + 2 x
2 (a) 32 (b) 83 (c) 14 (d) 4 5z
(e)
2
1 1
3 (a) 5 (b) 5 (c) 2
(d) 2 1 3
5z 5z 8 (a) (b) (c)
x + 3 2x + 1 5(3x + 2)
4 4 15 4
(a) (b) (c) 2 (d) 3x x - 1 x + 2
3 x s 9 (a) (b)
x + 4 x - 2
1 1
5 (a) (b) (c) 2 (d) 3 (e) x - 3 (f) 5
2 2
x + 3 x + 3 x + 3 5x + 15
6 (a) (b) (c) (d)
5x + 1 5x 5 25x + 1
To multiply two fractions we multiply their numerators together and then multiply
their denominators together. That is:
Example 6.10
2a 4 2a c 2a 4
Simplify (a) * , (b) * , (c) , .
c c c 4 c c
Solution
2a 4 8a
(a) * = 2
c c c
2a c 2ac
(b) * =
c 4 4c
2a a
= =
4 2
(c) Division is performed by inverting the second fraction and then multiplying.
2a 4 2a c
, = *
c c c 4
a
= from the result in (b)
2
Example 6.11
1 1 1 1 y
Simplify (a) * 3x, (b) * x, (c) * x, (d) y * , (e) * x.
5x x y x x
Solution
3x
(a) Note that 3x = . Then
1
1 1 3x
* 3x = *
5x 5x 1
3x
=
5x
3
=
x 5
(b) x can be written as . Then
1
1 1 x
* x = *
x x 1
x
=
x
= 1
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 112
1 1 x
(c) * x = *
y y 1
x
=
y
1 y 1
(d) y * = *
x 1 x
y
=
x
y y x
(e) * x = *
x x 1
yx
=
x
= y
Example 6.12
Simplify
2x
y
3x
2y
Solution
2x 3x
We can write the fraction as , . Inverting the second fraction and multiplying
y 2y
we find
2x 2y 4xy
* =
y 3x 3xy
4
=
3
Example 6.13
4x + 2 x + 3
Simplify 2 * .
x + 4x + 3 7x + 5
Solution
Factorising the numerator and denominator we find
4x + 2 x + 3 2(2x + 1) x + 3
2
* = *
x + 4x + 3 7x + 5 (x + 1)(x + 3) 7x + 5
2(2x + 1)(x + 3)
=
(x + 1)(x + 3)(7x + 5)
2(2x + 1)
=
(x + 1)(7x + 5)
It is usually better to factorise first and cancel any common factors before multiply-
ing. Do not remove any brackets unnecessarily otherwise common factors will be
difficult to spot.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 113
Exercises
x x + 1
1 Simplify (a) 95 * 32 , (b) 14 3 6 3
3 * 9 , (c) 11 * 4 , (c) 37 * (x + 4) (d)*
y y + 1
(d) 47 * 28
3.
1 x2 + x pd2 Q Q
pd2>4
(e) * (f) * (g)
2 Simplify (a) 95 , 32 , (b) 14 3 6 3
3 , 9 , (c) 11 , 4 , y y + 1 4 pd 2
(d) 47 , 28
3. 6>7 3>4
5 Find (a) , (b) .
3 Simplify s + 3 x - 1
x + y 3 x
(a) 2 * (b) 13 * 2(x + y) 6 Find , .
3 x + 2 2x + 4
(c) 23 * (x + y)
5 x
7 Find , .
4 Simplify 2x + 1 3x - 1
x + 4
(a) 3 * (b) 17 * 3(x + 4)
7
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 114
Solutions to exercises
6 3
1 (a) 65 (b) 14 9 16
9 (c) 22 (d) 3 5 (a) (b)
7(s + 3) 4(x - 1)
10 8 3
2 (a) 27 (b) 14 (c) 11 (d) 49 6
6
2(x + y) 2(x + y) 2(x + y) x
3 (a) (b) (c) 5(3x - 1)
3 3 3
7
3(x + 4) 3(x + 4) 3(x + 4) x(2x + 1)
4 (a) (b) (c)
7 7 7
x(x + 1) x(x + 1) Q 4Q
(d) (e) (f) (g)
y(y + 1) y(y + 1) 4 pd2
To add two algebraic fractions the lowest common denominator must be found
first. This is the simplest algebraic expression that has the given denominators as its
factors. All fractions must be written with this lowest common denominator. Their
sum is found by adding the numerators and dividing the result by the lowest common
denominator.
To subtract two fractions the process is similar. The fractions are written with the
lowest common denominator. The difference is found by subtracting the numerators
and dividing the result by the lowest common denominator.
Example 6.16
State the simplest expression that has x + 1 and x + 4 as its factors.
Solution
The simplest expression is (x + 1)(x + 4). Note that both x + 1 and x + 4 are
factors.
Example 6.17
State the simplest expression that has x - 1 and (x - 1)2 as its factors.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 115
Example 6.18
Express as a single fraction
3 2
+
x + 1 x + 4
Solution
The simplest expression that has both denominators as its factors is (x + 1)(x + 4).
This is the lowest common denominator. Both fractions must be written using this
denominator.
3 3(x + 4) 2
Note that is equivalent to and also is equivalent to
x + 1 (x + 1)(x + 4) x + 4
2(x + 1)
. Thus writing both fractions with the same denominator we have
(x + 1)(x + 4)
3 2 3(x + 4) 2(x + 1)
+ = +
x + 1 x + 4 (x + 1)(x + 4) (x + 1)(x + 4)
The sum is found by adding the numerators and dividing the result by the lowest
common denominator.
3(x + 4) 2(x + 1) 3(x + 4) + 2(x + 1)
+ =
(x + 1)(x + 4) (x + 1)(x + 4) (x + 1)(x + 4)
5x + 14
=
(x + 1)(x + 4)
Example 6.19
1 5
Express + as a single fraction.
x - 1 (x - 1)2
Solution
The simplest expression having both denominators as its factors is (x - 1)2. We
1
write both fractions with this denominator. Note that is equivalent to
x - 1
x - 1
.
(x - 1) 2
1 5 x - 1 5
+ 2
= 2
+
x - 1 (x - 1) (x - 1) (x - 1)2
x - 1 + 5 x + 4
= 2
=
(x - 1) (x - 1)2
Example 6.20
3 5
Find + .
x + 7 x + 2
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 116
Solution
First find the lowest common denominator:
(x + 7)(x + 2)
3(x + 2) 5(x + 7)
+
(x + 7)(x + 2) (x + 7)(x + 2)
Add the numerators and simplify the result to find the sum of the given fractions:
3 5 8x + 41
+ =
x + 7 x + 2 (x + 7)(x + 2)
Example 6.21
5x 3x - 4
Find - .
7 2
Solution
In this example both denominators are simply numbers. The lowest common denomi-
nator is 14, and both fractions are rewritten with this denominator. Thus
10x 7(3x - 4) 10x - 7(3x - 4)
- =
14 14 14
28 - 11x
=
14
Example 6.22
1 1
Find + .
x y
Solution
The simplest expression that has x and y as its factors is xy. This is the lowest com-
mon denominator. Both fractions are written using this denominator. Noting that
1 y 1 x
= and that = we find
x xy y xy
1 1 y x
+ = +
x y xy xy
y + x
=
xy
Exercises
x x 2x x A B C
1 Find (a) + , (b) + , 6 Express + + as a
4 7 5 9 2x + 5 (x - 1) (x - 1)2
2x 3x x 2 single fraction.
(c) - , (d) - ,
3 4 x + 1 x + 2 A B
x + 1 3 2x + 1 x 7 Express + as a single
(e) + , (f) - , x + 1 (x + 1)2
x x + 2 3 2 fraction.
x + 3 x x x
(g) - , (h) - . Ax + B C
2x + 1 3 4 5 8 Express + as a single
1 2 x2 + x + 10 x - 1
2 Find (a) + , fraction.
x + 2 x + 3
2 5 2 3 C
(b) + , (c) - , 9 Express Ax + B + as a single fraction.
x + 3 x + 1 2x + 1 3x + 2 x + 1
x + 1 x + 4 x - 1 x - 1 10 Show that
(d) + , (e) + .
x + 3 x + 2 x - 3 (x - 3)2 x1
5 4 1 1
3 Find + .
2x + 3 (2x + 3)2 x3
-
x2
1 11 x1 x2 x3
4 Find s + . is equal to .
7 21 x2 - x3
- a + b.
A B 3x x x 3x x x
5 Express + as a single fraction. 11 Find (a) - + , (b)
2x + 3 x + 1 4 5 3 4 5 3
Solutions to exercises
5x 5 2x
1 Simplify . 8 Find + .
25x + 10y 7y 3
Solutions to exercises
x 15 + 14xy
1 8
5x + 2y 21y
2r 3x - 14
2 9
p (x - 4)2
1 4x3 + 10x + 4
3 10
x + 1 2x2 + x
3x v + u uv
5 11 (a) (b)
11y uv v + u
3x s + 1
6 12
11(x + y) s2
1 2s3 + 5s2 + 3s + 6
7 13
x + 4 s3 + 6s2 + 11s + 6
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 119
7.1 Introduction
Formulae are used frequently in almost all aspects of engineering in order to relate a
physical quantity to one or more others. Many well-known physical laws are
described using formulae. For example, you may have already seen Ohm’s law,
v = iR, or Newton’s second law of motion, F = ma. In this block we describe the
process of evaluating a formula, explain what is meant by the subject of a formula,
and show how a formula is rearranged or transposed. These are basic skills required
in all aspects of engineering.
In the study of engineering, physical quantities can be related to each other using a for-
mula. The formula will contain variables and constants that represent the physical
quantities. To evaluate a formula we must substitute numbers in place of the variables.
Figure 7.1 v
v is given by the
formula v = iR. i
Ohm’s law provides a formula for relating the voltage, v, across a resistor to the cur-
rent through it, i, and the resistance value, R (Figure 7.1). It states
v = iR
We can use this formula to calculate v if we know values for i and R. For example, if
i = 13 A, and R = 5 Æ , then
v = iR
= (13)(5)
= 65
The voltage is 65 V.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 120
Note from this example that it is important to pay attention to the units of any physi-
cal quantities involved. Unless a consistent set of units is used a formula is not valid.
The most common set of units is the SI system given in Appendix 1 at the end of the
book. A knowledge of prefix conventions is also useful, and details are also given in
Appendix 1.
Speed v
Calculate the kinetic energy of an object of mass 5000 kg moving with a speed of
20 m s-1.
Solution
In this example M = 5000 and v = 20. Substituting these into the formula we find
E = 12 Mv2
= 12(5000)(202)
= 1000000
In the SI system the unit of energy is the joule. Hence the kinetic energy of the object
is 1000000 joules.
Figure 7.3
The area, A, is
given by A = pr2
or A = 14pd2. r
d
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 121
Figure 7.4
The volume, V, is
given by V = Ah.
Find the volume of a cylinder having diameter 0.1 m and length 0.3 m.
Solution
We can use the result of Example 7.3 to obtain the cross-sectional area. Then
V = Ah
p(0.1)2
= * 0.3
4
= 0.0024
The volume is 0.0024 m3.
Figure 7.5
A positive
displacement
pump. Pump chamber
Fluid
n rev s⫺1 L inlet
Fluid outlet/delivery
Piston
The actual delivery will be less than this owing to internal leakage. Calculate the theo-
retical pump delivery of such a pump when n = 0.5 revolutions per second,
L = 0.3 m, d = 0.1 m.
Solution
Substituting the given values we find
p(0.1)2(0.3)(0.5)
QT =
4
= 0.0012
R = R1 + R2 - R1R2
for calculating the reliability of two components in parallel when the individual
components have reliabilities R1 and R2. Suppose each component has the same
reliability, R1 = R2 = 0.8. Find the reliability of the whole system.
Solution
Substituting R1 = R2 = 0.8 in the given formula:
So the system as a whole has a 96% chance of functioning normally, whereas the indi-
vidual components had only an 80% chance of functioning normally. We see the great
improvement in reliability achieved by including a second component in parallel.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 123
The diameter of the resulting indentation is measured after the force is removed
(see Figure 7.6). There are several test standards but one of the most commonly used
is called a Brinell test and the material’s hardness (written HBW) is calculated from
the formula
2F
Brinell hardness = HBW = 0.102
pD(D - 2D2 - d2)
where D is the diameter of the tungsten carbide ball (in mm), d is the diameter of the
indentation (in mm) at the surface of the material, and F is the applied force (in new-
tons). This formula can be expressed in the equivalent form
F
Brinell hardness = HBW = 0.102
pD(D - 2D2 - d2)
2
pD(D - 2D2 - d2)
It can be shown that the quantity is the curved surface area of
2
the spherical indentation. Consequently, the Brinell number is proportional to the
ratio of the applied force to the curved surface area produced by the indenter. For a
given force, a small Brinell number corresponds to a large surface area and hence a
relatively soft material. Conversely, a large Brinell number corresponds to a small
surface area and hence a material which is relatively hard.
In an indentation test a tungsten carbide ball of diameter 10 mm is impressed upon
a sheet of steel with a force of 3000g newtons. (Here g is the constant acceleration
due to gravity, 9.81 m s2.) When the force is removed the diameter of the indenta-
tion is measured as 4 mm. Calculate the Brinell hardness.
Solution
We substitute the given values into the formula:
2F
HBW = 0.102
pD(D - 2D2 - d2)
2 * 3000 * 9.81
= 0.102
p * 10(10 - 2102 - 42)
= 229 (3 s.f.)
Compare this value with a typical hardness value of a much softer metal such as
brass that has a Brinell number of around 60.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 124
Exercises
1 The formula for the volume of a cylinder is 11 For the following formulae, find y at the given
V = pr2h. Find V when r = 5 cm and values of x:
h = 15 cm. (a) y = 2 - x, x = -3, x = -1, x = 1, x = 2
(b) y = x2, x = -2, x = -1, x = 0, x = 1, x = 2
2 If R = 5p2, find R when (a) p = 10,
(b) p = 16. 12 Mechanical Engineering – Moment of
inertia. The moment of inertia of an object is a
3 For the following formulae, find y at the given measure of its resistance to rotation. It depends
values of x: upon both the mass of the object and the
(a) y = 3x + 2, x = -1, x = 0, x = 1 distribution of mass about the axis of rotation.
(b) y = -4x + 7, x = -2, x = 0, x = 1 It can be shown that the moment of inertia, J,
of a solid disc rotating about an axis through
3 its centre and perpendicular to the plane of the
4 If P = find P if Q = 15 and R = 0.3.
QR disc is given by the formula
Solutions to exercises
5 y = 0.920 10 h = 0.764
8 (a) 50000 cm2 (b) 3300 cm2 (c) 62000 cm2 13 The system reliability increases from 0.96 to
0.99. The percentage improvement is 3.125%.
9 (a) 15000000 cm3 (b) 250000 cm3
(c) 8200000 cm3 0.204F 2
- a b .
0.408F
14 d2 =
pH pDH
In the formula for the area of a circle, A = pr2, we say that A is the subject of the
formula. A variable is the subject of the formula if it appears by itself on one side of
the formula, usually the left-hand side, and nowhere else in the formula. If we are
asked to transpose the formula for r, or solve for r, then we have to make r the sub-
ject of the formula. When transposing a formula there are five rules that must be
adhered to. You may
Key point 1 Add the same quantity to both sides of the formula.
2 Subtract the same quantity from both sides of the formula.
3 Multiply both sides of the formula by the same quantity.
4 Divide both sides of the formula by the same quantity.
5 Take ‘functions’ of both sides of the formula: for example, square both sides, square
root both sides, find the reciprocal of both sides.
In summary, and loosely speaking, we must do precisely the same to both sides.
Example 7.8
Transpose the formula p = 5t - 17 for t.
Solution
We must try to obtain t on its own on the left-hand side. We do this in stages by using
one or more of the five rules. For example, by adding 17 to both sides of p = 5t - 17
we find
p + 17 = 5t - 17 + 17
so that
p + 17 = 5t
By dividing both sides by 5 we obtain t on its own:
p + 17
= t
5
so that
p + 17
t =
5
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 126
Example 7.9
Find the result of squaring both sides of the formula z = a + b.
Solution
To square the right-hand side we must find (a b)2. We find
z2 = (a + b)2
= a2 + 2ab + b2
Note that if z = a + b, then z2 Z a2 + b2.
Example 7.10
Transpose the formula 22q = p for q.
Solution
First of all square both sides to remove the square root around 2q. Note that
(22q )2 = 2q. This gives
2q = p2
p2 1
Dividing both sides by 2 gives q = , which may be written as q = p2.
2 2
Example 7.11
Transpose the formula v = 2t2 + w for w.
Solution
We must try to obtain w on its own on the left-hand side. We do this in several stages.
First of all square both sides to remove the square root around t2 + w. This gives
v2 = t2 + w
Then subtract t2 from both sides to obtain an expression for w:
v2 - t2 = w
Finally, we can write down the formula for w:
w = v2 - t2
Example 7.12
1
Transpose x = for y.
y
Solution
We must try to obtain an expression for y. In the given formula y appears in the form
of a fraction. Multiplying both sides by y has the effect of removing this fraction:
1
multiply both sides of x = by y to get
y
1
yx = y *
y
so that yx = 1
1
Dividing both sides by x leaves y on its own, y = .
x
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 127
Solution
In the given formula R appears in a fraction. Multiplying both sides by (x + y) we
find
2(x + y)
= 3
R
Multiplying both sides by R we find
2(x + y) = 3R
Finally, dividing both sides by 3 gives
2(x + y)
R =
3
Solution
The two terms on the right can be added to give
1 1 R2 + R1
+ =
R1 R2 R1R2
The given formula becomes
1 R2 + R1
=
R R1R2
Multiplying both sides by R1 R2 we find
R1R2
= R2 + R1
R
and multiplying by R gives
R1R2 = R(R2 + R1)
Finally, dividing by (R2 R1) we find
R1R2
R =
R2 + R1
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 128
actual delivery
h =
theoretical delivery
QP
=
QT
If the actual and theoretical deliveries are equal the volumetric efficiency will be 1. A
designer will try to ensure that the value of h is as close to 1 as is possible in practice.
1
The theoretical delivery was given in Example 7.5 as pd2Ln. Hence
4
QP
h =
1 2
pd Ln
4
4Q P
=
pd 2Ln
Transpose this formula to make the actual delivery, QP, the subject of the formula.
Solution
From
4QP
h =
pd 2Ln
pd 2Lnh = 4Q P
pd 2Lnh
QP =
4
In this form it is possible to calculate the actual delivery of the pump from know-
ledge of its volumetric efficiency, the physical dimensions of the pump and the pump
speed.
w2 - w1 = e(v1 - v2)
Solution
We must try to obtain v1 on its own. Divide both sides by e to obtain an expression
for v1 - v2.
w2 - w1
v1 - v2 =
e
Figure 7.8 R1 R2 R1
(a) Two resistors in
series; (a)
(b) two resistors in
parallel. R2
(b)
When two resistors, R1 and R2, are placed in series in a circuit the equivalent resis-
tance, R, is R1 + R2. When the two are placed in parallel the equivalent resistance,
R, is given by
1 1 1
= +
R R1 R2
So, using Example 7.14 we can write
R1R2
R =
R1 + R2
Consider the circuit shown in Figure 7.9. Find the equivalent resistance of the circuit.
Figure 7.9 RB
RA
RC
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 130
Solution
The equivalent resistance of the parallel part of the circuit is
RB RC
RC + RB
This equivalent resistance is in series with the resistor RA. Hence the equivalent
resistance of the whole circuit is
RBRC
R = RA +
RC + RB
Figure 7.10
Heat flows along
the rod from the Insulation
warmer to the T2 T1
Heat flow
cooler end.
Insulation
Cross-section of
rod has area A
If the cross-sectional area of the rod is A and its length is / the amount of heat
energy crossing any cross-section parallel to the heated ends, per unit time, is given by
b
T2 - T1
Q = lAa
/
where l is a constant called the thermal conductivity of the metal. Observe from
this formula that if l is large, then the rate of heat flow, Q, will be relatively large.
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 131
Solution
From
b
T2 - T1
Q = lAa
/
This formula enables an engineer to calculate the temperature, for a given heat flow
rate, at which the left-hand end needs to be maintained in order to achieve a temper-
ature of T1 on the right-hand end.
Exercises
a b
2v 1
T =
g 1 - e
M05_CROF5939_04_SE_C05.QXD 9/21/18 7:26 AM Page 132
Solutions to exercises
y + 7 4 - 8y 2v
1 (a) x = (b) x = 5 e = 1 -
3 3 gT
4 - 8x 13 - 7y
(c) y = (d) x = A21q2
3 2 6 A2 =
A 2A1gh +
2
q2
RT RT y - r
2 (a) V = (b) P = 7 (a) x =
P V 1 + yr
PV PV
(c) R = (d) T = 1 + y2
T R (b) x =
1 - y2
2 v2 - x
3 (a) x = v - 2y (b) y =
2
17 - 4v + 3w
4 (a) u =
8
17 - 8u + 3w
(b) v =
4
8u + 4v - 17
(c) w =
3
1 Evaluate V = r21 + r22 when 6 Make the specified variable the subject of the
r1 = 0.1 and r2 = 0.05. formula:
(a) h = c + d + 2e, for e
2 If A + B + C = 180, find C when (b) S = 2pr2 + 2prh, for h
A = 30 and B = 60.
c + d
(c) Q = , for c
3 For the following formulae, find y at the given Ac - d
values of x: x + y x - y
1 1 (d) = + 2, for x
(a) y = x + , x = -2, x = 0, x = 1 3 7
2 3
(b) y = 2x2 + 3x + 1, x = -2, x = -1, 7 Make n the subject of the formula
x = 0, x = 1, x = 2 nE
(c) y = 2x3 + 3x2, x = -4, x = 0, x = 4 J =
nL + m
4 Transpose
8 Transpose the formula
c
p =
b
T2 - T1
2t Q = lAa
/
for t.
Solutions to exercises
1 0.0125 h - c - d S - 2pr2
6 (a) e = (b) h =
2 2pr
2 90 2
d(1 + Q ) 21 - 5y
(c) c = 2
(d) x =
Q - 1 2
3 (a) - 23 , 13 , 56 (b) 3, 0, 1, 6, 15
(c) -80, 0, 176 Jm
7 n =
E - JL
c 2
4 t = a b
b 1T2 - T12
p T2 - T1 lA
8 / = lAa or / =
Q Q
Ll
5 N =
A mA
1 Find the sum and product of 7, 11 and 91. 10 Remove the brackets from the following
expressions and simplify the result if possible:
2 Simplify (a) 9 - (-18), (b) 11 - (-11), (a) 7(x + 2y) + 8(2x - y)
(c) -3 - 14, (d) (-3)(-14). (b) 7(p + q) - 6(p + q)
(c) 2(x + y) + 3(x + 2y)
3 Find the value of 5(8 + 3) - 2(-3 - 6).
9! 11 Write down the reciprocal of
4 Find the value of . 1 3 2x
4! (a) 18 (b) (c) (d)
11 8 3y
5 Reduce each of the following fractions to its
simplest form: x9 x4
4 15 12 Simplify (a) x2x5x9, (b) , (c)
.
(a) 13 (b) 20 (c) 15 11
35 (d) 12 x4 x5
13 If V = Ah find the value of V when A = 3 and
6 Add 27 and 15 without using a calculator.
h = 26.
7 Find 38 * 5
without using a calculator.
7 14 Factorise (a) 16x2 - 4x, (b) 11y + 121,
8 8
Find of 120. (c) ax2 - bx, (d) c2 - 2cs, (e) s2 - 2cs.
5
2 3 2 3
18 Simplify (a) - , (b) + , 27 Simplify
x 2x x 2x
2 3 5 2
(c) * . - 2
x 2x x x
19 Transpose each of the following formulae to x + 1
make the given variable the subject:
c A 1 A 1
(a) x = , for y 28 Simplify - .
y 2z s - v 2z s + v
c A A
(b) x = , for c 29 Factorise - .
y t0 s t0 s2
2n + 5 30 Remove the square brackets from
(c) k = , for n
n + 3
c - sd
R - L 1 sv
(d) T = 2p , for R v s2 + v2
A g
Solutions to exercises
1 7 3
1 109, 7007 18 (a) (b) (c) 2
2x 2x x
c
2 (a) 27 (b) 22 (c) -17 (d) 42 19 (a) y = (b) c = xy
x
T 2
(d) R = L + g a b
3 73 5 - 3k
(c) n =
k - 2 2p
4 15120
4 3 3 11 20 (a) m-3 (b) 27a3b6c3 (c) yx9
5 (a) (b) (c) (d) 6 13 R - 1 1
13 4 7 12 21 (a) (b) (c) (d)
5 x + y 2R + 1 24
17
6 11
35 22 -
30
15
7 3 (x - 3)
56 23
8 192 4(2x - 5)
1885
9 (a) -27xy (b) 81x (c) 9x (d) -22x2 24
153
(e) x - 5y + 13z (f) -24mq (g) -24mq 25 (a) 453>6 (b) y13>12
(h) cannot be simplified
2bd uw + u + v - w2
(i) cannot be simplified (j) 4x (k) (l) 0 26
c (u - v) (u - w)
(m) -x2 (n) -x2 (o) -x2
5x - 2
27
10 (a) 23x + 6y (b) p + q (c) 5x + 8y x2 (x + 1)
1 8 3y Av
11 (a) (b) 11 (c) (d) 28
18 3 2x z(s + v)(s - v)
a1 - b
12 (a) x16 (b) x5 (c) x-1 A 1
29
t0 s s
13 78
s s
30 -
14 (a) 4x(4x - 1) (b) 11(y + 11) (c) x(ax - b) s2 + v2 v
(d) c(c - 2s) (e) s(s - 2c) a1s + a2s + a1 p2 + a2 p1
31
(s + p1)(s + p2)
15 (a) a2 - 2a - 15 (b) 2b2 - 8b - 42
s3 + 5s2 + 9s + 7
(c) 6c2 + 5c - 4 (d) -10d2 - 21d - 8 32
(s + 2)(s + 1)
16 (a) (2x - 1)(x - 5) (b) (x + 5)(2x + 3) 1
33
9x 37x s(s + v 2)
2
17 (a) (b)
20 60
M06_CROF5939_04_SE_C06.QXD 11/28/18 7:24 PM Page 136
Chapter 6
Functions and mathematical models
Chapter 6 contents
1.1 Introduction
In engineering there are many quantities that change their value as time changes. For
example, the temperature of a furnace may change with time as it is heated. Simi-
larly, there are many quantities that change their value as the location of a point of
interest changes. For example, the shear stress in a bridge girder will vary from point
to point across the bridge. A quantity whose value can change is known as a
variable. We use functions to describe how a variable changes as a consequence of
another changing. There are many different types of function that are used by engin-
eers. We shall be examining some of these in later blocks.
v = u + at
This is a mathematical equation for modelling the velocity of a body that is changing
due to acceleration. In words we would say, ‘The velocity (v) at any particular instant
is its initial velocity (u) plus the product of its acceleration (a) and the time elapsed
(t).’ Note that velocity, v, is changing with time and so is a variable whereas initial
velocity, u, is a fixed quantity and so is a constant.
However, some caution is needed. Both of these equations apply only under very
particular circumstances which are not apparent simply by examining the equations.
These particular circumstances may rarely if ever be achieved in reality and so the
equation is then an approximation to what is really happening.
So mathematical models are usually an idealised description of the real situation.
In the above example, the equation v = u + at requires that acceleration, a, is con-
stant. If the acceleration of a body was almost constant, then we may decide that this
equation, which requires constant acceleration, is an adequate model of reality. As
another example, consider again Ohm’s law which describes the relationship
between voltage across a resistor, V, current, I and resistance, R:
V = IR
This is, however, based on some assumptions that simplify the situation. The equa-
tion assumes that there is no variation in the current density across the cross-section
of the resistor. For large voltages, the resistor breaks down and so it is assumed that
the voltage is within limits such that the resistance remains constant. So it must be
remembered that a mathematical model is an approximation to real life.
Sometimes there is no known physical law that relates particular variables. In such
cases, measurements are sometimes made and from this experimental data it may be
possible to construct an equation (or equations) that adequately captures the relation-
ship between the measured quantities. Any assumptions which are made in con-
structing such equations must be clearly stated.
Many situations require more than one equation to describe them. Consider an
electric circuit comprising several meshes (see Chapter 13, Block 6 for details). The
currents in the meshes are modelled by a system of simultaneous equations. These
simultaneous equations need to be solved to determine each individual mesh current.
We now return to the concept of a variable. It is often useful to distinguish
between independent and dependent variables. Dependent variables are dependent
upon the values of the independent variables. The purpose of a mathematical model
is to have a clear mathematical understanding, in the form of a set of equations, of
how the dependent variables change in response to changes in the independent
variables.
Even though mathematical models are approximations of reality, they have many
advantages. By modelling a situation accurately, it is possible to calculate the effects
of changing the values of the physical quantities, without actually conducting real-
life experiments. For example, by modelling the strength of a metal beam it is poss-
ible to see the effects of changing its cross-sectional area or length without having to
manufacture and test a set of actual metal beams. So, although mathematical models
are theoretical constructs of an idealised situation, their ability to predict the effects
of changing values of key characteristics of a situation is widely used.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 140
In order for a rule to be a function it must produce only a single output for any
given input. The function with the rule ‘treble the input’ is shown in Figure 1.2.
Note that with an input of 4 the function would produce an output of 12. With a more
general input, x say, the output will be 3x. It is usual to assign a letter to a function in
order to label it. The trebling function in Figure 1.2 has been given the symbol f.
Key point A function is a rule that operates on an input and produces a single output from that
input.
Note that the set diagram in Figure 1.2 illustrates that for any input we choose we
obtain just one output, because just one arrow leaves each input value.
Figure 1.2 f
The function with f
Input Output
rule ‘treble the 4 Treble the input 12
input’.
4 12
f
x 3x
x Treble the input 3x
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 141
Solution
In each case the function rule instructs us to multiply the input by 7 and then subtract 2.
(a) When the input is 4 the output is 26
(b) When the input is 3 the output is -23
(c) When the input is x the output is 7x - 2
Several different notations are used by engineers to describe functions. For the
trebling function in Figure 1.2 it is common to write
f (x) = 3x
This indicates that with an input x, the function, f, produces an output of 3x. The
input to the function is placed in the brackets after the ‘f ’. Do not interpret this as
multiplication. f (x) is read as ‘f is a function of x’, or simply ‘f of x’, meaning that the
value of the output from the function depends upon the value of the input x. The
value of the output is often called the value of the function.
Sometimes f (x) = 3x is abbreviated to simply f = 3x, and it is then left to the
reader to note that f is a function of x.
Example 1.2 Thermodynamics – Converting centigrade to kelvin
Temperatures can be recorded in either centigrade (°C) or kelvin (K). Temperatures
in centigrade can be converted to their equivalent in kelvin by adding 273. So, for
example, 70 °C is equivalent to 70 + 273 = 343 K.
This may be expressed diagrammatically as shown in Figure 1.4 where the input,
T, is the temperature in °C and the output is the temperature in K or algebraically as
f (T) = T + 273
Example 1.3
State the rule of each of the following functions:
(a) f (x) = 6x (b) f (t) = 6t - 1 (c) g(z) = z2 - 7 (d) h(t) = t3 + 5
(e) p(x) = x3 + 5
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 142
Solution
(a) The rule for f is ‘multiply the input by 6’.
(b) Here the input has been labelled t. The rule for f is ‘multiply the input by 6 and
subtract 1’.
(c) Here the function has been labelled g and the input has been labelled z. The
rule for g is ‘square the input and subtract 7’.
(d) The rule for h is ‘cube the input and add 5’.
(e) The rule for p is ‘cube the input and add 5’.
Note from Example 1.3 parts (d) and (e) that it is the rule that is important when
describing a function and not the letters being used. Both h(t) and p(x) instruct us to
‘cube the input and add 5’.
Example 1.4
Write down a mathematical function that can be used to describe the following rules:
(a) ‘square the input and divide the result by 2’
(b) ‘divide the input by 3 and then add 7’
Solution
(a) Use the letter x for input and the letter f to represent the function. Then
x2
f (x) = f (x) =
2
(b) Label the function g and call the input t:
t
g(t) = g(t) = + 7
3
Exercises
Solutions to exercises
2 (a) multiply the input by 5, (b) same as (a), (e) subtract the input from 1, (f) divide the
(c) multiply the input by 8 and then add 10, input by 3 and then add 23 , (g) add 1 to the
(d) multiply the input by 7 and then subtract 27, input and then find the reciprocal of the result.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 143
The input to a function is called its argument. It is often necessary to obtain the out-
put from a function if we are given its argument. For example, given the function
g(t) = 3t + 2 we may require the value of the output when the argument is 2. We
write this as g(t = 2) or more usually and compactly as g(2). In this case the value of
g(2) is 3 * 2 + 2 = 8.
Example 1.5
Given the function f (x) = 3x + 1 find
(a) f (2)
(b) f (-1)
(c) f (6)
Solution
(a) State the function rule:
Solution
v(t) = u + at
= 6 + 2t
v(14) = 6 + 2(14) = 34
The velocity after 14 seconds is 34 m s-1.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 144
Example 1.8
Given the function y(x) = 3x + 2 find
(e) ya b =
t t
3 + 2
a a
Exercises
Solutions to exercises
1
1 The argument is the input. (c)
x + h
2 (a) 59 (b) 19 (c) -1 (d) 2.12 The corresponding expressions are (a) 2xh + h2
(b) 3x2h + 3xh2 + h3
3 (a) 2x2 + 4 (b) 8x2 + 4 (c) 2x2 + 4
(d) 32x2 + 32x + 12 (e) 18t2 + 60t + 54 1 1 h
(c) - = -
2t2 x + h x x(x + h)
(f) 2l2 + 4 (g) 2(t - l)2 + 4 (h) + 4
a2
1
4 (a) 27t2 - 7 (b) 3t2 + 30t + 68 6
x 2
(c) 108t2 - 144t + 41 a1 - b
(d) 48x2 + 216x + 236 /
5 (a) x2 + 2xh + h2
(b) x3 + 3x2h + 3xh2 + h3
1 State the rule of each of the following 5 Area of a circle. The area, A, of a circle
functions: depends upon the radius, r, according to
(a) f (v) = 9v (b) f (t) = 12t
A(r) = pr2
(c) f (x) = 208x + 36 (d) f (t) = 25t - 18
10 Calculate A(2r) and hence show that when the
(e) f (x) = 12 x + 3
4 (f) g(x) = radius of a circle is doubled, its area is
x
increased by a factor of 4.
2 Given the function g(x) = 6 - 12x find
(a) g(1) (b) g(7) (c) g(-2) (d) g1122
6 Volume of a sphere. The volume, V, of a
sphere depends upon the radius, r, according to
(e) g(0.01) (f) g(-0.5)
4pr3
V(r) =
1 3
3 Given the function f (x) = find
x (a) Calculate V(2r). Hence determine how the
(a) f (l) (b) f (t) (c) f (t - l) (d) f (v - x) volume of a sphere changes when the
(e) f a b
t radius is doubled.
a (b) By what factor does the volume of a
sphere change when the radius is halved?
1
4 If F(s) = find (a) F(s - 1),
s + 1
(b) F(s + 1), (c) F(s2 + v2).
Solutions to exercises
1 (a) multiply the input by 9 (b) multiply the 18 (e) find one-half of the input and then add 34
input by 12 (c) multiply the input by 208 and (f) divide the number 10 by the input.
add 36 (d) multiply the input by 25 and subtract
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 146
2.1 Introduction
Engineers often find mathematical ideas easier to understand when these are por-
trayed visually as opposed to algebraically. Graphs are a convenient and widely used
way of portraying functions. By inspecting a graph it is easy to describe a number of
properties of the function being considered. For example, where is the function posi-
tive, and where is it negative? Where is it increasing and where is it decreasing? Do
function values repeat? Questions such as these can be answered once the graph of a
function has been drawn. In this block we shall describe how the graph of a function
is obtained and introduce various terminology associated with graphs.
Consider the function f (x) = 2x. The output from this function is obtained by multi-
plying the input by 2. We can choose several values for the input to this function and
calculate the corresponding outputs. We have done this for integer values of x
between 2 and 2, and the results are shown in Table 2.1.
Table 2.1
Input, x -2 -1 0 1 2
Output, f (x) -4 -2 0 2 4
To construct the graph of this function we first draw a pair of axes – a vertical axis
and a horizontal axis. These are drawn at right angles to each other and intersect at
the origin O as shown in Figure 2.1.
Each pair of input and output values can be represented on a graph by a single
point. The input values are measured along the horizontal axis and the output values
are measured along the vertical axis. The horizontal axis is often called the x axis.
The vertical axis is commonly referred to as the y axis, so that we often write the
function as
y = f (x)
= 2x
or simply
y = 2x
Each pair of x and y values in the table is plotted as a single point shown as • in
Figure 2.1. The point is often labelled as (x, y). The values of x and y are said to
be the coordinates of the point. The points are then joined with a smooth curve to
produce the required graph as shown in Figure 2.1. Note that in this case the graph is
a straight line.
y = g(x)
= 5x + 2 -5 … x … 20
has any value of x between 5 and 20 inclusive as its domain because it has been
stated as this. If the domain of a function is not stated then it is taken to be the largest
set possible. For example,
h(t) = t2 + 1
has domain (- q , q ) since h is defined for every value of t and the domain has not
been stated otherwise.
The set of values of the function for a given domain, that is the set of y values, is
called the range of the function. The range of g(x) is [-23, 102]. The range of h(t) is
[1, q ) although this may not be apparent to you at this stage. The range can usually
be identified quite easily once a graph has been drawn.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 149
Key point In the function y = f (x), x is called the independent variable and y is called the
dependent variable because the value of y depends upon the value chosen for x.
The set of x values used as input to the function is called the domain of the function.
The set of values that y takes as x is varied is called the range of the function.
Example 2.1
Consider the function given by g(t) = 2t2 + 1, -2 … t … 2.
(a) State the domain of the function.
(b) Plot a graph of the function.
(c) Deduce the range of the function from the graph.
Solution
(a) The domain is given as the closed interval [2, 2], that is any value of t
between 2 and 2 inclusive.
(b) To construct the graph a table of input and output values must be constructed
first. Such a table is shown in Table 2.2.
Table 2.2
t 2 1 0 1 2
y = g(t) 9 3 1 3 9
Each pair of t and y values in the table is plotted as a single point shown as •.
The points are then joined with a smooth curve to produce the required graph as
shown in Figure 2.2.
Figure 2.2
Graph of 9 g(t) 2t 2 1
g(t) = 2t2 + 1.
t
2 1 O 1 2
(c) The range is the set of values that the function takes as x is varied. By
inspecting the graph we see that the range of g is the closed interval [1, 9].
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 150
Example 2.2
Consider the function given by f (x) = x2 + 2, -3 … x … 3.
(a) State the domain of the function.
(b) Draw up a table of input and output values for this function.
(c) Plot a graph of the function.
(d) Deduce the range of the function by inspecting the graph.
Solution
(a) Recall that the domain of a function f (x) is the set of values that x is allowed to
take. Write this set of values as an interval:
[-3, 3]
(b) The table of values has been partially calculated. Complete this now:
x -3 -2 -1 0 1 2 3
x2 + 2 6 2
x -3 -2 -1 0 1 2 3
x2 + 2 11 6 3 2 3 6 11
Figure 2.3
Graph of 11
f (x) = x2 + 2. 10
f (x) x 2 2
x
3 2 1 O 1 2 3
(d) Recall that the range of the function is the set of values that the function takes
as x is varied. It is possible to deduce this from the graph. Write this set as an
interval.
[2, 11]
Example 2.3
Explain why the value x = -4 must be excluded from the domain of the function
3
f (x) =
(x + 4)2
Solution
When x = -4 the denominator
is zero, so f is undefined here.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 151
Figure 2.4
A liquid storage
system.
Figure 2.4 shows a tank that is used to store a liquid. Liquid can be let into the tank
through an inlet pipe at the top, and it discharges from the tank through a spout in
the side near its base. Such a situation occurs frequently in chemical engineering
applications. Under certain conditions the flow through the spout will be laminar or
smooth, and the rate of outflow, Q, is proportional to the depth, or head, H, of liquid
in the tank. This is expressed mathematically as
Q = KH
where K is a constant of proportionality called the discharge coefficient. The depen-
dent variable Q is a function of the independent variable H. Here the input to the
function is the head H, the function rule is ‘multiply the input by K’, and the result-
ing output is the flow rate Q. A graph of Q against H is shown in Figure 2.5(a).
Figure 2.5 Q Q
(a) Laminar flow Q K H
characteristic; Q KH
(b) turbulent flow
characteristic.
(a) H (b) H
If the flow through the spout is turbulent then a different functional relationship
exists between Q and H:
Q = K2H
Here the function rule is ‘take the positive square root of the input, H, and multiply this
by the discharge coefficient, K’. The output is the flow rate Q. A graph of Q against H is
shown in Figure 2.5(b).
Exercises
1 Explain the meaning of the terms ‘dependent 2 When stating the coordinates of a point, which
variable’ and ‘independent variable’. When coordinate is given first?
plotting a graph, which variables are plotted
on which axes?
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 152
3 Explain the meaning of an expression such as 5 Plot a graph of the following functions. In each
y(x) in the context of functions. What is the case state the domain and the range of the
interpretation of x(t)? function.
(a) f (x) = 3x + 2, -2 … x … 5
4 Explain the meaning of the terms ‘domain’ (b) g(x) = x2 + 4, -2 … x … 3
and ‘range’ when applied to functions. (c) p(t) = 2t2 + 8, -2 … t … 4
(d) f (t) = 6 - t2, 1 … t … 5
Solutions to exercises
1 The independent variable is plotted on the 3 x(t) means that the dependent variable x is a
horizontal axis. The dependent variable is function of the independent variable t.
plotted on the vertical axis.
5 (a) domain [-2, 5], range [-4, 17]
2 The independent variable is given first, as in (b) [-2, 3], [4, 13] (c) [-2, 4], [8, 40]
(x, y). (d) [1, 5], [-19, 5].
Computer software packages make it very easy to plot graphs of functions. Not only
can they produce graphs accurately and quickly, but also they generally have other
useful facilities. For example, it is possible to zoom in on particular parts of the
graph, and to redraw a graph using different axes. It is straightforward to produce
multiple plots with several graphs in one figure. Furthermore, packages can be used
to plot other forms of graph such as polar plots, parametric plots (see Block 5), etc.
When you have managed to produce some simple graphs you will find on-line help
facilities that will enable you to explore this topic further.
Example 2.5
Use a computer package to plot a graph of the function f (x) = 2x3 - 3x2 - 39x + 20
for values of x between -6 and 6. By inspecting the graph locate the values of x
where the graph cuts the horizontal axis.
Solution
Maple
In Maple the command to plot a graph of this function is
plot(2*x^ 3 - 3*x^ 2 - 39*x + 20,x = -6..6);
Note that Maple requires the multiplication symbol * to be inserted, and uses the
symbol ^ to denote a power. Note that the domain of interest is entered in the form
x = -6..6. Maple produces the output shown in Figure 2.6, which can be customised as
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 153
required by the user. By inspection the graph cuts the horizontal axis at x = -4, x = 5
and x = 12 .
Figure 2.6 100
x
–6 –4 –2 2 4 6
–100
–200
Matlab
In Matlab it is first necessary to specify the coordinates of all the required points on the
graph. Matlab will then plot the points and join them with a smooth curve. Clearly we
want points for which the value of x lies between 6 and 6. Suppose we want to plot
points at intervals of 0.1. The appropriate values of x are defined using the command
x = -6:0.1:6;
Then at each of these values of x, the value of y is calculated using the command
y = 2*x.^ 3 - 3*x.^ 2 - 39*x + 20;
Note the requirement to input x3 as x.^3, and so on. Finally the command to plot the
graph is
plot(x,y);
Matlab produces the graph, similar to that produced by Maple, in a new window. You
should explore the commands to add labels, title, reposition the axes, etc.
1 Plot graphs of y = x2 and y = -x2 for 0 … TC … 100. What is the range of this
-4 … x … 4. In each case state the domain function?
and range of the function.
5 Plot a graph of the function
2 On the same diagram draw graphs of
y = 7x + 1 and y = 7x + 2. Comment on f (x) = (x - 2) (x + 4)
any similarities between the two graphs.
What is the range of this function?
3 On the same diagram draw graphs of y = 3x
and y = 4x. Comment on any similarities 6 Explain why the value x = 0 must be excluded
between the two graphs. from the domain of
1
4 The relationship between a temperature, TF, g(x) =
measured in degrees Fahrenheit (°F) and a x(x - 7)
temperature TC measured in degrees Celsius
What other value must be excluded and why?
(°C) is given by the function TF = 95 TC + 32.
Plot a graph of this function for the domain
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 154
Solutions to exercises
4 [32, 212]
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 155
Composition of functions
BLOCK 3
3.1 Introduction
When the output from one function is used as the input to another function we form
what is known as a composite function. We study composite functions in this block.
Consider the two functions g(x) = x2 and h(x) = 3x + 5. Block diagrams showing
the rules for these functions are shown in Figure 3.1.
Figure 3.1 g
Block diagrams of
two functions g x Square the input x2
and h.
h
Treble the input
x 3x 5
and add 5
Suppose we place these block diagrams together in series as shown in Figure 3.2,
so that the output from function g is used as the input to function h.
Figure 3.2 g h
The composition x2 Treble the input
of the two x Square the input 3x 2 5
and add 5
functions to give
h(g(x)).
Study Figure 3.2 and deduce that when the input to g is x the output from the two
functions in series is 3x2 + 5. Since the output from g is used as input to h we write
h(g(x)) = h(x2)
= 3x2 + 5
The form h(g(x)) is known as the composition of the functions g and h.
Suppose we interchange the two functions so that h is applied first, as shown in
Figure 3.3.
Figure 3.3 h g
The composition of
Treble the input 3x 5
the two functions to x Square the input (3x 5)2
and add 5
give g(h(x)).
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 156
Study Figure 3.3 and note that when the input to h is x the final output is (3x + 5)2.
We write
g(h(x)) = (3x + 5)2
Example 3.1
Given two functions g(t) = 3t + 2 and h(t) = t + 3 obtain expressions for the
compositions
(a) g(h(t)) (b) h(g(t))
Solution
(a) We have
g(h(t)) = g(t + 3)
Now the rule for g is ‘triple the input and add 2’, and so we can write
g(t + 3) = 3(t + 3) + 2
= 3t + 11
h(g(t)) = h(3t + 2) = 3t + 5
We note that h(g(t)) Z g(h(t)).
Example 3.2
Find f (f (x)) when f (x) = 3x + 2.
Solution
Here the function rule is ‘multiply the input by 3 and then add 2’. The composite
function f(f(x)) is illustrated in Figure 3.4.
f ( f (x)) = f (3x + 2)
= 3(3x + 2) + 2
= 9x + 8
Figure 3.4 f f
The composition
Multiply the input 3x 2 Multiply the input
of f (x) with itself. x
by 3 and add 2 3(3x 2) 2
by 3 and add 2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 157
Exercises
x - 3 1
1 Find f (g(x)) when f (x) = x - 7 and g(x) = x2. 4 If f (x) = and g(x) = find g(f (x)).
x + 1 x
2 If f (x) = 8x + 2 find f (f (x)).
Solutions to exercises
Solutions to exercises
1 (a) -x2 - 18x - 78 (b) -2x2 - 36x - 155 5 If g(x) = 7x, and h(x) = x - 2, then
(c) 16 - 2x2 (d) x + 18 h(g(x)) = 7x - 2.
3 x + 3, 2x2 + 3 x + 3 x - 3 3 - x
7 (a) - (b) (c)
3x + 8 3x - 8 3x - 10
4 If g(x) = 7x, and h(x) = x - 2, then 2
g(h(x)) = 7(x - 2). 8 (a) 7 - (b) x Z 0
x
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 158
4.1 Introduction
One-to-many rules
Recall from Block 1 that a rule for a function must produce a single output for a
given input. Not all rules satisfy this criterion. For example, the rule ‘take the square
root of the input’ cannot be a rule for a function because for a given input, other than
zero, there are two outputs: an input of 4 produces outputs of 2 and -2. Figure 4.1
shows two ways in which we can picture this situation, the first being a block dia-
gram, and the second using two sets representing input and output values and the
relationship between them.
Such a rule is described as a one-to-many rule. This means that one input pro-
duces more than one output. This is obvious from inspecting the sets in Figure 4.1.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 159
The graph of the rule ‘take ; 2x’ can be drawn by constructing a table of values:
x 0 1 2 3 4
y = ;2x 0 ;1 ;22 ;23 ;2
The graph is shown in Figure 4.2. Plotting a graph of a one-to-many rule will result
in a curve through which a vertical line can be drawn that cuts the curve more than
once as shown.
Figure 4.2
A vertical line cuts
the graph of a one- y
to-many rule more
than once.
x
3 3
We see that a horizontal line drawn on the graph cuts it more than once. This
means that two different inputs have yielded the same output and so the function is
many-to-one.
If a function is not many-to-one then it is said to be one-to-one. This means that
each different input to the function yields a different output. Consider the function
y(x) = x3, which is shown in Figure 4.5.
Figure 4.5 y
The function
y(x) = x3 is a one- 10 y x3
to-one function.
x
5 5
15
A horizontal line drawn on this graph will intersect the curve only once. This
means that each input value of x yields a different output value for y.
Example 4.1 Electrical Engineering – Voltage in a circuit
The function shown in Figure 4.6 is often used to model voltage, V, in electric cir-
cuits. It is known as a sine function – this function is described in detail in Chapter 9.
Figure 4.6 V
A sine function
used to model
voltage.
Figure 4.7(a)
(a)
Figure 4.7(b)
(b)
one-to-one function
Exercises
We have seen that a function can be regarded as taking an input, x, and processing it
in some way to produce a single output f(x) as shown in Figure 4.8.
A natural question to ask is whether we can find a function that will reverse the
process. In other words, can we find a function that will start with f(x) and process it
to produce x? This idea is also shown in Figure 4.8. If we can find such a function it
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 162
Figure 4.8 f
The second block
reverses the x Process f (x)
process in the first.
f 1
is called the inverse function to f(x) and is given the symbol f - 1(x). Do not confuse
the ‘ -1’ with an index, or power. Here the superscript is used purely as the notation
for the inverse function. Note that f - 1( f (x)) = x, as shown in Figure 4.9.
Figure 4.9 f f 1
f - 1, if it exists,
reverses the f (x)
x Process Reverse process x
process in f.
Key point f - 1(x) is the notation used to denote the inverse function of f (x). The inverse function,
if it exists, reverses the process in f (x).
Example 4.3
Find the inverse function for f (t) = 3t - 8.
Solution
The function f(t) takes an input, t, and produces an output, 3t - 8. The inverse
function, f - 1, must take an input 3t - 8 and give an output t. That is,
f - 1(3t - 8) = t
z + 8
If we introduce a new variable z = 3t - 8, and transpose this to give t = ,
3
then
z + 8
f - 1(z) =
3
So the rule for f - 1 is add 8 to the input and divide the result by 3. Writing f - 1 with t
as its argument instead of z gives
t + 8
f - 1(t) =
3
This is the inverse function of f (t).
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 163
Solution
This function takes an input x and produces an output 8 - 7x. The inverse function
g - 1 must take an input 8 - 7x and produce an output x. That is,
g - 1(8 - 7x) = x
Introduce a new variable z = 8 - 7x and transpose this for x in order to find the
inverse function.
8 - z
g - 1(z) =
7
Write the inverse function with an argument of x.
8 - x
g - 1(x) =
7
Example 4.5
3x - 2
Find the inverse function of f (x) = .
x
Solution
The inverse function must be such that f -1 a b = x . By letting z =
3x - 2 3x - 2
x x
find the inverse function.
2
f -1(z) =
3 - z
Write this with x as its argument.
2
f -1(x) =
3 - x
Not all functions possess an inverse function. In fact, only one-to-one functions do
so. If a function is many-to-one the process to reverse it would require many outputs
from one input, contradicting the definition of a function.
Exercises
1 Explain what is meant by the inverse of a 3 Find the inverse of each of the following
function. functions:
(a) f (x) = 4x + 7 (b) f (x) = x
2 Explain why a many-to-one function does not 1
have an inverse function. Give an example. (c) f (x) = -23x (d) f (x) =
x + 1
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 164
Solutions to exercises
-1 x - 7 x 1 - x
3 (a) f (x) = (b) f - 1(x) = x (c) f -1
(x) = - (d) f -1
(x) =
4 23 x
Solutions to exercises
5 - x
1 (a), (b) and (d) are one-to-one. 4 f -1(x) =
4
-1 7x + 3
2 f (x) = x + 1
4 6 g -1(x) =
1 - x
3 2x - 2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 165
5.1 Introduction
We have already seen that it is possible to represent a function using the form
y = f (x). This is sometimes called the cartesian form. An alternative representation
is to write expressions for y and x in terms of a third variable known as a parameter.
Commonly the variables t or u are used to denote the parameter.
For example, when a projectile such as a ball or rocket is thrown or launched, the
x and y coordinates of its path can be described by a function in the form y = f (x).
However, it is often useful also to give its x coordinate as a function of the time after
launch, that is x(t), and its y coordinate in the same way as y(t). Here time t is the
parameter.
x = 4t y = 2t 2, for -1 … t … 1 (1)
For different values of t between -1 and 1, we can calculate pairs of values of x and
y. For example, when t = 1 we see that x = 4(1) = 4 and y = 2 * 12 = 2. That is,
t = 1 corresponds to the point with xy coordinates (4, 2).
A complete table of values is given in Table 5.1.
Table 5.1
t -1 -0.5 0 0.5 1
x -4 -2 0 2 4
y 2 0.5 0 0.5 2
If the resulting points are plotted on a graph then different values of t correspond
to different points on the graph. The graph of (1) is plotted in Figure 5.1. The arrow
on the graph shows the direction of increasing t.
It is sometimes possible to convert a parametric representation of a function into
the more usual form by combining the two expressions to eliminate the parameter.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 166
x
Thus if x = 4t and y = 2t 2 we can write t = and so
4
y = 2t 2
x 2
= 2a b
4
2x 2
=
16
x2
=
8
x2 x2
So y = . Using y = and giving values to x we can find corresponding values
8 8
of y. Plotting (x, y) values gives exactly the same curve as in Figure 5.1.
Figure 5.1 y
Graph of the
function defined t 1 2 t1
parametrically by
x = 4t, y = 2t 2,
-1 … t … 1.
1
t 0.5 t 0.5
t0 x
4 3 2 1 1 2 3 4
Example 5.1
at + b, y = at - b , 1 … t … 8.
1 1 1 1
Consider the function x =
2 t 2 t
(a) Draw up a table of values of this function.
(b) Plot a graph of the function.
Solution
(a) A partially completed table of values has been prepared. Complete the table.
t 1 2 3 4 5 6 7 8
x 1 1.25 1.67 4.06
y 0 0.75 3.94
(b) The graph is shown in Figure 5.2. Add your points to those already marked on
the graph. The arrow on the graph shows the direction of increasing t.
It is possible to eliminate t between the two equations so that the original parametric
form can be expressed as x2 - y2 = 1.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 167
Exercises
1 Explain what is meant by the term ‘parameter’. (b) Plot a graph of this function.
(c) Obtain an explicit equation for y in terms
2 Consider the parametric equations of x.
x = + 2t, y = t, for 0 … t … 10.
(a) Draw up a table of values of t, x and y for
values of t between 0 and 10.
Solution to exercise
1 Consider the parametric equations x = 3t, 3 Obtain the cartesian equation of the function
y = 9t2. defined parametrically by x = t, y = 1 - t,
(a) Plot a graph of this function. for 0 … t … 1.
(b) Find an explicit expression for y in
terms of x. 4 Plot a graph of the function defined by
x = - 2t, y = t, for t Ú 0.
2 Given the parametric equations
x = 3t + 2 y = -3t + 5
plot a graph of y against x.
Solutions to exercises
3 y = 1 - x, 0 … x … 1
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 168
Describing functions
BLOCK 6
6.1 Introduction
There are a number of different terms used to describe the ways in which functions
behave. Some graphs have gaps or jumps known as discontinuities, others possess
various symmetries. Some graphs have a pattern that repeats at regular intervals. In
this block we explain some of these terms and give examples.
Figure 6.1
(a) A continuous
function;
(b) a discontinuous
function.
(a) (b)
Consider the graph shown in Figure 6.1(a). The curve can be traced out from left to
right without moving pen from paper. Such a function is called continuous. If we try
to trace out the curve in Figure 6.1(b), the presence of the jump in the graph means
that a pen must be lifted from the paper and moved in order to trace the graph. Such
a function is said to be discontinuous. A jump is known as a discontinuity.
Example 6.1
Sketch a graph of a function that has two discontinuities.
x
3 2 1 O 1 2 3
and say ‘the limit of f(x) as x tends to 0 from above is 0’. The small superscript is
used to indicate that 0 is approached from the right-hand side.
On the other hand if x gets closer to 0 from the left-hand side, the value of f(x)
remains at 3. We write
lim f (x) = 3
x:0 -
and say ‘the limit of f(x) as x tends to 0 from below is 3’. The small superscript - is
used to indicate that 0 is approached from the left-hand side.
In this example the right-hand limit and the left-hand limit are not equal, and this
is indicative of the fact that the function is discontinuous.
Example 6.3
Consider again the function
3 x 6 0
f (x) = b
x2 x Ú 0
shown in Figure 6.2.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 170
Solution
(a) f(3) 9
(b) Ask ‘what value does y approach when x approaches 3 from the right?’
9
(c) Ask ‘what value does y approach when x approaches 3 from the left?’
9
Note that in this case the right- and left-hand limits are the same, and equal to the
value of the function at x = 3. In such a case we say the limit of the function exists
at the point x = 3 and write
lim f (x) = 9
x:3
The limit exists because the function is continuous at the point where x = 3.
If the right-hand and left-hand limits are the same, we can simply describe this com-
mon limit as lim x : a f(x). If the limits are not the same we say the limit of the
function does not exist at x = a.
Exercises
Solutions to exercises
Any function that has a definite pattern repeated at regular intervals is said to be
periodic. Each complete pattern is known as a cycle. The interval over which the repe-
tition takes place is called the period of the function, and is usually given the symbol T.
Each cycle has length T. The pattern of the function is repeated every cycle. Hence
increasing or decreasing the value of t by T will not change the value of the function.
Example 6.4 illustrates this behaviour. This is stated mathematically as
f(t) = f(t + T ) for all values of t in the domain of f (t)
Key point Let f (t) be a periodic function with period T. Then for all values of t in the domain of
f (t):
f(t) = f(t + T )
Example 6.4
A periodic function is shown in Figure 6.3. The horizontal axis is labelled t, and t is
measured in milliseconds.
(a) State the period, T, of this function.
(b) How many complete cycles will take place in 1 second?
Figure 6.3 f (t)
A periodic
function. 1
t
10 5 O 5 10 15
Solution
(a) 10 milliseconds
(b) 100
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 172
Exercises
1 Explain what is meant by a periodic function. 4 A periodic function has period 0.01
seconds. How many times will the pattern
2 Sketch a graph of a periodic function that has in the graph repeat over an interval of 10
no discontinuities. seconds?
Solution to exercise
4 1000
Example 6.5
Figure 6.4 shows graphs of several functions. They share a common property. Study
the graphs and comment on any symmetry.
Figure 6.4
Solution
The graphs are symmetrical
about the vertical axis
Any function that is symmetrical about the vertical axis – that is, the graph on the
right is a mirror image of that on the left – is said to be an even function. Even func-
tions have the following property:
Key point An even function is such that f (-x) = f (x) for all x.
The graph of an even function is symmetrical about the vertical axis.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 173
Example 6.6
Extend the graph in Figure 6.5 in order to produce a graph of an even function.
Figure 6.5
Extend this graph
to produce an even
function.
Solution
Figure 6.6 y
The catenary.
y cosh x
x
O
Solution
(a) function is even
(b) many-to-one
(c) continuous
(d) 1
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 174
Example 6.8
Show algebraically that the function f (x) = 2x4 - 3 is an even function.
Solution
To show that f is even we must show that f (-x) = f (x). Now
f(-x) = 2(-x)4 - 3
= 2x4 - 3 since (-x)4 = x4
But this is the same as f(x). We have shown f (-x) = f (x) and so f is an even function.
Check for yourself that f (-2) = f (2).
Imagine pivoting a graph at the origin and rotating it through 180°. If the result is the
same as the original graph there is said to be rotational symmetry of order 2 about
the origin.
Example 6.9
Figure 6.7 shows graphs of several functions. They share a common property. Study
the graphs and comment on any symmetry.
Figure 6.7
Any function that possesses rotational symmetry of order 2 – that is, the graph on the
right can be obtained by rotating the curve on the left through 180° about the origin –
is said to be an odd function. Odd functions have the following property:
Key point An odd function is such that f (-x) = -f (x) for all x.
The graph of an odd function possesses rotational symmetry of order 2 about the origin.
This is saying that the function value at a negative value of x is the negative of the
function value at the corresponding positive value of x.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 175
Figure 6.8
Extend this graph
to produce an odd
function.
Solution
Example 6.11
Show algebraically that the function f (x) = 6x3 - 5x is an odd function.
Solution
To show that f is odd we must show that f (-x) = -f (x). Now
f (-x) = 6(-x)3 - 5(-x)
= -6x3 + 5x since (-x)3 = -x3
= -(6x3 - 5x)
But this is -f (x). We have shown f (-x) = -f (x) and so f is an odd function. Check
for yourself that f (-2) = -f (2).
Exercises
1 Classify the following functions as odd, even 2 Sketch a graph of a function that is neither odd
or neither. If necessary sketch a graph to help nor even.
you decide.
(a) f (x) = 6 (b) f (x) = x2
(c) f (x) = 2x + 1 (d) f (x) = x
(e) f (x) = 2x
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 176
Solutions to exercises
1 (a) even (b) even (c) neither (d) odd (e) odd
Solutions to exercises
7.1 Introduction
Probably the most important function and graph that you will use are those associated
with the straight line. A large number of relationships between engineering variables
can be described using a straight line or linear graph. Even when this is not strictly
the case it is often possible to approximate a relationship by a straight line. In this
block we study the equation of a straight line, its properties and graph.
Any function of the form y = f (x) = ax + b where a and b are constants is called a
linear function. The constant a is called the coefficient of x, and b is referred to as
the constant term.
or simply
y = ax + b
For example,
1 2
f(x) = 3x + 2, g(x) = x - 7 and h(x) = -3x +
2 3
are all linear functions. The graph of a linear function is always a straight line. Such
a graph can be plotted by finding just two distinct points and joining these with a
straight line.
Example 7.1
Plot the graph of the linear function y = f (x) = 4x + 3.
Solution
We start by finding two points. Suppose we choose x = 0; then y = f (0) = 3. So
the first point has coordinates (0, 3). Secondly, suppose we choose x = 5; then
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 178
y = f (5) = 23. The second point is (5, 23). These two points are then plotted and
joined with a straight line as shown in Figure 7.1.
Figure 7.1 y y 4x 3
A straight line 25
graph can be (5, 23)
20
drawn by finding
two distinct points. 15
10
5
(0, 3)
x
O 1 2 3 4 5
Example 7.2
Plot graphs of the three linear functions y = 4x - 3, y = 4x and y = 4x + 5.
Solution
For each function it is necessary to find two points on the line.
For y = 4x - 3, suppose for the first point we choose x = 0, so that y = -3. For
the second point, let x = 2 so that y = 5. So, the points (0, -3) and (2, 5) can be
plotted and joined. This is shown in Figure 7.2.
Figure 7.2 y
y 4x 5
These graphs show
the effect of 10 y 4x
varying the y 4x 3
constant term. 5
x
2 1 1 2
5
For y = 4x we find the points (0, 0) and (2, 8). Similarly for y = 4x + 5 we find
points (0, 5) and (2, 13). The corresponding lines are shown in Figure 7.2.
Example 7.3
Refer to Example 7.2. Comment upon the effect of varying the constant term of the
linear function.
Solution
In each case identify the constant term.
(a) For y = 3x + 3 the constant term is
3
1 1
(b) For y = 2x - 3 the constant term is
1
-
3
Example 7.5
Plot graphs of the lines y = 3x + 3, y = 5x + 3 and y = -2x + 3.
Solution
Note that all three lines have the same constant term, that is 3. So all three lines pass
through (0, 3), the vertical intercept. A further point has been calculated for each of
the lines, and their graphs are shown in Figure 7.3.
Figure 7.3
y y 5x 3
All these graphs
have the same y 3x 3
10
vertical intercept
but different 5
gradients.
x
2 1 O 1
y 2x 3
Note from the graphs in Example 7.5 that as the coefficient of x is changed the gra-
dient of the graph changes. The coefficient of x gives the slope or gradient of the
line. In general, for the line y = ax + b, a positive value of a produces a graph that
slopes upwards from left to right. The larger the value of a, the steeper is the graph.
This can be seen by comparing the graphs of y = 5x + 3 and y = 3x + 3.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 180
A negative value of a produces a graph that slopes downwards from left to right. If
a is zero the line is horizontal, that is its gradient is zero. These properties are sum-
marised in Figure 7.4. Lines with the same gradient are known as parallel lines.
Figure 7.4 y y
The gradient of a
line y = ax + b is a is negative
given by the value
of a. a is positive
x x
y y
a is zero
Parallel lines have
the same gradient
x x
Key point In the linear function y = ax + b, a is the gradient of the graph and b is its vertical
intercept.
You should note that it is also common practice to write the equation of a straight
line as y = mx + c, in which case m is the gradient of the line and c is the vertical
intercept.
Example 7.6
State the gradients of the following lines:
(a) y = 7x + 2
1
(b) y = - x + 4
3
x + 2
(c) y =
3
Solution
In each case the coefficient of x must be examined.
(a) The gradient of y = 7x + 2 is
7
1
(b) The gradient of y = - x + 4 is
3
- 13
x + 2
(c) The gradient of y = is
3
1
3
M06_CROF5939_04_SE_C06.QXD 11/15/18 3:34 PM Page 181
Solution
The line with the largest gradient is
(b)
The crush of a point is the distance the point has been moved from its original
position. Many such measurements are taken along the width of the car, w. The mean
(see Chapter 23, Block 2) of these crush measurements is calculated to give an over-
all crush value, C, for the car.
As the car crashes into the barrier there is a force, F, exerted by the barrier onto
the car. Of interest is the relationship between F and C. As it is impractical to crash
all new models of car at many different speeds in order to measure values of F and C,
software-based models have been developed.
A common assumption in these models is that there is a linear relationship between
the force per unit width and the crush. This is represented mathematically as
F
= a + bC
w
where a and b are positive constants. Note that in the graph of this linear relation-
ship, a is the intercept on the vertical axis and b is the gradient of the line. Figure 7.6
illustrates this in the case where a = 3 and b = 1.
Figure 7.6
Force per unit width, F / w
12
10
8
6
4
O 2 4 6 8 10 12 14 16
Crush, C
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 182
The values of a and b are known as the stiffness coefficients of the car. They give
a measure of the ability of the car to withstand an impact.
For values of F/w less than a there is no crush, that is C = 0. For collisions at low
speed, and hence for small values of F, the bumpers absorb the impact without dam-
age 1C = 02. Hence a is a measure of the shock-absorbing properties of the car
bumpers.
Example 7.9 Structural Engineering – Shear force in a beam
The calculation of forces in beams is important in the design of structures such as
bridges and buildings. Beams are classified according to how they are supported
and/or fixed at their ends. Here we consider a simply supported beam of length L
which carries a load uniformly distributed along its length as shown in Figure 7.7. A
beam is said to be simply supported if, at each end, vertical motion is restricted by
the supports but the beam is free to rotate. Placing one of the supports on a roller as
indicated ensures that discussion of horizontal reaction forces can be avoided. By
symmetry, the vertical reaction force at each support will be the same and is denoted
by R. The weight of the load being supported is usually quoted as a ‘weight per unit
length’ w, say, which means that the total weight supported is wL.
Figure 7.7 w
A simply
R R
supported beam
with a uniform
load.
Within the beam itself there are internal forces. Imagine a vertical cut in the beam
at a point x units from the left-hand end as shown in Figure 7.8. The part of the beam
on the right exerts a force known as a shear force, having magnitude V, on the part
that is on the left, as shown. An equal and opposite force is exerted by the left part on
the right. Structural engineers need to calculate the shear force in order to assess
whether the beam is capable of withstanding the load.
Figure 7.8 R
Shear force V.
x V
wx
wL
(a) By considering vertical forces for the entire beam (Figure 7.7) show that R =
where R is the reaction at each support point. 2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 183
Solution
(a) Considering forces vertically for the entire beam (Figure 7.7), the reaction R at
the support points is found from
2R = wL
wL
so that R = .
2
(b) We consider forces vertically for the short section (Figure 7.8), noting that the
weight of the section is wx:
R = wx + V
Then, using the result of part (a),
wL
= wx + V
2
so that
wL w
V = - wx = (L - 2x)
2 2
w wL
(c) Comparing the equation V = (L - 2x) = - wx with the general equa-
2 2
tion of a straight line y = ax + b, we see that the gradient, a, is -w. The
wL
vertical intercept, b, is .
2 wL
(d) It is straightforward to plot the graph by noting that when x = 0, V = .
wL 2
Similarly, when x = L, V = - . The graph is shown in Figure 7.9. The
2
magnitude of the shear force is zero half-way along the beam, and achieves a
wL
maximum value of at each end.
2
Figure 7.9 V
The shear force wL
2
varies linearly
along the length of
the beam. L
x
O
wL
2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 184
Exercises
1 State the general form of the equation of a 3 For each of the following, identify the gradient
straight line, explaining the role of each of the and vertical intercept:
terms in your answer. (a) f (x) = 2x + 1 (b) f (t) = 3
(c) g(t) = -2t (d) y(x) = -7 - 17x
2 State which of the following functions will (e) f (x) = mx + c.
have straight line graphs:
(a) y(x) = 3x - 3 (b) f (t) = t1>2
1
(c) f (x) = (d) g(x) = 13
x
(e) f (t) = -2 - t
Solutions to exercises
7.3 Finding the gradient of a line given two points on the line
A common requirement is to find the gradient of the line when we know two points
on the line. Suppose the two points are A(x1, y1), B(x2, y2), as shown in Figure 7.10.
The vertical distance between A and B is y2 - y1. The horizontal distance
between A and B is x2 - x1. The gradient of the line is given by
vertical distance
gradient =
horizontal distance
Figure 7.10
The coordinates of y
points A and B are B(x2 , y2)
(x1, y1) and (x2, y2) y2 – y1
respectively. A(x1 , y1)
x2 – x1
x
O
The gradient of the line joining A and B can then be calculated from the following
formula.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 185
7.3 Finding the gradient of a line given two points on the line 185 6
Key point The gradient of the line joining A(x1, y1) and B(x2, y2) is given by
vertical distance
gradient =
horizontal distance
y2 - y1
=
x2 - x1
t
O T 2T 3T
Note that f(t) is a periodic function with period T. State f(t) in mathematical form.
Solution
Consider 0 … t 6 T. Here, f(t) is a linear function passing through the origin and so
the vertical intercept is 0. We now calculate the gradient of the line. The horizontal
distance is T, the vertical distance is 1 and so the gradient is 1>T. Hence on
0 … t 6 T, f(t) has the form
t
f(t) =
T
Since f(t) is periodic with period T then
Example 7.11
Find the gradient of the line joining each of the following pairs of points:
(a) A(0, 3) and B(4, 5)
(b) A( -1, 4) and B(2, 1)
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 186
Solution
(a) We calculate the gradient as follows:
y2 - y1
gradient =
x2 - x1
5 - 3
=
4 - 0
2
=
4
1
=
2
Thus the gradient of the line is 12 . Graphically, this means that if x increases by
1 unit, the value of y increases by 12 .
y2 - y1 1-4
(b) gradient = = = -1
x2 - x1 2 - (-1)
Thus the gradient of the line is -1. Graphically, this means that for every unit
increase in x, the value of y decreases by 1 unit.
Example 7.12
A straight line has equation y = 3x + 7. State, without calculation, the increase in y
obtained from a unit increase in x.
Solution
The gradient of this line is 3. This means that y increases by 3 units for every unit
increase in x.
Example 7.13 Mechanical Engineering – Tension in a spring
The tension T in a spring when it is extended by a distance e is given by T = 0.25e.
Calculate the increase in tension that follows from a unit increase in extension.
Solution
T 0.25e is a linear function with gradient 0.25. Thus a unit increase in extension
results in an increase in tension of 0.25 units.
This is an example of Hooke’s law, which states that the tension is proportional to
the extension. Hooke’s law is a mathematical model which assumes the extended
spring remains within its limits of elasticity.
Exercises
1 Calculate the gradient of the line joining (1, 0) 3 State the increase or decrease in y which
and (15, -3). follows from increasing x by 1 unit in each of
the following cases:
2 Calculate the gradient of the line joining (a) y = -17x + 2 (b) y = 13 x + 2
(10, -3) and (15, -3). (c) y = 3
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 187
Solutions to exercises
3
1 - 14 3 (a) decrease of 17 (b) increase of 13 (c) y is
constant so there is no change in y
2 0
There are a number of ways in which the equation of a line can be found. Much
depends upon the information that is available. We may know
• the gradient of the line and the coordinates of one point through which the line
passes;
• the coordinates of two points on the line.
In what follows remember that any straight line has the form y = ax + b, where a is
the gradient of the line and b is the vertical intercept.
Finding the equation of a line given its gradient and the coordinates
of one point on the line
Consider the following example.
Example 7.14
Find the equation of the straight line that has gradient 11 and passes through the
point with coordinates (2, 3).
Solution
In this example let us suppose that the equation of the line has the form y = mx + c,
in which case m is the gradient and c is the vertical intercept. We are told the gradi-
ent is 11 and so m = 11. The equation is therefore
y = 11x + c
We are told that the line passes through the point (2, 3). Thus when x = 2, y must
equal 3. Therefore, substituting these values gives
3 = 11(2) + c
That is,
3 = 22 + c
Example 7.15
Find the equation of the line with gradient 7 and which passes through (5, 6).
Solution
Let the equation be y = mx + c.
Use the information given about the gradient of the line.
y = 7x + c
Use the fact that the line passes through (5, 6) to find c.
y = 7x - 29
Example 7.16
Find the equation of the line passing through (2, 1) and ( -4, 2).
Solution
The equation of the line must take the form y = ax + b. We are told that (2, 1) lies
on the line, so when x = 2, y = 1. Similarly ( -4, 2) lies on the line, so when
x = -4, y = 2. Substituting these pairs of values into y = ax + b produces the two
equations
1 = 2a + b and 2 = -4a + b
Key point The line passing through points A(x1, y1) and B(x2, y2) is given by
y - y1 x - x1
=
y2 - y1 x2 - x1
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:09 AM Page 189
y1 = 11, y2 = 3
Apply the formula:
y - y1 x - x1 y - 11 x + 7
= = =
y2 - y1 x2 - x1 3 - 11 1 + 7
Simplify this to obtain the required equation.
y = 4 - x
Exercises
1 Find the equation of the line joining (1, 5) and 2 Find the gradient and vertical intercept of the
( -9, 2). line joining (8, 1) and ( -2, –3).
Solutions to exercises
3 47
1 y = x + 2 0.4, -2.2
10 10
Referring again to Figure 7.10, the distance between the points A(x1, y1) and
B(x2, y2) is given by the following formula, which follows immediately from
Pythagoras’s theorem. This theorem is described in detail in Chapter 10.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 190
Key point The distance between points A(x1, y1) and B(x2, y2) is given by
distance = 2(x2 - x1)2 + (y2 - y1)2
Example 7.19
Find the distance between A(-7, 11) and B(1, 3).
Solution
Apply the formula:
Exercises
Solutions to exercises
1 2457
1 State the gradient and vertical intercept of 5 Find the distance between the points with
(a) y = 8x - 3 (b) y = 3t - 2 coordinates (9, 1) and (12, 1).
(c) y = 9 (d) y = -3t (e) f (x) = -3 - 4x
6 Find the distance between the points with
2 An alternative way of finding the equation of a coordinates (19, -2) and ( -12, 1).
straight line through the points (x1, f (x1)),
(x2, f (x2)) is by use of Lagrange’s formula. 7 The point A(x1, y1) lies on the line
This states that y = -2x + 3. If the value of x1 is increased
by 7, what is the resulting change in the value
x - x2 x - x1 of y1?
f (x) = f (x1) + f (x2)
x1 - x2 x2 - x1
8 Find the equation of the line passing through
Use this formula to find the equation of the A(2, -1) and B(5, 8).
line through (4, 1) and (7, -5).
9 A spring has length 90 cm when a mass of
3 Find the equation of the line that passes 10 kg is applied and a length of 81 cm when a
through A(0, 3) and B(11, -1). 4 kg mass is applied. If l cm is the length of
the spring when mass m kg is applied
4 Find the gradient of the line that passes (a) find an equation expressing l in terms of m
through A( -9, 1) and B(2, 16). (b) calculate the length of the spring when a
mass of 7 kg is applied.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 191
Solutions to exercises
4 8 y = 3x - 7
3 y = - x + 3
11
9 (a) l = 75 + 1.5m (b) 85.5 cm
15
4
11
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 192
8.1 Introduction
x2 + 3x + 9, 3t 4 - 2t 3 + 7t 2 - 11t, 8x + 9
P1(x) = 3x2 - x + 2
P2(z) = 7z4 + z2 - 1
P3(t) = 3t + 9
P4(t) = 6
where x, z and t are independent variables. Purely for convenience, we have labelled
these polynomials P1, P2, P3 and P4.
When the context is clear, both polynomial functions and polynomial expressions
are loosely called polynomials.
Note that fractional and negative powers of the independent variable are not
allowed, so that f (x) = x - 1 and g(x) = x3>2 are not polynomials. The function
P4(t) = 6 is a polynomial – we can regard it as 6t0.
By convention a polynomial is written with the powers either increasing or
decreasing. For example,
3x + 9x2 - x3 + 2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 193
The degree of a polynomial is the value of the highest power. Referring to the ex-
amples listed above, polynomial P1 has degree 2, because the term with the highest
power is 3x2, P2 has degree 4, P3 has degree 1 and P4 has degree 0. Polynomials with
low degrees have the special names given in Table 8.1.
Table 8.1
Degree Name
Typical graphs of some polynomial functions are shown in Figure 8.1. In particu-
lar, observe that the graphs of the linear polynomials P1 and P2 are straight lines.
Figure 8.1
P3(x) x 2 3
Graphs of some
typical linear, 10
quadratic and 5 P1(x) 2x 3 10 10 P5(x) x 3
P2(x) x 4
cubic polynomials.
x x x
5 5 5 5 5 5
5
10
15
P4(x) x 2 2x
P6(x) x 3 7x 6
Another important feature of all polynomial graphs is that they are continuous.
Example 8.1
Which of the polynomial graphs in Figure 8.1 are odd and which are even? Are any
periodic?
Solution
P3 is even, P5 is odd. None is periodic.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 194
Example 8.2
State which of the following are polynomial functions. For those that are, give the
degree and name.
(a) f (x) = 6x2 + 7x3 - 2x4
(b) f (t) = t3 - 3t2 + 7
1 3
(c) g(x) = 2 +
x x
(d) f (x) = 16
(e) g(x) = 16
Solution
Remember that a polynomial is built up by adding terms involving non-negative
whole number powers of the independent variable, and that the degree is the value of
the highest power.
(a) polynomial of degree 4 (quartic)
x
L
Another quantity of importance to a structural engineer is the bending moment,
which is a measure of the internal stress caused when the beam is loaded. A bending
moment is not a force but a turning effect, or a tendency to cause a rotation about an
axis, and arises through the interaction of internal forces in the beam. Generally a
moment is calculated as the product of the magnitude of a force and its perpendicular
M06_CROF5939_04_SE_C06.QXD 9/25/18 9:36 AM Page 195
Figure 8.3 M
A bending moment wL2
8
diagram for a
simply supported
beam with a
uniform load.
x
O L
From the symmetry of the graph we see that M(x) has its maximum value when
L
x = (i.e. at the middle of the beam). This maximum value is calculated thus:
2
L 2
Ma b = aL # - a b b
L w L
2 2 2 2
w L2 L2
= a - b
2 2 4
w L2
= a b
2 4
wL2
=
8
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 196
wL2
This allows the value to be indicated on the vertical axis.
8
An alternative approach to finding the points where the graph crosses the x axis
requires the solution of the equation
w
(Lx - x 2) = 0
2
which is the topic of Chapter 7, Block 2.
Exercises
1 Write down a polynomial of degree 3 with 4 State the degree of the following polynomials:
independent variable t. (a) P(t) = t4 + 7 (b) P(t) = -t3 + 3
(c) P(t) = 11 (d) P(t) = t
2 Write down a function that is not a
polynomial. 5 Write down a polynomial of degree 0 with
independent variable z.
3 Explain why y = 1 + x + x1>2 is not a
polynomial. 6 Referring to Figure 8.1, state which functions
are one-to-one and which are many-to-one.
Solutions to exercises
The graphs of rational functions can take a variety of different forms and can be dif-
ficult to plot by hand. Use of a graphics calculator or computer software can help. If
you have access to a plotting package or calculator it would be useful to obtain
graphs of these functions for yourself. The next three examples allow you to explore
some of the features of the graphs.
Example 8.5
x + 2
Study the graph in Figure 8.4 and the algebraic form of the function R1(x) = 2
carefully and try to answer the following questions. x + 1
Figure 8.4 R1
Graph of
x + 2 2
R1(x) = .
x2 + 1
x
2
(d) 2
Note that for large x values the graph gets closer and closer to the x axis. We say that
the x axis is a horizontal asymptote of this graph.
Asking yourself, and answering, questions such as these will help you to sketch
graphs of rational functions.
Example 8.6
3
t - 1
Study the graph in Figure 8.5 and the algebraic form of the function R2(t) =
carefully and try to answer the following questions. 2t + 3
Figure 8.5
Graph of R2
t3 - 1
R2(t) = .
2t + 3 10
t
10 5 5 10
10
Note from parts (b) and (c) that we must exclude the value t = - 32 from the domain
of this function because division by 0 is not defined. When t approaches - 32 from
below, R2 approaches positive infinity. When t approaches - 32 from above, R2
approaches negative infinity. Thus there is a discontinuity at t = - 32 . The dashed line
in Figure 8.5 is t = - 32 . This line is approached by the curve as t approaches - 32 . It is
known as a vertical asymptote.
Example 8.7
Study the graph in Figure 8.6 and the algebraic form of the function R3(z) =
2z2 + z - 1
carefully and try to answer the following questions.
(z - 1)(z + 2)
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 199
10
Solution
denominator is zero, R3 tends to
(a) infinity as z approaches 2 from
below or 1 from above. It tends to
-infinity as z approaches 2 from
above or 1 from below.
(b) z = -2 and z = 1
Examples 8.5–8.7 are intended to give you some guidance so that you will be able to
sketch rational functions of your own. Each function must be looked at individually,
but some general guidelines are given below:
1 Find the value of the function when the independent variable is zero. This is gen-
erally easy to evaluate and gives you a point on the graph.
2 Find values of the independent variable that make the denominator zero. These
values must be excluded from the domain of the function and give rise to vertical
asymptotes.
3 Find values of the independent variable that make the dependent variable zero.
This gives you points where the graph cuts the horizontal axis (if at all).
4 Study the behaviour of the function when x is positive and large, and negative and
large.
5 Are there any vertical or horizontal asymptotes? Oblique asymptotes can also
occur but these are beyond the scope of this book.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 200
6 When you have studied differentiation you will know a further technique that will
enable you to locate maximum and minimum points of a function.
It is particularly important for engineers to find values for which the denominator is
zero. These values are known as the poles of the rational function.
Key point The poles of a rational function are any values that make the denominator zero.
Example 8.8
State the poles of the following rational functions:
t - 3
(a) f (t) =
t + 7
s + 7
(b) F(s) =
(s + 3)(s - 3)
2x + 5
(c) r (x) =
(x + 1)(x + 2)
Solution
In each case we locate the poles by seeking values of the independent variable that
make the denominator zero.
t - 3
(a) The denominator of f (t) = is zero when
t + 7
t = -7
s + 7
(b) The denominator of F(s) = is zero when
(s + 3)(s - 3)
s = 3 or -3
2x + 5
(c) The denominator of r (x) = is zero when
(x + 1)(x + 2)
x = -1 or -2
In each case the calculated values are the poles of the rational function. If you have
access to a plotting package, plot these functions now.
Exercises
1 Explain what is meant by a rational function. 4 Referring to Figures 8.4, 8.5 and 8.6, state
which functions, if any, are one-to-one and
2 State the degree of the numerator and the which are many-to-one.
degree of the denominator of the rational
function 5 Without using a graphical calculator plot
3x2 + x + 1 1 1
R(x) = graphs of y = and y = . Comment upon
x - 1 x x2
3 Explain the term ‘pole’ of a rational function. whether these graphs are odd, even or neither,
whether they are continuous or discontinuous,
and state the position of any poles.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 201
Solutions to exercises
P(x)
1 R(x) = 4 All are many-to-one.
Q(x)
1
where P and Q are polynomials. 5 is odd, and discontinuous. Pole at x = 0.
x
1
2 2, 1, respectively is even and discontinuous. Pole at x = 0.
x2
3 The pole is a value of the independent variable Neither of these functions is defined at x = 0,
that makes the denominator zero. so this value should be excluded from the
domain.
The modulus of a number is the size of that number with no regard paid to its sign.
For example, the modulus of -7 is 7. The modulus of +7 is also 7. We can write
|-7| = 7 and |+7| = 7. The modulus function is defined as follows:
The output from this function is simply the modulus of the input.
A graph of this function is shown in Figure 8.7. Note that this graph is continuous.
It is smooth everywhere except at the origin where there is a corner.
Figure 8.7
Graph of the
5 f (x) | x |
modulus function.
x
5 5
Study Figure 8.7 and note that when x is positive the graph is the same as that of
y = x. When x is negative the graph is the same as that of y = -x. Consequently we
can also write the modulus function in the form
x x Ú 0
f (x) = ƒ x ƒ = b
-x x 6 0
Example 8.9
Draw up a table of values of the function f (x) = |x - 2| for values of x between -3
and 5. Sketch a graph of this function.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 202
Solution
The table has been started. Complete it for yourself.
x -3 -2 -1 0 1 2 3 4 5
f(x) 5 3 2 0
The graph is shown in Figure 8.8. Plot your calculated points on the graph.
Figure 8.8
Graph for
Example 8.9. 5
f (x) | x 2|
x
3 2 5
Exercises
1 Sketch a graph of the following functions: 2 Is the modulus function one-to-one or many-
(a) f (x) = 3|x| (b) f (x) = |x + 1| to-one?
(c) f (x) = 7|x - 3|
Solutions to exercises
2 Many-to-one
Key point 1 t Ú 0
u(t) = b
0 t 6 0
Study this definition carefully. You will see that it is defined in two parts, with one
expression to be used when t is greater than or equal to 0, and another expression to
be used when t is less than 0. The graph of this function is shown in Figure 8.9, from
which it is obvious why it is called a step function. Such functions are useful in engin-
eering applications when we wish to model a quantity that is ‘off’ but which is
‘switched on’ at t = 0.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 203
1
t
d
In Figures 8.9 and 8.10 the function takes the value 0 or 1. We can adjust the value
1 by multiplying the function by any other number we choose. The graph of
2u(t - 3) is shown in Figure 8.11.
Example 8.10
Sketch the functions
(a) A(t) = u(t) - u(t - 1)
(b) B(t) = u(t) - u(t - 1) + u(t - 2)
(c) C(t) = 2u(t) - u(t - 3)
Solution
(a) Figure 8.9 above shows u(t). By considering Figure 8.10 with d = 1 we can
sketch u(t - 1) and this is shown in Figure 8.12.
Figure 8.12 u(t 1)
The function
u(t - 1).
1
O 1 t
Looking at the two graphs referred to, we see that u(t) - u(t - 1) is 0 everywhere
except for the interval 0 … t 6 1 where the function has a value of 1. This is
illustrated in Figure 8.13.
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 204
O 1 t
O 1 2 t
(c) Figure 8.15(a), (b) shows the functions f(t) = 2u(t) and g(t) = u(t - 3)
respectively.
2u(t) u(t 3)
2 1
O t O 3 t
(a) (b)
Figure 8.15
(a) The function f(t) = 2u(t); (b) the function g(t) = u(t - 3).
By considering these two graphs the graph of C(t) = f(t) - g(t) = 2u(t) -
u(t - 3) is then evident. The value of 2u(t) is reduced by 1 for t Ú 3 owing to
subtracting the function u(t - 3). This results in the graph shown in Figure 8.16.
Figure 8.16 C(t)
The function
2u(t) - u(t - 3). 2
O 3 t
M06_CROF5939_04_SE_C06.QXD 10/16/18 7:13 AM Page 205
f(t)
O T T 3T 2T 5T 3T t
2 2 2
Figure 8.17
f(t) = M a ( -1)iua t - b
q
iT
0 2
O T t
Note that for t Ú T the sawtooth pulse is 0. Express f(t) in terms of the unit step
function.
Solution
Consider the function g(t) = tu(t). Since u(t) = 0 for t 6 0 and u(t) = 1 for t Ú 0,
then g(t) may be expressed as
g(t) = e
0 for t 6 0
t for t Ú 0
A graph of g(t) is shown in Figure 8.19(a).
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 206
g(t) h(t)
O t O T t
(a) (b)
Figure 8.19
Consider now the function h(t) = tu(t - T ). Noting that u(t - T) = 0 for t 6 T,
and u(t) = 1 for t Ú T, we can express h(t) as
h(t) = e
0 for t 6 T
t for t Ú T
A graph of h(t) is shown in Figure 8.19(b).
Finally we consider g(t) - h(t). By looking at the graphs of g(t) and h(t) we can
see that g(t) - h(t) is simply the function shown in Figure 8.18, that is
f(t) = g(t) - h(t) = tu(t) - tu(t - T ) = t[u(t) - u(t - T )]
Exercises
1 Sketch graphs of the following functions: 3 A periodic square wave, f (t), is illustrated in
(a) u(t) (b) -u(t) (c) u(t - 1) (d) u(t + 1) Figure 8.20.
(e) u(t - 3) - u(t - 2) (f) 3u(t) Note that f (t) has period T. State f (t) in
(g) -2u(t - 3) terms of the unit step function.
O T T 3T 2T 5T 3T t
2 2 2
–1
Figure 8.20
Solutions to exercises
u(t) + 2 a (-1)iuat - b
q
iT
1 2
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 207
Consider the rectangular-shaped function R(t) shown in Figure 8.21. The base of the
1
rectangle has width h, and its height is . This means that the area of the rectangle
h
is 1.
A function of particular interest to control engineers is the impulse function or
delta function, written d(t), which is obtained by allowing h to become smaller and
smaller whilst the height of the rectangle is allowed to grow, so that the total area
enclosed remains constant at 1. Thus
d(t) = a rectangle function for which h is allowed to approach zero
So this function can be thought of as being zero everywhere except at the origin,
when it is infinitely large. In reality a function that has infinite size and which lasts
for zero time is impossible. However, this function can be used as a model of a situ-
ation in which, for example, a large voltage pulse is applied to an electrical system
for a very short period of time.
Because the area under the graph is 1 we say that d(t) represents an impulse of
strength 1. The function kd(t) encloses an area k and is referred to as an impulse of
strength k.
Because an infinitely large value cannot be drawn on a graph, the delta function is
often illustrated as in Figure 8.22 where the height of the arrow represents the
strength of the impulse.
The position of the delta function can be shifted to the left or the right. d(t - d) is
an impulse occurring at t = d.
Figure 8.22
The height of the
arrow represents
the strength of the 1
impulse. t
M06_CROF5939_04_SE_C06.QXD 9/21/18 9:10 AM Page 208
Solutions to exercises
1 (a) 3 (b) 5 4 No
9.1 Introduction
This block develops the equation of a circle. Let the centre of the circle be C(a, b)
and the radius r. Consider any general point P(x, y) on the circumference. Figure 9.1
illustrates this.
Figure 9.1 y
A circle centre
(a, b) and radius r. P(x, y)
r
y−b
b C(a, b)
x−a Q(x, b)
x
a
We form the right-angled triangle CPQ. Note that the coordinates of Q are (x, b).
Then the distances CQ, PQ and CP are
CQ = x - a, PQ = y - b, CP = r
Any pair of values, x and y, that satisfy this equation represents a point lying on this
circle.
Example 9.1
Find the equation of the circle, centre (2, -1) with radius 3.
Solution
Here a = 2, b = -1 and r = 3, so the required equation is
1x - 222 + 1y + 122 = 9
Example 9.2
Find the equation of the circle, centre (4, 7), which passes through (3, 5).
Solution
The radius is the length from the centre (4, 7) to any point on the circumference, in
particular (3, 5). Using the Key point on page 190, the radius is found to be 25.
Hence the equation of the circle is
1x - 422 + 1y - 722 = 5
Example 9.3
Find where the circle
1x - 222 + 1y - 522 = 16
intersects (a) the y axis (b) the x axis.
Solution
The circle has centre (2, 5) and radius 4.
(a) When intersecting the y axis then x = 0 and so at the points of intersection
1 - 222 + 1y - 522 = 16
1y - 522 = 12
y = 5 ; 212
The circle intersects the y axis at 10, 5 + 2122 and 10, 5 - 2122.
(b) The centre of the circle is (2, 5). Thus the perpendicular distance from the
centre to the x axis is 5. Given that the radius is 4, it is clear that the circle does
not intersect the x axis.
Example 9.4
Find the equation of the circle through (1, -1), (2, 0) and ( -1, 3).
Solution
Let the equation of the circle be
1x - a22 + 1y - b22 = r2
Applying the points (1, -1), (2, 0) and ( -1, 3) in turn, the equation of the circle
becomes respectively
We need to solve equations (1), (2) and (3) simultaneously. We eliminate r2 from
equations (1) and (2) by using equation (3). After simplification these become
a - 2b + 2 = 0 (4)
a - b + 1 = 0 (5)
Solving equations (4) and (5) yields a = 0, b = 1. Therefore, the centre is (0, 1).
Putting a = 0, b = 1 into equation (1) yields r = 25. The equation of the circle is
x2 + 1y - 122 = 5
1 Find the equation of the circle with 4 Find the equation of the circle passing through
(a) centre the origin and radius 2.5 the origin, (0, 4) and ( -2, 5).
1
(b) centre (2, -2) and radius 5 Find the points of intersection of the circle
2
(c) centre ( -1, 4) and radius 3.
1x - 222 + 1y - 322 = 25
2 Find where the circle
and the line y = -3x + 1.
1x + 222 + 1y - 122 = 9
1x - 122 + 1y - 122 = 1
and
1x - 122 + 1y + 122 = 4
intersect.
Solutions to exercises
4 + 215 3 4 - 215 3
a , b and a , b
1 (a) x2 + y2 = 2.52 = 6.25
3
4 4 4 4
(b) 1x - 222 + 1y + 222 = 0.25
9 2
ax + b + 1y - 222 =
145
(c) 1x + 122 + 1y - 422 = 9
4
4 16
10.964, -1.8912, 1-1.764, 6.2912
(a) 1-2 + 222, 02, 1-2 - 2 22, 02
5
2
Solutions to exercises
s + a 2
1 2 2
13 (a) s = 0 (b) s = -1 (c) s =
(s + a) + v 3
v 5 - x
2 2 2
14 f - 1(x) =
(s + a) + v 4
5 7x + 3
3 15 f - 1(x) =
5s + 1 4
s 16 (a) x4 + 6x3 + 12x2 + 9x (b) x2 + 7x + 10
4
s + 1 (c) x2 + 3x + 2 (d) x + 4
5 3(t - t)2
17 Square the input, subtract 1, and multiply the
1 result by 3.
6
jv + 1
18 f (x) = x2 - x3
215 4
675 4
7 3a tb = t
2 16 19 domain [0, 9], range [-17, 10]
8 (b) discontinuous (c) odd (d) no
(e) many-to-one 20 all t except t = 0
3
9 discontinuities at t = 1 and t = 2 21 f - 1(x) = -
x
Chapter 7
Polynomial equations, inequalities, partial
fractions and proportionality
Chapter 7 contents
Block 7 Proportionality
1.1 Introduction
ax + b = 0
where a and b are known numbers, and x represents an unknown quantity that we must
find.
1
3x + 4 = 0, -2x + 3 = 0, - x - 3 = 0
2
Note that the unknown, x, appears only to the first power, that is as x, and not as x2,
2x, x1>2, etc. Linear equations often appear in a non-standard form, and different
letters are often used for the unknown quantity. For example,
1
3i - 7 = 17, 13 = 3z + 1 and 1 - y = 3
2
are all linear equations. Where necessary they can be rearranged and written in the
form ax + b = 0. We shall explain how to do this later in this block.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 219
Solution
The equations that can be written in the form ax + b = 0 are linear.
(a) 3x + 7 = 0 is linear
To solve a linear equation means to find the value of x that can be substituted into the
equation so that the left-hand side equals the right-hand side. Any such value is
known as a solution or root of the equation. If a number is a root, we say that it
satisfies the equation.
Example 1.2
Consider the linear equation 3x - 2 = 10.
(a) Check that x = 4 is a solution.
(b) Check that x = 2 is not a solution.
Solution
(a) To check that x = 4 is a solution we substitute the value 4 for x and see
whether both sides of the equation are equal. Evaluating the left-hand side we
find 3(4) - 2, which equals 10, the same as the right-hand side. So, x = 4 is a
solution. We say that x = 4 satisfies the equation.
(b) Substituting x = 2 into the left-hand side we find 3(2) - 2, which equals 4.
Clearly the left-hand side is not equal to 10, and so x = 2 is not a solution. The
number x = 2 does not satisfy the equation.
Example 1.3
Test which of the following values are solutions of the equation
18 - 4x = 26
(a) x = 2, (b) x = -2, (c) x = 8.
Solution
(a) Substituting x = 2, the left-hand side equals
10
But 10 Z 26 so x = 2 is not a solution.
(b) Substituting x = -2, the left-hand side equals
18 - 4(-2) = 26
This is the same as the right-hand side, so x = -2 is a solution.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 220
Exercises
1
1 (a) Write down the general form of a linear 4 2x + 3 = 4, x =
equation. 2
(b) Explain what is meant by the root of a 1 4
linear equation. 5 x + = 2, x = 2
3 3
In questions 2–8 verify that the given value is a 6 7x + 7 = 7, x = 0
solution of the given equation.
7 11x - 1 = 10, x = 1
2 3x - 7 = -28, x = -7
8 0.01x - 1 = 0, x = 100
3 8x - 3 = -11, x = -1
Solutions to exercises
To solve a linear equation we try to make the unknown quantity the subject of the
equation. This means we attempt to obtain the unknown quantity on its own on the
left-hand side. To do this we may apply the same five rules used for transposing for-
mulae given in Chapter 5, Block 7. These are given again here.
Key point Operations that can be used in the process of solving a linear equation:
1 Add the same quantity to both sides.
2 Subtract the same quantity from both sides.
3 Multiply both sides by the same quantity.
4 Divide both sides by the same quantity.
5 Take functions of both sides: for example, square both sides.
Solution
Note that by subtracting 14 from both sides, we leave x on its own on the left. Thus
x + 14 - 14 = 5 - 14
x = -9
Hence the solution of the equation is x = -9. It is easy to check that this solution is
correct by substituting x = -9 into the original equation and checking that both
sides are indeed the same. You should get into the habit of doing this.
Example 1.5
Solve the equation 19y = 38.
Solution
In order to make y the subject of the equation we can divide both sides by 19:
19y = 38
19y 38
=
19 19
38
Cancelling the 19s gives y =
19
so y = 2
Hence the solution of the equation is y = 2.
Example 1.6
Solve the equation 4x + 12 = 0.
Solution
Starting from 4x + 12 = 0 we can subtract 12 from both sides to obtain
4x + 12 - 12 = 0 - 12
so that 4x = -12
If we now divide both sides by 4 we find
4x -12
=
4 4
Cancelling the 4s gives x = -3
So the solution is x = -3.
Example 1.7
Solve the linear equation 14t - 56 = 0.
Solution
First add 56 to both sides and obtain an expression for 14t:
14t = 56
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 222
Example 1.8
Solve the following equations:
(a) x + 3 = 27 (b) x + 3 = - 27
Solution
(a) Subtracting 3 from both sides gives x = 27 - 3.
(b) Subtracting 3 from both sides gives x = - 27 - 3.
Note that when asked to solve x + 3 = ; 27 we can write the two solutions as
x = -3 ; 27. It is usually acceptable to leave the solutions in this form rather
than work out their decimal approximations. This form is known as the surd form.
Example 1.9
Solve the equation 23(t + 7) = 5.
Solution
There are a number of ways in which the solution can be attempted. The idea is to
remove unwanted terms on the left-hand side gradually to leave t on its own. By mul-
tiplying both sides by 32 we find
3 2 3
* (t + 7) = * 5
2 3 2
3 5
= *
2 1
15
and after simplifying and cancelling, t + 7 =
2
Finally, subtracting 7 from both sides gives
15
t = - 7
2
15 14
= -
2 2
1
=
2
So the solution is t = 12 .
Example 1.10
Solve the equation 3(p - 2) + 2(p + 4) = 5.
Solution
At first sight this may not appear to be in the form of a linear equation. Some prelim-
inary work is necessary. Removing the brackets and collecting like terms we find the
left-hand side can be written
3(p - 2) + 2(p + 4) = 3p - 6 + 2p + 8
= 5p + 2
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 223
Example 1.11
Solve the equation 2(x - 5) = 3 - (x + 6).
Solution
First remove the brackets on both sides:
2x - 10 = 3 - x - 6
We may write this as
2x - 10 = -x - 3
We shall try to rearrange this equation so that terms involving x appear only on the
left-hand side, and constants on the right. Start by adding 10 to both sides:
2x = -x + 7
Now add x to both sides:
3x = 7
Finally, solve this to find x:
7
x =
3
Example 1.12
Solve the equation
6 7
=
1 - 2x x - 2
Solution
This equation appears in an unfamiliar form but can be rearranged into the standard
form of a linear equation. By multiplying both sides by (1 - 2x) and (x - 2) we find
6 7
(1 - 2x)(x - 2) * = (1 - 2x)(x - 2) *
1 - 2x x - 2
Consider each side in turn and cancel any common factors:
6(x - 2) = 7(1 - 2x)
Removing the brackets and rearranging to find x we have
6x - 12 = 7 - 14x
and further rearrangement gives 20x = 19
19
x =
20
19
The solution is therefore x = 20 .
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 224
Figure 1.1 I I2
X
The current
entering the node
equals the total
current leaving the I1
node: I = I1 + I2.
Consider Figure 1.1, which shows part of an electric circuit. At point X the circuit
divides into two branches. Point X is known as a node. The current in each of the
branches is denoted by I, I1 and I2. Kirchhoff’s current law states that the current
entering any node must equal the current leaving that node. Thus we have the
equation
I = I1 + I2
Solution
(a) Substituting the given values into the equation we find 18 = I1 + 10. Solving
for I1 we find
I1 = 18 - 10
= 8
Thus I1 equals 8 A.
(b) We are given that, from Kirchhoff’s law, I = I1 + I2. We are told that I2 is five
times as great as I1, and so we can write I2 = 5I1. Since I = 36 we have
36 = I1 + 5I1
= 6I1
The size of the thrust, T, depends upon the compression of the spring, x, and the
physical properties of the spring. The crucial characteristic is the spring stiffness, k
. This is a measure of the spring’s ability to resist compression, or, indeed, extension.
The higher the value of k, the greater the force needed to bring about a given com-
pression. In other words, for a given compression there is a greater thrust.
Springs used in car suspension systems are compressed by the weight of the car,
and then further compressed by the weight of any passengers and luggage. Car
springs must be able to withstand this weight. Additionally they must be chosen to
ensure that the car has sufficient ground clearance when fully loaded with passengers
and luggage.
Consider a spring in compression. Applying Hooke’s law produces
T = kx
The units of thrust T are newtons (N); the units of k are newtons per metre (N/m–1).
Car suspension on each rear wheel commonly consists of a spring, with one end
attached to the car body and the other to the wheel axle as illustrated in Figure 1.3.
Figure 1.3
Car suspension
consists of a spring Car body
connecting the car
body to the wheel
axle.
The natural length of a coil spring used in a particular car suspension is 0.4 m,
with a spring stiffness of 1.75 * 104 N/m–1. The part of the car supported by the
spring exerts a force of 3000 N on the spring.
(a) Find the length of the spring in its compressed state when attached to the car
and axle.
(b) Two passengers sit in the car and increase the load on the spring by 600 N. Find
the additional compression caused by the passengers.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 226
Solution
(a) We use Hooke’s law given by
T = kx
where x is the compression in metres. So
3000 = 1.75 * 104 x
3000
x = = 0.171
1.75 * 104
The spring is compressed by just over 17 cm. The compressed length of the
spring is then 0.4 - 0.171 = 0.229 m; that is, just under 23 cm.
(b) When the passengers are in the car the load on the spring is
Then
T = kx
3600 = 1.75 * 104 x
x = 0.206
Exercises
21 -2y = -6 48 If y = 2 find x if 4x + 3y = 9.
22 -7y = 11 49 If y = -2 find x if 4x + 5y = 3.
24 -8 = -4g 51 If x = -3 find y if 2x + y = 8.
52 If y = 10 find x when 10x + 55y = 530.
In questions 25–47 solve each equation:
53 If g = 2 find b if 54 = g - 4b.
1
25 3y - 8 = y
2 In questions 54–63 solve each equation:
26 7t - 5 = 4t + 7 x - 5 2x - 1
54 - = 6
27 3x + 4 = 4x + 3 2 3
28 4 - 3x = 4x + 3 x 3x x
55 + - = 1
4 2 6
29 3x + 7 = 7x + 2
x 4x
30 3(x + 7) = 7(x + 2) 56 + = 2x - 7
2 3
31 2x - 1 = x - 3 5 2
57 =
32 2(x + 4) = 8 3m + 2 m + 1
33 -2(x - 3) = 6 2 5
58 =
3x - 2 x - 1
34 -2(x - 3) = -6
x - 3
35 -3(3x - 1) = 2 59 = 4
x + 1
36 2 - (2t + 1) = 4(t + 2) x + 1
60 = 4
37 5(m - 3) = 8 x - 3
38 5m - 3 = 5(m - 3) + 2m y - 3 2
61 =
39 2(y + 1) = -8 y + 3 3
40 17(x - 2) + 3(x - 1) = x 4x + 5 2x - 1
62 - = x
1 6 3
41 (x + 3) = -9
3 3 1
63 + = 0
3 2s - 1 s + 1
42 = 4
m 64 Solve the linear equation ax + b = 0 to
5 2 find x.
43 =
m m + 1 1 1
65 Solve the linear equation =
44 -3x + 3 = 18 to find x. ax + b cx + d
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 228
Solutions to exercises
16
1 2 25
5
2 -2
26 4
3 14
27 1
1
4 1
6 28
7
1
5 - 5
2 29
4
6 2
7
1 30
7 4
2
31 -2
8 -2
32 0
9 18
33 0
10 -18
34 6
11 1
1
12 3 35
9
13 1 7
36 -
14 2 6
6 23
15 - 37
17 5
5 38 6
16 -
3 39 -5
11 37
17 - 40
2 19
18 64 41 -30
19 -18 3
42
28 4
20 -
13 5
43 -
21 3 3
11 44 -5
22 -
7 45 7
23 10 46 28 - 4
24 2 47 223 + 4
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 229
Solutions to exercises
25
1 x = 45 7 x = -
12
2 x = 9 4
8 x = -
9
3 I = -4
9
9 x =
4 x = 3 200
10 s = 13
5 x = -2
6 R = -4
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 230
2.1 Introduction
Key point A quadratic equation is one that can be written in the form
ax2 + bx + c = 0
where a, b and c are numbers and x is the unknown whose value(s) we wish to find.
For example,
2x2 + 7x - 3 = 0, x2 + x + 1 = 0, 0.5x2 + 3x + 9 = 0
are all quadratic equations. To ensure the presence of the x2 term the number a
cannot be zero. However, b and c may be zero, so that
4x2 + 3x = 0, 2x2 - 3 = 0 and 6x2 = 0
are all quadratic equations. Frequently quadratic equations occur in non-standard
form but where necessary they can be rearranged into standard form using the rules
for rearranging linear equations given in Block 1 of this chapter.
For example,
3x2 + 5x = 8 and 2x2 = 8x - 9
can be rewritten as
3x2 + 5x - 8 = 0 and 2x2 - 8x + 9 = 0
respectively.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 231
Exercises
1 Verify that x = 2 and x = 3 are both solutions 2 Verify that x = -2 and x = -3 are both
of x2 - 5x + 6 = 0. solutions of x2 + 5x + 6 = 0.
Example 2.1
Solve the quadratic equation x2 + x - 6 = 0.
Solution
Factorising we find
x2 + x - 6 = (x + 3)(x - 2) = 0
When the product of two quantities equals zero, at least one of the two must equal
zero. In this case either (x + 3) is zero or (x - 2) is zero. It follows that
x + 3 = 0, giving x = -3
or
x - 2 = 0, giving x = 2
There are two solutions, x = -3 and x = 2. These solutions can be checked quite
easily by substitution back into the given equation.
Example 2.2
Solve the quadratic equation 2x2 - 7x - 4 = 0.
Solution
Factorising we find
2x2 - 7x - 4 = (2x + 1)(x - 4) = 0
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:37 AM Page 232
Example 2.3
Solve the equation x2 + 5x = 0.
Solution
Factorising and equating each factor to zero we find
x2 + 5x = x(x + 5) = 0
Figure 2.1 w
A simply
supported beam R R
with a uniform
load.
x
L
M varies with position x along the beam. It can be shown (see Example 1.18 in
Chapter 17) that M is given by the quadratic polynomial
w
M(x) = (Lx - x2)
2
Determine the values of x for which the bending moment is zero.
Solution
The values of x for which the bending moment is zero are found by solving
w
(Lx - x2) = 0
2
which is a quadratic equation. We can proceed in exactly the same way as in Exam-
ple 2.3 and factorise the equation noting the common factor x in both terms in the
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 233
Example 2.5
Solve the equation 4x2 + 12x + 9 = 0.
Solution
Factorising we find
This time the factor (2x + 3) occurs twice. The equation becomes
(2x + 3)2 = 0
so that
2x + 3 = 0
and we obtain the root x = - 32 . Because the factor 2x + 3 appears twice in the
equation (2x + 3)2 = 0 we say that this root is a repeated or double root.
Example 2.6
Solve the quadratic equation 7x2 - 20x - 3 = 0.
Solution
First factorise the left-hand side:
Exercises
1 x2 - 3x + 2 = 0 3 x2 + x - 2 = 0
2 x2 - x - 2 = 0 4 x2 + 3x + 2 = 0
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 234
5 x2 + 8x + 7 = 0 10 x2 + 2x + 1 = 0
6 x2 - 7x + 12 = 0 11 x2 + 11x = 0
7 x2 - x - 20 = 0 12 2x2 + 2x = 0
8 x2 - 1 = 0 13 x2 - 3x = 0
9 x2 - 2x + 1 = 0 14 x2 + 9x = 0
15 2x2 - 5x + 2 = 0 17 -5x2 + 6x - 1 = 0
16 6x2 - x - 1 = 0 18 -x2 + 4x - 3 = 0
Solutions to exercises
1 1, 2 12 0, -1
2 -1, 2 13 0, 3
3 -2, 1 14 0, -9
4 -1, -2 1
15 2,
5 -7, -1 2
6 4, 3 1 1
16 ,-
2 3
7 -4, 5
1
8 1, -1 17 ,1
5
9 1 twice
18 1, 3
10 -1 twice
11 -11, 0
Example 2.7
Compare the given equation with the standard form ax2 + bx + c = 0 and identify
a, b and c. Calculate b2 - 4ac and use this information to state the nature of the roots.
(a) 3x2 + 2x - 7 = 0
(b) 3x2 + 2x + 7 = 0
(c) 3x2 - 2x + 7 = 0
(d) x2 + x + 2 = 0
(e) -x2 + 3x - 12 = 0
(f) 5x 2 - 3 = 0
(g) x2 - 2x + 1 = 0
Solution
(a) a = 3, b = 2 and c = -7. So
(d) a = 1, b = 1 and c = 2. So
b2 - 4ac = (1)2 - 4(1)(2)
= -7
and the roots will be complex.
(e) a = -1, b = 3 and c = - 12 . So
b2 - 4ac = 32 - 4(-1)(- 12)
= 7
The roots will be real and distinct.
(f) a = 5, b = 0 and c = -3. So
b2 - 4ac = 0 - 4(5)(-3)
= 60
The roots will be real and distinct.
(g) a = 1, b = -2 and c = 1. So
b2 - 4ac = (-2)2 - 4(1)(1)
= 0
There will be a single repeated root.
Example 2.8
Solve the quadratic equation 2x2 + 3x - 6 = 0 using the formula.
Solution
We compare the given equation with the standard form ax2 + bx + c = 0 in order
to identify a, b and c. We see that a = 2, b = 3 and c = -6. Note particularly the
sign of c. Substituting these values into the formula we find
-b ; 2b2 - 4ac
x =
2a
-3 ; 232 - 4(2)(-6)
=
(2)(2)
-3 ; 29 + 48
=
4
-3 ; 257
=
4
-3 ; 7.5498
=
4
= 1.1375 and -2.6375
The two solutions are x = 1.1375 and x = -2.6375. However, it is often sufficient
-3 ; 257
to leave your answer in the so-called surd form x = .
4
Example 2.9
Solve the equation 3x2 - x - 6 = 0.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 237
a = b = c = a = 3 , b = -1 , c = -6
-b ; 2b2 - 4ac
x =
2a
Exercises
Solutions to exercises
3
10 - ,1 12 -3
2
1 13 1
11 -
3
The technique known as completing the square can be used to solve quadratic equa-
tions, although it is applicable in other circumstances as well. We shall develop this
technique in the following examples.
Example 2.10
(a) Show that (x + 3)2 = x2 + 6x + 9.
(b) Hence show that x2 + 6x can be written as (x + 3)2 - 9.
Solution
(a) Removing the brackets we find
(x + 3)2 = (x + 3)(x + 3)
= x2 + 3x + 3x + 9
= x2 + 6x + 9
Thus
(x + 3)2 = x2 + 6x + 9
(b) By subtracting 9 from both sides of the previous equation it follows that
(x + 3)2 - 9 = x2 + 6x
Example 2.11
(a) Show that (x - 4)2 = x2 - 8x + 16.
(b) Hence show that x2 - 8x can be written as (x - 4)2 - 16.
Solution
(a) Removing the brackets we find
(x - 4)2 = (x - 4)(x - 4)
= x2 - 4x - 4x + 16
= x2 - 8x + 16
(b) Subtracting 16 from both sides we can write
(x - 4)2 - 16 = x2 - 8x
We shall now generalise the results of Examples 2.10 and 2.11. Noting that
(x + k)2 = x2 + 2kx + k2
we can write
x2 + 2kx = (x + k)2 - k2
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 239
Example 2.12
Complete the square for the expression x2 + 16x.
Solution
Comparing x2 + 16x with the general form x2 + 2kx we see that k = 8. Hence
x2 + 16x = (x + 8)2 - 82
= (x + 8)2 - 64
Note that the constant term in the brackets on the right, that is 8, is half the coeffi-
cient of x on the left, which is 16.
Example 2.13
Complete the square for the expression 5x2 + 4x.
Solution
Consider 5x2 + 4x. First of all the coefficient 5 is removed outside a bracket as
follows
5x2 + 4x = 51x2 + 45x2
We can now complete the square for the quadratic expression in the brackets:
x2 + 45 x = 1x + 2522 - 12522
= 1x + 2522 - 4
25
Completing the square can be used to solve quadratic equations as shown in the
following examples.
Example 2.14
Solve the equation x2 + 6x + 2 = 0 by completing the square.
Solution
First of all just consider x2 + 6x, and note from Example 2.10 that we can write
this as
x2 + 6x = (x + 3)2 - 9
Then the quadratic equation can be written as
x2 + 6x + 2 = (x + 3)2 - 9 + 2 = 0
that is
(x + 3)2 = 7
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 240
x + 3 = ; 27
x = -3 ; 27
Example 2.15
Solve the equation x2 - 8x + 5 = 0.
Solution
First consider x2 - 8x. Using Example 2.11 we can write
x2 - 8x = (x - 4)2 - 16
so that the equation becomes
x2 - 8x + 5 = (x - 4)2 - 16 + 5 = 0
(x - 4)2 = 11
x - 4 = ; 211
x = 4 ; 211
= 7.3166, 0.6834
Example 2.16
Solve the equation x2 - 4x + 1 = 0 by completing the square.
Solution
First examine the two leftmost terms in the equation, x2 - 4x. Complete the square
for these terms:
x2 - 4x = (x - 2)2 - 4
x2 - 4x + 1 =
(x - 2)2 - 4 + 1 = (x - 2)2 - 3
= 0
From which
(x - 2)2 = 3
x - 2 = ; 13
x = 2 ; 13 = 3.7321, 0.2679
Exercise
Equations can be solved quite simply using graphs. For example, to solve the equa-
tion x2 - 4x + 1 = 0 we can plot a graph of the function y = x2 - 4x + 1. If the
graph crosses the horizontal axis it will do so when y = 0, and so the x coordinates
at such points are solutions of x2 - 4x + 1 = 0. This is illustrated in the following
example.
Example 2.17
Solve the equation x2 - 4x + 1 = 0 by plotting a graph of the function
y = x2 - 4x + 1
Solution
By constructing a table of function values we can plot the graph as shown in
Figure 2.2.
Figure 2.2 y
The graph of x 0 1 2 3 4
y 1 −2 −3 −2 1
y = x2 - 4x + 1
cuts the x axis at
C and D.
1
C D
−1 O 1 2 3 4 5 x
−1
−2
−3
If you have access to a graphics calculator or computer software for graph plotting
check that you can use it to plot quadratic graphs and locate solutions of quadratic
equations.
You may find the illustrative examples in Chapter 6, Block 2.3 helpful.
2 0.56x2 + 0.05x - 3 = 0
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 242
Solutions to exercises
2 x = 3, 2 5 2.766, -1.266
3 s = 32, - 53
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 243
3.1 Introduction
For example, x3 - 17x2 + 54x - 8 is a polynomial expression. Note that only non-
negative whole number powers of the variable x are allowed in a polynomial expression.
When a polynomial expression is equated to zero, a polynomial equation is obtained.
Thus
3x2 + 6x - 7 = 0, x3 - 2x2 + 8x - 3 = 0
are examples of polynomial equations. The linear and quadratic equations that you
have already met are particular types of polynomial equation. In this block you will
learn how to factorise some polynomial expressions and how to solve some polyno-
mial equations. You will also learn the technique of equating coefficients, which is
very important when you need to perform calculations involving partial fractions in
Block 6.
The degree of a polynomial is the highest power to which the variable is raised. Thus
x3 + 6x + 2 has degree 3, t6 - 6t4 + 2t has degree 6, and 5x + 2 has degree 1.
Let us consider what happens when two polynomials are multiplied together. For
example,
(x + 1)(3x - 2)
is the product of two first-degree polynomials. Expanding the brackets we obtain
(x + 1)(3x - 2) = 3x2 + x - 2
Exercises
Solutions to exercises
1 two 3 two
Example 3.1
Factorise the expression x3 - 17x2 + 54x - 8 given that one of the factors is (x - 4).
Solution
Given that x - 4 is a factor we can write
Removing the brackets on the right and collecting like terms together we have
Equating coefficients means that we compare the coefficients of each term on the
left with the corresponding term on the right. Thus if we look at the x3 terms on each
side we see that
x3 = ax3
that is, a must equal 1 for both sides to be the same. Similarly by equating coeffi-
cients of x2 we find
-17 = b - 4a
With a = 1 we have -17 = b - 4 so that b must equal -13. Finally, equating
constant terms we find
-8 = -4g
so that g = 2. Check for yourself that, with these values of g and b , the coefficient
of x is the same on both sides. We can now write the polynomial expression as
Exercises
Solutions to exercises
where a0, a1, . . . are known coefficients, and x represents an unknown whose value(s)
are to be found.
Recall that the degree of the equation is the highest power of x occurring. The
solutions or roots of the equation are those values of x that satisfy the equation. A
polynomial equation of degree n has n roots.
Example 3.2
Verify that x = -1, x = 1 and x = 0 are roots of the equation
x3 - x = 0
Solution
We substitute each value in turn into x3 - x = 0:
(-1)3 - (-1) = -1 + 1
= 0
Exercises
In Block 2 we gave a formula that can be used to solve quadratic equations. Unfortu-
nately, when dealing with equations of higher degree no such simple formulae exist.
If one of the roots can be spotted we can sometimes find the others by the method
shown in Example 3.3.
Example 3.3
Verify that x = 4 is a solution of the equation P(x) = x3 - 17x2 + 54x - 8 = 0.
Hence find the other solutions.
Solution
We substitute x = 4 into the left-hand side of the given equation:
So, when x = 4 the left-hand side equals zero. Hence x = 4 is indeed a solution.
Knowing that x = 4 is a root we can state that (x - 4) must be a factor of P(x).
Therefore P(x) can be written
The quadratic polynomial has already been found in Example 3.1. So the given equa-
tion can be written
P(x) = x3 - 17x2 + 54x - 8
= (x - 4)(x2 - 13x + 2) = 0
In this form we see that
x - 4 = 0 or x2 - 13x + 2 = 0
The first equation gives x = 4, which we already knew. The second must be solved
using one of the methods for solving quadratic equations given in Block 2. For
example, using the formula we find
-b ; 2b2 - 4ac
x =
2a
13 ; 2(-13)2 - 4.1.2
=
2
13 ; 2161
=
2
13 ; 12.6886
=
2
= 12.844, 0.156
Hence the solutions are x = 4, x = 12.844 and x = 0.156.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 248
Example 3.4
Solve the equation x3 + 8x2 + 16x + 3 = 0 given that x = -3 is a root.
Solution
Consider the equation x3 + 8x2 + 16x + 3 = 0. If x = -3 is a root then x + 3
must be a factor of the left-hand side. We can therefore write the left-hand side as
3 = 3g so that g = 1
8 = 3a + b
from which b = 5.
This enables us to write the equation as
(x + 3)(x2 + 5x + 1) = 0
Solution
We examine the denominator and seek those values of s for which
s3 + 15s2 + 50s = 0
Observe that this is a polynomial equation of degree 3, that is a cubic equation.
Note that there is a common factor in the terms of the equation, namely s, and so
the equation can be factorised into
s(s2 + 15s + 50) = 0
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 249
Exercises
Solutions to exercises
The real roots of the polynomial equation P(x) = 0 are given by the values of the
intercepts of the function y = P(x) and the x axis because, on the x axis, y, and hence
P(x), is zero. Many excellent computer software packages and graphics calculators
exist that can be used for plotting graphs and hence solving polynomial equations.
Suppose the graph of y = P(x) is plotted and takes a form similar to that shown in
Figure 3.1.
The graph intersects the x axis at x = x1, x = x2 and x = x3 and so the equation
P(x) = 0 has real roots x1, x2 and x3.
Figure 3.1 y
A polynomial
function that cuts
the x axis at points x1 x2 x3
x1, x2 and x3. x
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 250
Example 3.6
Plot a graph of the function y = 4x4 - 15x2 + 5x + 6 and hence solve the equation
4x4 - 15x2 + 5x + 6 = 0.
Solution
The graph has been plotted with the aid of a computer graph-plotting package and is
shown in Figure 3.2.
Figure 3.2 y
Graph of
y = 4x4 -
15x2 + 5x + 6.
x
–4 5
The solutions of the equation are found by looking for where the graph crosses the
horizontal axis. We see that the solutions are x = 1, x = 1.5, x = -0.5 and x = -2.
Exercise
1 Consider the polynomial and P(3) show that at least one root of
P(x) = 5x3 - 47x2 + 84x. By evaluating P(2) P(x) = 0 lies between x = 2 and x = 3.
2 2x3 + 3x + 7 = 0
Solutions to exercises
2 -1.20
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 251
Solutions to exercises
3 x = 2, -1 6 x = -3, 3, -1, -2
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 252
4.1 Introduction
Equations often arise in which there is more than one unknown quantity. When this
is the case there will usually be more than one equation involved. For example, in the
two equations
7x + y = 9, -3x + 2y = 1
there are two unknowns: x and y. In order to solve the equations we must find values
for x and y that satisfy both of the equations. The two equations are called
simultaneous equations. You should verify that the solution of these equations is
x = 1, y = 2 because by substituting these values into both equations, the left-hand
and right-hand sides are equal.
In this block we shall show how two simultaneous equations can be solved either
by a method known as elimination or by drawing graphs. If more than two equations
are involved you should refer to the techniques described in Chapter 13, Blocks 1, 2
and 3.
Exercises
Example 4.1
Solve the simultaneous equations
3x + 5y = 31 (1)
2x + 3y = 20 (2)
Solution
We first try to modify each equation so that the coefficient of x is the same in both
equations. This can be achieved if equation (1) is multiplied by 2 and equation (2) is
multiplied by 3. This gives
6x + 10y = 62
6x + 9y = 60
Note that in this form the unknown x can be removed or eliminated if the second
equation is subtracted from the first:
6x + 10y = 62 -
6x + 9y = 60
0x + 1y = 2
The result implies that 1y = 2, and we see immediately that y must equal 2. To find
x we substitute the value found for y into either of the given equations. For example,
using equation (1),
3x + 5(2) = 31
3x = 21
x = 7
Thus the solution of the given equations is x = 7, y = 2. You should always check
your solution by substituting back into both of the given equations.
If the coefficients of x in the two equations differ only in sign, elimination can be
achieved by adding the two equations:
Example 4.2
Solve the equations
-3x + y = 18 (3)
7x - 3y = -44 (4)
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 254
Solution
We modify the equations so that x can be eliminated by adding. For example, by
multiplying equation (3) by 7 and equation (4) by 3 we find
-21x + 7y = 126
21x - 9y = -132
-21x + 7y = 126 +
21x - 9y = -132
0x - 2y = -6
from which -2y = -6, so that y = 3. Substituting this value into equation (3) we
can find x:
-3x + 3 = 18
so that
-3x = 15
that is
x = -5
Example 4.3
Solve the equations
5x + 3y = -74
-2x - 3y = 26
Solution
Note that the coefficients of y differ only in sign. By adding the two equations we
find 3x = -48 so that x = -16. It follows that y = 2.
Example 4.4
Solve the equations
5x - 7y = -80 (5)
2x + 11y = 106 (6)
Solution
First modify the equations so that the coefficient of x is the same in both. This means
that if equation (5) is multiplied by 2 then equation (6) must be multiplied by
5
Write down the resulting equations:
y = 10
10x - 2y = -3 (7)
-5x + y = 1 (8)
Solution
Leaving equation (7) unaltered and multiplying equation (8) by 2 we find
10x - 2y = -3
-10x + 2y = 2
10x - 2y = -3 +
-10x + 2y = 2
0x + 0y = -1
The last line is clearly nonsense. We say that the equations are inconsistent and they
have no solution.
2x + y = 8 (9)
4x + 2y = 16 (10)
If equation (9) is multiplied by 2 we find
4x + 2y = 16
4x + 2y = 16
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 256
Note that both equations are now identical. This means that one of them is redun-
dant. We need only consider the single equation
2x + y = 8
There are infinitely many pairs of values of x and y that satisfy this equation. For
example, if x = 0, y = 8. Similarly, if x = 1, y = 6, and if x = -3, y = 14. We
could continue like this, producing more and more solutions. Suppose we choose a
value for x. Because we are not restricted in any way we call x a free variable. Let us
call our choice l. We can then write
2l + y = 8 so that y = 8 - 2l
Figure 4.1 y
The straight line
interpolates the (5, 8)
two given points.
(6, 5)
Solution
(a) Suppose the straight line has equation y = mx + c. Because the line passes
through (5, 8) and (6, 5) we know that
8 = 5m + c (11)
and 5 = 6m + c (12)
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 257
Exercises
In questions 1–3 solve the given simultaneous must be satisfied by a and b. Solve them and
equations by elimination: hence find the equation of the line.
Solutions to exercises
1 10
1 x = 2, y = -2 4 y = x +
3 3
2 x = 2, y = -2 13 2 43
5 y = - x + x
10 10
3 x = -5, y = 1
solution of the equations. If the two lines do not intersect then the equations have no
solution. If the two lines are identical, there are an infinite number of solutions. Con-
sider the following examples.
Example 4.8
Solve the simultaneous equations
4x + y = 9 (13)
-x + y = -1 (14)
by plotting two straight line graphs.
Solution
Equation (13) is rearranged into the standard form of the equation of a straight line:
y = -4x + 9. By selecting two points on the line a graph can be drawn as shown in
Figure 4.2.
Similarly, equation (14) can be rearranged as y = x - 1 and its graph drawn. This
is also shown in Figure 4.2. The coordinates of any point on line I satisfy 4x + y = 9.
The coordinates of any point on line II satisfy -x + y = -1. At the point where the
two lines intersect the x and y coordinates must satisfy both equations and so the point
of intersection represents the solution. We see from the graph that the point of inter-
section is (2, 1). The solution of the given equations is therefore x = 2, y = 1.
Figure 4.2 y
The coordinates of II: y x 1
the point of inter-
3
section give the
2
required solution.
1
5 4 3 2 1 1 2 3 4 x
I: y 9 4x
Example 4.9
Solve the equations: 10x - 2y = -3, 5x - y = -1.
Solution
Rewriting the equations in standard form we find
3
y = 5x + and y = 5x + 1
2
Graphs of these lines are shown in Figure 4.3. Note that these lines do not intersect
because they are parallel. This means that the given simultaneous equations do not
have a solution; they are inconsistent.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 259
2 1 1 2 x
y 5x 3
2
Exercises
1 5x - y = 7, 2x + y = 7 3 7x + 3y = 25, -2x + y = 4
Solutions to exercises
1 x = 2, y = 3 3 x = 1, y = 6
2 x = - 53, y = - 23 4 x = 2, y = -3
Solution to exercise
1 Solve the following simultaneous equations: 4 Find the equation of the straight line passing
(a) 3x + 2y = 7, x + y = 3
through a4, 13 b and a1, b .
3 13
(b) 3s + 4t = 0, 2s - 2t = 7
4 4
2 Show that the equations 11x + y = 7 and 5 A graph has equation y = ax2 + bx. Find a
7y = 7 - 77x have no solution. and b if the graph passes through the points
(1, 2) and (3, 5).
3 Solve the equations
3 2 7 5
+ = 11, - - = -26
s t s t
1 1
(Hint: let x = , y = .)
s t
Solutions to exercises
7 1
1 (a) 1, 2 (b) 2, -1.5 4 y = x -
2 4
1 1 13
3 ,1 5 - ,
3 6 6
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 261
Solution of inequalities
BLOCK 5
5.1 Introduction
Key point 7 means: ‘is greater than’, Ú means: ‘is greater than or equal to’
6 means: ‘is less than’, … means: ‘is less than or equal to’
Figure 5.1
a b
If b 7 a, b will be
to the right of a on
the number line.
Figure 5.2
⫺5 ⫺4 ⫺3 ⫺2 ⫺1 0 1 2 3 4 5 6 7 8
Inequalities can always be written in two ways. For example, in English we can
state that 8 is greater than 7, or equivalently, 7 is less than 8. Mathematically we
write 8 7 7 or 7 6 8. Similarly if b 7 a then a 6 b. If a 6 b then a will be to the
left of b on the number line.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 262
Example 5.1
Rewrite the inequality - 25 6 x using only the ‘greater than’ sign, 7 .
Solution
- 25 6 x can be written as x 7 - 25 .
Example 5.2
Rewrite the inequality 5 7 x using only the ‘less than’ sign, 6 .
Solution
5 7 x can be written as x 6 5.
Sometimes two inequalities are combined into a single statement. Consider for
example 3 6 x 6 6. This is a compact way of writing 3 6 x and x 6 6. Now
3 6 x is equivalent to x 7 3 and so 3 6 x 6 6 means x is greater than 3 but less
than 6.
It would be incorrect to write 5 7 x 7 9 because 5 is not greater than 9. Instead
two inequalities would be used and we would write: x 6 5 or x 7 9, that is x is less
than 5 or greater than 9.
Inequalities obey simple rules when used in conjunction with arithmetical
operations.
Key point 1 Adding or subtracting the same quantity from both sides of an inequality leaves the
inequality sign unchanged.
2 Multiplying or dividing both sides by a positive number leaves the inequality sign
unchanged.
3 Multiplying or dividing both sides by a negative number reverses the inequality.
Similarly |x| 7 4 means all numbers whose size, irrespective of sign, is greater than
4. This means any value greater than 4 or less than -4. Thus
|x| 7 4 means x 7 4 or x 6 -4
In general, if k is a positive number,
Exercises
3 |x| 6 5 9 |x| Ú 0
Solutions to exercises
2 -2 6 x 6 2 7 x 7 2 or x 6 -2
3 -5 6 x 6 5 8 x 7 7.5 or x 6 -7.5
When we are asked to solve an inequality, the inequality will contain an unknown
variable, x say. To solve means to find all values of x for which the inequality is true.
In a linear inequality the unknown appears only to the first power, that is as x, and
not as x2, x3, x1>2, and so on. It is possible to solve a linear inequality by making the
unknown the subject. Consider the following examples.
Example 5.4
Solve the inequality 4x + 3 7 0.
Solution
4x + 3 7 0
4x 7 -3 by subtracting 3 from both sides
x 7 - 34 by dividing both sides by 4
Example 5.5
Solve the inequality -3x - 7 … 0.
Solution
-3x - 7 … 0
-3x … 7 by adding 7 to both sides
x Ú - 73 dividing both sides by -3
and reversing the inequality
Example 5.6
Solve the inequality 17x + 2 6 4x + 1.
Solution
We try to make x the subject and obtain it on its own on the left-hand side. Start by
subtracting 4x from both sides to remove quantities involving x from the right.
13x + 2 6 1
13x 6 -1
Figure 5.3
|5x - 2| 6 4 0
⫺ 25 6
5
when
- 25 6 x 6 65 .
Example 5.8
Solve the inequality |1 - 2x| 6 5.
Solution
First of all rewrite the inequality without using the modulus sign.
|1 - 2x| 6 5 is equivalent to -5 6 1 - 2x 6 5
Then treat each part separately. First of all consider -5 6 1 - 2x. Solve this.
x 6 3
The second part is 1 - 2x 6 5. Solve this.
x 7 -2
Finally, confirm that the solution is -2 6 x 6 3.
Exercises
1 4x 7 8 2 5x 7 8
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 266
3 8x 7 5 10 3x Ú 0
4 8x … 5 11 3x 7 4
5 2x 7 1 12 3
4x 7 1
6 3x 6 -1 13 4x … -3
7 5x 7 2 14 3x … -4
8 2x 7 0 15 5x Ú 0
9 8x 6 0 16 4x … 0
17 5x + 1 6 8 22 1 - 5x … 0
18 5x + 1 … 8 23 2 + 5x Ú 1
19 7x + 3 Ú 0 24 11 - 7x 6 2
20 18x + 2 7 9 25 5 + 4x 7 2x + 1
21 14x + 11 7 22 26 7 - 3x 7 x - 5
27 |7x - 3| 7 1 31 |1 - 5x| 7 2
28 |2x + 1| Ú 3 32 |2 - 5x| Ú 3
29 |5x| 6 1 33 |2x - 1| 6 1
30 |5x| … 0
Solutions to exercises
1 x 7 2 14 x … - 43
8
2 x 7 5 15 x Ú 0
5
3 x 7 8 16 x … 0
5 7
4 x … 8 17 x 6 5
1 7
5 x 7 2 18 x … 5
6 x 6 - 13 19 x Ú - 37
2 7
7 x 7 5 20 x 7 18
11
8 x 7 0 21 x 7 14
1
9 x 6 0 22 x Ú 5
10 x Ú 0 23 x Ú - 15
4 9
11 x 7 3 24 x 7 7
4
12 x 7 3 25 x 7 -2
13 x … - 34 26 x 6 3
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 267
Graphs can be used to solve inequalities, particularly if the inequality is not linear.
Graphics calculators or software can help save a lot of time and effort here.
Example 5.9
Solve graphically the inequality 5x + 2 6 0.
Solution
We consider the function y = 5x + 2 whose graph is shown in Figure 5.4.
Figure 5.4 y
Graph of y 5x 2
10
y = 5x + 2.
1 O 1 2 x
x 25
The values of x that make 5x + 2 negative are those for which y is negative. We
see directly from the graph that y is negative when x 6 - 25 .
Example 5.10
Find the range of values of x for which x2 - x - 6 6 0.
Solution
We consider the graph of y = x2 - x - 6, which is shown in Figure 5.5.
Figure 5.5 y
Graph of
y = x2 - x - 6. 5 y x2 x 6
2 1 O 1 2 3 x
5
Note that the graph crosses the x axis when x = -2 and when x = 3. Now
x2 - x - 6 will be negative when y is negative. Directly from the graph we see that
y is negative when -2 6 x 6 3.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 268
Example 5.11
Find the range of values of x for which x2 - x - 6 7 0.
Solution
The graph of y = x2 - x - 6 has been drawn in Figure 5.5. We require
y = x2 - x - 6 to be positive. Use the graph to solve the problem.
x 6 -2 or x 7 3
Example 5.12
By plotting a graph of y = 20x4 - 4x3 - 143x2 + 46x + 165 find the range of
values of x for which
20x4 - 4x3 - 143x2 + 46x + 165 6 0
Solution
A software package has been used to plot the graph, which is shown in Figure 5.6.
We see that y is negative when -2.5 6 x 6 -1 and when 1.5 6 x 6 2.2.
Figure 5.6
Graph of y
y = 20x4 -
4x3 - 143x2 +
46x + 165.
5 4 3 2 1 1 3 4 5 x
Exercises
1 3x + 1 6 0 3 6x + 9 7 0
2 2x - 7 6 0 4 5x - 3 7 0
Solutions to exercises
1 3
1 x 6 - 3 x 7 -
3 2
7 3
2 x 6 4 x 7
2 5
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 269
Solutions to exercises
4
1 (a) N is any number less than or equal to -21. (b) x 6 -4 or x 7
(b) p lies between 0 and 1, inclusive. 3
2 -3 … a … 9 1
(c) x … -1 or x Ú -
2
3 x Ú 0
8 12
(d) - 6 x 6
7 5 5
4 x Ú
4
6 -s + m 6 X 6 s + m
3 5
5 (a) - 6 x 6 7 x 7 3 or x 6 -1
4 4
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 270
Partial fractions
BLOCK 6
6.1 Introduction
It is often helpful to break down a complicated fraction into the sum of simpler
4x + 7
fractions. For example, it can be shown that 2 has the same value as
1 3 x + 3x + 2
+ for any value of x. We say that
x + 2 x + 1
4x + 7 1 3
2 is identically equal to +
x + 3x + 2 x + 2 x + 1
4x + 7 1 3
and that the partial fractions of are and . The ability to
x2 + 3x + 2 x + 2 x + 1
express a fraction as its partial fractions is particularly useful in the study of Laplace
transforms, and in control theory. In this block we explain how partial fractions are
found.
Example 6.1
For each of the following fractions state the degrees of the numerator and denomi-
nator. Hence classify the fractions as proper or improper.
x3 + x2 + 3x + 7 3x2 - 2x + 5 x s2 + 4s + 5
(a) (b) (c) (d)
x2 + 1 x2 - 7x + 2 x4 + 1 (s2 + 2s + 4)(s + 3)
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 271
(c) Noting that x = x1 we see that n = 1 and d = 4. State whether this fraction is
proper or improper.
(d) Removing the brackets in the denominator we see that it has degree 3. The
degree of the numerator is 2 and so this fraction is proper.
The denominator of an algebraic fraction can be factorised into a product of linear and
quadratic factors. Linear factors are those of the form ax + b, for example 2x + 7,
3x - 2 and 4 - x. Quadratic factors are those of the form ax2 + bx + c such as
x2 + x + 1, and 4x2 - 2x + 3, which cannot be factorised into linear factors.
Exercises
Solutions to exercises
1 (a) n = 1, d = 1, improper
(b) n = 2, d = 3, proper
(c) n = 3, d = 1, improper
First we describe how to calculate partial fractions of proper fractions where the
denominator may be written as a product of linear factors. The steps needed to calcu-
late the partial fractions are as follows:
1 Factorise the denominator.
2 Each factor will produce a partial fraction. A factor such as 3x + 2 will produce
A
a partial fraction of the form where A is an unknown constant. In general
3x + 2
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 272
A
a linear factor ax + b will produce a partial fraction . The unknown con-
ax + b
stants for each partial fraction may be different and so we shall call them A, B, C,
and so on.
3 Evaluate the unknown constants by equating coefficients or substituting specific
values of x.
The sum of the partial fractions is identical in value to the original algebraic fraction
for any value of x.
Key point A
A linear factor ax + b produces a partial fraction of the form .
ax + b
Example 6.2
7x + 10
Express 2 as its partial fractions.
2x + 5x + 3
Solution
Note that this fraction is proper. The denominator is factorised to give (2x + 3)(x + 1).
It has been written as the product of two linear factors. Each factor produces a partial
A
fraction. The factor 2x + 3 produces a partial fraction of the form . The fac-
2x + 3
B
tor x ⫹ 1 produces a partial fraction , where A and B are unknown constants
x + 1
which we now try to find. We write
7x + 10 A B
= +
(2x + 3)(x + 1) 2x + 3 x + 1
7x + 10 1 3
2
= +
2x + 5x + 3 2x + 3 x + 1
We have succeeded in expressing the given fraction as the sum of its partial fractions.
The result can always be checked by adding the fractions on the right.
Example 6.3
9 - 4x
Express 2 in partial fractions.
3x - x - 2
Solution
First factorise the denominator:
9 - 4x 9 - 4x
2
=
3x - x - 2 (3x + 2)(x - 1)
A B
= +
3x + 2 x - 1
Multiply both sides by (3x + 2)(x - 1) to obtain the equation from which we can
find values for A and B.
9 - 4x = A(x - 1) + B(3x + 2)
-4 = A + 3B, A = -7 since B = 1
9 - 4x -7 1
2
= +
3x - x - 2 3x + 2 x - 1
Exercises
11x + 1 5
2 Find the partial fractions of . 4 2
(x - 1)(2x + 1) x + 7x + 12
Express each of the following as the sum of partial -3
5
fractions: (2x + 1)(x - 3)
3
3
(x + 1)(x + 2)
Solutions to exercises
2 3 3 4 5 5
1 (a) + (c) + 4 -
x + 1 x - 2 x + 4 x + 3 x + 3 x + 4
4 3
2 + 6 3
x - 1 2x + 1 5 -
7(2x + 1) 7(x - 3)
3 3
3 -
x + 1 x + 2
A B
+
ax + b (ax + b)2
Key point Repeated linear factors (ax + b)2 produce partial fractions of the form
A B
+
ax + b (ax + b)2
Once again the unknown constants are found by a mixture of equating coefficients
and substituting specific values for x.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 275
4x2 + 12x + 9 =
You should have found a repeated linear factor. The repeated linear factor (2x + 3)2
gives rise to two partial fractions of the form
10x + 18 A B
2
= +
(2x + 3) 2x + 3 (2x + 3)2
Multiply both sides through by (2x + 3)2 to obtain the equation that must be solved
to find A and B.
10x + 18 = A(2x + 3) + B
10 = 2A, A = 5
Exercises
3 - x 2x2 - x + 1
1 5
2
x - 2x + 1 (x + 1)(x - 1)2
5x2 + 23x + 24
7x - 15 6
2 - 2
(2x + 3)(x + 2)2
(x - 1)
6x2 - 30x + 25
7
3x + 14 (3x - 2)2 (x + 7)
3
x2 + 8x + 16 s + 2
8
(s + 1)2
5x + 18 2s + 3
4 9
(x + 4)2 s2
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 276
Solutions to exercises
1 2 3 1 2
1 - + 6 + +
x - 1 (x - 1)2 2x + 3 x + 2 (x + 2)2
7 8 1 1 1
2 - + 7 - + +
x - 1 (x - 1)2 3x - 2 (3x - 2)2 x + 7
3 2 1 1
3 + 8 +
x + 4 (x + 4)2 s + 1 (s + 1)2
5 2 2 3
4 - 9 + 2
x + 4 (x + 4)2 s s
1 1 1
5 + +
x + 1 x - 1 (x - 1)2
Key point A quadratic factor of the form ax2 + bx + c produces a partial fraction of the form
Ax + B
ax 2 + bx + c
Example 6.5
Express as partial fractions
3x + 1
2
(x + x + 10)(x - 1)
Solution
Note that the quadratic factor cannot be factorised further. We have
3x + 1 Ax + B C
2
= 2 +
(x + x + 10)(x - 1) x + x + 10 x - 1
3x + 1 =
1 7
A = - ,B =
3 3
Finally
3x + 1 - 13 x + 73 1
3
2
= 2 +
(x + x + 10)(x - 1) x + x + 10 x - 1
1 7 - x 1
= 2
+
3 x + x + 10 3(x - 1)
Solution
The fraction is proper. The denominator contains a quadratic factor that cannot be
factorised further, and also a linear factor. Thus
s2 + 4s + 5 As + B C
2
= 2 +
(s + 2s + 4)(s + 3) s + 2s + 4 s + 3
so that
3B = 5 - 4C
= 5 - 4a b
2
7
8
= 5 -
7
27
=
7
9
so B =
7
Finally
5 9 2
s2 + 4s + 5 7s + 7 7
Y(s) = = +
(s2 + 2s + 4)(s + 3) s2 + 2s + 4 s + 3
which can be written as
5s + 9 2
Y (s) = 2
+
7(s + 2s + 4) 7(s + 3)
Exercises
Solutions to exercises
3 3(x + 3) 1 1
1 - 3 +
7(x - 2) 7(x2 + x + 1) 2x + 3 (2x + 3)2
3x + 1 4 3x + 1 3
2 + 4 2
+
2
6x + x + 2 x - 3 x + 5x + 1 x - 1
When calculating the partial fractions of improper fractions an extra term needs to be
included. The extra term is a polynomial of degree n - d where d is the degree of
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 279
Key point If a fraction is improper an additional term is included taking the form of a polynomial
of degree n - d, where n is the degree of the numerator and d is the degree of the
denominator.
Example 6.7
Express as partial fractions
2x2 - x - 2
x + 1
Solution
The fraction is improper because n = 2, d = 1 and so d … n. Further, note that
n - d = 1. We therefore need to include an extra term: a polynomial of the form
Ax + B, in addition to the usual partial fractions. So
2x2 - x - 2 C
= Ax + B +
x + 1 x + 1
where the final term arises from the linear factor in the denominator. Multiplying
both sides by x + 1 we find
2x2 - x - 2 = (Ax + B)(x + 1) + C
= Ax2 + (A + B)x + (B + C)
Equating coefficients of x2 gives A = 2. Equating coefficients of x gives -1 = A + B
and so B = -1 - A = -3. Equating the constant terms gives -2 = B + C and so
C = -2 - B = -2 - (-3) = 1. Finally we have
2x2 - x - 2 1
= 2x - 3 +
x + 1 x + 1
The computing packages Maple and Matlab have built-in commands that enable par-
tial fractions to be found. For full details you should refer to the on-line help.
Example 6.8
3x3 - 7x2 - 77x - 137
Use software to express R1x2 = in partial fractions.
x2 - 4x - 21
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 280
Solution
Maple
It is straightforward in Maple to find a partial fractions expansion with the command
convert ( , parfrac).
> convert((3*x^3-7*x^2-77*x-137)/(x^2-4*x-21),parfrac)
gives as output
5 1
3x + 5 + +
x + 3 x - 7
Matlab
Matlab has the facility to calculate partial fractions symbolically using the command
partfrac. An alternative is to use the residue command, but care must be taken
when interpreting the output. The input to the residue command is two arrays that con-
tain the coefficients of the numerator and the denominator. The output is three arrays that
contain the residues (the numerators of the resulting partial fractions), the poles (the val-
ues which make the denominators of the partial fractions zero), and the coefficients of the
resulting polynomial term (if any). Thus
Exercises
Solutions to exercises
1 1
1 1 + 4 2x + 3 +
x + 2 x + 2
2 1 1 1
2 3 + 5 + + + 3x2 + x + 2
x - 3 (x + 2)2 x + 2 x - 3
1 1 1
3 1 + x + 6 2x2 + x + 7 + + 2
x + 1 2x + 1 x + x + 1
Solutions to exercises
4 1 1 K K(a - t)
1 (a) - + + 2 +
3x x - 1 3(x - 3) s 1 + ts
1
(b) 1 1 1 1 1 1
(x + 3)2 3 (a) + - + - +
5 1 5 s5 s4 s3 s2 s s + 1
(c) - +
21(2x + 1) 3(x - 1) 7(x - 3) 1
(b) + 2s2 + 4s + 2
5 s + 1
(d) 2 -
2s + 1
5 1 7
7 1 4 - - +
(e) - 3(x - 2) 12(x + 1) 4(x - 3)
2(s - 2) 2s
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 282
Proportionality
BLOCK 7
7.1 Definition
Solution
Extension, e, is proportional to the applied force, F, so
e = kF
We are given that e = 12 when F = 10 so
12 = k(10)
from which k = 65 , so
6F
e =
5
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 283
A = pr2
where r is the radius. If we introduce a new variable, x, where x is the square of the
radius, that is x = r2, then
A = px
So, area, A, is proportional to x, the square of the radius. The constant of proportion-
ality is p. Note that A is not proportional to r. A graph of A against x would be a
straight line through the origin; a graph of A against r, however, would be a curve.
Example 7.3 Electronic Engineering – Resistance
Resistivity is a measure of how difficult it is for electrons to flow through a material.
If the material has length, L, cross-sectional area, A, and resistance, R, then
rL
R =
A
where r is a constant called the resistivity of the material. If the cross-sectional area
is fixed (constant) then
R = kL
r
where k = = constant. So resistance, R, is proportional to length, L.
A
Example 7.4 Electrical Engineering – Power in a resistor
In an electric circuit the power, P, current, I, and resistance, R, are related by
P = I2 R (2)
If the resistance is constant, k1 say, then
P = k1I2
So for constant resistance, the power is proportional to the square of the current.
Note that power is not proportional to current, but is proportional to the square of the
current.
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 284
Referring again to equation (2), if the current, I, is constant, then I2 is also con-
stant; call it k2, giving
P = k2R
So for constant current, the power is proportional to resistance.
Example 7.5 Fluid Flow
The rate of flow, Q, of a fluid through a valve depends upon the pressure, P, across
the valve, according to the law
Q = k2P
where k is a constant. Here we see that flow rate, Q, is proportional to 2P, the
square root of the pressure. Note that Q is not proportional to P.
1
A variable, a, is inversely proportional to a variable, b, if a is proportional to . In
b
other words
1
a r
b
which can be expressed as
k
a =
b
where k is the constant of proportionality. Note that when b doubles, then a is halved;
when b is halved, then a doubles.
where K = 2k. We see that the resonant frequency is inversely proportional to the
square root of the mass.
Example 7.8
It is known that a is inversely proportional to b. Measurements taken during an
experiment are recorded in Table 7.1.
Table 7.1
a 5 10 15 20
b 6 3 2 1.5
1 Explain what is meant by the phrase ‘a is 3 Given a is proportional to b, state which of the
proportional to b’. following are true and which are false:
(a) when a doubles, then b also doubles
2 Explain what is meant by the phrase ‘a is (b) when a is halved, then b is doubled
inversely proportional to b’. (c) a graph of a against b is a straight line graph
(d) a divided by b is a constant
M07_CROF5939_04_SE_C07.QXD 9/21/18 10:38 AM Page 286
Solutions to exercises
Solutions to exercises
29 a - g b - g
1 x = 11 +
4 (a - b)(x - a) (b - a)(x - b)
25 67 29
2 x = 12 - + x - 7
6 x + 4 x + 3
119 3 3
3 - 13
2 s + 3
+
s + 1
4 x = 5, y = 2 14 s = -1, s = -2
6 False K Kt
15 C(s) = -
9 s 1 + ts
9 x 7 2 and x 6 5
Kt2 K Kt
16 C(s) = + 2 -
1 1 1 1 + ts s s
10 - + +
x + 1 x - 1 x
M07_CROF5939_04_SE_C07.QXD 11/28/18 7:03 PM Page 288
2
17 (n - 7)(n + 5)(n - 1) 21 -2 … x … 3
19 (a) x = - 8 twice (b) x = 3 ; 26 24 (a) y = 4.5x (b) y(36) = 162 (c) x = 44.4
Chapter 8
Logarithms and exponentials
The properties and laws of both functions are covered in this chapter,
and methods of solving equations involving exponentials and
logarithms are explained.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 290
Chapter 8 contents
1.1 Introduction
The exponential function has widespread application in many areas of science and
engineering. Areas that utilise the exponential function include expansion of ma-
terials, laws of cooling, radioactive decay, and the discharge of a capacitor. This
block details some properties of the exponential function and includes some of its
applications.
The hyperbolic functions are also introduced. These functions are defined in terms
of the exponential function. Identities involving the hyperbolic functions are
tabulated.
Laws of indices
am
aman = am + n, = am - n, (am)n = amn
an
In this chapter we shall be dealing with exponential expressions in which the base
will always be a particular constant called the exponential constant. This has the
symbol e and is approximately equal to 2.718. Exponential expressions with this
base dominate engineering applications.
Example 1.1
Most calculators have powers of the exponential constant preprogrammed; these can
be calculated, probably with a button marked ex. Check that you can use your calcu-
lator by calculating the following:
(a) e3.7 (b) e - 1.6 (c) 2e1.5
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 292
Solution
(a) e3.7 = 40.4473
The laws of indices and the rules of algebra apply to exponential expressions. The
following examples illustrate this.
Example 1.2
e4x
Simplify (a) e2xe3x, (b) , (c) (e2x)3.
e7x
Solution
(a) e2xe3x = e2x + 3x = e5x.
e4x 1
(b) 7x = e4x - 7x = e-3x. This may be written as 3x .
e e
(c) (e2x)3 = e2x * 3 = e6x.
Example 1.3
Expand the brackets and simplify where possible:
(a) ex(e - x + 1)
(b) (ex + 1)2 - 1
(c) (ex + e - x)2 - 2
Solution
(a) ex(e-x + 1) = exe-x + ex
= e0 + ex
= 1 + ex
= e2x + 2 + e-2x - 2
= e2x + e-2x
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 293
Exercises
Solutions to exercises
e-2x
1 (a) e9x (b) 6 (c) 1 (d) (c) 2 + ex + e - x
2 (d) 1 - ex + e2x - e3x + e - 2x - e - x
2 (a) e2x + 4ex + 4 (b) e - x - ex
3 (a) ex (b) ex (c) ex (d) ex
Hence y = (0.4)x, y = 2.5x and y = 10x are all exponential functions. Note that, in
an exponential function, the independent variable appears as a power.
Key point The most commonly used exponential function, commonly called the exponential
function, is
y = ex
where the base e is the exponential constant whose value is e = 2.71828182 . . .
Table 1.1 gives values of the exponential function ex for various x values and
Figure 1.1 illustrates a graph of y = ex for -3 … x … 3.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 294
Figure 1.1 y
The exponential
20
function, y = ex.
18 y = ex
16
14
Table 1.1 12
Values of ex. x ex x ex
10
-3.0 0.05 0.5 1.65
8
-2.5 0.08 1.0 2.72
-2.0 0.14 1.5 4.48 6
-1.5 0.22 2.0 7.39 4
-1.0 0.37 2.5 12.18
2
-0.5 0.61 3.0 20.09
0 1.00 −3 −2 −1 O 1 2 3 x
Figure 1.2 y
The function
20
y = e - x exhibits y = e−x
exponential decay. 18
16
14
Table 1.2
x e -x
x e -x 12
Values of e - x.
10
-3 20.09 0.5 0.61
-2.5 12.18 1.0 0.37 8
-2.0 7.39 1.5 0.22 6
-1.5 4.48 2.0 0.14 4
-1.0 2.72 2.5 0.08
2
-0.5 1.65 3.0 0.05
0 1.00
−3 −2 −1 O 1 2 3 x
From Figure 1.2 we see that e-x decreases as x increases: this is referred to as
exponential decay.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 295
Solution
Table 1.3 shows values of e0.5x and e0.7x for 0 … x … 3. Figure 1.3 illustrates the
graphs.
From Figure 1.3 we see that y = e0.7x grows more rapidly than y = e0.5x.
Figure 1.3 y
y = e0.7x grows
more rapidly than 9
y = e0.5x. 8
7 y = e0.7x
Table 1.3 0.5x 0.7x 6
Values of e0.5x and x e e
e0.7x. 5
0 1.00 1.00
4
0.5 1.28 1.42
1.0 1.65 2.01 3
1.5 2.12 2.86 y = e0.5x
2
2.0 2.72 4.06
1
2.5 3.49 5.75
3.0 4.48 8.17 O x
1 2 3
Exercises
Solutions to exercises
5 R
4 4
x ⫽ 3 ⫹ 2e⫺t R(t) ⫽ 4 ⫺ 2e⫺1.5t
3 3
2 2
1 1
O 1 2 3 4 t O 1 2 3 t
Solution
(a)
- 1
q(1) = 50e (0.25)(2)
= 50e-2
= 6.77
(b)
- 1
q(1) = 50e (0.25)(4)
= 50e-1
= 18.39
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 297
Solution
- 2(1.5)
(a) i(1.5) = 12e 6
= 12e- 0.5
= 7.28
2(1.5)
- -1
(b) i(1.5) = 12e 9 = 12e 3 = 8.60
Solution
(a) Table 1.4 gives values of ∏ (t) for various values of t from 0 to 6. Figure 1.6
shows the graph of ∏ (t).
Table 1.4
t ∏(t) = 20 + 100e - t t ∏(t) = 20 + 100e - t
Figure 1.6 Θ
Temperature
decays exponen- 120
tially with time.
100
80
60
40
20
O 1 2 3 4 5 6 t
(b) From Figure 1.6 we see that the temperature, ∏ (t), approaches 20 as t
increases. This is to be expected: the temperature of the body approaches the
temperature of the environment.
The result stated in Example 1.7(b) can be seen for the general case by considering
the equation
⌰(t) = ⌰e + (⌰0 - ⌰e)e-kt
We have already noted that e-x approaches 0 as x increases; clearly e-t and e-kt
approach 0 as t increases since k is positive. Hence (∏ 0 - ∏ e )e-kt approaches 0 as t
increases. Finally ∏ e + (∏ 0 - ∏ e )e-kt approaches ∏ e as t increases.
Exercises
1 The number of particles, N(t), emitted by a (a) Calculate the percentage change in length
radioactive substance varies with time, t, when T increases from T = 20 to T = 100,
according to the law given a = 0.001.
(b) Calculate the percentage change in length
N(t) = 9.63 * 1017e-0.6t t Ú 0
when T decreases from T = 150 to T = 50.
(a) Calculate the number of particles emitted
when t = 0. 3 Atmospheric pressure, P(h) atmospheres,
(b) Calculate the number of particles emitted varies according to the height, h metres, above
when t = 2. the surface of the Earth. Given
P(h) = e-0.000016h
2 The length, l(T), of a bar depends upon the
temperature, T, according to the law calculate the pressure at a height of
aT (a) 2 km
l(T) = l0e
(b) 10 km
where l0 is the length of the bar when T = 0, above the Earth.
and a is a positive constant.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 299
Solutions to exercises
Closely associated to the exponential function are the hyperbolic functions. The
hyperbolic functions are defined as follows:
Readers already familiar with the trigonometrical functions will note the similarity
of the names. Most scientific calculators have values of the hyperbolic functions pre-
programmed. Use Example 1.8 to check that you can use your calculator to find the
values of the hyperbolic functions.
Example 1.8
Use a calculator to evaluate
(a) sinh 2.1 (b) cosh(-1.3) (c) tanh 1.4
(d) cosech 2.2 (e) sech(-1.6) (f) coth(-2)
Solution
(a) sinh 2.1 = 4.0219
(b) cosh(-1.3) = 1.9709
(c) tanh 1.4 = 0.8854
1
(d) cosech 2.2 = = 0.2244
sinh 2.2
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 300
1
(e) sech(-1.6) = = 0.3880
cosh(-1.6)
1
(f) coth(-2) = = -1.0373
tanh(-2)
Figure 1.7 y y
(a) y = sinh x, 10
(b) y = cosh x, 10
8 8
(c) y = tanh x.
6 6
4 4
2
2
⫺3 ⫺2 ⫺1 ⫺2 1 2 3 x
⫺3 ⫺2 ⫺1 O 1 2 3 x
⫺4 (b)
⫺6
⫺8
⫺10
(a)
y
1.0
0.8
0.6
0.4
0.2
⫺3 ⫺2 ⫺1 1 2 3 x
⫺0.2
⫺0.4
⫺0.6
⫺0.8
⫺1.0
(c)
Example 1.9
Express 7ex + 3e-x in terms of sinh x and cosh x.
Solution
We note that
ex + e-x ex - e-x
cosh x + sinh x = +
2 2
= ex
ex + e-x ex - e-x
cosh x - sinh x = -
2 2
= e-x
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 301
y = a cosh a b
x
b
Note that when x = 0 we have
y(0) = a cosh 0
= a
and that when x = b we have
y(b) = a cosh a b
b
b
= a cosh 1
= 1.54a
The points (0, a) and (b, 1.54a) are marked on Figure 1.8.
Figure 1.8 y
A catenary is
defined by a cosh 1 ⫽ 1.54a
B
y = a cosh a b.
x
b
A
O b x
If two expressions have the same value for all values of x, we say that they are identi-
cal. For example, ex and cosh x + sinh x have the same value for any value of x.
A statement of the form ex = cosh x + sinh x is called an identity. There are many
identities that relate different hyperbolic functions. Table 1.5 lists some of the com-
mon hyperbolic identities.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 302
Table 1.5
Hyperbolic ex cosh x + sinh x
=
identities. e-x cosh x - sinh x
=
cosh2 x - sinh2 x 1
=
1 - tanh2 x sech2 x
=
coth2 x - 1 cosech2 x
=
sinh(x ; y) sinh x cosh y ; cosh x sinh y
=
cosh(x ; y) cosh x cosh y ; sinh x sinh y
=
sinh 2x 2 sinh x cosh x
=
cosh 2x cosh2 x + sinh2 x
=
cosh 2x + 1
cosh2 x =
2
cosh 2x - 1
sinh2 x =
2
Note that cosh2 x means (cosh x)2 and sinh2 x means (sinh x)2.
Example 1.11
Prove the following identities:
(a) cosh2 x - sinh2 x = 1
(b) sinh 2x = 2 sinh x cosh x
Solution
(a) Note that from Example 1.9
cosh x + sinh x = ex, cosh x - sinh x = e-x
Now
cosh2 x - sinh2 x = (cosh x + sinh x) (cosh x - sinh x)
= (ex)(e-x)
= 1
(b) We have
e2x - e-2x
sinh 2x =
2
Also
ex - e-x ex + e-x
2 sinh x cosh x = 2a ba b
2 2
(ex - e-x)(ex + e-x)
=
2
(e ) + e e - e-xex - (e-x)2
x 2 x -x
=
2
2x
e + 1 - 1 - e-2x
=
2
e2x - e-2x
=
2
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:09 AM Page 303
v = e-az + 4eaz
v = 3 sinh a z + 5 cosh a z
Solution
v = e-az + 4eaz
= (cosh a z - sinh a z) + 4(cosh a z + sinh a z) (using Table 1.5)
= 5 cosh a z + 3 sinh a z
Exercises
Solutions to exercises
1 (a) -10.02 (b) 3.42 (c) -1.00 (d) 0.28 3 See Figure 1.10.
(e) 0.16 (f) 1.86
y y
2.0 1.0
0.8
1.5
0.6
1.0 0.4
0.2
0.5
⫺3 ⫺2 ⫺1 O 1 2 3 x
⫺3 ⫺2 ⫺1 O 1 2 3 x
Figure 1.10
⫺0.5 y = sech x.
⫺1.0
⫺1.5
⫺2.0
5 10 sinh 2x - 2 cosh 2x
Figure 1.9
y = cosech x. 6 10 cosh a z - 4 sinh a z
Solutions to exercises
⫺1.0 O 1 2 3 t
Figure 1.12
⫺1.5 y = 6 + 4e-2t.
⫺2.0
6 a
Figure 1.11
y = coth x. 7 (b) 0.5
2 (a) e-3x (b) 2e8x (c) -6e4x (d) 4e8x 8 (a) 7.41
(b) The current decreases as R increases.
4 (a) 54.88 (b) 36.79 (c) The current increases as L increases.
M08_CROF5939_04_SE_C08.QXD 10/3/18 5:32 PM Page 306
2.1 Introduction
16 = 24
Here 2 is the base and 4 is the power. This may be expressed in an alternative way
using logarithms as
log2 16 = 4
We read this as ‘log 16, to the base 2, equals 4’. Some more examples follow:
Scientific calculators are preprogrammed with both natural logarithms and logar-
ithms to base 10. Use Example 2.1 to check that you can use your calculator.
Example 2.1
Use a scientific calculator to find:
(a) log 79 (b) ln 79 (c) log 0.21 (d) ln 0.036
Solution
(a) log 79 = 1.8976
(b) ln 79 = 4.3694
(c) log 0.21 = -0.6778
(d) ln 0.036 = -3.3242
Example 2.2
Express each of the following statements using logarithms:
(a) 103 = 1000 (b) 10-2 = 0.01 (c) 12.1825 = e2.5 (d) e-2.3026 = 0.1
Solution
(a) log 1000 = 3 (b) log 0.01 = -2 (c) ln 12.1825 = 2.5
(d) ln 0.1 = -2.3026
Exercises
1 Write the following using logarithms: 4 Write the following using indices:
(a) 32 = 25 (b) 125 = 53 (c) 243 = 35 (a) log5 625 = 4
(d) 43 = 64 (e) 62 = 36 (b) log2 256 = 8
(c) log 0.0251 = -1.6
2 Write the following using logarithms: (d) ln 17 = 2.8332
(a) 102 = 100 (b) 0.001 = 10-3
(c) e-1.3 = 0.2725 (d) e1.5 = 4.4817
3 Evaluate
(a) log 250 (b) ln 250 (c) log 0.46
(d) ln 0.46
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 308
Solutions to exercises
Exercises
1 Evaluate
(a) log4 36 (b) log2 9 (c) log12 10
Solutions to exercises
Example 2.5
Simplify each of the following to a single logarithmic expression:
(a) log 7 + log 2
(b) ln 9 + ln 10
(c) log x + log x2
(d) ln 2y + ln 3y
Solution
(a) log 7 + log 2 = log(7 * 2) = log 14
(b) ln 9 + ln 10 = ln 90
(c) log x + log x2 = log(xx2) = log x3
Example 2.6
Express as a single logarithm:
(a) log 15 - log 3
(b) ln 6 - ln(0.5)
(c) ln 6x2 - ln 2x
(d) log 1 - log x
Solution
(a) log 15 - log 3 = log a b = log 5
15
3
(b) ln 6 - ln (0.5) = ln a b = ln 12
6
0.5
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 310
6x2
(c) ln 6x2 - ln 2x = ln a b = ln 3x
2x
1
(d) log 1 - log x = log
x
Example 2.7
Rewrite the following in an alternative form without using a power:
(a) log 23 (b) log 22 (c) log x2 (d) ln t5
Solution
(a) log 23 = 3 log 2
2
(b) log 2 = 2 log 2
(c) log x2 = 2 log x
5
(d) ln t = 5 ln t
Example 2.8
Simplify each of the following as much as possible:
(a) 3 log 2 - log 6
(b) ln 250 + 2 ln 2
(c) log 3x3 + 2 log x
(d) ln t5 - 3 ln t2
Solution
(a) 3 log 2 - log 6 = log 23 - log 6
= log 8 - log 6
= log a b
8
6
= log a b
4
3
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 311
Example 2.9
Simplify
1 1 1 1
(a) log 25 (b) log 8 (c) log x2 (d) ln 9t2
2 3 2 2
Solution
1
(a) log 25 = log 251>2 = log 5
2
1
(b) log 8 = log 81>3 = log 2
3
1
(c) log x2 = log(x2)1>2 = log x
2
1
(d) ln 9t2 = ln(9t2)1>2 = ln 3t
2
(Hint: (9t2)1>2 = 91>2(t2)1>2 = 3t using the generalised third law of indices.)
Example 2.10
Simplify
Solution
1 1 1
(a) 3 log x = log x3, 2 log = log 2 = log x-2, and log 9 = log 91>2 = log 3, so
x x 2
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 312
3 log x - 2 log a b -
1 1
log 9 = log x3 - log x-2 - log 3
x 2
x3
= log a b
3x-2
x5
= log a b
3
(b) 4 log t2 = log(t2)4 = log t8
2 log t3 = log(t3)2 = log t6
1
log = log t-2
t2
So
1
4 log t2 - 2 log t3 + log = log t8 - log t6 + log t-2
t2
t8 t-2
= log a b
t6
= log 1
= 0
In Section 2.3 we stated the formula that enables the calculation of a logarithm to
any base. Specifically, we looked at how to calculate the logarithm of a number, N, to
base a, knowing logarithms to base b:
logb N
loga N =
logb a
We can now develop this formula using the third law.
Suppose
N = an (1)
so that
loga N = n (2)
Taking logs to base b of equation (1)
logb N
= from (4) (6)
logb a
as required.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 313
Exercises
Solutions to exercises
We are now ready to introduce the logarithmic functions. They are defined as
follows:
Table 2.1 shows values of x, log x and ln x. Their graphs are shown in Figure 2.1.
We note the following common properties:
0.1 -1 -2.30
0.2 -0.70 -1.61
0.5 -0.30 -0.69
1 0 0
2 0.30 0.69
3 0.48 1.10
4 0.60 1.39
5 0.70 1.61
6 0.78 1.79
7 0.85 1.95
8 0.90 2.08
9 0.95 2.20
10 1 2.30
Figure 2.1 y
The graphs of
3
y = log x and
y = ln x. y = ln x
2
y = log x
1
O
x
1 2 3 4 5 6 7 8 9 10
−1
−2
−3
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 315
1 Express the following statements using 3 Express as a single log term in its simplest
logarithms: form:
(a) 27 = 128 (a) 2 log y + 3 log x
(b) 45 = 1024 (b) 3 log AB - 2 log B - log A
(c) 243 = 35 1 1
(c) log 4x2 - log x
(d) 0.125 = 2-3 2 3
(e) 4-1>2 = 0.5 1 3
(d) log 8x + log 2x
2 2
2 Express the following using indices: (e) log 2x - 2 log x + x log 2
(a) log3 81 = 4
4 Simplify as far as possible
(b) log10 0.0001 = -4 (a) log (x2 + 4x + 3) - log (x + 1)
(c) log16 8 = 0.75
(b) 2 log (x - 1) - log (x2 - 1)
(d) log4 8 = 1.5
(e) log4 0.125 = -1.5 5 Evaluate (a) log4 9, (b) log12 6.
Solutions to exercises
1 (a) log2 128 = 7 (b) log4 1024 = 5 3 (a) log x3y2 (b) log A2B (c) log 2x2>3
(c) log3 243 = 5 (d) log2 0.125 = -3 2x + 1
(e) log4 0.5 = -0.5 (d) log 8x2 (e) log a b
x
3.1 Introduction
In this block we examine the techniques used in solving equations involving logar-
ithmic and exponential terms. We recall the connection between logarithmic and
exponential expressions:
In particular,
and
Solution
(a) We have 102x = 39. Taking logs gives
2x = log 39
log 39
x =
2
= 0.7955
(b) e3x - 1 = 75
3x - 1 = ln 75
3x = ln 75 + 1
ln 75 + 1
x =
3
= 1.7725
Example 3.3
Solve 3(100.5x-2) = 96.
Solution
3(100.5x - 2) = 96
96
100.5x - 2 =
3
= 32
0.5x - 2 = log 32
0.5x = log 32 + 2
x = 2(log 32 + 2)
= 7.0103
Example 3.4
Solve
(a) log x = 1.4 (b) ln x = -0.5
Solution
(a) log x = 1.4
x = 101.4
= 25.12
(b) ln x = -0.5
x = e-0.5
= 0.61
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 318
Example 3.5
Solve
(a) log(x2 + 2) = 2.6 (b) 3 ln(5x + 1) = 9.3
Solution
(a) log(x2 + 2) = 2.6
x2 + 2 = 10 2.6
x2 = 10 2.6 - 2
x = 210 2.6 - 2
= ;19.90
e3.1 - 1
x = x =
5
= 4.24
ln a + 1b
1 I
V =
40 Is
(b) Substituting the given values of I and Is into the expression for V results in
ln a
1 3 * 10-2
V = + 1b
40 1.5 * 10-4
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 319
gain = 20 log a b
Vo
Vi
where Vi is the input voltage and Vo is the output voltage.
The output voltage from an amplifier is 250 mV. If the amplifier has a gain of
17 dB calculate the input voltage.
Solution
We have
gain = 20 log a b
Vo
Vi
where the gain is 17 dB and Vo = 250 mV. So
17 = 20 log a b
250
Vi
log a b =
250 17
Vi 20
= 0.85
250
= 100.85
Vi
250
Vi = 0.85
10
= 35.31
Exercises
2 Solve 4 Solve
(a) ln x = 2.4050 (a) ex = 5
(b) ln x = 0.9611 (b) ex = 0.5
(c) ln x = -0.9611 (c) ex = 25
(d) ln x = -2.0000 (d) ex = 0.001761
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 320
Solutions to exercises
1 (a) 5.6637 (b) 43.9643 (c) 0.3791 5 (a) 15.8114 (b) 46.7513 (c) ;15.1612
(d) 0.004467 (d) 1.3262
2 (a) 11.0784 (b) 2.6146 (c) 0.3825 6 (a) ;3.1690 (b) ;2.1170 (c) ;1.2920
(d) 0.1353 (d) ;1.6338
1 Solve 4 Solve
(a) log(3x - 7) = 2.6500 (a) 3e4x = 2.7 (b) 3 ln 4x = -2.7
(b) 2 ln(x2 + 4) = 3.9
5 Solve
2 Solve 1 3 1
(a) log(5 - x2) = (b) ex =
(a) e-2x = 4 (b) 103-x = 20 2 3
3 Solve
103x
(a) x = 30 (b) log x + log(2x) = 3
10
Solutions to exercises
Applications of logarithms
BLOCK 4
4.1 Introduction
Block 2 looked at the definition and laws of logarithms. This block concentrates on
some of the applications of logarithms.
The ratio between two signal levels is often of interest to engineers. For example, the
output and input signals of an electronic system can be compared to see whether
the system has increased the level of a signal. A common case is an amplifier, where
the output signal is usually much larger than the input signal. This signal ratio is
often expressed in decibels (dB), given by
where Po is the power of the output signal and Pi is the power of the input signal. The
term gain is used because if Po 7 Pi then the logarithm function is positive, corre-
sponding to an increase in power. If Po 6 Pi then the gain is negative, corresponding
to a decrease in power. A negative gain is often termed an attenuation.
The advantage of using decibels as a measure of gain is that if several electronic
systems are connected together then it is possible to obtain the overall system gain in
decibels by adding together the individual system gains. We shall show this for three
systems connected together, but the development is easily generalised to more sys-
tems. Let the power input to the first system be Pi1, and the power output from the
third system be Po3. Suppose the three are connected so that the power output from
system 1, Po1, is used as input to system 2: that is, Pi2 = Po1. The power output from
system 2, Po2, is then used as input to system 3: that is, Pi3 = Po2. We wish to find
the overall power gain, 10 log a b . Now
Po3
Pi1
Po3 Po3Po2Po1
=
Pi1 Pi3Pi2Pi1
b = 10 loga b
Po3 Po3Po2Po1
10 loga
Pi1 Pi3Pi2Pi1
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 322
That is,
V 2o
voltage gain (dB) = 10 log a b = 20 log a b
Vo
V 2i Vi
Solution
We have Vo = 1.2 and Vi = 0.8. Then
Vo
voltage gain (dB) = 20 log
Vi
1.2
= 20 log
0.8
= 3.52
Exercises
1 Calculate the voltage gain in decibels of an 2 Calculate the voltage gain in decibels of an
amplifier where the input signal is 0.5 V and amplifier where the input signal is 0.15 V and
the output signal is 2.2 V. the output signal is 1.9 V.
Solutions to exercises
1 12.87 dB 2 22.05 dB
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 323
Log–linear scales
Suppose we wish to plot
y(x) = x6 1 … x … 10
This may appear a straightforward exercise, but consider the variation in the x and y
values. As x varies from 1 to 10, then y varies from 1 to 1000000, as tabulated in
Table 4.1.
Table 4.1
x y
1 1
2 64
3 729
4 4096
5 15625
6 46656
7 117649
8 262144
9 531441
10 1000000
As x varies from 1 to 10, log y varies from 0 to 6. A plot in which one scale is logar-
ithmic and the other is linear is known as a log–linear graph. In effect, use of the log
scale has compressed a large variation into one that is much smaller and easier to
observe.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 324
Example 4.2
Consider y = 7x for -3 … x … 3. Plot a log–linear graph of this function.
Solution
We have
y = 7x
and so
log y = log(7x)
= x log 7
= 0.8451x
Figure 4.2 Y
A log–linear plot x y Y = log y 2.5
of y = 7x pro-
duces a straight -3 0.003 -2.54
line graph. -2 0.020 -1.69
-1 0.143 -0.85
0 1 0
1 7 0.85 x
⫺3 ⫺2 ⫺1 1 2 3
2 49 1.69
3 343 2.54
⫺2.5
Log–log scales
A plot in which both scales are logarithmic is known as a log–log plot. Here log y is
plotted against log x.
Example 4.3
Consider y = x7 for 1 … x … 10. Plot a log–log graph of this function.
Solution
We have
y = x7
and so
log y = log(x7)
= 7 log x
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 325
Figure 4.3 Y
A log–log plot of x y X = log x Y = log y
7
y = x7 produces a
1 1 0 0
straight line graph.
2 128 0.301 2.107
3 2187 0.477 3.340
4 16384 0.602 4.214
5 78125 0.699 4.893
6 279936 0.778 5.447
7 823543 0.845 5.916
8 2097152 0.903 6.322
1 X
9 4782969 0.954 6.680
10 10000000 1 7
We have seen how a log scale has the effect of compressing a very large range of val-
ues into a more meaningful size. Similarly a log scale expands a very small range
into a more meaningful size. Consider the following example.
Example 4.4
Plot a log–log graph of
y = x3 10-6 … x … 10-1
Solution
The small range of x values would almost be impossible to plot. The plot is
more meaningful when a log–log scale is used. Table 4.3 shows values of x, y, log x
and log y.
Table 4.3
x y log x log y
-6 -18
10 10 -6 -18
10-5 10-15 -5 -15
10-4 10-12 -4 -12
10-3 10-9 -3 -9
10-2 10-6 -2 -6
10-1 10-3 -1 -3
From Table 4.3 we see that both x and y have a very small range but that log x
and log y have a much more meaningful range. Figure 4.4 shows a plot of log y
against log x.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 326
⫺18
Figure 4.4 shows a straight line graph with gradient 3. This can be seen from
y = x3
log y = log x3
= 3 log x
Example 4.5
Following an experiment the following pairs of data values were recorded:
A B C D
x 0 1 5 12
y 4.00 5.20 14.85 93.19
It is believed that y and x are related by the equation y = abx. By plotting a log–linear
graph verify the relationship is of this form and determine a and b.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 327
Second cycle
4
Logarithmic scale
1
9
8
7
6
5
4
First cycle
3
Linear
Solution
If the relationship is given by y = abx, then taking logarithms yields
So, plotting log y against x should produce a straight line graph with gradient log b
and vertical intercept log a. The need to find log y is eliminated by plotting the y val-
ues directly on a logarithmic scale. Examining the table of data we see that y varies
from approximately 100 to 102 so that two-cycle paper is appropriate. Values of y
between 1 and 10 are plotted on the first cycle, and those between 10 and 100 are
plotted on the second. The points are plotted in Figure 4.6. Note in particular that in
this example the ‘1’ at the start of the second cycle represents the value 10, the ‘2’
represents the value 20, and so on. From the graph, the straight line relationship
between log y and x is evident. It is therefore reasonable to assume that the relation-
ship between y and x is of the form y = abx.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 328
Figure 4.6 1
log y D (12, 93.19)
The log–linear 9
graph is a 8
straight line. 7
6
5
Second cycle
4
C (5, 14.85)
1
9
8
7
6
B (1, 5.20) 5
4
A (0, 4)
First cycle
3
x
0 1 2 3 4 5 6 7 8 9 10 11 12
To find the gradient of the graph we can choose any two points on the line, for
example C and B. The gradient is then
log a b
14.85
log 14.85 - log 5.20 5.20
=
5 - 1 4
= 0.1139
log b = 0.1139
that is
b = 100.1139
= 1.2999
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 329
log a = log 4
that is
a = 4
We conclude that the relationship between y and x is given by y = 4(1.3)x.
Example 4.6
The variables x and y are thought to be connected by an equation of the form
y = ax n
A B C D
x 1 3 7 9
y 2 31 255 500
By plotting the data on appropriate graph paper, determine the law connecting x and y.
Solution
If y = axn then
log y = log(axn)
= log a + n log x
Letting Y = log y and X = log x we have
Y = nX + log a
This is a straight line equation with gradient n and vertical intercept log a. Since both
log x and log y are used then a log scale on both axes is needed: that is, log–log paper
is used. One cycle is needed to accommodate the x variation; three cycles are
needed to accommodate the y variation. Log–log paper comes in 1 cycle * 1 cycle,
2 cycle * 2 cycle and 3 cycle * 3 cycle. Consequently, for the example in ques-
tion, 3 cycle * 3 cycle paper is needed. Figure 4.7 shows the log–log paper with the
data points plotted. The straight line fit tells us that x and y are connected by a law of
the form y = axn.
Using points A and D to calculate the gradient we have
Figure 4.7
11 2 3 4 5 6 7 8 91 2 3 4 5 6 7 8 91 2 3 4 5 6 7 8 9 11
If y = axn, 9 9
8 8
then log–log 7 7
paper pro- 6 6
duces a 5 D 5
straight line. 4 4
3 3
C
2 2
1 1
9 9
8 8
7 7
6 6
5 5
4 4
3 B 3
2 2
1 1
9 9
8 8
7 7
6 6
5 5
4 4
3 3
2 2
A
1 1
1 2 3 4 5 6 7 8 91 2 3 4 5 6 7 8 91 2 3 4 5 6 7 8 91
Key point If y = axn then a log–log plot produces a straight line with gradient = n and vertical
intercept = log a.
If y = abx, then a log–linear plot produces a straight line with gradient = log b and
vertical intercept = log a.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 331
A log scale is used for the frequency in order to compress its length: for example, a
typical frequency range is 0.1 Hz to 106 Hz, which corresponds to a range of -1 to 6
on a log scale. A log scale is also used for the ratio of the signal amplitudes as this is
calculated in decibels. Phase shift is plotted on a linear scale. So the signal amplitude
ratio against frequency is a log–log graph and the phase shift against frequency is a
linear–log graph.
Exercises
Solutions to exercises
Solutions to exercises
2 (a) k = 5, n = 2 (b) 720 (c) 14.2 4 (a) 24.08 (b) 31.48 (c) 55.6
1
1 Evaluate (a) e1.6, (b) e-1.6, (c) . (a) State the current when t = 0.
e1.6 (b) Calculate the value of the current when
2 The current in a circuit, i(t), is given by t = 2.
(c) Calculate the time when the value of the
i(t) = 25e-0.2t t Ú 0 current is 12.5.
M08_CROF5939_04_SE_C08.QXD 9/21/18 11:10 AM Page 333
10 Evaluate (a) log2 20, (b) log7 2. 20 The variables x and y are believed to be
connected by a law of the form y = axn.
11 Simplify to a single logarithmic expression: Measurements of x and y are
(a) ln 4y + ln x
(b) 3 ln t2 - 2 ln t x 2 5 7 10 15 20
(c) 3 log t - log 3t y 7.9 28.6 46.0 74.7 134.1 200.0
(d) log 2x + log 5x - 1
(a) By drawing an appropriate graph, find the
12 Solve
law connecting x and y.
(a) 2 ln(3x - 10) = 8.5
(b) Predict y when x = 17.
(b) log(x3 + 1) = 2.4
(c) 3 log 4x - 8 = 0 21 Variables y and t are thought to be connected
by a law of the form
ln 5x
(d) = 1.6 at
2 y =
k
13 Solve
(a) e4x = 90 Measurements of t and y are
(b) 10x>2 - 20 = 0
(c) 3e-x = 20 t 2 4 6 8 10
(d) 103x-6 = 40 y 0.80 2.62 8.50 27.8 90.0
Solutions to exercises
1 (a) 4.9530 (b) 0.2019 (c) 0.2019 12 (a) 26.7018 (b) 6.3012 (c) 116.0397
(d) 4.9065
2 (a) 25 (b) 16.76 (c) 3.4657
2e x 7 13 (a) 1.1250 (b) 2.6021 (c) -1.8971
3 (a) e6x (b) 12ex (c) + (d) -(2e2x + 1) (d) 2.5340
3 6
Chapter 9
Trigonometry
This chapter opens with a treatment of the two common units used for
measuring angles: degrees and radians. The trigonometrical ratios of
sine, cosine and tangent are then introduced. Initially the ratios of
angles between 0° and 90° are dealt with and then the ratios of angles
of any size are incorporated. The common identities involving
trigonometrical ratios are studied together with the solution of
trigonometrical equations. The application of trigonometry to
combining two waves into a single wave concludes the chapter.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:52 AM Page 336
Chapter 9 contents
Block 1 Angles
Angles
BLOCK 1
1.1 Introduction
Angles measure the amount through which a line or object has been turned. The
Greek letters a, u and f are commonly used to denote angles. In Figure 1.1 the angle
between lines AB and AC is u.
Figure 1.1 C
The angle between
AB and AC is u.
q
A B
We can think of the line AB as being turned through or rotated an angle u to the
new position AC.
1.2 Units
There are two main units used to measure angles: the degree and the radian. Both
units are defined with reference to a circle.
Degree
Consider a circle, centre O, as shown in Figure 1.2.
A typical radius, OA, is shown. If the radius OA is rotated as indicated so that it ends
up in its original position we say it has been turned through a complete revolution. The
angle that is equivalent to a complete revolution is 360 degrees, denoted 360°.
Figure 1.2 A
One complete
revolution is 360°.
O 360°
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:52 AM Page 338
Radian
Consider a circle of radius r, centre O. An arc AB of length r is shown. The situation
is illustrated in Figure 1.3. We say that the arc AB subtends an angle at the centre O.
This is angle AOB. Note that there is no symbol to denote that an angle is being mea-
sured in radians. Hence if an angle is given and no symbol is present then you must
assume the angle is measured in radians.
Then the angle AOB is defined to be 1 radian.
Figure 1.3
A
The arc AB has
r
length r.
O r
Key point 1 radian = angle subtended at centre by an arc whose length is one radius
Some common angles, marked in both degrees and radians, are shown in Figure 1.4.
Example 1.1
Convert 37° to radians.
Solution
We have
180° = p radians
and so
p
1° = radians
180
p
37° = 37 * radians
180
= 0.6458 radians
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 339
(e)
(f)
Example 1.2
Convert 1.2 radians to degrees.
Solution
p radians = 180°
180°
1 radian =
p
180°
1.2 radians = 1.2 *
p
= 68.75°
Example 1.3
Express 72° in the form ap radians.
Solution
We have
180° = p radians
1
1° = * p radians
180
72
72° = * p radians
180
2p
= radians
5
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 340
Example 1.4
Express 117° in radians.
Solution
We have
180° = p radians
p
1° = radians
180
p
117° = 117 * = 2.0420 radians
180
Example 1.5
Express 3.12 radians in degrees.
Solution
p radians = 180°
180°
1 radian =
p
180°
3.12 radians = 3.12 * = 178.8°
p
1 Convert the following angles in radians to 3 Express the following angles in the form ap
degrees: radians:
(a) 0.3609 (b) 0.4771 (c) 1.3692 (d) p3 (a) 90° (b) 45° (c) 60° (d) 120° (e) 240°
(e) 2p p 3p (f) 72° (g) 216° (h) 135° (i) 108° (j) 270°
3 (f) 6p (g) 5 (h) 2
Solutions to exercises
1 (a) 20.68° (b) 27.34° (c) 78.45° (d) 60° 3 (a) p2 (b) p4 (c) p3 (d) 2p 4p 2p
3 (e) 3 (f) 5
(e) 120° (f) 1080° (g) 36° (h) 270°
(g) 6p 3p 3p 3p
5 (h) 4 (i) 5 (j) 2
2 (a) 0.2094 (b) 1.1345 (c) 3.4907 (d) 5.9341
(e) 17.4533
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 341
2.1 Introduction
The three common trigonometrical ratios of sine, cosine and tangent are defined with
reference to a right-angled triangle. Some simple properties of the ratios are devel-
oped. The use of scientific calculators to find the trigonometrical ratios and their
inverses is explained.
A right angle is an angle of 90°. In Figure 2.1, ^ABC has a right angle at C. The
side opposite a right angle is called the hypotenuse. In Figure 2.1, AB is the
hypotenuse.
Figure 2.1 B
The hypotenuse is
AB. The
hypotenuse is
always opposite
the right angle.
A C
Consider now the angle at A. We often write just A when referring to the angle at
A; similarly with B. The side opposite A is BC. The side adjacent to A is AC. Sim-
ilarly the side opposite B is AC; the side adjacent to B is BC.
The sine, cosine and tangent of B are defined in exactly the same way, leading to
AC BC AC
sin B = , cos B = , tan B =
AB AB BC
BC
5 sin A =
AB
= cos B
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 343
6 We have
BC
tan A =
AC
1
=
AC>BC
1
=
tan B
We also note that B = 90° - A and so
Figure 2.2 B
5 4
A 3 C
Solution
BC 4
(a) sin A = = = 0.8
AB 5
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 344
AC 3
(b) cos A = = = 0.6
AB 5
BC 4
(c) tan A = = = 1.3333
AC 3
AC
(d) sin B = = 0.6
AB
BC
(e) cos B = = 0.8
AB
AC 3
(f) tan B = = = 0.75
BC 4
Example 2.2
Figure 2.3 shows ^XYZ. The angle at X is 90°. Calculate
(a) sin Y (b) cos Y (c) sin Z (d) tan Y (e) tan Z (f) cos Z
Figure 2.3 Y
13 5
Z 12 X
Solution
opposite XZ 12
(a) sin Y = = =
hypotenuse YZ 13
adjacent XY 5
(b) cos Y = = =
hypotenuse YZ 13
XY 5
(c) sin Z = =
YZ 13
opposite XZ 12
(d) tan Y = = =
adjacent XY 5
XY 5
(e) tan Z = =
XZ 12
XZ 12
(f) cos Z = =
YZ 13
When an angle is known, a scientific calculator can be used to find its trigonometrical
ratios. The angle may be expressed in degrees or radians.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 345
Figure 2.4 12 m
Using
trigonometrical A O B
ratios to calculate 1m q
√37 m
the tension in a C
cable.
(a) Find the tension T when the mass of the traffic light unit is 18 kg.
(b) If the maximum permitted tension in the cable is 400 N and the traffic light unit
must remain 1 m below the gantry, calculate how far apart the suspension
points, A and B, must be.
Solution
1
(a) By inspection of the right-angled triangle OBC we see that cos u = . Then
237
18 * 9.81
T = = 537 N (3 s.f.)
1
2 *
237
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 346
Figure 2.5 O x
B
1 q
C
x
tan u = tan 77.25 =
1
so that
x = tan 77.25 = 4.42 m
We deduce that the suspension points must be no more than 8.84 metres apart.
Example 2.5 Structural Engineering – Trigonometry for the method of
sections
A truss is a structure consisting of straight members connected at joints. An example
is shown in Figure 2.6. In the study of structural mechanics, the method of sections is
a technique used to find the forces in the different members of the truss.
Figure 2.6 C
A truss consisting
of several
B
members.
A D E
The method consists of isolating a particular part of the truss and considering only
those forces which act on that isolated part. Figure 2.7 shows the part which could be
isolated in order to find the forces in members BC, BE and DE.
Figure 2.7 C
A section, or cut,
through the truss.
B
A D E
Section
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 347
Figure 2.8 C
F
a
B
4m
2m
A 3m D 3m E
Section
Solution
Note that the required length EF is one side of the right-angled triangle EFC, another
side of which is already known (CE = 4 m). The angle at C, labelled a, in this trian-
gle can be found by considering the larger triangle ACE.
Note that
Exercises
Solutions to exercises
b a b a a b
1 (a) (b) (c) (d) (e) (f) 2 (a) 0.4848 (b) 0.4228 (c) 0.9397 (d) 0.7239
g g a g b g (e) 1.2349 (f) 0.9320
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 348
These ratios are the reciprocals of the cosine, sine and tangent ratios. Secant, cosecant
and cotangent are usually abbreviated to sec, cosec and cot, respectively.
Example 2.6
Evaluate
(a) cosec 50° (b) cot 20° (c) sec 70° (d) cot 0.7
Solution
1
(a) cosec 50° =
sin 50°
= 1.3054
1
(b) cot 20° =
tan 20°
= 2.7475
1
(c) sec 70° = = 2.9238
cos 70°
(d) Note that the angle is in radians.
1
cot 0.7 =
tan 0.7
= 1.1872
Exercise
Solution to exercise
Suppose we know the value of sin A, but not the value of A. For example, let
sin A = 0.6513, and we wish to find the value of A. Given
sin A = 0.6513
we write
A = sin - 1(0.6513)
This states that A is the angle whose sine is 0.6513. We read this as A is the inverse
sine of 0.6513. So the notation sin - 1 means ‘the angle whose sine is . . .’. The -1
should not be interpreted as a power. Other notations are sometimes used, namely
We use a scientific calculator to find the inverse sine, inverse cosine and inverse
tangent of a number.
Example 2.7
Find A given
(a) sin A = 0.4213 (b) cos A = 0.5316 (c) tan A = 1.7503
Solution
(a) We have
sin A = 0.4213
and so
A = sin - 1 (0.4213)
Using a scientific calculator we see
A = 24.92°
If your calculator is in radian mode you will obtain the equivalent answer in
radians, that is 0.4349 radians.
(b) cos A = 0.5316
A = cos - 1(0.5316)
= 57.89°
Example 2.8
Find B given
(a) cos B = 0.8061 (b) sin B = 0.4611 (c) tan B = 1.2500
Solution
(a) cos B = 0.8061
B = cos - 1(0.8061)
= 36.28°
1 u is an angle between 0° and 90°. In each case 7 ^ABC has a right angle at C, AC = 6 cm,
find u given: BC = 10 cm and AB = 11.66 cm. Find
(a) sin u = 0.3467 (a) sin A
(b) cos u = 0.6419 (b) cos A
(c) tan u = 1.7500 (c) tan A
(d) sin u = 0.7396 (d) sin B
(e) tan u = 0.5050 (e) cos B
(f) cos u = 0.3507 (f) tan B
(g) A
2 Evaluate sec 37°. (h) B
Solutions to exercises
3.1 Introduction
Block 2 defined the trigonometrical ratios sine, cosine and tangent with reference to
the sides of a right-angled triangle. No angle in a right-angled triangle is greater than
90°. So, if we wish to define the trigonometrical ratios of angles greater than 90° we
need a method that does not use right-angled triangles. This block looks at how this
is achieved.
Figure 3.1 shows the x and y axes intersecting at the origin O. The axes divide the
x-y plane into four sections, called quadrants. These are numbered 1 to 4 as
indicated in Figure 3.1.
Figure 3.1 y
The x and y axes
divide the plane 2 1
into four
quadrants.
O x
3 4
We now consider a rotating arm, OC. The arm is fixed at the origin, O. We measure
the angle u from the positive x axis to the arm, measuring in an anticlockwise
direction. Figure 3.2 shows the arm in each of the four quadrants.
Note that in quadrant 1, u lies between 0° and 90°; in quadrant 2, u is between 90°
and 180°; in quadrant 3, u is between 180° and 270°; and in quadrant 4, u is between
270° and 360°. Figure 3.3 illustrates this.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 353
(a) (b)
y
θ y
O x
O x
θ
C
C
(c) (d)
Figure 3.3 y y
(a) In quadrant 1, u
lies between 0° 90° 90°
and 90°; (b) in
quadrant 2, u lies 0° 180°
between 90° and O x O x
180°; (c) in
quadrant 3, u lies
between 180° and (a) (b)
270°; (d) in
quadrant 4, u lies
between 270° and
y y
360°.
180° O x O 360° x
270° 270°
(c) (d)
We now introduce projections of the arm OC onto the x and y axes. The projection
of OC onto the x axis is OA; the projection onto the y axis is OB. Figure 3.4 shows
the x and y projections as the arm rotates into the four quadrants.
Note that the projections may be positive or negative. For example, when OC is
in the second quadrant, the x projection, OA, is on the negative x axis and so is
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 354
Figure 3.4 y y
The x projection is
OA, the y B C
C B
projection is OB.
O A x A O x
(a) (b)
y y
A A
O x O x
B C
B (d)
(c) C
negative. The y projection, OB, is on the positive y axis and so is positive. The arm
OC is considered to be always positive.
Table 3.1 gives the signs of the x and y projections of OC as it rotates through the
four quadrants.
Table 3.1
First quadrant Second quadrant Third quadrant Fourth quadrant
x projection + - - +
y projection + + - -
Table 3.2
First quadrant Second quadrant Third quadrant Fourth quadrant
sin u + + - -
cos u + - - +
tan u + - + -
Example 3.1
An angle u is such that sin u 6 0 and cos u 7 0. In which quadrant does u lie?
Solution
Referring to Table 3.2 we see that sin u 6 0 when u lies in the third or fourth quad-
rants. When cos u 7 0, u lies in the first or fourth quadrants. Hence for both con-
ditions to be satisfied simultaneously u must be in the fourth quadrant.
Example 3.2
Show sin 17° = sin 163°.
Solution
Although sin 17° and sin 163° can easily be evaluated using a calculator and hence
shown to be equal, it is instructive to show their equality using the definition of sin u.
Figure 3.5 y
OC and OC⬘
have the same y C' B C
projection and so 163°
sin 17° = sin 163°. 17°
O x
Consider two arms, OC and OC⬘, of equal length. Figure 3.5 shows the arm OC
forming an angle of 17° with the positive x axis, and the arm OC⬘ forming an angle
of 163° with the positive x axis. Noting that 163° = 180° - 17°, we can see that
OC ¿ is the reflection of OC in the y axis. By symmetry both the y projections of
OC and OC ¿ will be OB. Since the y projections are equal and the arms are of equal
length, then from the definition of sin u we have sin 17° = sin 163°.
Example 3.2 illustrates a general rule that is true for any value of u:
Example 3.3
An angle u is such that tan u 7 0 and sin u 6 0. In which quadrant does u lie?
Solution
Using Table 3.2, we see that tan u 7 0 when u lies in the
and quadrants first and third
Also, sin u 6 0 when u lies in the
and quadrants third and fourth
Hence u lies in the quadrant. third
Exercises
1 An angle u is such that sin u 6 0 and 2 An angle b is such that cos b 7 0 and
cos u 6 0. In which quadrant does u lie? tan b 6 0. State the range of possible values
of b .
Solutions to exercises
The sine of an angle is governed by the position of the rotating arm, OC. We note
that 360° corresponds to exactly one complete revolution. Thus rotating the arm,
either clockwise or anticlockwise, through multiples of 360° will leave it in exactly
the same position, and consequently the value of the sine remains unchanged. This
may be stated mathematically as
sin u = sin(u + 360°)
= sin(u + 720°)
= sin(u + 1080°)
= Á
and also
sin u = sin(u - 360°)
= sin(u - 720°)
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 357
Hence, adding 180° to, or subtracting 180° from, an angle leaves the tangent un-
altered. Note that with sine and cosine we can add or subtract multiples of 360°, but
with the tangent we can add and subtract multiples of 180°.
Expressions that repeat their values at regular intervals are called periodic. Hence
sin u, cos u and tan u are all periodic.
Example 3.4
Simplify sin(u + 1000°).
Solution
Subtracting multiples of 360° from u + 1000° leaves the sine unchanged. Hence
sin(u + 1000°) = sin[u + 1000° - 2(360°)]
= sin(u + 280°)
Example 3.5
Simplify cos(x - 900°).
Solution
Adding multiples of 360° to x - 900° leaves the cosine unchanged. Hence
cos(x - 900°) = cos[x - 900° + 3(360°)]
= cos(x + 180°)
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 358
Example 3.6
Simplify tan(z - 540°).
Solution
Adding multiples of 180° to z - 540° leaves the tangent unchanged. So we have
tan(z - 540°) = tan[z - 540° + 3(180°)]
= tan z
Example 3.7
Simplify sin(-180° - u).
Solution
Adding 360° to an angle leaves the sine unchanged. Hence
sin(-180° - u) = sin(-180° - u + 360°)
= sin(180° - u)
Using the result following Example 3.2, we can further simplify this to
sin u
Hence
sin(-180° - u) = sin u
Exercises
1 Simplify 2 Simplify
(a) sin(a + 400°) (a) cos(x - 300°)
(b) sin(b - 500°) (b) cos(u - 810°)
(c) sin(a - 450°) (c) tan(x + 200°)
(d) sin(u + 1000°) (d) tan(x - 540°)
(e) sin(2u + 1080°) (e) cos(b + 500°)
Solutions to exercises
1 (a) sin(a + 40°) (b) sin(b - 140°) 2 (a) cos(x + 60°) (b) cos(u - 90°) = sin u
(c) sin(a - 90°) (d) sin(u - 80°) (c) tan(x + 20°) (d) tan x (e) cos(b + 140°)
(e) sin 2u
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 359
1 The angles are given in radians. Evaluate the 7 An angle a is such that sin a Ú 0 and
following: sin 2a Ú 0. State the range of possible values
(a) sin 30 of a.
(b) cos 27
(c) tan 31 8 An angle u is such that cos u 6 0 and
cos 2u 7 0. State the range of possible
2 An angle a is such that sin a 6 0 and values for u.
cos a 7 0. In which quadrant does a lie?
9 An angle u is such that tan u 7 0 and
3 Simplify cos(450° - u). tan 2u 6 0. State the range of possible values
of u.
4 Simplify tan(y + 1260°).
10 An angle f is such that sin f 7 0 and
5 Simplify sin(-1260° - u). cos 2f 6 0. State the range of possible values
of f.
6 An angle b is such that tan b 7 0 and
sin b 6 0. In which quadrant does b lie?
Solutions to exercises
4.1 Introduction
Having introduced the trigonometrical ratios of sine, cosine and tangent we are ready
to consider the three trigonometrical functions y = sin x, y = cos x and y = tan x.
A number of properties and graphs of these functions are considered. Extensions are
made to include the functions y = sin kx, y = cos kx and y = tan kx for various
values of k.
Table 4.1 gives values of x in degrees and the corresponding values of sin x found
using a scientific calculator.
Table 4.1
x 0 30 60 90 120 150 180
sin x 0 0.500 0.866 1 0.866 0.500 0
x 210 240 270 300 330 360
sin x -0.500 -0.866 -1 -0.866 -0.500 0
⫺1
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 361
⫺1
Exercises
1 What is the maximum possible domain of the 3 Is the function y = sin x one-to-one or
function y = sin x? many-to-one?
Solutions to exercises
1 all x 3 many-to-one
2 3-1, 14
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 362
Using a scientific calculator values of cos x are found for various values of x
measured in degrees. These are recorded in Table 4.2.
Table 4.2
x 0 30 60 90 120 150 180
cos x 1 0.866 0.500 0 -0.500 -0.866 -1
x 210 240 270 300 330 360
cos x -0.866 -0.500 0 0.500 0.866 1
180° 360° x
⫺1
As with y = sin x, the function y = cos x may be extended to the left and to the
right. Since adding or subtracting multiples of 360° to an angle leaves its cosine
unchanged, then full cycles will be repeated every 360°. Figure 4.4 illustrates this.
⫺1
Note that y = cos x completes a full cycle every 360° or 2p radians. The maximum
value of cos x is 1; the minimum value is -1.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 363
Exercises
1 What is the maximum possible domain of the 3 Is the function y = cos x one-to-one or
function y = cos x? many-to-one?
Solutions to exercises
1 all x 3 many-to-one
2 3-1, 14
Table 4.3
x 0 30 60 90 120 150 180
tan x 0 0.577 1.732 - -1.732 -0.577 0
x 210 240 270 300 330 360
tan x 0.577 1.732 – -1.732 -0.577 0
⫺2
⫺3
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 364
Note that the graph is radically different from those of y = sin x and y = cos x.
The function y = tan x has no maximum or minimum value.
Recalling from Block 3 that adding or subtracting multiples of 180° to an angle
leaves its tangent unchanged, we see that extending the graph in Figure 4.5 to the left
and right produces that shown in Figure 4.6.
Exercises
1 What is the maximum possible domain of the 3 Is the function y = tan x one-to-one or many-
function y = tan x? to-one?
Solutions to exercises
⫺2
⫺3
Note that a full cycle of y = 3 sin x is completed in 360°. The amplitude does not
affect the periodic properties of sin x: that is, it takes 360° for both y = sin x and y =
3 sin x to complete a full cycle. In general, y = A sin x completes a cycle every 360°.
Similar comments apply to y = A cos x. The amplitude of A cos x is A. It takes
360° for a full cycle of A cos x to be completed.
Example 4.1
State the amplitude of each of the following functions:
(a) y = 2 sin x
(b) y = 4.7 cos x
2 sin x
(c) y =
3
(d) y = 0.8 cos x
Solution
(a) 2 (b) 4.7 (c) 23 (d) 0.8
Exercise
Solution to exercise
We have already seen that A is the amplitude and this is the maximum value of y. We
now consider the effect of the parameter k in A sin kx. To allow us to focus on k we
take A to be 1. Thus we examine the function y = sin kx for various values of k, for
x 3x
example y = sin 2x, y = sin 3x, y = sin and y = sin . We can deduce the
2 2
graphs of these functions by reference to the graph of y = sin x.
We begin by looking at y = sin 2x. Recall that y = sin x completes one full cycle
as x varies from 0° to 360°. Then y = sin 2x completes one full cycle as 2x varies
from 0° to 360°, that is as x varies from 0° to 360°
2 = 180°
. If x is measured in radians
then y = sin 2x completes a full cycle as x varies from 0 to p radians. A graph of the
function is illustrated in Figure 4.8.
O
45° 90° 135° 180° x
⫺1
We have noted previously that the amplitude does not affect the periodic prop-
erty of y = sin x. Since y = sin 2x completes a cycle every 180°, then in general
y = A sin 2x completes a cycle every 180° also. Note that the amplitude of
y = sin 2x is 1.
3x 3x
As another example consider y = sin . A full cycle is completed as varies
2 2
3x
from 0° to 360°: that is, as x varies from 0° to 360°
3>2 = 240°. A graph of y = sin is
2
illustrated in Figure 4.9.
3x
Similarly, y = A sin completes a cycle every 240°.
2
360° 2p
In general, y = A sin kx completes a full cycle in or radians.
k k
The function y = A cos kx also has these properties. We have
Key point The functions y = A sin kx and y = A cos kx complete a cycle every
360° 2p
or
k k
radians.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 367
O
60° 120° 180° 240° x
⫺1
Example 4.2
State the number of cycles of y in 360° given
(a) y = 3 sin 4x
(b) y = 4 cos 3x
1 x
(c) y = cos
2 2
3x
(d) y = 5sin
4
Solution
360°
(a) y = 3 sin 4x completes a cycle every = 90°. In 360°, four cycles are
4
completed.
360°
(b) y = 4 cos 3x completes a cycle every = 120°. In 360° three cycles are
completed. 3
1 x 360°
(c) y = cos completes a cycle every = 720°. In 360°, 0.5 of a cycle is
2 2 1>2
completed.
3x 360°
(d) y = 5 sin completes a cycle every = 480°. In 360°, 0.75 of a cycle is
4 3>4
completed.
Key point The functions y = A sin kx and y = A cos kx complete k cycles every 360° or every
2p radians.
Example 4.3
For each function, state (i) the minimum value and (ii) the increase in x required for
y to complete a full cycle.
(a) y = 3 sin 5x
(b) y = 0.65 cos 6x
4 x
(c) y = sin
5 3
5x
(d) y = -2 cos
3
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 368
Solution
(a) The amplitude is 3 and so the minimum value is -3. A full cycle requires x to
360°
increase by = 72°.
5
360°
(b) The minimum value is -0.65. A full cycle requires x to increase by = 60°.
6
4 360°
(c) The minimum value is - . A full cycle requires x to increase by = 1080°.
5 1>3
360°
(d) The minimum value is -2. A full cycle requires x to increase by = 216°.
5>3
Example 4.4
State the maximum value, the minimum value and the number of cycles completed
3 5x
in 720° for the function y = cos .
2 2
Solution
3 5x 3 3
The amplitude of y = cos is . Hence the maximum value is
2 2 2 2
3
and the minimum value is -
2
3 5x 5
The function y = cos completes cycles every 360°.
2 2 2
t
O T T 3T 2T 5T 3T
2 2 2
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 369
2 sin a b
2pt T
for 0 … t 6
T 2
f(t) = d
T
0 for … t 6 T
2
and f(t) ⫽ f(t ⫹ T) for all values of t.
We consider the function y = A tan kx. As with y = A sin kx and y = A cos kx, the
factor A does not affect the periodic properties of the tangent function. Recall that
y = tan x completes a cycle as x increases by 180° or p radians. Hence tan kx
180°
completes a cycle as kx increases through 180°, that is as x increases through . So,
k
180°
for example, y = A tan 2x completes a cycle every = 90°, y = A tan 3x completes
2
180° 2x 180°
a cycle every = 60°, and y = A tan completes a cycle every = 270°.
3 3 2>3
A graph of y = 2 tan 3x for -30° … x … 150° is shown in Figure 4.11.
180°
In general y = A tan kx completes a cycle every . In other words, k cycles
are completed every 180°. k
Example 4.6
State the number of cycles completed every 360° for
(a) y = 3 tan x
(b) y = 7 tan 2x
1 3x
(c) y = - tan
2 2
Solution
(a) For y = 3 tan x, the ‘3’ does not affect the periodic properties.
Now y = 3 tan x completes cycles every 180° and so in 360°, 1
cycles are completed. 2
(b) y = 7 tan 2x completes cycles every 180° and hence completes 2
cycles every 360°. 4
1 3x 3
(c) y = - tan completes cycles every 180° and so completes
2 2 2
1 y = 3 sin 4x 8 y = -2 sin 3x
3 5x
2 y = 7 cos 2x 9 y = 4 cos
6
3 y = 0.96 sin x 10 y = 0.5 cos 0.5x
4 y = -2 cos 7x 11 y = 6 tan 6x
Solutions to exercises
1 3 7 3
3
2 7 8 3
5
3 0.96 9 6
4 2 10 0.5
5 0.6 11 12
4
6 7 12 18
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 372
Trigonometrical identities
BLOCK 5
5.1 Introduction
Consider the two expressions sin 2x and 2 sin x cos x. These two expressions have
the same value for every value of x. Try evaluating the expressions for, say, x = 25°,
60°, 1.2 radians.
If two expressions are equal for all values of the variables used, then we say the
expressions are identical. Hence sin 2x and 2 sin x cos x are identical, that is equal
for all values of x. A statement such as sin 2x = 2 sin x cos x is known as an
identity. In this block we provide a table of important identities and show how
expressions involving the trigonometrical ratios can be simplified using them.
There are several commonly used trigonometrical identities. These are listed in
Table 5.1.
Table 5.1
sin2 A + cos2 A = 1
sin A
= tan A
cos A
sin(A + B) = sin A cos B + sin B cos A
sin(A - B) = sin A cos B - sin B cos A
cos(A + B) = cos A cos B - sin A sin B
cos(A - B) = cos A cos B + sin A sin B
sin 2A = 2 sin A cos A
cos 2A = 1 - 2 sin2 A = 2 cos2 A - 1 = cos2 A - sin2 A
tan A + tan B
tan(A + B) =
1 - tan A tan B
tan A - tan B
tan(A - B) =
1 + tan A tan B
2 sin A cos B = sin(A + B) + sin(A - B)
2 cos A cos B = cos(A + B) + cos(A - B)
2 sin A sin B = cos(A - B) - cos(A + B)
1
sin2 A = 2 (1 - cos 2A)
1
cos2 A = 2 (1 + cos 2A)
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 373
Note that we write sin2 A to mean (sin A)2. Similarly, cos2 A is the accepted nota-
tion for (cos A)2. The identities can be used to simplify trigonometrical expressions.
The first entry in the table is particularly important and should be remembered.
Choose any angle A for yourself and verify that this identity is true.
Example 5.1
Use trigonometrical identities to simplify cos A tan A.
Solution
sin A
We note that tan A = and so
cos A
sin A
cos A tan A = cos A
cos A
= sin A
Hence cos A tan A is identical to sin A.
Example 5.2
(a) Use the identity for sin (A + B) to show that sin 2A = 2 sin A cos A.
(b) Use the identity for cos (A + B) to show that cos 2A = cos2 A - sin2 A.
Solution
(a) We use the identity
sin(A + B) = sin A cos B + sin B cos A
A special case of this identity occurs when B = A. We then have
sin 2A = sin A cos A + sin A cos A
that is
sin 2A = 2 sin A cos A
(b) We use the identity
cos(A + B) = cos A cos B - sin A sin B
A special case of this identity occurs when B = A. We then have
cos 2A = cos A cos A - sin A sin A
that is
cos 2A = cos2 A - sin2 A
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 374
Example 5.3
Show that cos(-u) = cos u.
Solution
We use the identity for cos(A - B) with A = 0 and B = u.
Now from Table 5.1
cos(A - B) = cos A cos B + sin A sin B
With A = 0 and B = u this becomes
cos(-u) = cos 0 cos u + sin 0 sin u
Noting that sin 0 = 0 and cos 0 = 1 this simplifies to
cos u
Hence cos(-u) = cos u as required.
Example 5.4
Show that
1 + tan u
tan(u + 45°) =
1 - tan u
Solution
We use the identity
tan A + tan B
tan(A + B) =
1 - tan A tan B
Putting A = u and B = 45° gives
tan u + tan 45°
tan(u + 45°) =
1 - tan u tan 45°
Now tan 45° = 1 and so
tan u + 1
tan(u + 45°) =
1 - tanu
1 + tanu
=
1 - tanu
Example 5.5
Simplify
sin3 A
+ sin A cos A
cos A
Solution
We write the expression with a common denominator of cos A:
sin3 A
Hence + sin A cos A simplifies to tan A.
cos A
Example 5.6
Simplify
sin 2A sin A
+ cos 2A
2 cos A
Solution
From Table 5.1 we have sin 2A = 2 sin A cos A and so
Solution
The modulated signal is
which is the sum of two cosine waves, oscillating at different frequencies from the
original signal. This result enables the design of an antenna which can be used to
transmit the original signal efficiently.
b = -sin u.
p 1
8 Show cosa u + tan A +
2 tan A
9 Show sin(180° - u) = sin u.
24 Show
10 Show cos(180° - u) = -cos u. sin 3A 1
= 2 cos A -
sin 2A 2 cos A
11 Show tan(180° - u) = -tan u.
Solutions to exercises
1 2
22 1 23 which may be written as
cos A sin A sin 2A
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:53 AM Page 377
Trigonometrical equations
BLOCK 6
6.1 Introduction
We examine the method of solving equations of the form sin u = k, cos u = k and
tan u = k, where k is a constant. Because sin u, cos u and tan u are periodic func-
tions, then there are an infinite number of solutions of trigonometrical equations.
Often the values of u are restricted to a limited range. This restriction means there
are then only a finite number of solutions.
6.2 Notation
If
sin u = k
then we write
u = sin - 1 k
This is read as ‘u equals the inverse sine of k’. Similarly if cos u = k then u = cos - 1 k
and if tan u = k then u = tan - 1 k. The inverse functions sin - 1, cos - 1 and tan - 1 are
available on scientific calculators. Sometimes sin - 1 is written as ‘inv sin’ or ‘arcsin’.
Example 6.1
Given sin u = 0.3214 find u using a scientific calculator.
Solution
sin u = 0.3214
and so
u = sin - 1(0.3214)
= 18.75°
using a scientific calculator.
Example 6.2
Given sin u = -0.2000 find u using a scientific calculator.
Solution
sin u = -0.2000
u = sin - 1(-0.2000) = -11.54°
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 378
Example 6.3
Given cos u = -0.6132 find u using a scientific calculator.
Solution
cos u = -0.6132
u = cos - 1(-0.6132) = 127.82°
Solution
Figure 6.1 illustrates a graph of y = sin u for 0° … u … 360°. We require solutions
between 0° and 360°. The values of u such that sin u = 0.7215 are marked as A and B.
From Figure 6.1 we see there are two solutions, one between 0° and 90°, that is the
first quadrant, and one between 90° and 180°, that is the second quadrant. Using a
scientific calculator gives
A B
O
90° 180° 270° 360° θ
⫺1
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 379
Example 6.5
Solve
cos x = 0.3456 0 … x … 2p
Solution
A graph of y = cos x for 0 … x … 2p is shown in Figure 6.2. Note that in this
example angles are measured in radians.
⫺1
From Figure 6.2 there are two solutions, A and B. Solution A is in the first quad-
rant, that is between 0 and p2 , and solution B is in the fourth quadrant, that is between
3p
2 and 2p.
We have
cos x = 0.3456
Using a scientific calculator we find
x = 2p - 1.2179 = 5.0653
The required solutions are x = 1.2179, 5.0653.
Example 6.6
Solve
tan t = -1.3000 0 … t … 2p
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 380
Solution
Figure 6.3 illustrates y = tan t and marks the solution points A and B.
p
Point A lies between and p
2
3p
Point B lies between and 2p
2
tan t = -1.3000
Clearly the value of t returned by a calculator is not within the range of values of
interest, namely 0 to 2p.
Recall from Block 3 that adding p radians to an angle does not change its tangent,
and so another solution is given by -0.9151 + p = 2.2265. This is the solution
represented in the second quadrant by point A.
1.5
1.0
0.5
A B
O π
2
π 3π
2
2π t
⫺0.5
⫺1.0
⫺1.3000
⫺1.5
⫺2.0
⫺2.5
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 381
Solution
From Figure 6.4, sin u = -0.6500 has solutions at A and B.
A B
O
π 2π θ
⫺0.6500
⫺1
3p
Point A is between p and
2
3p
Point B is between and 2p
2
We have
sin u = -0.6500
and so
u = sin - 1(-0.6500) = -0.7076
Clearly this solution is not within the range of interest.
Recall from Block 3 that adding 2p (360°) to an angle does not change its sine.
Hence -0.7076 + 2p = 5.5756 is a solution.
This solution is represented by point B
Using the symmetry of Figure 6.4 we see that point A is above p by the same
amount that B is below 2p.
Hence the solution at point A is given by
p + 0.7076 = 3.8492
The required solutions are u = 3.8492, 5.5756.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 382
Example 6.8
Solve
cos u = -0.4215 0° … u … 360°
Solution
Sketch y = cos u and mark the points where cos u = -0.4215.
O
90° 180° 270° 360°
−0.4215
Exercises
1 Solve
(a) sin u = 0.3510, 0° … u … 360° (d) cos x = 0.7654, 0° … x … 360°
(b) sin u = -0.4161, 0 … u … 2p (e) tan y = 1.7136, 0° … y … 360°
(c) cos t = -0.3778, 0 … t … 2p (f) tan y = -0.3006, 0° … y … 360°
Solutions to exercises
1 (a) 20.55°, 159.45° (b) 3.5707, 5.8540 (e) 59.73°, 239.73° (f) 163.27°, 343.27°
(c) 1.9582, 4.3250 (d) 40.06°, 319.94°
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 383
Solution
We introduce a new variable, z, defined by z = 3u. As u moves from 0° to 360° then
z moves through 0° to 1080°. Hence the problem may be written as one of finding z
given
sin z = 0.7215 0° … z … 1080°
Using Example 6.4, the solutions between 0° and 360° are
z = 46.18°, 133.82°
Recognising that adding 360° to an angle does not change its sine, we see that the
solutions between 360° and 720° are
z = 46.18° + 360°, 133.82° + 360°
= 406.18°, 493.82°
Similarly the solutions between 720° and 1080° are
z = 406.18° + 360°, 493.82° + 360°
= 766.18°, 853.82°
Hence
z = 46.18°, 133.82°, 406.18°, 493.82°, 766.18°, 853.82°
Recall that z = 3u, that is u = 3z , and so
u = 15.39°, 44.61°, 135.39°, 164.61°, 255.39°, 284.61°
Example 6.10
Solve
u
cos = -0.4215 0° … u … 360°
2
Solution
u
We define z =
2
As u moves from 0° to 360°, then z moves from 0° to 180°. Hence the problem may
be recast as one of finding z given
Example 6.11
Solve
tan 2u = -1.4213 0° … u … 360°
Solution
We define z ⫽ 2u
As u ranges through 0° to 360° then z ranges through 0° to 720°
Hence the problem becomes one of solving
tan z = -1.4213 0° … z … 720°
Using a scientific calculator we see
Exercise
2u
1 Solve the following: (d) sin = -0.5000, 0° … u … 360°
(a) sin 3u = 0.7614, 0° … u … 360° 3
u
u (e) cos = 0.4162, 0° … u … 360°
(b) tan = 1.0137, 0° … u … 360° 3
2
4u
(c) cos 2u = -0.8314, 0° … u … 360° (f) tan = -1, 0° … u … 360°
3
Solution to exercise
1 (a) 16.53°, 43.47°, 136.53°, 163.47°, 256.53°, (c) 73.12°, 106.88°, 253.12°, 286.88°
283.47° (d) 315° (e) 196.22° (f) 101.25°, 236.25°
(b) 90.78°
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 385
10 5 cos x + 3 = 0, 0 … x … 2p u
22 cosa - 20°b = -0.5516, 0° … u … 360°
2
11 tan u = 0.4906, 0° … u … 360°
b = -1.6319, -270° … u … 270°
u + 30°
23 tana
4
12 tan t = 2.1630, 0 … t … 4p
Solutions to exercises
Engineering waves
BLOCK 7
7.1 Introduction
Often voltages and currents vary with time, and can be modelled by sine and cosine
functions. Important parameters such as amplitude, frequency, period and phase are
used in the description of these waves. These terms are described in the following
sections.
Two or more waves may be added together, producing a new single wave. The
method of doing this is explained and illustrated.
The functions y = sin u and y = cos u were described in Block 4. There we saw that
the graphs of these functions look like waves. The angle u may be measured in
degrees or radians.
Voltages and currents encountered in electric circuits usually vary with time, t.
Hence we consider sine and cosine waves in which the independent variable is t. For
example, consider y = sin t. As t increases from 0 seconds to 2p seconds, one com-
plete cycle is produced. This is illustrated in Figure 7.1.
O
π 2π t
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 387
We introduced the amplitude in Block 4 and simply recap here. Consider the func-
tion y = A sin t for A 7 0. Then A is the amplitude of the wave. This is the highest
value attained by the wave. Similarly the amplitude of y = A cos t is A.
Example 7.1
State the amplitude of each of the following functions:
(a) y = 3 sin t
(b) y = 23 cos t
(c) y = -sin t
Solution
(a) amplitude = 3
(b) amplitude = 23
(c) Noting that the amplitude of a wave is the largest value attained, the amplitude
of -sin t is 1.
Consider the wave y = A sin vt. We call v the angular frequency of the wave. The
units of v are radians per second. Noting that t is measured in seconds, then vt has
units of radians. For example, y = sin 4t has an angular frequency of 4 radians per
second. Note that y = sin t has an angular frequency of 1 radian per second. In like
manner the angular frequency of y = A cos vt is v radians per second.
Key point The angular frequency of y = A sin vt and y = A cos vt is v radians per second.
Note that the amplitude, A, has no effect upon the angular frequency of a function.
Example 7.2
State the angular frequency of each of the following waves:
(a) y = 5 sin 3t
t
(b) y = 7 cos
2
2t
(c) y = cos
3
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 388
Solution
(a) Comparing 5 sin 3t with A sin vt, we see that v = 3: that is, the angular
frequency is 3 radians per second.
1
(b) angular frequency = 2 radian per second
2
(c) angular frequency = 3 radians per second
Exercises
t 4t 3 2t
1 State (i) the amplitude and (ii) the angular (c) y = sin (d) y = cos (e) y = sin
frequency of the following waves: 2 3 2 3
(a) y = 2 sin 5t (b) y = 3 cos 6t (f) y = -4 sin pt
Solutions to exercises
The time taken to complete one full cycle is called the period of the wave. It is
closely connected to the angular frequency of the wave.
2p
Consider y = A sin vt. When t = 0 seconds, then vt = 0 radians. When t =
v
b = 2p radians. Hence as t increases by
2p 2p
seconds, then vt = va seconds, the
v v
angle, vt, increases by 2p radians. Recall from Block 4 that a sine function completes
one full cycle as the angle increases by 2p radians. Hence y = A sin vt completes a
2p 2p
full cycle as t increases by seconds: that is, the period of y is seconds. Similarly
v v
2p
the period of y = A cos vt is also seconds. The period is denoted by T.
v
Example 7.3
State the period of each of the following functions:
(a) y = 3 sin 6t
(b) y = 5.6 cos pt
(c) y = 50 sin 100pt
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 389
2p
T = = 0.02
100p
The period is 0.02 seconds.
Example 7.4 Electrical Engineering – Oscilloscope trace
Figure 7.2 shows an oscilloscope trace of a sine wave. State the equation of the wave.
Figure 7.2
Oscilloscope trace. 3
O
2 4 6 t
⫺3
Solution
The wave has an equation of the form
y = A sin vt
The maximum value of the wave is 3: that is, the amplitude, A, is 3. A full cycle is
completed in 4 seconds: that is, T = 4. So
2p
T =
v
= 4
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 390
from which
p
v =
2
pt
The equation of the wave is y = 3 sin .
2
Example 7.5 Electrical Engineering – Oscilloscope trace
Figure 7.3 shows an oscilloscope trace of a cosine wave. State the equation of the wave.
Solution
The wave has an equation of the form
y = A cos vt
2p
T =
v
= 6
Hence
2p p
v = =
6 3
pt
The equation of the wave is therefore 4.2 cos
3
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 391
We note that
2p v
period T = , frequency f =
v 2p
and so
Key point T =
1
f
Example 7.6
State the period and frequency of the following waves:
(a) y = 2 sin 4t
(b) y = 3 cos 2t
(c) y = sin pt
Solution
(a) Comparing 2 sin 4t with A sin vt we see that v = 4. Hence the frequency, f, is
found from
v
f =
2p
4
=
2p
2
=
p
= 0.6366 Hz
So 0.6366 cycles are completed every second. The period, T, is found from
1
T =
f
p
=
2
= 1.5708
It takes 1.5708 seconds to complete one cycle.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 392
Exercises
1
1 State (i) the period and (ii) the frequency of the (c) y = -4 sin t (d) y = 2 cos 100pt
following waves: (e) y = p sin 1.5t
(a) y = 6 sin 4t (b) y = cos 3t
Solutions to exercises
p 2 2p 3 1 4p 3
1 (a) , (b) , (c) 2p, (d) 0.02, 50 (e) ,
2 p 3 2p 2p 3 4p
O π
2 π t
y 5 sin(2t 1 1)
21
Figure 7.5 y
The waves 0.5
y = sin 2t and 1
y = sin(2t - 1).
y 5 sin(2t 2 1)
O π
2 π t
y 5 sin2t
21
y = A sin cva t + bd
a
v
a
We call the time displacement of the wave.
v
Example 7.7
State the phase and time displacement of each of the following waves:
(a) y = sin(2t + 1)
(b) y = sin(2t - 1)
(c) y = 3 cos a + 3 b
t
2
Solution
(a) Here v = 2, a = 1 and so the phase is 1 radian and the time displacement is
a 1
= = 0.5 seconds
v 2
This wave is illustrated in Figure 7.4.
(b) Here v = 2, a = -1 and so the phase is -1 radian and the time displacement is
a -1
= = -0.5 seconds
v 2
This wave is illustrated in Figure 7.5.
(c) Here v = and a = 0.5, 3
3
and so the phase is 3 radians and the time displacement is = 6 seconds.
(0.5)
Exercises
1 State (i) the phase and (ii) the time (d) y = sin(0.5t - 2)
displacement of the following waves:
b
t + 4
(a) y = 4 sin(3t + 12) (e) y = 3 cosa
(b) y = sin(4t - 6) 3
(c) y = 2 cos(t + 0.5)
Solutions to exercises
1 (a) 12, 4 (b) -6, -1.5 (c) 0.5, 0.5 (d) -2, -4 (e) 43 , 4
Waves of the same angular frequency may be added together to form a new wave.
The new wave has the same angular frequency as the original waves. The trigono-
metrical identities (see Block 5) are used, especially the formulae for sin(A ; B)
and cos(A ; B). The following examples illustrate the technique.
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 395
Since tan a 6 0, then a lies in either the second quadrant or the fourth quadrant.
Noting from equation (1) that sin a 6 0, then a must be in the fourth quadrant.
1
Solving tan a = - with a in the fourth quadrant gives a = 5.9614. So finally
3
2 sin 3t + 6 cos 3t = 240 cos(3t + 5.9614)
The resulting wave has an amplitude of 240, an angular frequency of 3 radians per
second and a phase of 5.9614 radians.
Example 7.9
Express 2 sin 5t - 5 cos 5t in the form A sin(vt - a), a Ú 0.
Solution
The angular frequency of both 2 sin 5t and 5 cos 5t is 5, and so the resultant wave has
an angular frequency of 5, that is v = 5.
Recall the trigonometrical identity for sin(A - B):
sin(A - B) = sin A cos B - sin B cos A
Hence
2 sin 5t - 5 cos 5t = A sin(vt - a)
= A sin(5t - a)
= A(sin 5t cos a - sin a cos 5t)
= (A cos a) sin 5t - (A sin a) cos 5t
Comparing the sin 5t terms on both sides gives
2 = A cos a (5)
Comparing the cos 5t terms on both sides gives
5 = A sin a (6)
To eliminate a from equations (5) and (6), the equations are squared and then added.
Squaring the equations gives
4 = A2 cos2 a
25 = A2 sin2 a
and then adding gives
29 = A2 cos2 a + A2 sin2 a
= A2(cos2 a + sin2 a)
= A2
Hence A = 229.
To eliminate A, equation (6) is divided by equation (5) to give
5 A sin a
=
2 A cos a
= tan a
tan a = 2.5
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 397
Example 7.10
Express cos 2t - 2 sin 2t in the form A sin(vt + a), a Ú 0.
Solution
The angular frequency of both cos 2t and 2 sin 2t is
2
Hence the angular frequency of the resulting wave is also 2, that is v = 2.
Recall from Block 5 the trigonometrical identity
sin(A + B) = sin A cos B + sin B cos A
Hence
cos 2t - 2 sin 2t = A sin(vt + a)
= A sin(2t + a)
= A(sin 2t cos a + sin a cos 2t)
and so A = 25.
To determine a, equation (8) is divided by equation (7). This gives
tan a = -0.5
Recognising that a is in the quadrant we see that second
Hence
cos 2t - 2 sin 2t = 25 sin(2t + 2.6779)
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 398
Exercises
1 Express 6 sin 3t - 7 cos 3t in the form 3 Express 5 sin 2t + cos 2t in the form
A cos(vt + a), a Ú 0. A cos(vt - a), a Ú 0.
2 Express 2 cos t + 6 sin t in the form 4 Show that the maximum value of
A sin(vt - a), a Ú 0. State the maximum
value of 2 cos t + 6 sin t. a sin vt + b cos vt is 2a2 + b2.
Solutions to exercises
y = sin a - b
1 y = 3 sin 2t 2t p
25
3 2
2 y = 2 cos 3t For questions 26–30 state the time displacement of
y = sina b
4 t the functions in questions 21–25.
3
3 2
31 Express 3 sin 5t + 6 cos 5t in the form
b
2t A sin(vt + a), a Ú 0.
4 y = cosa
3
5 cos 3t 32 Express 2 cos 3t - sin 3t in the form
5 y = A sin(vt + f), f Ú 0.
3
For questions 6–10 state the angular frequency of 33 Express sin 4t + 3 cos 4t in the form
the functions given in questions 1–5. A cos(vt + f), f Ú 0.
For questions 11–15 state the period of the functions 34 Express cos t - 7 sin t in the form
in questions 1–5. A cos(vt + a), a Ú 0.
For questions 16–20 state the frequency of the 35 Express 4 sin 2t + 5 cos 2t in the form
functions in questions 1–5. A sin(vt - f), f Ú 0.
State the phase of the functions in questions 21–25. 36 Express 5 sin 3t - 3 cos 3t in the form
A sin(vt - a), a Ú 0.
21 y = 3 sin(t + 2)
37 Express sin t - 3 cos t in the form
22 y = 2.3 cos(4t - 2) A cos(vt - f), f Ú 0.
b
3t - 1 38 Express -2 sin 2t + 4 cos 2t in the form
23 y = cosa
2 A cos(vt - a), a Ú 0.
24 y = sin(0.5t + 3)
M09_CROF5939_04_SE_C09.QXD 9/21/18 11:54 AM Page 399
Solutions to exercises
1 3 14 3p 26 2
2p 1
2 2 15 27 -
3 2
4 1 1
3 3 16 28 -
p 3
4 1 3 29 6
17
2p 3p
5
5 3 1 30 -
18 4
4p
6 2 31 245 sin(5t + 1.1071)
1
19
7 3 3p 32 25 sin(3t + 2.0344)
3
1 20
8 2
2p 33 210 cos(4t + 5.9614)
2 21 2
9 3 34 250 cos(t + 1.4289)
22 -2
10 3 35 241 sin(2t - 5.3871)
1
23 -
11 p 2 36 234 sin(3t - 0.5404)
2p 24 3
12 37 210 cos(t - 2.8198)
3 p
25 -
13 4p 2 38 220 cos(2t - 5.8195)
1 Convert the following angles to radians, giving 6 Express 6 sin 2t - 3 cos 2t in the form
your answer to 4 d.p.: A cos(vt - a), a Ú 0.
(a) 40° (b) 100° (c) 527° (d) -200°
7 If sin f 6 0 and cos f 7 0, state the
2 Convert the following angles in radians to quadrant in which f lies.
degrees:
p p 4p 8 If tan f 6 0 and sin f 7 0, state the
(a) (b) (c) (d) 1.25p (e) 1.25 quadrant in which f lies.
2 3 3
(f) 9.6314 (g) 3
9 Express 12 cos t + sin t in the form
3 Evaluate A sin(vt - a), a Ú 0.
(a) cosec 37° (b) cot 1.3 (c) sec 40°
10 A voltage source, v(t), varies with time, t,
4 An arc of a circle, radius 5 cm, subtends an according to
angle of 3p
4 radians at the centre. Calculate the
length of the arc. v(t) = 50 sin(pt + 10)
5 A sector of a circle, radius 9 cm, has an area of State (a) the angular frequency, (b) the phase,
100 cm2. Calculate the angle subtended at the (c) the amplitude, (d) the period, (e) the time
centre by the sector. displacement, (f) the frequency of the voltage.
M09_CROF5939_04_SE_C09.QXD 11/28/18 7:12 PM Page 400
11 Solve 18 Solve
3 cos u = 1.2 0 … u … 2p sin u cos 41° + sin 41° cos u = 0.6100
12 Solve 0° … u … 360°
sin 2u = - 0.4010 0 … u … 2p 19 If 0 … u … 2p and cos 2u 6 0, state the
range of possible values for u.
13 Simplify sin u cos u tan u + cos2 u.
20 Simplify
14 Express 5 cos 3t + 2 sin 3t in the form
A cos(vt + a), a Ú 0. (sin u + cos u)2 - sin 2u
Solutions to exercises
Chapter 10
Further trigonometry
Blocks 2 and 3 deal with the sine and cosine rules. These are used to
solve any triangle. Conditions under which the rules can be applied are
clearly stated.
Chapter 10 contents
Block 4 Surveying
1.1 Introduction
We introduce some common terms and notation used for right-angled triangles.
Consider a right-angled ^ ABC as shown in Figure 1.1.
Figure 1.1 B
A right-angled
^ABC.
AB ⫽ c BC ⫽ a
A AC ⫽ b C
Key point c2 = a2 + b2
Thus the square of the hypotenuse equals the sum of the squares of the other two
sides.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 404
Example 1.1
In ^ABC in Figure 1.1, AC = 9 cm and BC = 14 cm. Calculate AB.
Solution
We have b = AC = 9 and a = BC = 14. We need to find AB, that is c. By
Pythagoras’s theorem we know
c2 = a2 + b2
= 142 + 92
= 277
c = 2277 = 16.64
The hypotenuse, AB, is 16.64 cm.
Example 1.2
Consider ^ABC in Figure 1.1. Given AB = 19 cm and AC = 12.5 cm calculate BC.
Solution
We have c = AB = 19 and b = 12.5
We seek BC, that is a. Using Pythagoras’s theorem
c2 = a2 + b2
192 = a2 + 12.52
a = 2204.75 = 14.31
The length of BC is 14.31 cm.
Exercises
1 ^ABC has a right angle at B. Given 3 ^CDE has a right angle at E. Given
AB = 7 cm, BC = 12 cm, calculate the CD = 55 mm and DE = 37 mm, calculate the
length of AC. length of CE.
Solutions to exercises
1 13.89 cm 3 40.69 mm
2 3.71 m
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 405
When asked to solve a triangle we need to calculate all the unknown angles and all
the unknown sides. Sometimes we are asked to calculate only specified angle(s)
and/or side(s). The following examples illustrate the method. You should be aware
that the sum of the angles in any triangle is 180°.
Example 1.3
As shown in Figure 1.2, ^ABC has a right angle at C, A = 53° and BC = 9 cm.
Calculate (a) AC and (b) AB.
Figure 1.2 B
9 cm
53°
A C
Solution
BC
(a) tan A =
AC
9
tan 53° =
AC
9
AC =
tan 53°
= 6.7820
BC
(b) sin A =
AB
9
sin 53° =
AB
9
AB =
sin 53°
= 11.2692
Example 1.4
^XYZ has a right angle at Y, X = 26° and XZ = 12 cm.
(a) Sketch ^XYZ.
(b) Calculate XY.
(c) Calculate YZ.
Solution
(a) ^XYZ is illustrated in Figure 1.3.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 406
Figure 1.3 X
26°
12 cm
Y Z
XY
(b) cos X =
XZ
XY
cos 26° =
12
XY = 12 cos 26° = 10.7855
YZ
(c) sin X =
XZ
YZ
sin 26° =
12
Example 1.5
^KLM has a right angle at L, M = 25° and ML = 14 cm. It is illustrated in
Figure 1.4. Calculate (a) KL and (b) KM.
Figure 1.4 M
25°
14 cm
K L
Solution
KL
(a) tan M =
ML
KL
tan 25° =
14
KL = 6.5283
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 407
ML 14
(b) cos M = =
KM KM
14
KM = = 15.4473
cos 25°
Example 1.6
^PQR has a right angle at P, Q = 39° and QR = 18 cm.
(a) Sketch ^PQR.
(b) Calculate PQ.
(c) Calculate PR.
Solution
(a) ^PQR is illustrated in Figure 1.5.
Figure 1.5 P Q
39°
18 cm
PQ PQ
(b) cos 39° = =
QR 18
PR PR
(c) sin 39° = =
QR 18
Example 1.7
^ABC has C = 90°, AC = 14 cm and BC = 9 cm.
(a) Sketch ^ABC.
(b) Solve ^ABC.
Solution
(a) ^ABC is illustrated in Figure 1.6.
Figure 1.6 B
9 cm
A 14 cm C
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 408
BC
tan A =
AC
9
=
14
A = tan-1 a b
9
14
= 32.74°
B may now be found. The sum of the angles in any triangle is 180° and so
A + B + C = 180°
B = 180° - A - C
= 180° - 32.74° - 90°
B = 57.26°
Example 1.8
XYZ is a right-angled triangle as shown in Figure 1.7, with XY = 23 cm and
YZ = 14 cm. Solve ^XYZ.
Figure 1.7 Y
23 cm
14 cm
X Z
Solution
We need to find X, Y and XZ. We find X first.
14
sin X =
23
sin-1 a b = 37.50°
14
X =
23
Y may now be found.
X + Y + Z = 180°
Y = 52.50°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 409
XZ = 2333 = 18.25
Figure 1.8 Q
d1
d2
(a) (b)
Q
Q
R
q
(c) P (d) P R
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 410
Solution
(a) Note that the surface area of the indentation is made up of four triangular sides.
We first calculate the length of the base of the triangular sides using the known
diagonal length D and Pythagoras’s theorem. Figure 1.9 shows the base of the
pyramid and the diagonal length D. We have labelled the unknown length x.
Figure 1.9
x
D
x
Then, using Pythagoras’s theorem,
D2 = x2 + x2 = 2x2
D2
x2 =
2
from which
D
x =
12
This is the length of the side of the square base. Figure 1.10 shows one of the tri-
angular sides of the pyramid with the base length now shown.
Figure 1.10 Q
P
D
√2
To calculate its area we need to know the length PQ; this can be determined
from Figure 1.8(d) using the right-angled triangle shown:
1
u 2 PR
sin =
2 PQ
and so
1
2 D> 12 D
PQ = =
sin 2u 212 sin 2u
Finally we can calculate the area of the triangular side of the pyramid as
1
area = * base * height
2
1 D D
= * *
2 12 212 sin 2u
D2
=
8 sin 2u
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 411
Exercises
1 Find A given BC = 13 cm and AB = 19 cm. 4 ^PQR has a right angle at R, P = 62° and
PR = 11 cm. Calculate (a) PQ, (b) QR, (c) Q.
2 Find B given BC = 14 cm and AB = 21 cm.
5 ^ABC has a right angle at A, B = 25° and
3 Find A given AC = 10 cm and BC = 12 cm. AC = 17.2 cm. Solve ^ABC.
Solutions to exercises
3 50.19°
9 ^UVW has a right angle at V, UV = 15 cm 13 Figure 1.11 illustrates ^ABC and ^BDC,
and VW = 6 cm. Solve ^UVW. where C is a right angle, AC = 17 cm and
DC = 6 cm. Given ∠BDC = 2u and
10 ^CDE has a right angle at E, CE = 19 cm ∠BAD = u, find u.
and DE = 14 cm. Calculate (a) CD, (b) C,
(c) D. 14 ^DEF has a right angle at F, E = 38° and
DF = 14 cm. Solve ^DEF.
11 ^KLM has a right angle at K, L = 51° and
ML = 10 cm. Calculate (a) KL, (b) KM, 15 ^XYZ has a right angle at Y, XY = 40 cm
(c) M. and YZ = 57 cm. Solve ^XYZ.
12 ^XYZ has a right angle at Y, X = 42° and 16 ^ABC has a right angle at C, AB = 30 cm
YZ = 13 cm. Calculate (a) XY, (b) XZ, (c) Z. and AC = 2BC. Solve ^ABC.
Solutions to exercises
4 12.33 cm 13 28.47°
5 (a) 12.43 cm (b) 11.59 cm (c) 43° 14 EF = 17.92 cm, DE = 22.74 cm, D = 52°
7 (a) 44.42° (b) 45.58° (c) 9.80 16 A = 26.57°, B = 63.43°, BC = 13.42 cm,
AC = 26.83 cm
8 R = 54°, RT = 10.90 cm, RS = 18.54 cm
2.1 Introduction
Recall that by solving a triangle we mean calculating all the unknown angles and
sides. In Block 1 we solved right-angled triangles. In this block and the next we
solve triangles where there is no right angle. This is done by using either the sine rule
or the cosine rule. This block focuses on the sine rule.
Figure 2.1 A
a = BC, b = AC,
c = AB.
b ⫽ AC
c ⫽ AB
C
a ⫽ BC
We have used the convention that the side opposite A is labelled a, and so on. The
sine rule states:
Key point a
=
b
=
c
sin A sin B sin C
The rule can be used to solve a triangle when we are given either (a) one side and two
angles or (b) two sides and one angle that is not included by the given sides. The two
cases are illustrated by the following examples.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 414
Example 2.1
Solve ^ABC given A = 46°, B = 32° and BC = 13 cm.
Solution
We are given two angles and a side and so the triangle can be solved using the sine
rule. We have A = 46°, B = 32° and a = BC = 13 cm, and need to find C, AB and
AC.
First we calculate C.
A + B + C = 180°
C = 180° - A - B
= 180° - 46° - 32°
= 102°
We now apply the sine rule.
a b c
= =
sin A sin B sin C
13 b c
= =
sin 46° sin 32° sin 102°
so
that is
It is worth noting that the largest angle is always opposite the longest side, and the
smallest angle is opposite the shortest side.
Example 2.2
In ^ABC, A = 21°, AC = 17 cm and BC = 14 cm. Solve ^ABC.
Solution
Figure 2.2 illustrates the situation.
Figure 2.2 B
Two sides and a
non-included angle
are known. 14
21°
A 17 C
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 415
14 17 c
= =
sin 21° sin 25.8° sin 133.2°
So
17 sin 133.2°
c = = 28.47
sin 25.8°
Solution 1 is B = 25.8°, C = 133.2°, c = AB = 28.47 cm.
Case 2: B = 154.20°
Here C = 180° - A - B = 4.80°.
Applying the sine rule gives
a b c
= =
sin A sin B sin C
and so
14 17 c
= =
sin 21° sin 154.20° sin 4.8°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 416
Hence
17 sin 4.8°
c = = 3.27
sin 154.20°
Solution 2 is B = 154.20°, C = 4.80°, c = AB = 3.27 cm.
Example 2.3
In ^ABC, C = 42°, AB = 15 cm and AC = 11 cm. Solve ^ABC.
Solution
We are given two sides and a non-included angle and so the sine rule can be applied.
We have C = 42°, b = AC = 11 and c = AB = 15. We need to calculate A, B and
BC. Using the sine rule,
a b c
= =
sin A sin B sin C
and so
a 11 15
= =
sin A sin B sin 42°
Hence
11 sin 42°
sin B =
15
= 0.4907
B = sin-1(0.4907)
= 29.39° and 150.61°
The solution B = 150.61° is rejected because we are given C = 42° and the sum of
the angles in a triangle must equal 180°. We now calculate A.
A = 180° - B - C
= 108.61°
Finally
15 sin A
a =
sin 42°
15 sin 108.61°
=
sin 42°
= 21.25
Thus we have A = 108.61°, B = 29.39°, a = BC = 21.25 cm.
Example 2.4
Solve ^XYZ given X = 63°, Z = 42° and YZ = 11.3 cm.
Solution
We are given two angles and a side, so the sine rule can be applied. We have
X = 63°, Z = 42° and x = YZ = 11.3. We need to calculate Y, XZ = y and
XY = z. First we calculate Y.
Y = 75°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 417
Example 2.5
Solve ^ABC given C = 40°, b = 23 cm and c = 19 cm.
Solution
We are given two sides and a non-included angle and so the sine rule can be applied.
We know C = 40°, AB = c = 19 and AC = b = 23. We need to calculate A, B
and a. Using the sine rule
a b c
= =
sin A sin B sin C
we have
a 23 19
= =
sin A sin B sin 40°
Hence
23 sin 40°
sin B = = 0.7781
19
B = 51.09° or 128.91°
Both solutions are acceptable.
Case 1: B = 51.09°
19 sin 88.91°
a = = 29.55
sin 40°
Case 2: B = 128.91°
Then
A = 180° - 40° - 128.91° = 11.09°
and
19 sin 11.09°
a = = 5.69
sin 40°
Solution 2 is A = 11.09°, B = 128.91°, BC = 5.69 cm.
Solutions to exercises
3.1 Introduction
The cosine rule, like the sine rule, can be applied to any triangle. It is used to solve a
triangle when we are given either (a) three sides or (b) two sides and the included
angle.
Example 3.1
In ^ABC, AB = 17.3 cm, BC = 23.9 cm and B = 71°. Solve ^ABC.
Solution
Figure 3.1 illustrates the given information.
Figure 3.1 A
Given two sides
and the included
angle, the cosine
rule can be c ⫽ 17.3
applied.
71°
C a ⫽ 23.9 B
We are given two sides and the included angle and so the cosine rule can be used.
We have a = BC = 23.9, c = AB = 17.3 and B = 71°. We need to find A, C and
AC: that is, b. We find b first using the cosine rule.
b2 = a2 + c2 - 2ac cos B
= 23.92 + 17.32 - 2(23.9)(17.3) cos 71°
= 601.27
b = 24.52
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 420
We now find A. We can use either the sine rule or the cosine rule to find A. Using the
sine rule,
a b
=
sin A sin B
that is
23.9 24.52
=
sin A sin 71°
23.9 sin 71°
sin A =
24.52
= 0.9216
A = 67.16° or 112.84°
The solution A = 112.84° is rejected because we already have B = 71° and the
sum of the angles of a triangle must be 180°. Finally
C = 180° - A - B
= 41.84°
Example 3.2
Solve ^XYZ given XY = 18.4 cm, YZ = 19.6 cm and XZ = 29.3 cm.
Solution
Figure 3.2 illustrates the situation.
Figure 3.2 Y
Three sides of the
triangle are known
and so the cosine z ⫽ 18.4 x ⫽ 19.6
rule can be
applied.
X y ⫽ 29.3 Z
We are given three sides and so the cosine rule can be applied. We have x = YZ =
19.6, y = XZ = 29.3 and z = XY = 18.4. Using the cosine rule we find X.
x2 = y2 + z2 - 2yz cos X
X = 41.07°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 421
cos Y =
Y = 100.85°
Finally
Z = 180° - X - Y
= 38.08°
Example 3.3
In ^RST, RS = 85 cm, ST = 104 cm and S = 105°. Figure 3.3 illustrates the
triangle. Solve ^RST.
Figure 3.3 R
When given two
sides and the
included angle, the
cosine rule can be 85
applied.
105°
S 104 T
Solution
We are given two sides and the included angle and so the cosine rule can be applied.
We have t = RS = 85, r = ST = 104 and S = 105°. We need to calculate R, T
and s = RT. First s is found using the cosine rule.
s2 = r2 + t2 - 2rt cos S
= 22616.92
s = 150.39
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 422
r s
=
sin R sin S
from which
104 150.39
=
sin R sin 105°
Example 3.4
In ^XYZ, XY = 40 cm, YZ = 57 cm and XZ = 81 cm. The triangle is illustrated
in Figure 3.4. Solve ^XYZ.
Figure 3.4 X
When all three
sides of a triangle
are known, the 81
40
cosine rule can be
applied.
Z 57 Y
Solution
We are given three sides and so the cosine rule can be applied. We have x = YZ = 57,
y = XZ = 81 and z = XY = 40. We need to calculate X, Y and Z. First X is
calculated. From the cosine rule we have
x2 = y2 + z2 - 2yz cos X
Substituting in the known values of x, y and z, and rearranging for cos X, gives
Now Y is found.
y2 = x2 + z2 - 2xz cos Y
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 423
Y = 112.05°
Solutions to exercises
Surveying
BLOCK 4
4.1 Introduction
This block considers the application of mathematics to surveying. The three areas
covered are (a) units to measure angles, (b) angles of elevation and depression, and
(c) bearings. Typical calculations in each area are included.
We have already introduced the units degree and radian in Chapter 9. Surveyors use
the degree. For greater accuracy the degree is subdivided into minutes denoted and
seconds denoted .
Example 4.1
Convert 36°2104 to decimal format.
Solution
We note there are 60 minutes in 1 degree and 60 seconds in each minute. Hence there
are 60 * 60 = 3600 seconds in 1 degree.
To write 36°2104 in decimal format we consider the fractional part, that is
2104, and express this in seconds.
21¿ = 21 * 60
= 1260¿¿
and so
21¿04¿¿ = 1264¿¿
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 425
Example 4.2
Convert 42.9614° to degree/minute/second format.
Solution
The fractional part 0.9614° needs to be converted to minutes and seconds. Each
degree comprises 60 minutes and so to convert from degrees to minutes we multiply
by a factor of 60.
0.9614° = 0.9614 * 60¿
= 57.684¿
We now look at the fractional part, 0.684, and convert this to seconds. Each minute
comprises 60 seconds and so to convert from minutes to seconds we multiply by 60.
0.684¿ = 0.684 * 60¿¿
= 41.04¿¿
Hence 42.9614° may be written as 42°5741.
Exercises
1 Express the following angles in degree/minute/ 2 Express the following angles in decimal
second format. format.
(a) 11.1731° (b) 14.0017° (c) 36.9213° (a) 12°1746 (b) 32°3256 (c) 1°140
Solutions to exercises
1 (a) 11°1023 (b) 14°06 (c) 36°5517 2 (a) 12.2961° (b) 32.5489° (c) 1.0278°
Figure 4.1 B
The angle of d
elevation is e and
the angle of
depression is d.
e
O A
Now consider an observer at the top of the tower, B. The angle d is called the
angle of depression. This is the angle, again measured from the horizontal, through
which an observer turns his or her eyes to look at a point O. Note that e and d have
equal magnitude.
Solution
Figure 4.1 illustrates the situation, with OA = 50 m and e = 11°3¿17– . First e is
expressed in decimal format as 11.0547°. Now consider the right-angled ^OAB.
AB AB
= =
OA 50
Solution
Figure 4.1 illustrates the problem, with AB = 23.7 m and d = 15°42¿18– .
First d is expressed in decimal format as
15.705°
AB 23.7
= =
OA OA
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 427
23.7
OA = = 84.29
tan 15.705°
The point O is 84.29 m from the foot of the tower.
Figure 4.2 E
The height, h, can
be expressed in
terms of known h
distances, x and y,
and known angles D
a, b and g.
γ
α β
A x B y C
Solution
Consider ^ADE. In this triangle, ∠ADE = 90° and so
DE
tan a =
AD
h
=
AD
h
AD =
tan a
= h cot a
Similarly by considering ^BDE and ^CDE we see BD = h cot b and CD = h cot g.
We now consider ^ADB and let ∠DAB = f. Figure 4.3 illustrates this triangle.
Figure 4.3 D
The cosine rule is
applied to ^ADB.
h cot α
h cot β
φ
A x B
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 428
from which
Figure 4.4 D
The cosine rule is
applied to ^ADC.
h cot α
h cot γ
φ
A x⫹y C
from which
We have two expressions for cos f given by (1) and (2). Equating these yields
xy(x + y)
h =
A x (cot g - cot b) + y (cot2 a - cot2 b)
2 2
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 429
Exercises
1 From a point 26.3 m from the foot of a tower 3 The angle of depression to the point O from
the angle of elevation to the top of the tower is the top of a tower 17 m high is 12°17.
29.27°. Calculate the height of the tower. Calculate the distance of O from the foot of
the tower.
2 A tower is 36 m high. Calculate the angle of
elevation to the top of the tower from a point
50 m from the base of the tower.
Solutions to exercises
1 14.74 m 3 78.08 m
2 35.75°
4.4 Bearings
A bearing is the angle that a line makes with some reference direction, usually north.
Bearings are measured clockwise from north. (Note the different conventions: in
mathematics clockwise angles are considered negative; in surveying clockwise
angles are considered positive.) In Figure 4.5, OA has a bearing of 58°31, OB has a
bearing of 100°17 and OC has a bearing of 301°49.
Example 4.7
A ship leaves harbour and sails for 19.1 km on a bearing of 47°17. It then changes
direction and travels for 12 km on a bearing of 100°25. Calculate the distance from
the harbour to the ship.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 430
58°31'
301°49'
O 100°17'
B
Solution
Figure 4.6 illustrates the ship’s movement, starting from the harbour at O.
47°17'
O C
The ship travels 19.1 km on a bearing of 47°17. This is represented by OA. It then
travels 12 km on a bearing of 100°25: this is represented by AB. The final position of
the ship is B. We seek the distance OB.
Clearly OA = 19.1 and AB = 12.0. Consider ^OAC.
∠AOC = 90° - 47°17¿
= 42°43¿
∠OAC = 90° - ∠AOC
= 90° - 42°43¿
= 47°17¿
Now
∠BAC = 180° - 100°25¿
= 79°35¿
Hence
∠OAB = ∠OAC + ∠BAC
= 47°17¿ + 79°35¿
= 126°52¿
= 126.8667°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 431
Example 4.8
A ship travels 17.1 km on a bearing of 120°35. It then travels 24 km on a bearing of
275°20.
(a) Find the distance of the ship from its starting position.
(b) Find the bearing the ship must take so that it can travel in a straight line back to
its starting position.
Solution
Figure 4.7 illustrates the movement of the ship, starting at O. The final position of
the ship is B.
17.1
γ
B β α
C 24 A
275°20'
(a) We need to find the distance OB. The angles a and b are determined, and then
the cosine rule is applied to ^OAB.
(OB)2 = 126.0332
OB = 11.23
(b) The bearing that the ship must take to return to its starting point is g. We note
that
24 11.23
=
sin BOA sin BAO
24 11.23
=
sin(a + g) sin 25°15¿
24 sin 25°15¿
sin(a + g) = = 0.91163
11.23
a + g = 65°44¿, 114°16¿
from which
g = 6°19¿ , 54°51¿
In any triangle the longest side is always opposite the largest angle. Referring
to Figure 4.7, in which the longest side is AB 24km, it follows that a + g
must equal 11416 and hence g 5451 is accepted as the required
bearing.
Exercises
Solutions to exercises
2 327.07°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 433
42°
C 17 m A
Figure 4.9
17° 35 m
C 12°
Calculate
A (a) the length of the tower AB
(b) the height of B above the horizontal AC.
Figure 4.8
9 A ship starts at O and travels for 10 km on a
From C, the angle of elevation to the top of bearing of 42°10 to arrive at A. From O point
the tower is 17°; the angle of depression to the B has a bearing of 90° (i.e. due east of O) and
foot of the tower is 12°. Given that C is 35 m is distant 21 km from O. Calculate the bearing
from the tower, calculate the height of the the ship must take from A so as to travel
tower. directly to B.
Solutions to exercises
1 (a) 39°2741 (b) 101°529 (c) 1°013 6 (a) 18.33 km (b) 252°5712
2 (a) 21.5294° (b) 19.8214° (c) 1.0169° 7 Minimum height is 9.25 m, maximum height
is 9.87 m.
3 16.40 m
8 (a) 14.64 m (b) 14.62 m
4 21.87 m
9 117°2511
5 18.14 m
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 435
5.1 Introduction
Figure 5.1 y
A force has
magnitude and
direction.
10 N
40°
O x
The length of the line represents the magnitude of the force and the direction of
the line shows the direction of the force.
A single force may be replaced by two forces acting at right angles to each other.
Together these forces are equivalent to the original single force. The process of
replacing a single force by two perpendicular forces is called resolution. The single
force is said to have been resolved into two forces at right angles to one another. The
following example shows how to resolve a force.
Example 5.1
Resolve the force shown in Figure 5.1 into a horizontal and vertical force.
Solution
Figure 5.2 illustrates the resolution of the 10 N force.
Consider the magnitude of the horizontal component. ^OAB contains the relevant
information, with OB representing the horizontal force. Then
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 436
Figure 5.2 y y
A force may be
resolved into two
perpendicular A
C
forces. 10 N
10
40° 40°
O x O B x
OB
cos 40° =
OA
OB
=
10
OB = 10 cos 40°
= 7.66
The horizontal force is 7.66 N.
Similarly the vertical force may be calculated using ^OCA. OC represents the
vertical force. Then
The vertical force is 6.43 N. It is useful to note that the vertical force can also be
found by calculating AB in ^OAB. In this triangle
AB
sin 40° =
OA
AB
=
10
AB = 10 sin 40°
= 6.43
Figure 5.3 y
A force of 17 N
acts at 35° to the
negative x axis. A
17 N
35°
O x
Solution
The horizontal force is represented by OB as shown in Figure 5.4.
Figure 5.4 A
The horizontal
force is represented
17
by OB; the vertical
force is represented
by BA. 35°
B O
From ^OBA
OB
cos 35° =
OA
OB
=
17
OB = 17 cos 35° = 13.93
AB AB
sin 35° = =
OA 17
The 17 N force is equivalent to 13.93 N acting in the negative x direction and 9.75 N
acting in the y direction.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 438
θ
x
Figure 5.5
Exercises
1 A 23 N force acts at 71° to the horizontal axis. 3 A 12 N force acts at 43° to the vertical.
Resolve the force into forces acting Resolve the force into horizontal and vertical
horizontally and vertically. forces.
Solutions to exercises
Figure 5.6 illustrates a plane inclined at angle u to the horizontal. Resting on the
plane at O is a body of mass m kg. The body experiences a vertical force mg N due
to its weight, as illustrated. Here, g is a constant called the acceleration due to grav-
ity. It is often required to resolve this force into forces that are parallel and perpen-
dicular to the plane.
Figure 5.7 shows the force resolved into forces OA down the plane, and OB per-
pendicular to the plane. Note that ∠AOC has been labelled a and a = 90° - u.
Side OC is the hypotenuse of the right-angled triangle OAC. Furthermore,
sin a = cos u and cos a = sin u
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 439
In ^AOC
OA
cos a =
OC
so
OA = OC cos a
= OC sin u
Also
AC
sin a =
OC
so
AC = OC sin a
= OC cos u
OB = AC = OC cos u
OA = OC sin u
= mg sin u
OB = OC cos u
= mg cos u
Note the limiting case. If u = 0° then the plane is horizontal and intuitively there is
no component parallel to the plane. Evaluating the component parallel to the plane,
mg sin u with u = 0° agrees with the intuitive result.
Key point For a vertical force mg N and a plane inclined at u° to the horizontal:
• Component parallel to plane = mg sin u
• Component perpendicular to plane = mg cos u
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 440
Example 5.3
A body of mass 6 kg rests on a plane inclined at 15° to the horizontal. Find the com-
ponent of the weight (a) perpendicular to the plane, (b) parallel to the plane.
Solution
Here m = 6 and u = 15°.
(a) The force perpendicular to the plane is
mg cos u = 6g cos 15°
= 5.7956g N
(b) The force parallel to the plane is
mg sin u = 6g sin 15°
= 1.5529g N
Exercises
Solutions to exercises
In Section 5.2 we saw how a single force can be resolved: that is, expressed as
two forces acting at right angles to one another. We now examine a related
problem, that of replacing two or more forces acting at a point by a single
equivalent force. A single force that is equivalent to two or more forces is called
the resultant.
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 441
Figure 5.8 2N 6N 4N
The resultant is O x O x
4 N acting in the
x direction.
a = tan-1 110
7 2 = 55.0°
Figure 5.9 y
R is the resultant
of the 10 N force A
7N
and the 7 N force. O α x
10 N
R
C
B
Figure 5.10 y
Three forces acting
at the origin.
9N
12 N
10° 60°
O x
40°
15 N
Solution
Each force is resolved into forces in the x and y directions.
The 9 N force is resolved into N acting in the x direction
and N acting in the y direction. 9 cos 60°, 9 sin 60°
The 12 N force is resolved into N in the negative x
direction and N in the y direction. 12 cos 10°, 12 sin 10°
The 15 N force is resolved into N in the x direction and
N in the negative y direction. 15 sin 40°, 15 cos 40°
The net total force acting in the x direction is then
9 cos 60° - 12 cos 10° + 15 sin 40° = 2.3241 N
The net total force acting in the y direction is
9 sin 60° + 12 sin 10° - 15 cos 40° = -1.6127 N
The resultant, R, may now be found. Figure 5.11 illustrates the situation.
From Figure 5.11
1.6127
tan u =
2.3241
u = 34.76°
The magnitude of the resultant is found using Pythagoras’s theorem.
R2 = (2.3241)2 + (1.6127)2
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 443
R = 2.83
The resultant is 2.83 N acting at 34.76° below the x axis.
Figure 5.12 y
The resultant of
several forces may
be found.
15 N
408 O
508 x
608
12 N
11 N
Solution
Each force is resolved into forces along the x and y axes.
The 12 N force is resolved into N in the x direction and
N in the negative y direction. 12 sin 60°, 12 cos 60°
The 11 N force is resolved into N in the negative x direction
and N in the negative y direction. 11 cos 50°, 11 sin 50°
The 15 N force is resolved into N in the negative x
direction and N in the y direction. 15 cos 40°, 15 sin 40°
The net total force in the x direction is -8.1690
The net total force in the y direction is -4.7847
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 444
Figure 5.13 y
The resultant force
is R.
8.1690 N
θ x
4.7847 N
R
R = 9.47
and
4.7847
tan u =
8.1690
u = 30.36°
The resultant is a force of 9.47 N acting at 30.36° below the negative x axis.
Exercises
Figure 5.14 y y
30 N
12 N
43° 38°
x 50° 25° x
40° 27 N
14 N 25 N
(a) (b)
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 445
Solutions to exercises
1 (a) 17.96 N acting at 8.13° below the positive (b) 19.45 N acting at 38.43° below the negative
x axis. x axis.
1 Resolve the forces shown in Figure 5.15 into 2 Find the resultant of the forces shown in
forces along the x and y axes. Figure 5.16.
y
y
12 N 17 N
35°
40°
O x O x
(a)
y 20° 15 N
7N 40°
Figure 5.16
O x
(b)
y
O 3 Find the resultant of the forces shown in
x
Figure 5.17.
11 N 37°
y
(c)
9N 9N
40°
y
O 30°
x O x
47 50°
12 N 12 N
(d)
Figure 5.15 Figure 5.17
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 446
4 Find the resultant of the forces shown in 6 The forces in Figure 5.20 are in equilibrium.
Figure 5.18. Find R and u.
y y
17 N
10 N 30° 10 N
12 N
10 N 30° 6N
40°
O θ x
Figure 5.19
Solutions to exercises
1 (a) 6.88 N in the x direction; 9.83 N in the y (d) 8.78 N in the x direction; 8.18 N in the
direction negative y direction
(b) 4.50 N in the negative x direction; 5.36 N
in the y direction 2 8.50 N, directed at 21.87° below the negative x
(c) 6.62 N in the negative x direction; 8.78 in axis.
the negative y direction
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 447
19 Z = 46°, YZ = 30 m and XY = 25 m.
40° 35°
20 XY = 71 cm, Y = 110° and Z = 21°. O
25 Calculate the resultant of the forces shown in (a) the distance of the ship from its starting
Figure C10.2. point
(b) the bearing the ship must take to return to
its starting position.
10 N
40°
20° O
9N
5N 10 N
3 N 20° 12 N
20°
20° 37°
O θ
R
Figure C10.2
Solutions to exercises
1 17.49 cm 4 32.74°
2 0.6999 5 9 cm
3 0.5547 6 60°
M10_CROF5939_04_SE_C10.QXD 9/21/18 12:31 PM Page 449
12 12.29 N horizontally, 8.60 N vertically 24 11.56 N acting at 37.54° above positive x axis.
Chapter 11
Complex numbers
Chapter 11 contents
Block 6 Phasors
1.1 Introduction
In this block we explain how the set of real numbers is extended to enable us to find
solutions of a greater range of equations. This leads to a study of complex numbers,
which are useful in a variety of applications, especially alternating current circuit
analysis. Complex numbers may seem rather strange at first because you will be
dealing with imaginary rather than real quantities. Nevertheless they are so useful in
applications that an understanding of them is essential.
If a real number is squared the answer cannot be negative. For example, squaring
both 7 and -7, the result is positive. That is,
72 = 49 and (-7)2 = 49
It is impossible to obtain a negative result by squaring a real number.
Suppose we introduce a new sort of number, called j, with the property that
j2 = -1. The number j cannot be a real number because its square is negative. We
say it is imaginary. Having defined j2 as -1 it follows that j = 2 -1 and we can
use this to write down the square root of any negative number.
Example 1.1
Write down expressions for the square roots of (a) 9, (b) -9.
Solution
(a) 29 = ;3
(b) Noting that -9 = 9 * -1 we can write
2 -9 = 29 * -1
= 29 * 2 -1
= ;3 * 2 -1
Solution
(a) 2100 = ;10
(b) Write -100 = 100 * -1 so that
2 -100 = 2100 * (-1)
= ;10j
(c) 2 -v2 = 2 -1 * v2
= ;jv
Example 1.3
Using the fact that j2 = -1 simplify (a) j3, (b) j4.
Solution
(a) j3 = j2 * j. But j2 = -1 and so j3 = -1 * j = -j.
(b) j4 = j2 * j2 = (-1) * (-1) = 1.
Example 1.4
Use the formula for solving a quadratic equation to solve 2x2 + x + 1 = 0.
Solution
-b ; 2b2 - 4ac
We use the formula x = . With a = 2, b = 1 and c = 1 we find
2a
-1 ; 212 - (4)(2)(1)
x =
2(2)
-1 ; 2 -7
=
4
-1 ; 27j
=
4
1 27
= - ; j
4 4
Example 1.5
Use the formula for solving a quadratic equation to solve x2 - 10x + 29 = 0.
Solution
-b ; 2b2 - 4ac
Using the formula x = we find
2a
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:26 PM Page 454
10 ; 2 -16
x =
2
Now using j we can find the square root of -16 and write down two solutions of the
equation. Finally, simplifying the answers gives
x = and 5 + 2j and 5 - 2j
Exercises
Solutions to exercises
Example 1.6
State the real and imaginary parts of -11 - 19j.
Solution
The real part is -11
Complex conjugate
In Example 1.5 we solved the quadratic equation x2 - 10x + 29 = 0 and saw that
the second solution, 5 - 2j, is almost the same as the first, 5 + 2j; only the sign of
the imaginary part has changed. The number 5 - 2j is said to be the complex
conjugate of 5 + 2j.
In general, to find the complex conjugate of a complex number the sign of the
imaginary part is changed from + to - , or vice versa. We denote the complex
conjugate of z by z.
When solving quadratic equations with real coefficients any complex roots occur in
complex conjugate pairs just as we saw in Example 1.5.
Example 1.7
A complex number z1 is given by z1 = a1 + b1j.
(a) State the real and imaginary parts of z1.
(b) Write down the complex conjugate of z1.
Solution
(a) The real part of z1 is a1. The imaginary part is b1.
(b) The complex conjugate of z1 is found by changing the sign of the imaginary
part. Thus z1 = a1 - b1j.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 456
Example 1.8
Write down the complex conjugates of each of the following complex numbers:
(a) z1 = 11 + 2j, (b) z2 = 7 - 3j, (c) z3 = 8, (d) z4 = -9j.
Solution
In each case the sign of the imaginary part is changed. In part (c) there is no imagin-
ary part to alter.
(a) z1 = 11 - 2j
(b) z2 = 7 + 3j
(c) z3 = 8
(d) z4 = 9j
Exercises
Solutions to exercises
1 z is the complex conjugate of z. That is, 3 (a) 3 - 13j (b) 3 + 13j (c) -17j
z = a - bj. (d) 18.5 (e) 3.36 - 2.24j
2 (a) real part 3, imaginary part 7 4 Real part 0, imaginary part V sin (vt + f).
(b) a1, b1 (c) 0, -0.35 (d) cos u, sin u
(e) cos vt, sin vt
Given two complex numbers we can find their sum and difference in an obvious way.
Example 1.9
If z1 = 3 + 11j and z2 = 18 - 21j find (a) z1 + z2, (b) z2 - z1.
Solution
(a) z1 + z2 = (3 + 11j) + (18 - 21j)
= 21 - 10j
(b) z2 - z1 = (18 - 21j) - (3 + 11j)
= 15 - 32j
Example 1.10
If z1 = 3 + 4j and z2 = 8 + 11j, find (a) z1 + z2, (b) z1 - z2.
Solution
(a) To add the complex numbers just add the real parts and then add the imaginary
parts:
z1 + z2 = 11 + 15j
(b) Subtract the real parts, and then subtract the imaginary parts:
z1 - z2 = (3 + 4j) - (8 + 11j)
= -5 - 7j
Exercises
Solutions to exercises
To multiply two complex numbers we use the normal rules of algebra and also the fact
that j2 = -1. If z1 and z2 are the two complex numbers their product is written z1 z2.
Example 1.11
If z1 = 5 - 2j and z2 = 2 + 4j find z1 z2.
Solution
z1z2 = (5 - 2j)(2 + 4j)
= 10 - 4j + 20j - 8j2
Replacing j2 by -1 we obtain
z1z2 = 10 + 16j - 8(-1)
= 18 + 16j
Example 1.12
Find z1 z2 if z1 = 3 - 2j and z2 = 5 + 3j.
Solution
z1z2 = (3 - 2j)(5 + 3j)
= 15 + 9j - 10j - 6j2
Simplify your result to obtain
(3 - 2j)(5 + 3j) = 21 - j
Example 1.13
Find z z if z = a + bj.
Solution
Recall that z is the complex conjugate of z.
z z = (a + bj) (a - bj)
= a2 + baj - abj - b2j2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 459
= a2 - b2(-1)
= a2 + b2
Note that the result is purely real: multiplying a complex number by its conjugate
results in a non-negative real answer. For example, taking a = 4 and b = 3, we see
that (4 + 3j)(4 - 3j) = 42 + 32 = 25.
Exercises
Solutions to exercises
Division of complex numbers requires a special technique that uses the complex
conjugate. Consider the following example.
Example 1.14
z1
Find when z1 = 3 + 2j and z2 = 4 - 3j.
z2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 460
Solution
We require
z1 3 + 2j
=
z2 4 - 3j
The special technique is to multiply both numerator and denominator by the com-
plex conjugate of the denominator. Overall, this is equivalent to multiplying by 1 and
so the fraction remains unaltered. However, it has the effect of making the denomi-
nator purely real as we saw in Example 1.13.
3 + 2j 3 + 2j 4 + 3j
= *
4 - 3j 4 - 3j 4 + 3j
(3 + 2j)(4 + 3j)
=
(4 - 3j)(4 + 3j)
12 + 8j + 9j + 6j2
=
16 + 12j - 12j - 9j2
6 + 17j
=
25
6 17
= + j
25 25
Example 1.15
z1
If z1 = 2 + 9j and z2 = 5 - 2j find .
z2
Solution
Both numerator and denominator are multiplied by the complex conjugate of the
denominator.
So
2 + 9j 2 + 9j 5 + 2j
= *
5 - 2j 5 - 2j 5 + 2j
10 + 45j + 4j + 18j2
=
25 + 4
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 461
The computing packages Maple and Matlab have the facility to perform calculations
with complex numbers. For full details you should refer to the on-line help.
Example 1.16 4j
7
Use software to simplify the following complex number: + .
3 - 2j 2 + 5j
Solution
Maple
In Maple the imaginary number j is entered as I. The expression is entered and Maple
will perform the calculation and simplify the result.
> 7/(3-2*I) + 4*I/(2+5*I);
resulting in
869 510
+ I
377 377
The evalf command presents the results in decimal form:
> evalf(7/(3-2*I) + 4*I/(2+5*I));
2.3050 + 1.3528I
Matlab
When using Matlab the imaginary number j is entered as either i or j. As with Maple, the
expression is entered and the calculation and simplification will be performed automatically.
2.3050 + 1.3528i
Example 1.17
Use software to solve the polynomial equation s3 + 2s2 + 0.2s + 0.0556 = 0 and
0.5
hence deduce the poles of the rational function G1s2 = 3 2
.
s + 2s + 0.2s + 0.0556
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 462
Solution
Maple
In Maple, the command solve will find the roots of a polynomial equation:
solve(s^3+2*s^2+0.2*s+0.0556=0);
producing
- 0.0447 + 0.1646I, -1.9106, -0.0447 - 0.1646I
Observe that there is a single real root. The two complex roots appear as a complex
conjugate pair which is a consequence of the coefficients of the polynomial being real
numbers. The poles of a rational function are those values which make the denomina-
tor zero. We deduce that there are poles when s = -0.0447 + 0.1646I, -1.9106 and
-0.0447 - 0.1646I.
Matlab
The Matlab function roots can be used to solve a polynomial equation. The coefficients
of the polynomial are entered as an array:
ans =
-1.9106 + 0.0000i
-0.0447 + 0.1646i
-0.0447 - 0.1646i
Exercises
3 + 2j 1
1 If z1 = 1 + j and z2 = 3 + 2j find 4 If z = express both (a) and
z1 z2 z1 z2 2 - j z
(a) (b) (c) (d) 1
z2 z1 z1 z2 (b) z + in the form x + jy.
z
7 - 6j 3 + 9j
2 Find (a) , (b) . 1
2j 1 - 2j 5 Express in the form a + bj.
cos u - j sin u
3 Express the following in the form x + jy:
1 2 3 1 2
(a) (b) (c) (d) (e)
j j -j 1 + j 1 - j
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 463
Solutions to exercises
5 j 5 j 5 12 4 7 72 56
1 (a) + (b) - (c) j (d) + j 4 (a) - j (b) + j
13 13 2 2 13 13 13 13 65 65
7 5 cos u + j sin u
2 (a) -3 - j (b) -3 + 3j
2
1 j
3 (a) -j (b) -2j (c) 3j (d) - (e) 1 + 1j
2 2
1 Write down an expression for (a) 21, 7 Express the following in the form x + jy:
(b) 2 -1, (c) 249, (d) 2 -49. 5 2 + j 3
(a) (b) (c)
-j j 4 - j
2 Find 2 -9.24. j 2j
(d) (e)
1 + j 1 - j
3 Solve the equations
8 Write down the complex conjugate of
(a) x2 + x + 1 = 0, (b) 7s2 + s + 1 = 0. (a) a + jb (b) cos u + j sin u
(c) cos u - j sin u (d) cos vt - j sin vt
4 Write down the complex conjugate of
(a) 15 + 3j (b) -3j + 2 9 Express in the form x + jy
1 1 23 (a) (3 + 2j)j(4 - 3j)
(c) j + 3 (d) + j (b) (5 + 3j)(2 + j)(2 - j)
2 2 2
(2 - 3j)(6 + 7j)
5 Find (c)
3 + 2j 5 + 4j j(1 - j)
(a) , (b) .
5 + 4j 3 + 2j 10 Find a quadratic equation whose roots are
x = -3 + j and x = -3 - j.
6 Find z1 z2
(a) z1 z2, (b) , (c) , if z1 = 3 + 5j
z2 z1 11 Find a cubic equation with roots x = 1,
and z2 = 3 - 5j. x = 1 - j and x = 1 + j.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 464
Solutions to exercises
12 3 1 1
1 (a) ;1 (b) ;j (c) ;7 (d) ;7j 7 (a) 5j (b) 1 - 2j (c) + j (d) + j
17 17 2 2
2 ;3.04j (e) -1 + j
4 (a) 15 - 3j (b) 3j + 2 29 37
9 (a) 1 + 18j (b) 25 + 15j (c) - j
2 2
1 1 23
(c) - j + 3 (d) - j
2 2 2 10 x2 + 6x + 10 = 0, for example
23 2 23 2
5 (a) - j (b) + j 11 x3 - 3x2 + 4x - 2 = 0, for example
41 41 13 13
8 15 8 15
6 (a) 34 (b) - + j (c) - - j
17 17 17 17
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 465
2.1 Introduction
O a Real axis
Example 2.1
Plot the complex numbers z1 = 2 + 3j, z2 = -3 + 2j, z3 = -3 - 2j, z4 = 2 - 5j,
z5 = 6, z6 = j on an Argand diagram.
Solution
Figure 2.2 shows the Argand diagram. Note that purely real numbers lie on the real
axis. Purely imaginary numbers lie on the imaginary axis. Note also that complex
conjugate pairs such as -3 ; 2j lie symmetrically on opposite sides of the real axis.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 466
11 466 Block 2 The Argand diagram and polar form of a complex number
Figure 2.2
Argand diagram 5
for Example 2.1.
4
3 2 3j
3 2j 2
1 j
6
5 4 3 2 1 O 1 2 3 4 5 6
1
3 2j 2
3
4
5 2 5j
Exercises
1 Plot the following numbers on an Argand 2 Simplify the following complex numbers and
diagram: show them on an Argand diagram:
(a) 3 + 3j (b) 2 - 4j (c) -0.5 (d) 6j (a) j2 (b) -j2 (c) (-j)2 (d) j3 (e) j4
(e) -j (f) -5 - 11j
Solutions to exercises
Imaginary Imaginary
axis 6j axis
3 3j
j2 (j)2 1 j2 j4 1
0.5
j Real axis 1 1 Real axis
j
2 4j
j j
3
Figure 2.3
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 467
Modulus
Consider the Argand diagram in Figure 2.5, which shows the complex number
z = a + bj. The distance of the point (a, b) from the origin is known as the
modulus, or magnitude, of the complex number and is given the symbol r. Alterna-
tively r is written as |z|.The plural of modulus is moduli. The modulus can be found
using Pythagoras’s theorem, that is ƒ z ƒ = r = 2a2 + b2. The modulus is never
negative.
|z| r
O a Real axis
Example 2.2
Plot the following complex numbers on an Argand diagram and find their moduli:
(a) z1 = 3 + 4j (b) z2 = -2 + j (c) z3 = 3j
Solution
The complex numbers are shown in Figure 2.6.
In each case we can use Pythagoras’s theorem to find the modulus.
(a) ƒ z1 ƒ = 232 + 42 = 225 = 5.
11 468 Block 2 The Argand diagram and polar form of a complex number
Figure 2.6
4 z1 3 4j
z3 3j
3
z2 2 j 1
2 1 O 1 2 3
Example 2.3
Find the modulus of each of the following complex numbers:
(a) z = 5 + 12j (b) z = - 6 - 8j
Solution
(a) ƒ z ƒ = ƒ 5 + 12j ƒ = 252 + 122 = 13
Figure 2.7
ƒ z1 - z2 ƒ is the
distance between z1 5 a1 1 b1 j
z1 and z2. b1
b1 2 b2
z2 5 a 2 1 b 2 j
b2
a1 2 a 2
a2 a1
Argument
Consider Figure 2.8. Given a complex number z = a + bj we can calculate the
angle between the positive x axis and a line joining (a, b) to the origin. This angle is
called the argument of the complex number. It is abbreviated to arg(z) and often
given the symbol u.
Figure 2.8
The argument of a
complex number.
z a bj
b
θ
O a
Figure 2.9
Some complex
numbers with z1j
1
positive and
negative
arguments. π π
4
z 1 O 1
π3
1
z 1 3j
2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 470
11 470 Block 2 The Argand diagram and polar form of a complex number
Because the angles in Figure 2.9 can be described in a variety of ways, the argu-
ment of a complex number is not unique. For example, the argument of z = 1 + j
has been labelled p4 . This is the principal value of the argument. However, it is impor-
tant to note that we could have also stated the argument as p4 + 2p = 9p 4 . Repeatedly
adding on 2p will produce other valid arguments. This will become important in
Block 5 when we use complex numbers to solve equations.
Given z = a + bj, then trigonometry can be used to determine u. Specifically,
referring to Figure 2.8,
b
tan u =
a
so that
u = tan-1 a b
b
a
but when using a calculator to find an inverse tangent care must be taken that the
solution obtained is in the correct quadrant. Drawing an Argand diagram will always
help to identify the correct quadrant. At this stage you may find it helpful to refer
back to Chapter 9 on trigonometry, and ensure that you are aware of the sign of the
trigonometrical ratios in the four quadrants.
Key point The argument of the complex number z = a + bj is the angle between the positive
x axis and the line joining (a, b) to the origin.
Polar form
The position of a complex number is uniquely determined by giving its modulus and
argument. This description is known as the polar form. Engineers often write the
polar form of a complex number as z = r∠u.
Example 2.4
Find the arguments of the complex numbers in Example 2.2 and pictured in
Figure 2.6.
Solution
(a) z1 = 3 + 4j is in the first quadrant. Its argument is given by
4
u = tan-1
3
Using a calculator we find u = 0.927 radians.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 471
Figure 2.10
To calculate u it is
simpler to 2 j
1
calculate a first.
1 θ
α
2 1 O 1
tan α 1
2
Example 2.5
Sketch an Argand diagram showing the following complex numbers and in each case
calculate the argument.
(a) z = 5 + 12j (b) z = - 23 + j (c) z = 2 - 3j
Solution
(a) Sketch z = 5 + 12j and identify the quadrant in which it lies:
z 5 12 j
12
first
θ
O 5
z 3j
1
θ
α second
3 O
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 472
11 472 Block 2 The Argand diagram and polar form of a complex number
Then arg z = u =
tan-1 a - b =
1 5p
= 2.618 radians
23 6
If you have difficulty calculating the correct angle it is often simpler to calculate
1
first the related acute angle. So, in the diagram above, a is acute and tan a =
23
p 5p
from which a = 6 = 0.524 radians. It follows that u = p - a = 6 = 2.618
radians.
(c) Sketch z = 2 - 3j and identify the quadrant in which it lies:
O θ 2
fourth
3 z 2 3j
Then arg(z) = u =
Ensure you have located the angle in the correct quadrant. If you have difficulty
calculating the correct angle use the method described in part (b).
Most scientific calculators are able to convert complex numbers given in cartesian
form into polar form and vice versa. You should check your calculator to see whether
you can carry out these conversions.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 473
Exercises
Solutions to exercises
4 17 1
5 110° π
30° 45° 3
4
270° π
4
2
2 135° 2.3
4
(c) (d) (g) (h)
Figure 2.11
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 474
11 474 Block 2 The Argand diagram and polar form of a complex number
3 (b) Yes, multiplying a number by j has the effect of rotating it anticlockwise by 90°.
Figure 2.12
(a, b)
b
r
b
θ
O a
a
Key point If z = r ∠u, the real and imaginary parts of z are, respectively,
a = r cos u and b = r sin u
Key point z = a + bj
= r ∠u
= r (cos u + j sin u)
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 475
Figure 2.13
The complex
conjugate of
a + bj.
O θ a
r
z a bj
b (a, b)
Note that z has the same real part as z but the sign of the imaginary part has
changed. It follows that we can write z = a - bj = r (cos u - j sin u).
Key point z = a - bj
= r (cos u - j sin u)
Example 2.6
State the modulus and argument of z = 17(cos 3.2 + j sin 3.2).
Solution
Comparing the given complex number with the standard form r(cos u + j sin u) we
see that r = 17 and u = 3.2 radians.
Example 2.7
(a) Find the modulus and argument of the complex number z = 5j.
(b) Express 5j in the form r(cos u + j sin u).
Solution
(a) On an Argand diagram the complex number 5j lies on the positive vertical axis
a distance 5 from the origin. Thus 5j is a complex number with modulus 5 and
argument p2 .
(b) z = 5j
= 5 acos + j sin b
p p
2 2
Example 2.8
(a) Show the complex number z = 4∠1 3 2 on an Argand diagram.
p
11 476 Block 2 The Argand diagram and polar form of a complex number
Solution
(a) The complex number z = 4 ∠1 3 2 is shown in Figure 2.14.
p
Figure 2.14
The complex 3
number
z = 4 ∠1p3 2.
2
4 b
1
π
3
O 1 2 3
a
p
(b) Its modulus is 4 and its argument is 3 .
(c) To find the real and imaginary parts we can use
a = r cos u, b = r sin u
so that
p
a = 4 cos
3
= 2
and
p
b = 4 sin
3
= 3.464
Hence the complex number can be written 2 + 3.464j.
Example 2.9
p
Find the real and imaginary parts of z = 3∠(15 ).
Solution
Writing z = a + bj, the real part is found from a = r cos u and the imaginary part
from b = r sin u. Thus
3 cos a b = 2.934
p
a =
15
3 sin a b = 0.624
p
b =
15
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 477
Exercises
1 State the modulus and argument of z when 3 Express the following complex numbers in the
form a + bj:
(a) z = 13 acos + j sin b ,
p p
3 3 (a) 4∠40° (b) 5 ∠1.9302 (c) 4∠130°
(d) 3 ∠0.7513
(b) z = 15 acos - j sin b .
p p
3 3
2 State the modulus and argument of
(a) z = -13, (b) z = -4, (c) z = -2j,
(d) z = 3.
Solutions to exercises
p p
1 (a) 13, (b) 15, - 3 (a) 3.0642 + 2.5712j (b) -1.7586 + 4.6805j
3 3
(c) -2.5712 + 3.0642j (d) 2.1924 + 2.0478j
2 (a) modulus 13, argument -p (b) 4, -p
p
(c) 2, - (d) 3, 0
2
We can multiply and divide complex numbers in polar form. The following develop-
ment shows how two simple formulae are derived which make multiplication and
division particularly easy when numbers are in polar form. The development uses
some of the trigonometrical identities from Chapter 9, specifically the expansions of
sin1A ; B2 and cos1A ; B2, together with sin2A + cos2A = 1.
Consider two complex numbers, z1 and z2. Let
z1 = r1 ∠u1 = r11cos u1 + j sin u12
z2 = r2 ∠u2 = r21cos u2 + j sin u22
We now multiply these two numbers.
z1z2 = r1 ∠u1r2 ∠u2
= r11cos u1 + j sin u12r21cos u2 + j sin u22
= r1r23cos u1 cos u2 + j sin u2 cosu1 + j sin u1 cosu2 + j2 sin u1 sin u24
Using j2 = -1 we have
z1z2 = r1r231cos u1 cos u2 - sin u1 sin u22 + j1sin u1 cos u2 + sin u2 cos u124
= r1r23cos1u1 + u22 + j sin1u1 + u224 using the identities on page 372
= r1r2 ∠1u1 + u22
So when multiplying complex numbers we multiply their moduli and add their
arguments.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 478
11 478 Block 2 The Argand diagram and polar form of a complex number
∠1u1 - u22
r1
=
r2
So when dividing complex numbers in polar form we divide their moduli and sub-
tract their arguments.
Example 2.10
If z1 = 5∠1p6 2 and z2 = 4∠1- p4 2 find (a) z1z2, (b) .
z1
z2
Solution
(a) To multiply the two complex numbers we multiply their moduli and add their
arguments. Therefore
z1z2 = 20∠ c + a - bd
p p
6 4
= 20∠ a - b
p
12
(b) To divide the two complex numbers we divide their moduli and subtract their
arguments. Therefore
= ∠ c - a - bd
z1 5 p p
z2 4 6 4
5 5p
= ∠
4 12
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 479
∠ a- - b = ∠ a - b
z2 4 p p 4 5p
=
z1 5 4 6 5 12
Let us consider the important and special case of multiplication and division by the
imaginary number j.
In polar form
p
j = 1∠
2
If z = r∠u, then
jz = a 1∠ b (r∠u)
p
2
= r∠ au + b
p
2
Thus multiplying by j has left the modulus of z unchanged but increased the argu-
ment by p2 . This represents an anticlockwise rotation by p2 on the Argand diagram.
If z = r∠u, then
z r∠u
=
j 1∠ p2
= r∠ au - b
p
2
Thus dividing by j has left the modulus unchanged but reduced the argument by p2 .
This represents a clockwise rotation by p2 on the Argand diagram.
Key point Multiplying a complex number by j causes an anticlockwise rotation by p2 on the Argand
diagram.
Dividing a complex number by j causes a clockwise rotation by p2 on the Argand
diagram.
z = 5∠ , then z2 = 25∠ a b
p 2p
3 3
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 480
11 480 Block 2 The Argand diagram and polar form of a complex number
Exercises
1 If z1 = 5∠20°, z2 = 3∠35° find (a) z1z2, 5 Consider the complex number z = r∠u. By
z1 z2 multiplying this by 1∠a show that the result is
(b) , (c) .
z2 z1 a rotation of z through an angle a about the
origin.
2 If z = 3 - j find z4 expressing your answer in
polar form. 6 Simplify
2p 2 p 2
3 If z = 1 + j find z10. a4∠ a b b a 3∠ a b b
3 6
4 If z = -1 - j13 find z5. p
5∠
4
Solutions to exercises
5 3 2p
1 (a) 15 ∠55° (b) ∠ -15° (c) ∠15° 4 25 ∠ = -16 + 16 23j
3 5 3
2 100∠ -73.72° 144 17p
6 ∠
5p p 5 12
3 25 ∠ = 25 ∠
2 2
A locus is the path traced out by a moving point. Consider the complex number
z = x + 3j, where x can vary. Note that the imaginary part of the complex number
is fixed with a value of 3. If we plot z on an Argand diagram, for various values of
x, we see that the plotted points lie on a straight line parallel to the x axis as shown
in Figure 2.15. As x increases from - q to q the point represented by z = x + 3j
traces out this line from left to right.
M11_CROF5939_04_SE_C11.QXD 9/28/18 7:31 AM Page 481
When z is expressed in polar form, z = r(cos u + j sin u), we can trace out a
locus as either r or u varies. Consider the following examples.
Example 2.12
Given z = 3(cos u + j sin u) draw the locus of z as u varies from
(a) -p to p
(b) 0 to p
(c) 0 to -p/2.
Solution
Consider z = 3(cos u + j sin u) from which we see that the modulus of z is fixed
at 3. Recall that the modulus is the distance of z from the origin. Therefore, as the
argument, u, varies, an arc of a circle radius 3 is traced out.
(a) As u varies from -p to p a circle, radius 3, is traced out as shown in Figure
2.16. Note that the circle is traversed in an anticlockwise direction as u varies
from -p to p.
Figure 2.16
Locus of
y
z = 3(cos u + j sin u)
as u varies from - p
to p.
–3 3 x
11 482 Block 2 The Argand diagram and polar form of a complex number
Figure 2.17
Locus of
y
z = 3(cos u + j sin u)
as u varies from 0 to p.
B A
–3 3 x
Figure 2.18
Locus of
y
z = 3(cos u + j sin u)
as u varies from 0 to
- p2 .
A
3 x
–3 C
Example 2.13
Draw the locus of z = r1cos30° + j sin30°2 for 0 … r … 2.
Solution
In this example the argument is fixed at 30º and the modulus varies from 0 to 2. The
locus is shown in Figure 2.19.
Figure 2.19
Locus of
y
z = r1cos30° + j sin30°2
for 0 … r … 2.
D
2
o
30
O x
Solution
Recall that if z1 and z2 are complex numbers with arguments u1 and u2 then
Exercises
11 484 Block 2 The Argand diagram and polar form of a complex number
Solutions
1 (a) Straight line, parallel to y axis, passing (d) Straight line inclined at 70º to real axis.
through x = 4. Line goes from y = - 2 to Line starts at distance 1 from origin and
y = 3. ends at distance 3 from origin.
(b) Straight line through origin at 45º to real
2 (b) Circle centre (2, 3), radius 2.
axis. Length of line is 22.
(c) Arc of circle, centre origin, radius 0.5. Arc 3 Locus is y = - x. Note that the locus is the
begins when u = p/4 and ends when perpendicular bisector of the line joining (1, 0)
u = p/2. and 10, -12.
4 y = x - 1.
Figure 2.20
Typical cross- y
section of an
aerofoil.
x
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:27 PM Page 485
x - jh
= x + jh +
x2 + h2
= ax + b + j ah - b
x h
2 2
x + h x + h2
2
So for any values x and h we can calculate the corresponding values of x and y. As
a special case, suppose the locus of j is the circumference of a unit circle centre the
origin (see Figure 2.21). Then x2 + h2 = 1. Using polar coordinates we may write
x = cos u, h = sin u -180° … u 6 180°
As the value of u varies from -180° to 180° then j traces out the circumference of
the unit circle in the x–h plane.
M11_CROF5939_04_SE_C11.QXD 11/15/18 3:41 PM Page 486
11 486 Block 2 The Argand diagram and polar form of a complex number
Figure 2.21
The Joukowski η y
transformation of a
unit circle, centre
the origin, is a 1
straight line
segment on the
real axis. θ
O 1 χ –2 O 2 x
For each point on the circle, values of x and h can be determined, and the corre-
sponding values of x and y calculated. The points (x, h) lie on the given circle and so
we can introduce polar coordinates:
1 3
x = - + r cos u, h = + r sin u
2 4
325
where r is the radius of the circle, given as , and u varies from -180° to 180°.
4
Thus x and y can be expressed in terms of u and their values calculated as u varies. A
computer/spreadsheet calculation can be performed to do this. The result is shown in
Figure 2.23. It is known as a Joukowski aerofoil.
M11_CROF5939_04_SE_C11.QXD 11/15/18 3:41 PM Page 488
11 488 Block 2 The Argand diagram and polar form of a complex number
Figure 2.23 η y
Joukowski aerofoil
formed by transforming
1 3
a circle centre - + j
2 4
3
325
and radius . 4
4
2
1 O χ O x
2
So when trying to model the flow of air around a wing, whose cross-section is that
of a Joukowski aerofoil, it is easier to model the flow of air around a circle, and then
transform this from the x–h plane to the x–y plane.
1 Plot each of the following complex numbers 6 Find the real and imaginary parts of each of
on an Argand diagram: the following complex numbers:
(a) 3 - 3j (b) -4 - 7j (c) -5 (d) 4j
(a) 2 ∠70° (b) 4∠p (c) 8∠ a - b
p
2 If z = 3 + 8j find |z| and arg(z). 2
(d) 2 ∠2.306
3 If z = -3 - 6j find |z| and arg(z). 7 Simplify
p 4 p 2
4 Suppose z1 = 3 + 2j and z2 = 4 + 5j. a3∠ a b b a 5∠ a b b
(a) Find |z1||z2| and |z1z2|. Deduce that these 2 6
p 3
a 2∠ b
are equal.
ƒ z1 ƒ 4
(b) Find ` ` and
z1
. Deduce that these are
z2 ƒ z2 ƒ 8 Find (a) arg 5, (b) arg - 5, (c) arg(1 + j).
equal.
Solutions to exercises
3.1 Introduction
In addition to the cartesian and polar forms of a complex number there is a third form
in which a complex number may be written – the exponential form. In this block we
explain the exponential form.
To derive the exponential form we shall need to refer to the power series expansions
of cos x, sin x and ex. Provided x is measured in radians, the functions cos x and sin x
can be expressed in the following forms, known as power series:
x2 x4
cos x = 1 - + -Á
2! 4!
x3 x5
sin x = x - + -Á
3! 5!
Example 3.1
Write down the power series expansions for cos u and sin u.
Solution
Simply replace x with u in the given expansions:
u2 u4 Á
cos u = 1 - + -
2! 4!
u3 u5 Á
sin u = u - + -
3! 5!
We shall also make use of the power series expansion for ex. The exponential func-
tion has a power series expansion given by
x2 x3 x4 x5
ex = 1 + x + + + + +Á
2! 3! 4! 5!
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 491
3.2 Some useful power series expansions and Euler’s relations 491 11
Suppose we allow x to be an imaginary number in the expansion of ex and write
x = ju. We find
j2u2 j3u3 j4u4 j5u5
eju = 1 + ju + + + + + Á
2! 3! 4! 5!
u2 u3 u4 u5
= 1 + ju - -j + + j - Á
2! 3! 4! 5!
since j2 = -1, j3 = -j, etc. If we now rearrange this to separate the real and imagin-
ary parts we can write
u2 u4 u3 u5
eju = 1 - + - Á + jau - + - Áb
2! 4! 3! 5!
The two power series on the right we recognise, from Example 3.1, as cos u and
sin u, so that we have the following important result, known as Euler’s relation:
eju = cos u + j sin u
It is straightforward, and left as an exercise, to show that
e-ju = cos u - j sin u
Example 3.2
Use Euler’s relations to express cos u and sin u in terms of eju and e-ju.
Solution
Writing down Euler’s relations we have
eju = cos u + j sin u
e-ju = cos u - j sin u
First adding, and then subtracting, these two identities gives
eju + e-ju
cos u =
2
eju - e-ju
sin u =
2j
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 492
Exercises
Solutions to exercises
ejvt + e-jvt
2
2
Using the polar form, recall that a complex number with modulus r and argument u
may be written as
z = r (cos u + j sin u)
It follows immediately from Euler’s relations that we can also write this complex
number in exponential form as z = reju. Further, since the complex conjugate of
cos u + j sin u is cos u - j sin u, the conjugate may be written z = re-ju.
When using this form you should ensure that all angles are measured in radians and
not degrees.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 493
Example 3.4
Express the number z = 3 + 3j in exponential form.
Solution
To express a number in exponential form we must first find its modulus and argu-
ment. The modulus of 3 + 3j is 232 + 32 = 118 or 312. The complex number
lies in the first quadrant of the Argand diagram and so its argument u is given by
u = tan-11332 = p4 . Thus
z = 3 + 3j
= 118 e jp>4
Example 3.5
Find the real and imaginary parts of z = ejvt where v and t are real numbers.
Solution
Using the first of Euler’s relations we can write
e jvt = cos vt + j sin vt
Write down the real and imaginary parts:
cos vt, sin vt
Now because s and t are real, so too is est. Thus the real part of z is est cos vt
and the imaginary part of z is est sin vt.
(b) Recall that the modulus of reju is r. Hence the modulus of z = estejvt is est, that is
|z| = est
If s 7 0 then est increases as time, t, increases and the system is said to be
unstable. If s 6 0, then est decreases with t and the system is said to be stable.
Exercises
1 State the modulus and argument of each of the 5 Show that ƒ e-ju ƒ = 1.
following complex numbers:
(a) 4e0.2j (b) 3e2pj>3 (c) e2pj (d) 0.35e-0.2j 6 Write down the complex conjugate of eju.
(e) 0.35e-0.2
7 Express z = -1 + 2j in the form reju.
2 Express each of the following in the form reju:
(a) 3∠ a b (b) 12 ∠ a b
p p 8 Show that the real and imaginary parts of e(a + bj)t
3 4 are respectively eat cos bt and eat sin bt.
Solutions to exercises
2 (a) 3ejp>3 (b) 22ejp>4 (c) 3e-jp>4 (d) 5e0 = 5 9 (a) 5epj (b) 210e-0.32j (c) 6511>2e-2.94j
(e) 17ejp>2 (d) 7 .91e-2.18j
1 Show the following complex numbers on an 3 Find the real and imaginary parts of
Argand diagram: (a) ej -1 (b) 4ea + jb (c) e-jp>6 (d) e0.1 (e) je0.1
(a) 5ejp>3 (b) 7e2pj (c) 4epj (d) ejp>4
eju - e-ju
2 Find the real and imaginary parts of the 4 Show that tan u = -ja b.
eju + e-ju
following:
(a) 4ejp>3 (b) 5e-j2p>3 (c) ejp>2 (d) e-jp>2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 495
Solutions to exercises
4 13 5 5 13 4 j5p>12
2 (a) 2, = 3.464 (b) - , - 5 (a) 20ejp>12 (b) e (c) 16
2 2 2 5
(c) 0, 1 (d) 0, -1 (d) 7.158 + 0.328j
3 (a) e-1 cos 1, e-1 sin 1 (b) 4ea cos b, 4ea sin b 6 63e0.69j, 63(cos 0.69 + j sin 0.69)
13 -1 7 a = 13 + 2, b = 1 - 213
(c) , (d) e0.1, 0, (e) 0, e0.1
2 2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 496
De Moivre’s theorem
BLOCK 4
4.1 Introduction
De Moivre’s theorem is one of the most important results in the theory of complex
numbers. It can be used to find powers of complex numbers, and to prove trigono-
metrical identities. In this block we introduce and illustrate the use of the theorem. In
Block 5 we show how the theorem can be used to solve equations. To understand this
block it is essential that you are aware that a complex number can be written in polar
form as z = r(cos u + j sin u) or more compactly as z = r∠u.
We state and use the theorem here. The proof is left as an exercise (see question 4
in the exercises). The theorem involves raising the complex number cos u + j sin u
to the power n.
Solution
Use the theorem with n = 5:
We can use De Moivre’s theorem to obtain powers of a complex number very easily.
Consider the following example.
Example 4.3
If z = r(cos u + j sin u) write down expressions for (a) z2 and (b) z3, and use
De Moivre’s theorem to write your results in an alternative form.
Solution
If we use the abbreviated form r∠u the previous example can be written much more
concisely:
Example 4.4
p
(a) If z = 3∠ write down z5.
4
(b) Express your answer in the form r(cos u + j sin u) and its cartesian form.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 498
Solution
p
(a) If z = 3∠ then z5 =
4
35 ∠ a5 * b = 243∠
p 5p
4 4
b = -171.8 - 171.8j
5p 5p 5p
(b) 243∠ = 243acos + j sin
4 4 4
Example 4.5
Solution
Using De Moivre’s theorem with n = 2 we can write
p 2
z2 = 72 acos + j sin b
p
4 4
b
2p 2p
= 49acos + j sin
4 4
= 49acos + j sin b
p p
2 2
= 49j
p p
since cos = 0 and sin = 1.
2 2
Example 4.6
(a) Express z = 2 + 5j in polar form.
(b) Hence find (2 + 5j)12, leaving your answer in polar form.
Solution
(a) The modulus of 2 + 5j is 222 + 52 = 229. The number lies in the first quad-
rant of an Argand diagram and so its argument u is given by u = tan-1 52 = 1.190.
Thus z = 2 + 5j = 229 ∠1.190.
(b) Using De Moivre’s theorem we have
Solution
With n = -1 we have
z-1 = (cos u + j sin u)-1
= cos(-u) + j sin(-u)
= cos u - j sin u
The last line follows since cos u is an even function and sin u is an odd function.
1
Thus = cos u - j sin u.
z
Exercises
p
1 If z = 4 ∠ find z6 in polar form. (b) By raising the exponential form to the
6 power n, and using one of the laws of
indices, deduce De Moivre’s theorem.
2 Express z = 2 + 2j in polar form and hence
find z8, leaving your answer in polar form. 5 Use De Moivre’s theorem to show that if
Deduce that (2 + 2j)8 = 4096. z = cos u + j sin u then
(a) zn = cos nu + j sin nu
3 Express z = -3 + 2j in polar form and hence (b) z-n = cos nu - j sin nu
find z6, converting your answer into cartesian Deduce that
form.
1
zn + = 2 cos nu
4 Consider the complex number zn
z = cos u + j sin u. and
(a) Write down the exponential form of this 1
number. zn - = 2j sin nu
zn
Solutions to exercises
Example 4.8
Use De Moivre’s theorem to prove that
(a) sin 2u = 2 sin u cos u
(b) cos 2u = cos2 u - sin2 u
Solution
(a) Using De Moivre’s theorem with n = 2 we obtain
(cos u + j sin u)2 = cos 2u + j sin 2u
Expanding the left-hand side we can write
cos2 u + 2j sin u cos u - sin2 u = cos 2u + j sin 2u
Equating the imaginary parts on both sides gives the required expression for
sin 2u:
sin 2u = 2 sin u cos u
(b) Equate the real parts in part (a) to obtain an identity for cos 2u:
Example 4.9
Express sin 3u as powers of sin u.
Solution
Consider De Moivre’s theorem with n = 3:
(cos u + j sin u)3 = cos 3u + j sin 3u
Expand the expression on the left-hand side:
Compare this result with the right-hand side and equate the imaginary parts:
Example 4.10
If z = cos u + j sin u use the previous Key point to write down expressions for
1 1 1 1
(a) z + (b) z2 + (c) z - (d) z2 -
z z2 z z2
Solution
1
(a) z + = 2 cos u
z
1
(b) z2 + = 2 cos 2u
z2
1
(c) z - = 2j sin u
z
1
(d) z2 - = 2j sin 2u
z2
Example 4.11
Show that cos2 u = 12 cos 2u + 12 .
Solution
1
Starting with 2 cos u = z + and squaring both sides we obtain
z
1 2
4 cos2 u = a z + b
z
1
= z2 + 2 +
z2
= a z2 + b + 2
1
by rearranging
z2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 502
1
But z2 + = 2 cos 2u and so
z2
4 cos2 u = 2 cos 2u + 2
from which
1 1
cos2 u = 2 cos 2u + 2
as required.
Example 4.12
1 1 1
By squaring the result 2j sin u = z - prove the identity sin2 u = 2 - 2 cos 2u.
z
Solution
1
Consider 2j sin u = z - .
z
Squaring the left-hand side gives -4 sin2 u. Now square the right-hand side.
1 2
az - b =
1
z2 - 2 +
z z2
Rearrange this and express it in terms of cos 2u using the previous Key point.
az2 + b - 2 = 2 cos 2u - 2
1 1
z2 - 2 + =
z2 z2
Finally we have
-4 sin2 u = 2 cos 2u - 2
1 1
from which sin2 u = 2 - 2 cos 2u as required.
Exercises
1 Show that cos 4u = 8 cos4 u - 8 cos2 u + 1. 3 Use your answers from questions 1 and 2 to
deduce that
2 Show that
4 tan u - 4 tan3 u
sin 4u = 4 cos3 u sin u - 4 cos u sin3 u tan 4u =
1 - 6 tan2 u + tan4 u
Solutions to exercises
5.1 Introduction
Example 5.1
Solve the equation z3 + 5z = 0.
Solution
This is a polynomial equation of degree 3. We seek three solutions. The equation can
be factorised:
z3 + 5z = z(z2 + 5) = 0
z2 = -5
z = ; 2 -5
= ; 25j
Example 5.2
Solve the equation z2 + 2z + 2 = 0.
Solution
This is simply a quadratic equation. Apply the formula
-b ; 2b2 - 4ac
z =
2a
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 505
-2 ; 24 - 4(1)(2)
=
2
-2 ; 2-4
=
2
= z = -1 ; j
720°, 4π
360°, 2π
4 4 4
Thus in polar form we can write 4 as 4 ∠0, 4∠2p, 4∠4p, and so on. We can
generalise this as 4∠2kp where k = 0, 1, 2, Á . In the examples that follow you
should bear this in mind when converting complex numbers to polar form.
Example 5.3
Express the number z = 2 + j in polar form, and include the general form for the
argument.
Solution
The complex number z = 2 + j is shown in Figure 5.2. Its modulus is
ƒ z ƒ = 222 + 12 = 25. Its argument is tan-1 12 = 0.464. However, adding on
multiples of 2p results in the same complex number, so we can write
arg(z) = 0.464 + 2kp. Finally the polar form is z = 25∠(0.464 + 2kp).
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 506
Figure 5.2
1 z2j
5
θ
1 2
θ tan1 ( 12 ) 0.464
arg(z) 0.464 2kπ
Example 5.4
Solve the equation z3 - 4 = 0.
Solution
This is a polynomial equation of degree 3. We look for three solutions. Note that this
equation can be written as z3 = 4. We shall show that by working in polar form it is
straightforward to obtain the solutions. You should also note that the equation is
equivalent to z = 41>3 so we are finding the cube roots of 4.
As z is a complex number, we can write it in polar form as z = r∠u. When we
have succeeded in finding r and u, we shall know z and will have solved the problem.
Consider, first, the left-hand side of
z3 = 4
z3 = r3 ∠3u
Now express the right-hand side in polar form including the general term for the
argument.
4 = 4∠2kp, k = 0, 1, 2, Á
r3 ∠3u = 4∠2kp
Equating moduli on both sides gives r3 = 4 so that r = 41>3, the real cube root of 4
since r is real.
Equating arguments,
2kp
3u = 2kp so that u = , k = 0, 1, 2, Á
3
41/30
41/34π/3
23
41>3 a-
2p 1
41>3 ∠ = + jb
3 2 2
23
41>3 a-
4p 1
41>3 ∠ = - jb
3 2 2
Example 5.5
Solve the equation z3 + 2 = 0.
Solution
Note that this equation can be written z3 = -2. Again we work in polar form.
Consider, first, the left-hand side of
z3 = -2
If z = r∠u then z3 = r3 ∠3u.
Now express the right-hand side in polar form. The complex number z = -2 is
shown in Figure 5.4 to help you do this.
Figure 5.4
The complex
number z = -2.
z ⫽ ⫺2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 508
p 2kp
u = + , k = 0, 1, 2, Á
3 3
Taking k = 0, 1, 2 in turn gives the three solutions
p 5p
z = 21>3 ∠ , 21>3 ∠p, 21>3 ∠
3 3
These solutions are illustrated in Figure 5.5.
Figure 5.5
21/3π/3
21/3π
21/35π/3
3
21>3 ∠p = -21>3 or - 2 2
23
21>3 a
5p 1
21>3 ∠ = - jb
3 2 2
Example 5.6
Solve the equation z6 - 2z3 - 8 = 0.
Solution
By careful inspection note that this equation can be factorised as
z6 - 2z3 - 8 = (z3 - 4)(z3 + 2)
= 0
(If you cannot spot this directly, try making a substitution, w = z3, and obtain a quad-
ratic equation in w.) Thus z3 - 4 = 0 or z3 + 2 = 0. We have already solved each
of these separately in Examples 5.4 and 5.5. Thus the six solutions are those
obtained in these examples.
Example 5.7
Solve the equation z2 = 2 + j.
Solution
In general the unknown z will be a complex number and so z = r∠u. Then
z2 = r2 ∠2u. Now consider the right-hand side of the given equation, 2 + j. This
has been expressed in polar form in Example 5.3. Therefore
2u = 0.464 + 2kp
from which
0.464 + 2kp
u =
2
= 0.232 + kp, k = 0, 1, 2, Á
The two solutions we seek are obtained by letting k = 0 and then k = 1. Increasing
k further will reproduce solutions already found.
When k = 0, u = 0.232.
When k = 1, u = 0.232 + p.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 510
Figure 5.6
The two solutions
of z2 = 2 + j.
0.232 π 51/4
0.232
The techniques used in the previous examples can be used to find roots of com-
plex numbers. Suppose we wanted to find the cube roots of j, that is j1>3. Writing
z = j1>3 and cubing both sides we obtain
z3 = j
So finding the cube roots of j is equivalent to solving the equation z3 = j. This can be
done using the technique of Examples 5.4, 5.5 or 5.7.
Exercises
1 Solve the equation -z2 + 3z - 4 = 0. 3 Solve the following equations converting your
solutions to cartesian form:
2 Solve each of the following equations leaving (a) z3 = -1 (b) z3 = 1 (c) z3 - 6j = 0
your answers in polar form:
(a) z2 = 1 + j (b) z2 = 1 - j
(c) z3 = -2 + 3j
Solutions to exercises
3 27 1 23 1 23
1 z = ; j 3 (a) z = -1, z = + j, z = - j
2 2 2 2 2 2
p 9p 1 23
2 (a) 21>4 ∠ , 21>4 ∠ (b) z = 1, z = - ; j
8 8 2 2
p 7p 23
(c) -61>3j, 61>3 a + j b,
(b) 21>4 ∠ - , 21>4 ∠ 1
8 8 2 2
(c) 131>6 ∠0.720, 131>6 ∠2.814, 131>6 ∠4.908 23
61>3 a - + j b
1
2 2
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 511
1 Find the three cube roots of -8. 5 Solve the equation z4 + 25 = 0 showing each
solution on an Argand diagram.
2 Find the three cube roots of 8.
6 Find the cube roots of 13 + j.
(-3 + j)4
3 Find the cube roots of z = . 7 Find the cube roots of 13 - j.
(2 - j)2
Solutions to exercises
Phasors
BLOCK 6
6.1 Introduction
Resistor
Consider a circuit containing a resistor of resistance R. Let vR(t) be the voltage across
the resistor. The current, i(t), through the resistor is in phase with this voltage. This
means that both the voltage and current are zero at the same time and peak at the
same time. This fact is illustrated in the graphs of i(t) and vR(t) in Figure 6.1.
Figure 6.1
In a circuit
containing a
vR(t)
resistor, R, the
current and voltage t
are in phase. i(t)
T 2π
ω
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 513
Inductor
Consider a circuit containing an inductor having inductance L. Experiment shows
that the voltage across the inductor, vL, leads the current by a phase of p2 . If
i(t) = I sin vt, then it can be shown that
b
p
vL = vLI sinavt +
2
This means that the voltage peaks earlier than the current, as illustrated in Figure 6.2.
Capacitor
In a circuit containing a capacitor having capacitance C, experiment shows that the
voltage across the capacitor, vC, lags behind the current by a phase of p2 . It can be
shown that if i(t) = I sin vt, then
sinavt - b
I p
vC =
vC 2
This means that the voltage peaks after the current, as illustrated in Figure 6.3.
6.3 Phasors
Consider the waveform in Figure 6.4(a), which might represent a voltage, V1 sin vt, in an
2p
a.c. circuit. The time it takes to complete one cycle, that is the period, is .
v
Figure 6.4
B
Points on a B
waveform and V1
equivalent points V1
on a rotating arm. C θ ωt
t
A E C A, E
D
T 2ωπ D
(a) (b)
1
1 radian inseconds
v
2p
2p radians in seconds
v
2p
So it completes a full revolution in T = seconds. The time it takes to complete a
v
revolution is the same as the time it takes for one cycle of the waveform to be com-
pleted in Figure 6.4(a). There is an obvious correspondence between points on the
sine wave and positions of the arm. Points A, B, C, D and E illustrate this. For any
value of t on the waveform, the angle of the arm is vt. Such a rotating arm is called a
phasor.
If we have a second waveform, such as V2 sin(vt + p2 ), which leads the first by
a phase of p2 , then its rotating arm will lead that of V1 sin vt by p2 , as shown in
Figure 6.5.
V1 V1
2π
t
ω
V3
Because these phasors have a length and an angle measured from the positive
direction of the x axis they can be represented by complex numbers. We think of the
phasor
' diagram as an Argand diagram. We write a typical phasor in polar form as
V = V∠f , where the ' is used to distinguish the complex quantity,
' with magnitude
V and phase f, from the peak value V. Alternatively we can write V in cartesian form
by stating its real and imaginary parts.
In Block 2 we showed that when a complex number is multiplied by j this has the
effect of rotating that number anticlockwise by p2 on an Argand diagram.
So, if we want to represent a phase lead of p2 we multiply the corresponding
phasor by j.
Similarly, dividing a complex number by j has the effect of rotating that number
clockwise by p2 on an Argand diagram. So, if we want to represent a phase lag of p2
we divide the corresponding phasor by j.
Note that
= a b#a b
1 1 -j
j j -j
-j
=
1
= -j
So dividing by j is equivalent to multiplying by -j.'
If the current through a circuit '
is represented
' by I the voltage across a resistor will
be given, from Ohm’s law, by VR = RI . The voltage across an inductor will be
' ' ' j '
V L = jvL I and that across a capacitor will be VC = - I . Notice the way that
vC
multiplication by j achieves the required phase differences for the inductor and
capacitor.
In general we write
R for a resistor
V = I Z where Z = μ jvL
' ' for an inductor
j
- for a capacitor
vC
The quantity Z is called the complex impedance.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 516
R for a resistor
V = I Z where Z = μ
' ' jvL for an inductor
j
- for a capacitor
vC
Z = a Zk
Figure 6.7
A series LCR
circuit. L C R
i
V
~
Example 6.2 Electrical Engineering – A series RC circuit
The circuit shown in Figure 6.8 consists of an alternating voltage source, a resistor R
and a capacitor C in series. Suppose a voltage of 8 mV is applied with a frequency of
106 Hz to the circuit in which R is 12 Æ and C = 100 pF.
(a) Find the angular frequency v.
(b) State the supply voltage in phasor form, taking its phase to be zero. This will be
the reference phasor.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 517
V
~
= 12 - 1591.55j
'
' ' ' V 8 * 10-3
(d) Since V I Z it follows that I =
= = .
Z 12 - 1591.55j
Simplify this:
' -8 -6
I = 3.7897 * 10 + 5.0263 * 10 j
(e) Since the current is the same through each component, we have
' '
VR = IR
'
= 12 I
= 4.5477 * 10-7 + 6.0316 * 10-5j
and
' j '
VC = - I
vC
= 8.000 * 10-3 - 6.0316 * 10-5j
' '
In polar form V R = 6.0317 * 10-5 ∠(1.5633) and VC = 0.008∠(-0.0075).
We see from the polar form that the voltage across the resistor leads the voltage
p
across the capacitor by 1.5633 + 0.0075
' 'L 2 radians,
' as expected. It is easy to
check from the cartesian forms that VR + VC = V .
M11_CROF5939_04_SE_C11.QXD 11/28/18 8:45 PM Page 518
Solutions to exercises
p R
1 (a) 12 (b) - 12 (c) - 4 Z =
4 1 + jvCR
2 0.0417 + 0.0417j
R2 + avL - b
1 2
3 (a)
A vC
1 Find the modulus and argument of (a) -j, 6 Sketch an Argand diagram and upon it mark
(b) -3, (c) 1 + j, (d) cos u + j sin u. the poles of the rational function
4 Find the modulus and argument of -1 + j. 8 Express (cos u + j sin u)9 in the form
cos nu + j sin nu.
5 Express 2 + 3j in exponential form. Write
down its complex conjugate. 9 Use De Moivre’s theorem to show that
cos 3u = 4 cos3 u - 3 cos u.
M11_CROF5939_04_SE_C11.QXD 9/25/18 12:28 PM Page 519
10 Solve the equation z2 = 4j expressing your 19 Find the real and imaginary parts of
solutions in cartesian form and using surds.
1
3
11 Find 22 + 2j. 1 + jv
Solutions to exercises
p p p
1 (a) 1, - (b) 3, p (c) 12, (d) 1, u 17 ln( 28) + j
2 4 4
21 1 1
3 9 + 19j, - j 19 real part =
13 13 1 + v2
3p v
4 12, imaginary part -
4 1 + v2
5 213e0.983j. The conjugate is 213e-0.983j. 21 modulus
1
, argument tan-1(-v)
11 + v2
7 (a) cos 7u + j sin 7u (b) cos 10u + j sin 10u
3 + 2jv
21
8 cos 9u + j sin 9u 2 + 3jv - v2
10 z = ; 22(1 + j) 7 - 5j
22
74
81>6 ∠ a b, k = 0, 1, 2
p 2 kp
11 + 9 - 2j
12 3
23 (a) 9 + 2j (b)
85
1∠ a b, k = 0, 1, 2, 3, 4
p 2 kp
12 +
10 5 36 + 162j 1 j
24 (a) (b) -
85 9 2
21>4 ∠ a b, k = 0, 1, 2, 3
p kp
13 +
6 2
M12_CROF5939_04_SE_C12.QXD 10/3/18 5:51 PM Page 521
Chapter 12
Matrices and determinants
Chapter 12 contents
Block 3 Determinants
Introduction to matrices
BLOCK 1
1.1 Introduction
a b, a b, a b
3 1 9 a b 3 - l 4
0 -6 2 g d 7 6 - l
4 1
B = a b
1 0 -1 3
A = £ 3 6 ≥,
6 1 4 2
-1 0
The size of a matrix is given by the number of rows and the number of columns. The
matrix A has three rows and two columns and so is described as a 3 * 2 matrix. We
say that A is a ‘three by two matrix’. Matrix B has two rows and four columns and so
is a 2 * 4 matrix. Notice that the number of rows is always stated first. An n * m
matrix has n rows and m columns.
The individual numbers or expressions in a matrix are called the elements and are
usually denoted by a small letter. For example, for A, the element in row 1, column 2
is denoted by a12, the element in row 3, column 1 is denoted by a31, and so on. So
Example 1.1
Given
C = a b
3 0 4 x
l 1 z -1
Solution
(a) c13 is the element in row 1, column 3, and so c13 = 4.
(b) c21 is the element in row 2, column 1, and so c21 = l.
(c) c22 is the element in row 2, column 2, and so c22 = 1.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 524
Figure 1.1
A simple digital
representation
of p.
1 1 1 1 1
B = £0 1 0 1 0≥
0 1 0 1 0
Note that we have divided the image into a number of areas, or fields, in this case 15
of them. We have then assigned a number to each field: 1 if the field is to be shaded,
and 0 otherwise.
Images such as black and white photographs can be ‘digitised’ in the same way.
The image is divided into m * n fields, where in practice m and n are large integers.
Each field is assigned a number that represents the intensity of the image in that area.
Often a 64-point grey scale is used so that a range of grey levels can be represented
ranging from white at one extreme to black at the other. A digital image is then rep-
resented by an m * n matrix, B say, whose elements are numbers in the range 1–64.
In image processing the matrix B is often referred to as b[m, n].
Exercises
Solution to exercises
1 (a) 3 * 2 (b) 2, a, b 2 nm
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 525
There are a number of matrices that you will use frequently and which have special
names. These are now described.
A square matrix has the same number of columns as rows. Both D and E are
square matrices where
1 -1 3
D = a b,
3 1
E = £ 0 l 3≥
4 2
-1 y 7
The main diagonal of a square matrix is the diagonal running from ‘top left’ to ‘bot-
tom right’. The main diagonal of D contains the elements 3 and 2. In general, if A is
an n * n matrix, the main diagonal contains the elements a11, a22, a33, . . . , ann.
An identity matrix is a square matrix with ones on the main diagonal and zeros
everywhere else. Identity matrices are usually denoted by I, with a subscript to
denote its size. The 2 * 2 identity matrix is I2 where
I2 = a b
1 0
0 1
the 3 * 3 identity matrix is I3 where
1 0 0
I3 = £ 0 1 0≥
0 0 1
and so on.
The transpose of a matrix is obtained by writing rows as columns. The transpose
of A is denoted AT. For example, if
A = a b
6 1 -3 0
9 2 3 7
6 9
1 2
AT = § ¥
-3 3
0 7
Example 1.3
Given
1 -2 4
B = £3 1 0≥
7 5 9
state the transpose of B.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 526
Solution
The transpose is
1 3 7
£ -2 1 5≥
4 0 9
Exercises
Solutions to exercises
CT = a b
9 1 a 2 I3
1
3 -2 4
Matrices of the same size may be added to and subtracted from one another. To do
this, the corresponding elements are added or subtracted.
Example 1.4
Given
A = a b, B = a b, C = a b
3 1 -1 2 6 1 -1 0
0 -2 4 10 -3 6 3 2
find, if possible,
(a) A + B (b) B - C (c) B - A (d) A + C
Solution
A + B = a b + a b
3 1 -1 2 6 1
(a)
0 -2 4 10 -3 6
= a b
3 + 2 1 + 6 -1 + 1
0 + 10 -2 - 3 4 + 6
= a b
5 7 0
10 -5 10
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 527
B - A = a b - a b
2 6 1 3 1 -1
(c)
10 -3 6 0 -2 4
= a b
2 - 3 6 - 1 1 - (-1)
10 - 0 -3 - (-2) 6 - 4
= a b
-1 5 2
10 -1 2
(d) A and C have different sizes and so A + C is not defined.
Example 1.5
7 2 -1 0
If C = £ -2 1 ≥ and D = £ 3 4≥
4 3 9 1
calculate
(a) C + D (b) CT + DT (c) (C + D)T
Solution
7 2 -1 0
(a) C + D = £ -2 1≥ + £ 3 4≥
4 3 9 1
6 2
= £1 5≥
13 4
(b) CT + DT = a b + a b
7 -2 4 -1 3 9
2 1 3 0 4 1
a b
6 1 13
=
2 5 4
a b
6 1 13
(C + D)T =
2 5 4
Key point The transpose of the sum of two matrices is the same as the sum of the individual
matrices transposed:
(A + B)T = AT + BT
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 528
Exercises
1 Given find
(a) R + S (b) S - R (c) R + RT
R = a b, S = a b
4 1 -3 2
(d) (R - S)T (e) (ST)T
6 2 7 -4
Solutions to exercises
(c) a b (d) a b
8 7 7 -1
7 4 -1 6
Any matrix can be multiplied by a number. To do this, each element of the matrix is
multiplied by the number.
Example 1.6
If
A = a b
3 1 -1
0 -2 4
find
1
(a) 2A (b) A (c) -A
2
Solution
2A = 2 a b
3 1 -1
(a)
0 -2 4
= a b
2 * 3 2 * 1 2 * (-1)
2 * 0 2 * (-2) 2 * 4
= a b
6 2 -2
0 -4 8
A = a b
1 1 3 1 -1
(b)
2 2 0 -2 4
= a b
1.5 0.5 -0.5
0 -1 2
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 529
= (-1) a b
3 1 -1
0 -2 4
= a b
-3 -1 1
0 2 -4
Example 1.7
If
A = a b and B = a b
3 1 -1 2 6 1
0 -2 4 10 -3 6
find
1 1
(a) 2A + 3B (b) A - 2B (c) A + B
2 2
Solution
(a) 2A + 3B = a b + a b
6 2 -2 6 18 3
0 -4 8 30 -9 18
a b
12 20 1
=
30 -13 26
(b) A - 2B = a b - a b
3 1 -1 4 12 2
0 -2 4 20 -6 12
a b
-1 -11 -3
=
-20 4 -8
a b
1 1 1 2.5 3.5 0
(c) A + B = (A + B) =
2 2 2 5 -2.5 5
Example 1.8
Given
A = a b
3 1 4
2 9 6
Solution
3 2
(a) AT = £1 9≥
4 6
3 2
(b) kAT = k £ 1 9≥
4 6
3k 2k
= £k 9k ≥
4k 6k
3k k 4k
(c) kA = ¢ ≤
2k 9k 6k
Hence
3k 2k
(kA)T
= £k 9k ≥
4k 6k
The software packages Maple and Matlab, in common with many similar packages,
are designed to compute not just with single numbers but with entire sequences of
numbers at the same time. Data can be entered in the form of multi-dimensional
objects called arrays. Matrices are a particular form of array and so Maple and Mat-
lab are well suited to performing matrix calculations.
In Maple a matrix can be entered in a variety of ways and you should consult the
on-line help for full details. For example, the matrices C and D from Example 1.5
can be entered, row by row, as
> C:= Matrix([[7,2], [-2,1], [4,3]]);
7 2
C: = C -2 1S
4 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 531
-1 0
D: = C 3 4S
9 1
Exercises
1 Given 3 Given
A = a b, B = a b
2 1 4 -1
-2 3
A = a b,
3 -2 -2 6 1 2 3
B = £ 0 4 ≥
find 4 5 -1
7 -1
(a) 3A (b) 2B (c) 4A + 3B (d) B - 2A
(e) 2AT (f) (2A)T calculate
(a) A + BT (b) B - 2AT
2 Given
A = a b
6 1
3 7
state
(a) A - 2I2 (b) A - lI2 where l is a constant.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 532
Solutions to exercises
(c) a b (d) a b
20 1 0 -3 -4 -5
(a) a b (b) £ -4
-1 2 10
6 10 -8 10 3 -6 ≥
7 9 -2
1 1
End
(e) a b (f) a b
4 6 4 6
2 -4 2 -4
1 15 If
6 Calculate C.
2
3 1 4
7 State A . T
T = £ -1 2 6≥
7 3 0
8 State CT.
state
9 Calculate A + 2C. (a) T - 2I
(b) T - lI where l is a constant.
10 Calculate 3C - 4A.
Solutions to exercises
1 3 * 2 20 5
4 £ 45 -5 ≥
2 2 * 3
10 0
3 0, 3, 4
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 533
2 -6 6 9
5 £ 0 -8 ≥ 11 £ 13 9 ≥
-2 -12 8 -2
a b
4 2 0
- 12 3
2 12
± 0 2≤
-5 -7 -19
6
1
2 3 1 26
3
10
13 £3 11 ≥
a b
4 9 2 17 7
7 3 3
1 -1 0
14 (a) m * n (b) n * m
a b
-1 0 1
8
3 4 6 1 1 4
2 7 15 (a) £ -1 0 6 ≥
9 £9 7≥ 7 3 -2
4 12
3 - l 1 4
-19 5 (b) £ -1 2 - l 6 ≥
10 £ -36 16 ≥ 7 3 -l
-5 18
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 534
Multiplication of matrices
BLOCK 2
2.1 Introduction
Let A and B be two matrices. Then under certain conditions the product AB can be
found. The way in which such a product is calculated is explained in the next
section; for this section we focus on the conditions needed for the product to exist.
To decide whether the product AB exists we look at the size of each matrix.
Suppose A is an n * m matrix and B is a p * q matrix. For the product AB to exist
it must be that m = p: that is, the number of columns in A must be the same as the
number of rows in B.
Key point For the product AB to exist, the number of columns of A must equal the number of rows
of B.
When m = p the product AB can be calculated. The result is another matrix whose
size is n * q.
Key point A B = C
()* ()* ()*
n * m p * q n * q
()*
m = p
If the number of columns in A differs from the number of rows in B then the product
AB cannot be found. We say AB does not exist.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 535
A B = C
()* ()* ()*
3 * 2 2 * 4 3 * 4
However, let us now consider BA. The number of columns in B is four; the number
of rows of A is three and so the product BA cannot be found. Hence the order of the
product is crucial, and we say that matrix multiplication is, in general, not commu-
tative. In the product AB we say A premultiplies B. Alternatively we can say that B
postmultiplies A.
Products involving three or more matrices are possible. If P, Q and R are three
matrices then to calculate PQR we first calculate PQ, and then postmultiply the
result by R, that is PQR is treated as (PQ)R. Alternatively we can calculate QR and
premultiply the result by P, that is we may treat PQR as P(QR). The final result in
both cases is the same. This means that matrix multiplication is associative.
Finally we note that the product AA is written as A2, AAA is written as A3, and
so on.
Exercises
Solutions to exercises
1 (a) cannot be found (b) 3 * 3 (c) cannot be 3 (a) cannot be found (b) 3 * 3 (c) 3 * 3
found (d) 2 * 3 (e) cannot be found (d) 2 * 2
(f) 3 * 3 (g) 2 * 2
4 A must be a square matrix for A2 to exist
2 (a) 2 * 3 (b) 3 * 3 (c) 3 * 2 (d) 3 * 3
(e) 2 * 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 536
Section 2.2 stated the conditions needed for a product of matrices to exist. In this
section we look at how the product is actually calculated. The method is illustrated in
Example 2.1.
Example 2.1
Given
1 -1
A = a b and B = £ 2
3 1 4
0≥
5 2 -2
-6 4
Solution
We note that A is a 2 * 3 matrix, B is a 3 * 2 matrix and so the product AB exists.
The result is a 2 * 2 matrix, say C.
AB = C = a b
c11 c12
c21 c22
To find c11, that is the element in row 1, column 1, we use row 1 from A and column
1 from B. The elements in this row and column are multiplied and added thus:
= a b
-19 13
21 -13
Example 2.1 illustrates the following important point regarding matrix multiplication.
Key point If AB = C then the element cij is found from row i of A and column j of B.
Example 2.2
Given
A = a b and B = a b
9 -1 4 3 2
2 3 1 2 -1
calculate AB.
Solution
Note that A has two columns, B has two rows and so the product AB can be found.
The result is a 2 * 3 matrix, C.
AB = a b a b
9 -1 4 3 2
2 3 1 2 -1
= C = a b
c11 c12 c13
c21 c22 c23
Now
c11 = 9(4) - 1(1)
= 35
c12 = 9(3) - 1(2) = 25
c13 = 9(2) - 1(-1)
= 19
c21 = 2(4) + 3(1) = 11
c22 = 2(3) + 3(2)
= 12
c23 = 2(2) + 3(-1) = 1
Hence
a b a b = a b
9 -1 4 3 2 35 25 19
2 3 1 2 -1 11 12 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 538
1 0 0
I2 = a b,
P0 Q
1 0
I3 = 1 0
0 1
0 0 1
and so on. If no subscript is given then the size of the identity matrix is taken as that
for which any stated product exists.
Example 2.3
Given
A = a b
3 -2
10 7
calculate
(a) AI (b) IA
Solution
Since A has two columns the required identity matrix is I2:
(a) AI = a b a b
3 -2 1 0
10 7 0 1
a b
3 -2
=
10 7
(b) IA = a ba b
1 0 3 -2
0 1 10 7
a b
3 -2
=
10 7
Key point When a square matrix is post- or premultiplied by an identity matrix of the appropriate
size the matrix is unchanged.
AI = IA = A
Example 2.4
Given
a b a b = a b
4 -1 x -13
6 5 y 13
find x and y.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:10 AM Page 539
a b a b = a b
4 -1 x 4x - y
6 5 y 6x + 5y
Hence
4x - y = -13
6x + 5y = 13
Example 2.5
Given
1 2
P Q
A = -1 3
2 1
find
(a) AT
(b) AAT
(c) ATA
Solution
(a) Recall that AT denotes the transpose of A.
a b
1 -1 2
AT =
2 3 1
1 2
P Q 2
3 a b
T 1 -1 2
(b) AA = -1
3 1
2 1
5 5 4
P Q
= 5 10 1
4 1 5
1 2
1 P Q
(c) A A = a b -1
T 1 -1 2
3
2 3
2 1
a b
6 1
=
1 14
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 540
The computing packages Maple and Matlab have built-in commands for matrix mul-
tiplication. For full details you should refer to the on-line help.
Example 2.6
Using software, repeat the calculations in Example 2.2.
Solution
Maple
The matrices A and B are loaded as follows:
> A:=Matrix ([[9,-1], [2,3]]);
> B:=Matrix ([[4,3,2], [1,2,-1]]);
In Maple, the command for the ‘usual’ matrix multiplication is a dot .. Thus
> A.B;
yields
c d
35 25 19
11 12 1
Note, however, that other types of multiplication are possible. ‘Element-by-element’
multiplication is performed on matrices of the same size using the command * ~ as in
> E:=Matrix([[2, 4], [-1, 9]]);
c d
2 4
-1 9
> F:=Matrix([[4,3], [2, -1]]);
c d
4 3
2 -1
> E*~F;
yielding
c d
8 12
-2 -9
Matlab
This example further highlights the differences between packages and the care that must
be taken regarding correct syntax. In Matlab the command for matrix multiplication is *.
>> A=[9 -1; 2 3]
A =
9 -1
2 3
>> B = [4 3 2; 1 2 -1]
B =
4 3 2
1 2 -1
>> A*B
ans =
35 25 19
11 12 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 541
Exercises
-2 1
P Q
A = a b, B = a b,
3 1 1 4 0
C = 4 -1
-1 2 2 7 -1
0 3
1 AB 5 AAT
2 A2 6 BCA
3 BC 7 ABC
4 CA 8 BT ACT
Solutions to exercises
a b a b
5 19 -1 10 -1
1 5
3 10 -2 -1 5
a b a b
8 5 45 8
2 6
-5 3 80 8
a b a b
14 -3 66 -17
3 7
24 -8 34 -13
-7 0 3 -1 15
P Q P Q
4 13 2 8 8 2 54
-3 6 -4 6 -6
P Q
C = a b, D = a b
3 6 1 2 3
A = (2 -1 7), B = 2 ,
-3 1 4 5 6
0
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 542
1 State the size of each of the following products. 4 Calculate all the products in question 1 that
If a product does not exist then state this. exist.
(a) AB (b) BA (c) CD (d) DC (e) DB
(f) BD (g) A2 (h) C2 5 Calculate all the products in question 2 that
exist.
2 State the size of each of the following products.
If a product does not exist then state this. 6 Calculate all the products in question 3 that
(a) AAT (b) DT B (c) DT C (d) ADT exist.
(e) (ADT)T
4 -1
P Q
D = a b, E = a b
5 -2 3
A = 1 0 , B = (2 1), C = (3 1 -1),
1 0 -1
-2 2
A = ± ≤
a21 a22 Á a2m
a b a b = a b
3 1 x 9
4 2 y 14 o o ∞ o
an1 an2 Á anm
calculate x and y.
B = ± ≤
b21 b22 Á b2p
a b a b = a b
5 2 x 19
o o ∞ o
-3 4 y -27 bm1 bm2 Á bmp
find x and y.
(a) State an expression for the (i, j)th element
12 P is an n * m matrix. Show that the products of AB, that is the element in the ith row
PPT and PTP can always be found. State the and jth column.
size of each product.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 543
Solutions to exercises
1 (a) 1 * 1 (b) 3 * 3 (c) 2 * 3 (d) does not 7 (a) 2 * 1 (b) 1 * 2 (c) does not exist
exist (e) 2 * 1 (f) does not exist (g) does not (d) 1 * 2 (e) 3 * 1
exist (h) 2 * 2
8 (a) 2 * 2 (b) 3 * 3 (c) 1 * 2 (d) 1 * 1
2 (a) 1 * 1 (b) does not exist (c) 3 * 2 (e) does not exist
(d) 1 * 2 (e) 2 * 1
19 -8
P Q
3 (a) 2 * 1 (b) 2 * 3 (c) 2 * 3 (d) 3 * 3 9 (a) 5 -2 (b) (14 - 6) (c) (50)
(e) 1 * 2 -8 4
18 -9 63 10 x = 2, y = 3
P Q
4 (a) (16) (b) 4 -2 14
0 0 0 11 x = 5, y = -3
P Q
(a) a b (b) 8
6 8 16
(h) a b
-9 24 13 9
-12 -17 -2 9 4
16 4
6 -2
P Q
-9 10
P Q
5 (a) (54) (c) -9 17 (d) (21 45) (c) 8 9
-9 24 16 4
Conclude that (AB)T = BTAT.
(e) a b
21 m m
45 14 (a) a aikbkj (b) a ajkbki
k=1 k=1
(a) a b (b) a b
315 87 102 117 (c) (b1i b2i Á bmi) (d) (aj1 aj2 Á ajm)
6
7 -80 -109 -138 m
(e) a ajkbki
(c) a b
26 -13 91
k=1
92 -46 322
(f) From (b) and (e), the (i, j)th elements of
31 32 33 (AB)T and BTAT are identical. Since this is
P Q
(d) 59 67 75 (e) (-72 171) true for all values of i and j then the two
87 102 117 matrices are equal.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 544
Determinants
BLOCK 3
3.1 Introduction
We have seen how to add and subtract matrices in Block 1. Block 2 dealt with the
multiplication of one matrix by another. Division of one matrix by another is not
defined. However, for some matrices it is possible to calculate an inverse matrix. In
some ways, use of the inverse matrix takes the place of division. To calculate an
inverse matrix requires knowledge of determinants, and it is this topic that is
addressed first. All square matrices possess a determinant. We begin with the sim-
plest square matrices: 2 * 2 matrices.
A = a b
a b
c d
` `
a b
det(A), ƒAƒ or
c d
When you have evaluated the determinant of a matrix you will see that the result is
no longer a matrix, but a single number or expression.
Key point If
A = a b
a b
c d
` `
a b
ƒ A ƒ or
c d
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 545
A = a b
3 6
-1 1
AT = a b
3 -1
(b)
6 1
Hence
ƒ AT ƒ = 3(1) - (-1) 6 = 9
Example 3.2
If A is a 2 * 2 matrix show that det(A) = det(AT).
Solution
Let
A = a b
a b
c d
Then ƒ A ƒ = ad - bc.
Now
a b
a c
AT =
b d
and so
ƒ AT ƒ = ad - bc
Hence ƒ A ƒ = ƒ AT ƒ : that is, the determinant of a matrix and the determinant of its
transpose are the same.
Example 3.3
Calculate the determinant of
a b
4 2
6 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 546
Solution
` ` =
4 2
4(3) - 2(6) = 0
6 3
ƒ A - sI ƒ = 0
A = a b
3 -2
-1 5
ƒ A - sI ƒ = 0
Given
A = a b I = a b
3 -2 1 0
and
-1 5 0 1
then we have
A - sI = a b - sa b = a b
3 -2 1 0 3 - s -2
-1 5 0 1 -1 5 - s
So
ƒ A - sI ƒ = ` `
3 - s -2
-1 5 - s
= (3 - s)(5 - s) - 2
= s2 - 8s + 13
s = 2.268, 5.732
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 547
Exercises
1 Calculate the determinant of each of the 4 Under what conditions is the matrix
following matrices.
F = a b
x 3
(a) a b (b) a b
8 3 6 10 2x y
-3 5 -3 -5
singular?
(c) a b (d) a b
x 3 3 - l 2
y 4 8 1 - l 5 Find values of l for
(e) a b a b
-l 2 7 - l 2
1 1 - l 12 5 - l
(e) a b (f) a b
1 0 3 - l 4 8 Control Engineering. Determine the system
3 l 6 2 - l poles of the following state matrices. In each
case state whether the system is stable or
3 Find conditions on a, b and c for unstable.
a b
a b
(a) a b (b) a b
-4 5 -1 -2
0 c -5 3 5 4
to be singular.
Solutions to exercises
If we choose an element of A, say aij, and cross out its row and column, that is the
ith row and the jth column, we are left with a 2 * 2 matrix. The determinant of this
2 * 2 matrix is called the minor of aij.
Example 3.5
Given
3 -1 6
A = £9 -5 2≥
0 4 7
a b
-5 2
4 7
a b
-1 6
4 7
a b
3 -1
0 4
whose determinant is 12. The minor of 2 is 12.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 549
The term (-1)i + j is either 1 or -1 depending upon the position of the element. The
following grid of + and - is an easy way to visualise this. The + and - signs
are known as the place signs of the elements. If the place sign is + then the cofactor
and minor are identical; if the place sign is - then the cofactor is - (minor).
+ - +
£ - + - ≥
+ - +
Example 3.6
The matrix A is given as
3 -1 6
P Q
A = 9 -5 2
0 4 7
Exercises
7 -8 3 2 - l 3 6
D = £9 2 -2 ≥ G = £ 9 -l 4 ≥
1 -3 0 -1 0 1 - l
(a) Calculate the minor of (i) 7, (ii) -8, (iii) 3, (a) Calculate the minor of (i) 2 - l, (ii) 3,
(iv) 9. (iii) 6.
(b) Calculate the cofactor of (i) 2, (ii) -2, (b) Calculate the cofactor of (i) 9, (ii) -l
(iii) 1, (iv) -3, (v) 0. (iii) 4.
Solutions to exercises
1 (a) (i) -6 (ii) 2 (iii) -29 (iv) 9 2 (a) (i) l2 - l (ii) 13 - 9l (iii) -l
(b) (i) -3 (ii) 13 (iii) 10 (iv) 41 (v) 86 (b) (i) 3l - 3 (ii) l2 - 3l + 8 (iii) -3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 550
Key point ƒ A ƒ = a11 * (its cofactor) + a12 * (its cofactor) + a13 * (its cofactor)
Example 3.7
Calculate ƒ A ƒ where
3 -1 6
A = £9 -5 2≥
0 4 7
Solution
We have a11 = 3, a12 = -1 and a13 = 6. The cofactors of these elements are
required. The cofactor of 3 is -43 as found in Example 3.6.
` ` = 63
9 2
The minor of -1 is
0 7
` ` = 36
9 -5
0 4
Example 3.8
The matrix A is defined in Example 3.5 as
3 -1 6
A = £9 -5 2≥
0 4 7
Evaluate det (A) by
(a) expanding along the third row
(b) expanding along the second column.
Solution
(a) By expanding along the third row we have
` ` = 28
-1 6
-5 2
` ` = -48
3 6
The minor of a32 is
9 2
The cofactor is 48
The minor of a33 is
` ` = -6
3 -1
9 -5
The cofactor is -6. Hence
ƒ A ƒ = 0(28) + 4(48) + 7(-6)
= 150
(b) We now expand along the second column.
The elements are
` ` = 63
9 2
The minor of a12 is
0 7
` ` = 21
3 6
0 7
The cofactor is 21.
` ` = -48
3 6
The minor of a32 is
9 2
The cofactor is 48
Hence
ƒ A ƒ = (-1)(-63) + (-5)(21) + 4(48)
= 150
Exercises
3 Calculate the determinant of each of the 4 Find det(B) by expanding along the second
following matrices: column, where
-1 6 1 1 0 3
(a) £ -3 9 2≥ B = £ 22 -1 17 ≥
6 3 0 -3 0 19
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 553
Solutions to exercises
1 -330 in each case 3 (a) 15 (b) 643 (c) 0 (d) 0 (e) -100
2 -1122 4 -28
+ - + -
± ≤
- + - +
+ - + -
- + - +
Expanding along the first row of a 4 * 4 matrix, A, for example, would give
ƒ A ƒ = a11 * (its cofactor) + a12 * (its cofactor)
+ a13 * (its cofactor) + a14 * (its cofactor)
Example 3.9
Find ƒ A ƒ by expanding along the first row where
3 -2 4 1
A = ± ≤
6 2 0 3
9 1 1 -1
4 2 -2 5
Solution
We have a11 = 3, a12 = -2, a13 = 4, a14 = 1. The cofactors of these elements are
found by deleting the appropriate rows and columns.
The minor of a11 is
2 0 3
†1 1 -1 † = -6
2 -2 5
The cofactor is -6.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 554
6 0 3
†9 1 -1 † = -48
4 -2 5
6 2 3
†9 1 -1 † = -14
4 2 5
6 2 0
†9 1 1 † = 20
4 2 -2
Example 3.10
Calculate ƒ T ƒ where
13 2 1 -9
T = ± ≤
4 7 0 6
-1 11 -2 3
4 -2 0 6
Solution
Expansion along the third column is efficient as it contains two zeros. The cofactors
of these zero elements need not be calculated. We have t13 = 1 and t33 = -2.
Exercises
(a) ± ≤
4 0 -2 0
1 1 7 4 2 Calculate ƒ A ƒ where
6 3 0 2
a 17 6 3
A = ± ≤
0 b 14 7
3 17 7 2
0 0 g 13
(b) ± ≤
-1 6 0 -3
0 0 0 d
9 6 0 5
5 -3 0 4
2 -1 0 6
(c) ± ≤
6 -5 2 1
0 3 2 0
1 2 4 5
Solutions to exercises
There are a number of properties of determinants that can be used to simplify their
evaluation. Some of these properties are given now.
Property 1
Key point Suppose A is an n * n matrix and k a scalar. Suppose the matrix B is obtained by
multiplying a single row or column of A by k. Then
det(B) = k det(A)
If the matrix A is multiplied by k, that is every element in the matrix is multiplied by k,
then we obtain
det(kA) = kn det(A)
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 556
Example 3.11
Suppose
A = a b
5 7
-2 3
Obtain B from A by multiplying the second column of A by 4.
(a) Write down B.
(b) Find det(B).
(c) Find det(A).
(d) Verify that det(B) = 4 det(A) as in Property 1.
Solution
a b
5 28
(a) B =
-2 12
(b) ƒ B ƒ = 116
(c) ƒ A ƒ = 29
(d) It follows that det(B) = 4 det(A).
Example 3.12
Suppose
A = a b
1 3
2 -7
(a) Write down 5A.
(b) Find det(A).
(c) Find det(5A).
(d) Verify Property 1, that is det(5A) = 52 det(A).
Solution
a b
5 15
(a) 5A =
10 -35
Example 3.13
Find det(B) given
6 -2 12
B = £ 27 -15 6≥
0 4 7
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 557
Property 2
Key point If B is obtained from A by interchanging two rows or two columns then
det(B) = -det(A)
In other words, interchanging two rows or two columns changes the sign of the
determinant. Carrying out two interchanges introduces two sign changes and hence
leaves the determinant unchanged.
Example 3.14
Given
3 -1 6
A = £9 -5 2≥
0 4 7
0 4 7 9 -5 2 -5 9 2
(a) £ 9 -5 2≥ (b) £ 0 4 7≥ (c) £ -1 3 6≥
3 -1 6 3 -1 6 4 0 7
Solution
(a) By interchanging the first row and second row of ƒ A ƒ we obtain
0 4 7
†9 -5 2 † = -150
3 -1 6
(b) Interchanging the first row and second row of the determinant in (a) we obtain
9 -5 2
†0 4 7 † = 150
3 -1 6
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 558
(c) We begin with ƒ A ƒ . Interchanging the first column and second column we obtain
-1 3 6
† -5 9 2 † = -150
4 0 7
-5 9 2
† -1 3 6 † = 150
4 0 7
Property 3
Key point Adding or subtracting a multiple of one row (or column) to another row (or column)
leaves the determinant unchanged.
Example 3.15
Evaluate
3 -1 6
†9 -5 2†
0 4 7
Solution
We use Property 3 repeatedly to simplify the determinant.
3 -1 6 3 -1 6
†9 -5 2† = †0 -2 -16 † (subtracting 3 * first row from second row)
0 4 7 0 4 7
3 0 6
= †0 -16 † aadding of first column to second columnb
1
-2
3
0 4 7
3 0 0
= †0 -2 -16 † (subtracting 2 * first column from third column)
0 4 7
3 0 0
= †0 -2 -16 † (adding 2 * second row to third row)
0 0 -25
Property 4
Key point If A and B are two square matrices such that AB exists then
det(AB) = det(A) det(B)
Example 3.16
Given
A = a b, B = a b
3 2 -1 3
1 4 0 2
verify det(AB) = det(A) det(B).
Solution
ƒ A ƒ = 12 - 2 = 10, ƒ B ƒ = -2, ƒ A ƒ ƒ B ƒ = -20
Now
AB = a b,
-3 13
ƒ AB ƒ = -33 + 13 = -20
-1 11
Hence det(AB) = det(A) det(B).
Property 5
Key point If two rows or two columns of a matrix are equal, the determinant of the matrix is zero.
Example 3.17
Find the determinant of the matrix
4 -5 2
A = £4 -5 2≥
1 2 1
Solution
Note that the first two rows are the same. It is easy to check that ƒ A ƒ = 0.
Exercises
(a) ∞ ∞
5 3 3 4
G = a b and H = a b
-3 1 2 4
24 36 -6 7 2 5 -1 3
30 59 -2 1
Solutions to exercises
Many computer algebra packages will calculate the determinant of a matrix. For example, in Maple, with the
LinearAlgebra package loaded, with(LinearAlgebra), the command Determinant(A)
will find |A|. The Matlab function det() does likewise. Use the software to which you have access to do the
following exercises.
Solutions to exercises
(c) a b (d) a b
1 Find the determinant of each of the following -1 0 3 4
matrices: 2 3 -1 -2
(a) a b (b) a b
6 11 -1 6
(e) a b
-7 -1
2 4 3 9
-2 -3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 561
(c) a b
7 - l 2
7 If
3 2 - l
A = a b and B = 3A
3 8
(d) a b
-1 - l 1 2 6
6 4 - l
(a) find ƒ A ƒ , (b) find ƒ B ƒ ,
(e) a b
4 - l 2
-1 7 - l (c) verify det(B) = 32 det(A).
(c) a b
2x 2y
5 Calculate the determinant of each of the
-x y
following matrices:
10 Calculate the following determinants:
3 1 -6 9 1 1
1 2 3 17 1 -23
(a) £ 4 2 0 ≥ (b) £ 4 2 3≥
5 6 -1 1 6 9
(a) † 1 3 2 † (b) † l 0 6 †
-2 3 1 0 0 l - 1
5 1 6 1 1 1
11 Given
(c) £ 9 3 2≥ (d) £ 2 2 3≥
1 -1 10 5 6 8 3 -2 1
H = £ 6 -1 5≥
17 -19 31 -3 0 9
(e) £ 18 21 30 ≥
14 20 32 calculate (a) the minor of -2,
(b) the cofactor of 0.
6 Calculate the determinant of
12 Calculate the values of l for which the matrix
5 2 6 3 A is singular given
3 9 12 1
(a) § ¥
A = a b
5 - l -1
-3 1 4 1
6 -2 - l
4 1 5 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 562
-1 3 -1
A = £ 7 8 7 ≥
-15 1 -15
Solutions to exercises
4.1 Introduction
This block examines the idea of an inverse matrix. Division of one matrix by another
is not defined: use of an inverse matrix is the nearest equivalent of ‘matrix division’.
4.2 Definition
Key point Multiplying a square matrix A by its inverse A - 1, if this exists, yields the identity
matrix I.
A A-1 = A-1 A = I
Example 4.1
Given A = a b
3 4
2 3
show that
B = a b
3 -4
-2 3
is the inverse of A.
Solution
We calculate AB and BA.
AB = a ba b
3 4 3 -4
2 3 -2 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 564
= a b
1 0
0 1
= I
BA = a ba b
3 -4 3 4
-2 3 2 3
= a b
1 0
0 1
= I
The term ‘inverse’ can only be applied to square matrices. It is meaningless to talk
about the inverse of a 2 * 3 or 3 * 7 matrix, for example. However, even though a
matrix is square this is no guarantee that its inverse matrix exists. If the determinant
of A is 0, that is A is singular, then A does not have an inverse. If the determinant is
non-zero, then the inverse can be found.
A = a b
a b
c d
a b
1 d -b
A-1 =
ƒAƒ -c a
Key point If
A = a b
a b
c d
then
a b
1 d -b
A-1 =
ƒAƒ -c a
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 565
Solution
(a) Here a = 3, b = 4, c = 2, d = 6 and ƒ A ƒ = 10. Then
a b
1 6 -4
A-1 =
10 -2 3
= a b
0.6 -0.4
-0.2 0.3
a b
1 0 -4
A-1 =
-4 -1 -1
a b
0 1
=
0.25 0.25
A-1 = a b
1 0
0 1
Example 4.3
Find the inverse of
B = a b
3 -2
4 -2
Solution
Here the values of a, b, c and d are given by 3, -2, 4, -2
The determinant of B is found.
ƒBƒ = 2
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 566
a b
-1 1
B-1 =
-2 1.5
Exercises
1 State the condition under which a square 2 Find the inverse of the following matrices. If
matrix does not have an inverse. an inverse does not exist, state this.
(a) a b (b) a b
6 1 -4 -1
4 3 3 5
(c) a b (d) a b
x -y 4 8
y x 5 10
Solutions to exercises
a b a b
1 If the determinant is zero, then the inverse 1 3 -1 1 -5 -1
does not exist.
2 (a) (b)
14 -4 6 17 3 4
a b
1 x y
(c) 2 2
(d) no inverse
x + y -y x
3 5 1
AT
= £1 2 4 ≥
0 -1 -2
0 2 -1
adj(A) = £ 9 -6 3 ≥
18 -11 1
adj(A)
A-1 =
ƒAƒ
0 2 -1
1
= £9 -6 3 ≥
9
18 -11 1
Example 4.5
Find the inverse of
4 -2 1
H = £9 6 0≥
3 -4 5
Solution
The transpose, HT, is found.
4 9 3
H = T
£ -2 6 -4 ≥
1 0 5
30 6 -6
adj(H) = £ -45 17 9 ≥
-54 10 42
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 568
Exercises
3 -1 7 1 2 -4 -2 0 3
(a) £ 2 0 1 ≥ (b) £ -1 3 6 ≥ (c) £ 4 4 -1 ≥
5 -2 6 1 12 0 3 1 6
Solutions to exercises
-2 8 1 -25 -3 12
1 1
1 (a) £ 7 17 -11 ≥ (b) no inverse (c) £ 27 21 -10 ≥
15 74
4 -1 -2 8 -2 8
1 Many computer algebra packages will calculate the inverse of a square matrix. For example, in
Maple, with the LinearAlgebra package loaded, with(LinearAlgebra), the command
MatrixInverse(A) will find A-1 when this exists. If the matrix A is singular, so no inverse exists,
this will be indicated. The Matlab function inv(A) does likewise. Use a package to which you have
access to find the inverse of each of the following matrices.
4 3 -2 2 6 1 0 3 2
3 -1 0 4 1 4 -1 2 -3
(a) § ¥
6 5 -3 0 (d) • 0 1 -6 6 5 μ
1 1 2 1 0 3 2 1 -1
5 1 -5 3 4
-3 10 9 4
6 0 1 0
(b) § ¥ -6 2 0 3 9
3 2 -1 1
5 1 6 -1 4
5 2 3 1
(e) • 7 3 4 -2 3μ
1 2 4 6 6 5 5 5 1
-1 -1 5 0 3 -2 -1 3 4
(c) § ¥
9 7 2 3
14 8 6 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 569
Solutions to exercises
-55 27 38 2
1 51 -30 -22 18
1 (a) § ¥
91 -25 4 9 34
54 -5 -34 3
0 8 2 -2
1 22 86 5 -93
(b) § ¥
44 0 -4 -12 12
-44 -200 16 204
is the inverse of
(c) a b (d) a b
1 2 5 -5
2 1 3
a b
-6 2 -1
-5 3
(e) a b (f) a b
10 -20 0.4 2
-2 4 0.9 3 state the values of x and y.
(a) a b (b) a b
3 -6 5 2
0 1 4 -1
5 0 6 10
2 7 3 5
(e) § ¥
6 3 0
(c) a b (d) a b
1 1 9 3 -1
-2 -2 -2 1 1 2 4 7
(e) a b
-3 1 11 Find, if possible, the inverse of each of the
2 -4 following matrices:
5 2 -1 -4 3 0
7 Calculate the inverse of each of the following (a) £ 6 3 1 ≥ (b) £ -1 1 2≥
matrices. If it is not possible to calculate the 5 9 6 4 0 1
inverse then state this clearly.
9 6 -9 4 2 -3
(a) a b (b) a b
5 6 -6 0
(c) £ 7 3 1 ≥ (d) £ 6 0 5 ≥
2 3 3 -1
-6 4 8 2 4 -11
(c) a b
4 -2 4 -3 6
-3 1.5 (e) £ 10 9 14 ≥
3 -6 0
8 Calculate the values of l for which
a b
2 - l 4 12 Find, if possible, the inverse of each of the
1.5 1 - l following matrices:
(a) a b (b) a b
has no inverse. l 3 3 x
l 5 x x2
9 If
2
(d) P Q
a b
3 x -2
(c) a b
a bc l
5 y
ab b2c 4 l
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 571
Solutions to exercises
a b
1 2 -1
4
x -1 1 -9 21 -5
1
11 (a) £ 31 -35 11 ≥
5 ƒAƒ = 0 56
-39 35 -3
1 6
a b (b) a b
1 0 6 1 10 -2 -3
6 (a) 1
30 -5 3 38 -6 5 (b) £ 9 -4 8 ≥
23
-4 12 -1
a b
1 1 -3
(c) no inverse (d) -20 84 -33
15 2 9 1
(c) £ 62 -18 72 ≥
606
a b
1 4 1 -46 72 15
(e) -
10 2 3
(d) no inverse
a b (b) a b
1 3 -6 1 -1 0 36 96
7 (a) 1
-84
3 -2 5 6 -3 -6 (e) £ -42 18 -4 ≥
(c) no inverse 312
87 -15 -66
8 -1, 4
1 x2
a b (b) 2 a b
1 5 -3 -x
12 (a)
9 x = 1, y = 2 2l -l l 2x -x 3
4 34 1 l 2
-6 (c) no inverse (d)
10 (a)
1
£ 13 5 -19 ≥ 10 £ 2≥
82 -4
12 -8 14 l
18 -6 -16
1
(b) £ 12 3 -13 ≥
42
0 0 14
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 572
Computer graphics
BLOCK 5
5.1 Introduction
a b
1 3
2 7
represents the line joining the points a b and a b . Similarly a triangle is defined
1 3
2 7
by three points. Figure 5.1 illustrates a triangle.
The triangle can be ‘stored’ as a 2 * 3 matrix, T, where
T = a b
2 5 3
3 6 -1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 573
O 1 2 3 4 5 6 xx
⫺11 (3, ⫺1)
1)
⫺22
Example 5.1
Write matrices that represent the quadrilaterals shown in Figure 5.2(a), (b).
Figure 5.2 y y
5 (0, 0) (3, 0)
4
(3, 4) 3 2 1 O 1 2 3 4 5 6 x
(1, 3) 1
3
2
2
3 (5, 3)
1
4
3 2 1 O 1 2 3 4 5 6 7 x 5
1 (3, 5)
Solution
Each quadrilateral is defined by four points.
(a) The quadrilateral can be stored as
Q = a b
-1 3 6 -2
3 4 -2 -2
a b a b
3 6 -1 -2 -2 3 -1 6
and
4 -2 3 -2 -2 4 3 -2
a b
0 3 5 -3
(b) A possible matrix is
0 0 -3 -5
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 574
T = a b
a b
c d
The matrix T premultiplies the point X. Let the result of this calculation be X*.
TX = a b a b
a b x
c d y
= a b
ax + by
cx + dy
= X*
We can think of the point a b as having been transformed into the point
x
y
a b
ax + by
cx + dy
by the matrix T.
Example 5.2
Solution
We calculate
a b a b = a b
1 2 -1 5
-1 4 3 13
Exercises
The point a b is transformed by the matrix The point a b is transformed by the matrix
3 5
1 2
-4 -1
a b a b
2 0 -1 3
3 1 4 2
Find the position of the transformed point. Find the position of the transformed point.
Solutions to exercises
a b a b
6 -8
1 2
5 18
Consider a straight line and a transformation matrix, T, whose elements are constants.
If T is applied to every point on the straight line the transformed points form a new
straight line; in other words, the transformation of a straight line is another straight
line provided the elements of T are constant. Thus to find the transformation of a
straight line we need only find the transformation of the end-points of the line and
then join these. This is illustrated in Figure 5.3.
Figure 5.3 y y
The transformation
of a straight line is Straight Transformation
another straight line matrix Straight
line. line
O x O x
Example 5.3
A straight line joins the points a b and a b . It is transformed by the matrix
2 4
-3 2
T = a b
1 2
-1 3
Solution
The end-points a b and a b are transformed.
2 4
-3 2
a b a b = a b
1 2 2 -4
-1 3 -3 -11
a b a b = a b
1 2 4 8
-1 3 2 2
5.5 Scaling
T = a b
4 0
0 1
Figure 5.4 y y
An example of
horizontal scaling.
(0, 1) (1, 1) (0, 1) (4, 1)
O (1, 0) x O (4, 0) x
Clearly T has the effect of increasing the horizontal lengths by a factor of 4; the
vertical lengths remain unchanged.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 577
a b
a 0
0 b
scales the horizontal lengths by a factor of a and the vertical lengths by a factor of b .
For horizontal expansion a must be greater than 1; for horizontal compression
we require a to be less than 1. Similar comments apply to vertical expansion and
compression.
Example 5.4
The zoom facilities of a graphing package expand both horizontal and vertical
lengths by a factor of 2.5. Determine the transformation matrix to do this.
Solution
A diagonal matrix is needed for scaling. Since both horizontal and vertical lengths
are scaled by a factor of 2.5 the required matrix is
a b
2.5 0
0 2.5
Exercises
1 Write down the transformation matrix that (c) scales horizontal distances by a factor of
(a) scales horizontal distances by a factor of 4 0.7 and vertical distances by a factor of 1.2
and leaves vertical distances unchanged (d) leaves horizontal distances unchanged and
(b) scales horizontal distances by a factor of 3 trebles vertical distances.
and vertical distances by a factor of 7
Solutions to exercises
(a) a b (b) a b
4 0 3 0
1
0 1 0 7
(c) a b (d) a b
0.7 0 1 0
0 1.2 0 3
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 578
5.6 Rotation
line from the origin to the point a b being rotated through an angle u. We say the
x
y
point a b has been rotated about the origin to the new position a b.
x x*
y y*
Figure 5.5 y
The point a b is
x
(x*, y*)
y
rotated anticlock-
wise through an
(x, y)
angle u to a b .
x*
y* θ
O x
Key point The transformation matrix, T, that rotates a point anticlockwise about the origin by an
angle u is given by
T = a b
cos u -sin u
sin u cos u
Example 5.5
The point a b is rotated anticlockwise about the origin through 40°. Calculate the
2
6
position of the new point.
Solution
The transformation matrix is
T = a b
cos 40° -sin 40°
sin 40° cos 40°
a ba b = a b
cos 40° -sin 40° 2 2 cos 40° - 6 sin 40°
sin 40° cos 40° 6 2 sin 40° + 6 cos 40°
= a b
-2.3246
5.8818
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 579
a b
1 2 3
1 5 1
It is rotated clockwise about the origin through 120°. Determine the resulting triangle.
Solution
Clockwise angles are considered to be negative and so the transformation matrix, T, is
T = a b
cos(-120°) -sin(-120°)
sin(-120°) cos(-120°)
= a b
-0.5 0.866
-0.866 -0.5
a b a b = a b
-0.5 0.866 1 2 3 0.366 3.330 -0.634
-0.866 -0.5 1 5 1 -1.366 -4.232 -3.098
Example 5.7
The line joining a b and a b is rotated through 90° anticlockwise about the
-1 3
4 1
origin. Determine the new line.
Solution
The transformation matrix, T, is
a b = a b
cos 90° -sin 90° 0 -1
T =
sin 90° cos 90° 1 0
a b
-1 3
4 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 580
a b a b = a b
0 -1 -1 3 -4 -1
1 0 4 1 -1 3
Exercises
Solutions to exercises
a b a b
0.7071 -0.7071 4.9641
1 3
0.7071 0.7071 -0.5981
a b a b
-0.9397 -0.3420 1.6730
2 4
0.3420 -0.9397 1.4836
5.7 Reflection
We now consider transformation matrices that effect reflection in the x axis, y axis,
the line y = x and the line y = -x.
T = a b
1 0
0 -1
Figure 5.6 y
The line AB is
reflected in the x
axis to produce
A*〉*. A
B
O x
B*
A*
T = a b
1 0
0 -1
Figure 5.7 y
The line AB is
reflected in the
y axis to produce A' A
A⬘B⬘. B
B'
O x
T = a b
-1 0
0 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 582
T = a b
-1 0
0 1
Figure 5.8 y
AB is reflected in
the line y = x to yx
B
produce A B .
A
A
B
O
x
Figure 5.8 illustrates reflection about the line y = x. In effect, the x and y coordinates
are interchanged. The required transformation matrix is
T = a b
0 1
1 0
T = a b
0 1
1 0
T = a b
0 -1
-1 0
T = a b
0 -1
-1 0
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 583
O x
B̂
Example 5.8
The point Aa b is reflected in the y axis and then the resulting point is reflected in
3
2
the line y = -x. Calculate the coordinates of the final point.
Solution
Reflection in the y axis is effected by the matrix
a b
-1 0
0 1
a b a b = a b
-1 0 3 -3
0 1 2 2
Reflection in y = -x is effected by
a b
0 -1
-1 0
a b a b = a b
0 -1 -3 -2
-1 0 2 3
Exercises
The point a b is reflected in the line y = -x. The point a b is reflected in the x axis. The
3 a
1 3
5 b
State the coordinates of the resulting point. resulting point is then reflected in the line
y = -x. State the coordinates of the final
The point a b is reflected in the y axis and
-1 point.
2
4
the resulting point is then reflected in the line
y = x. State the coordinates of the final point.
Solutions to exercises
a b a b
-5 b
1 3
-3 -a
a b
4
2
1
5.8 Shearing
Figure 5.10 y y
An x direction
shear.
O x O x
Figure 5.11 y y
A y direction
shear.
O x O x
a b
a b
c d
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 585
T = a b
1 0
3 1
(a) Determine the coordinates of the vertices of the figure after shearing.
(b) Sketch both figures.
Solution
(a) The unit square can be represented by
a b
0 0 1 1
0 1 0 1
Shearing produces
a b a b = a b
1 0 0 0 1 1 0 0 1 1
3 1 0 1 0 1 0 1 3 4
O 1 x O 1 x
(a) (b)
Exercises
a b
1 State the effect of the transformation matrix 1 0
4 1
a b
1 2
0 1 Describe the transformed figure.
Solutions to exercises
5.9 Translation
Figure 5.13 y
AB is translated to A* (4, 7)
A*〉*.
B* (5, 5)
A
(1, 3)
B (2, 1)
O x
P Q
y
1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 587
1 0 tx
P Q
T = 0 1 ty
0 0 1
Applying T to
P Q
X = y
1
we have
1 0 tx x
P Q P Q
TX = 0 1 ty y
0 0 1 1
x + tx
P Q
= y + ty
1
x + tx
P Q
y + ty
1
a b
x + tx
y + ty
Example 5.10
Determine the translation matrix for the translation depicted in Figure 5.13 above.
Solution
Here tx = 3 and ty = 4 and so
1 0 3
P Q
T = 0 1 4
0 0 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 588
Example 5.11
The translation matrix
1 0 -1
P Q
T = 0 1 2
0 0 1
P Q
-6
1
Then
1 0 -1 4 3
P Q P Q P Q
0 1 2 -6 = -4
0 0 1 1 1
Exercises
P Q
0 1 -3
A point is translated from a b to a b .
-3 -6
2 0 0 1
-1 0
State the corresponding translation matrix. 4 The line AB is translated 3 units in the x
direction with no movement in the y direction.
State the corresponding translation matrix.
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 589
Solutions to exercises
P Q
1 0 1 2 3 units in the negative y direction.
0 0 1
1 0 3
P Q
1 0 -3 4 0 1 0
P Q
2 0 1 1 0 0 1
0 0 1
a b
a b
c d
a b 0
P Q
T = c d 0
0 0 1
P Q
y
1
a ba b = a b
a b x ax + by
c d y cx + dy
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 590
and
a b 0 x ax + by
P Q P Q P Q
c d 0 y = cx + dy
0 0 1 1 1
Transforming a point using the extended matrix and homogeneous coordinates has
exactly the same effect as using the 2 * 2 matrix on the coordinates a b . However,
x
y
all transformation matrices are now 3 * 3 and so composite transformations, in the
form of matrix products, can be calculated.
Example 5.12
The point a b is reflected in the line y ⫽ x and then rotated anticlockwise about the
4
1
origin by 70°.
(a) Calculate the composite transformation matrix.
(b) Calculate the final position of the point.
Solution
(a) Reflection about the line y = x is represented by Tref where
0 1 0
P Q
Tref = 1 0 0
0 0 1
P Q
Trot = sin 70° cos 70° 0
0 0 1
Hence the composite transformation is given by
P QP Q
Trot Tref = sin 70° cos 70° 0 1 0 0
0 0 1 0 0 1
P Q
= cos 70° sin 70° 0
0 0 1
(b) The homogeneous coordinates of the point are
P Q
1
1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 591
P QP Q P Q
cos 70° sin 70° 0 1 = 4 cos 70° + sin 70°
0 0 1 1 1
-3.417
P Q
= 2.308
1
Example 5.13
Determine a transformation matrix that rotates a point 30° anticlockwise about the
point a b .
1
2
Solution
The rotation matrices so far encountered have all represented rotation about the
origin. Hence to represent rotation about a b we require three transformations
1
2
(Figure 5.14):
Figure 5.14 y
Rotation about
a b requires
1 (x, y)
2
three basic 30°
transformations.
(x*, y*)
2 (1, 2)
30°
1
O 1 x
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 592
1 0 -1
P Q
Ttrans = 0 1 -2
0 0 1
0.8660 -0.5 0
P Q
Trot = 0.5 0.8660 0
0 0 1
1 0 1
P Q
Tret = 0 1 2
0 0 1
1 0 1 0.8660 -0.5 0 1 0 -1
P Q P Q P Q
Tret Trot Ttrans = 0 1 2 0.5 0.8660 0 0 1 -2
0 0 1 0 0 1 0 0 1
P Q
= 0.5 0.8660 -0.232
0 0 1
Exercises
1 Determine a matrix that shears vertically by 2 Determine a matrix that rotates a figure anti-
clockwise through 40° about the point a b .
a factor of 2 and then rotates anticlockwise 1
about the origin by 30°. 0
Solutions to exercises
P Q P Q
1 2.2321 0.8660 0 2 0.6428 0.7660 -0.6428
0 0 1 0 0 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 593
(2, 4)
y
y
(3, 2) (2, 2)
(1, 1)
x x
(3, 0.75) (4, 1)
(1, 2)
(a) (b)
(1, 2) (3, 2)
(3, 1)
(1, 1)
(2, 0) x
(c)
Figure 5.15
2 Draw the figures represented by each of the 5 The zoom facility of a computer graphics
following matrices: package has the following options:
(a) double horizontal lengths only
(a) a b (b) a b
2 -1 1 3 5
(b) double vertical lengths only
0 1 2 4 6 (c) double both horizontal and vertical lengths
(c) a b
-1 2 -4 3 (d) halve both horizontal and vertical lengths.
3 4 1 0 Write down the transformation matrix for each
option.
P Q
(a) State the rotation matrix, S, that represents
a clockwise rotation through an angle u. 0 1 -1
(b) Calculate R-1. (Hint: see question 9.) 0 0 1
(c) What do you conclude from (a) and (b)? Describe the translated line.
Solutions to exercises
(a) a b
-1 3 1 2 See Figure 5.16.
1
1 2 -2 (a)
y
(b) a b
-3 -2 2 4
-0.75 4 2 -1
(1, 1)
(c) a b
1 3 3 2 1
(2, 0) x
2 2 1 0 1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 595
(a) a b
(b) cos u sin u
10
y -sin u cos u
(b) a b
6 cos u sin u
(5, 6)
4 -sin u cos u
(3, 4)
2
(1, 2) (c) The inverse of R represents a clockwise
1 2 3 4 5 6 x rotation through u.
a b
5 0
12
(4, 1) 0 1
P Q
15 0 1 5
The transformed line joins a b and a b .
17 -4
3 0 0 1
6 3
The line joins a b and a b .
7 8
16
4 The transformed triangle has vertices at -3 8
0 2
a b, a b and a b .
5 10 -1
P Q
-1
-3 0 -5 17 0 1 -3
0 0 1
(a) a b (b) a b
2 0 1 0
5
0 1 0 2
0 0.5 0
(c) a b (d) a b P Q
2 0 0.5 0 18 -2 0 0
0 2 0 0.5 0 0 1
a b
-5.9802
6 0.7071 -0.7071 0.1213
P Q
1.1124
19 0.7071 0.7071 1.7071
a b
1.0126 0 0 1
7
-3.4605
a b
1 7 6
8
-3 -2 1
P Q
(e) A + 3B, (f) aA + bB where a and b are
constants. B = 3 1
2 0
3 Give an example of (a) a 2 * 4, (b) a 4 * 2
matrix. calculate (a) AT, (b) BT, (c) A + BT,
(d) AT + B, (e) 2A, (f) (2A)T, (g) 2(AT).
4 Calculate the number of elements in (a) a 3 * 4,
(b) a 7 * 2, (c) a 3 * n , (d) an m * n matrix. 12 Given
(a) a b (b) a b
3 1 -1 3 C = (-2 3)
4 2 2 1
calculate, if possible, (a) AB, (b) BA, (c) AC,
(c) a b (d) a b
0 1 1 0 (d) CA, (e) BC, (f) CB.
1 0 0 1
13 Given
(e) a b (f) a b
3 2 a b
x x b a 4 2
P Q
6 Find the inverse of each of the following A = (1 3 -2), B = 1 3
matrices: -1 0
(a) a b (b) a b C = a b
-1 4 6 -4 1 -1 0
5 6 2 3 4 1 2
(c) a b (d) a b
-3 5 1 -7 -2
calculate, if possible, (a) B + C, (b) B + CT,
0 1 2 4 3 (c) AB, (d) BA, (e) ACT, (f) (AC)T, (g) BC,
7 Calculate the determinant of each of the (h) CB.
following matrices:
The straight line joining a b and a b is
-6 1
14
1 2 1 -1 3 2 2 -4
P Q P Q
(a) 0 1 1 (b) 2 1 0 rotated 50° anticlockwise about the origin.
Determine the transformed line.
1 -1 0 1 3 0
P Q P Q
-3
(c) 4 1 0 (d) 1 2 2 and then the resulting point is rotated 30°
3 2 -1 2 1 2 anticlockwise about the origin. Determine the
coordinates of the final point.
8 Calculate the inverse of each of the matrices in
question 5.
A unit square has vertices at a b , a b, a b
0 0 1
16
9 Calculate the inverse of each of the matrices in 0 1 0
and a b . It is subject to a shear, and this results
1
question 7.
1
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 597
P Q
effects this shear. D = 7 0 8
9 -8 0
17 The transformation matrix
3 4 1
P Q
1 0 4 E = 4 1 0
P Q
T = 0 1 0.5 1 0 7
0 0 1
(b) Show that if A is a 2 * 2 or 3 * 3
is applied to the line joining a b and a b .
0 3
skew-symmetric matrix then its diagonal
1 -1 elements must all be zero.
Determine the transformed line.
22 (a) A non-singular matrix A is said to be
The point a b is rotated 90° anticlockwise
-1 orthogonal if its transpose is equal to its
18
2 inverse: that is, AT = A-1. Given that
about the origin and then translated 2 units in
the x direction and 3 units in the y direction.
A = a b
cos u sin u
Calculate -sin u cos u
(a) the composite transformation matrix
(b) the coordinates of the transformed point. is an orthogonal matrix, write down its
inverse, and check your answer by
19 The leading diagonal of a square matrix, A, is evaluating A A-1.
the diagonal running from the top left to the (b) Show that
bottom right. The sum of the elements on the
leading diagonal is called the trace of A. 3 4
(a) Find the trace of -
5 5
§ ¥
A = a b
1 2 4 3
5 -3 5 5
(b) Find the trace of
is an orthogonal matrix.
4 1 3
P Q
A = 2 7 1 23 If
0 0 12
A = a b
0 1
(c) For an arbitrary 2 * 2 and 3 * 3 matrix -3 -2
A, show that trace(A) = trace(AT).
(a) write down the matrix sI - A, where s is a
20 Evaluate constant and I is the 2 * 2 identity matrix
(b) find (sI - A)-1.
1 4 2 1
24 Control Engineering. The state matrix of an
∞ ∞
3 0 1 9
0 -1 1 1 engineering system is given by
2 1 0 1
A = a b
-2 -1
21 (a) A square matrix A is said to be symmetric 16 5
if A = AT, and skew symmetric if
Calculate the values of the system poles.
A = -AT. State which, if any, of the
Determine whether the system is stable or
following matrices are symmetric and
unstable.
which are skew symmetric.
M12_CROF5939_04_SE_C12.QXD 11/28/18 7:39 PM Page 598
Solutions to exercises
(c) a b (d) a b
5 5 12 -6 2
1 -
a b
-3 4 3 -9 x 1 a -b
(e) § ¥ (f) 2
3 a - b2 - b a
-1
(e) a b (f) a b
4.5 1.5 - 28 -16 x
-1 0.5 10 -10
1 -1 1
2 P Q
(a) a b (b) a b
8 4 12 1 -2 -4 1
2 9 (a) 1 -1 -1
-4 16 0 4 -1 -3
-1 3 1
(c) a b
-5 0 -2
-2 -7 3 0 6 -2
10 P Q
1
(b) 0 -2 4
(d) a b
- 0.25 0.5 1 5 6 -7
-1 0.25 0.75
1 4 -1
16 P Q
1
(e) a b
-1 7 15 (c) -4 0 4
- 13 7 9 -5 12 -11
(f) a b
2a - b a + 2b 3a + 4b 2 -3 2
5 P Q
1
- a - 4b 4a + b 3b (d) 2 2 -3
-3 2 2
1 1
10 If the determinant is zero, then the matrix has
(a) a b (b) §
1 2 3 4 2 2
3 ¥ no inverse.
1 -1 0 1 3 -1
4 3
3 0
P Q
(b) a b
9 3 2
11 (a) 1 2
4 (a) 12 (b) 14 (c) 3n (d) mn -6 1 0
4 -1
5 (a) 2 (b) - 7 (c) - 1 (d) 1 (e) x (f) a2 - b 2
12 -6
P Q
(c) a b (d) 4
12 4 6
a b (b) a b
1 -6 4 1 3 4 3
6 (a) -6 3 -1
26 5 1 26 - 2 6 6 -1
a b (d) a b
1 -1 5 2 -3 -2 6 0
(c)
P Q
(e) a b (f) 2
3 0 3 13 4 7 6 2 8
4
0 4 -2
8 -2
7 (a) 2 (b) 10 (c) -16 (d) 5
6 0
(a) a b (b) a b P Q
1 -0.5 1 -1 3 (g) 2 4
8
-2 1.5 7 2 1 8 -2
M12_CROF5939_04_SE_C12.QXD 9/22/18 8:11 AM Page 599
(a) not possible (b) a b (c) a b The transformed line joins the points a b
0 -6 9 4
12 17
7 -2 3 1.5
and a b.
7
(d) -3 (e) not possible (f) (4 9) -0.5
5 6 0 -1 2
P Q
3 (b) a b
P Q
0
13 (a) not possible (b) 0 4 18 (a) 1 0
2
-1 2 0 0 1
12 -2 4 20 70
P Q
(f) not possible (g) 13 2 6
21 D is skew symmetric, E is symmetric and C is
-1 1 0 neither.
(h) a b
3 -1
A-1 = a b
cos u -sin u
15 11 22
sin u cos u
Line joins a b to a b.
-5.3888 3.7070
(a) a b
14 s -1
-3.3107 -1.8051 23
3 s + 2
a b a b
-3.5981 1 s + 2 1
15 (b)
0.2321 2
s + 2s + 3 -3 s
3 ; 2-15
a b
1 2 24 Poles are s = . System is unstable.
16 2
3 1
M13_CROF5939_04_SE_C13.QXD 10/3/18 6:46 PM Page 600
Chapter 13
Using matrices and determinants to solve
equations
Chapter 13 contents
Cramer’s rule
BLOCK 1
1.1 Introduction
` ` ` `
k1 b1 a1 k1
k2 b2 a2 k2
x = , y =
` ` ` `
a1 b1 a1 b1
a2 b2 a2 b2
Note that the denominator is the same in each case. The denominator is simply the
determinant made up of the coefficients of x and y. If the denominator is zero then
Cramer’s rule cannot be applied. In such a case, either a unique solution to the
system does not exist or there is no solution.
Note how the numerator of each fraction is formed. To form the numerator for the
x fraction we replace the column of as in
` `
a1 b1
a2 b2
by a column of ks. Similarly the numerator for the y fraction is formed by replacing
the column of bs by a column of ks.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 604
` `
3 1
` `
7 3 2 1 1 3
i1 = = = 2, i2 = = = 1
` ` ` `
1 1 1 1 1 1 2 7
2 3 2 3
Cramer’s rule may be extended to systems of linear equations with more than two
unknowns. Consider the following linear system with three unknowns, x, y and z.
a1x + b1y + c1z = k1
a2x + b2y + c2z = k2
a3x + b3y + c3z = k3
Then Cramer’s rule states
Key point k1 b1 c1 a1 k1 c1 a1 b1 k1
† k2 b2 c2 † † a2 k2 c2 † † a2 b2 k2 †
k3 b3 c3 a3 k3 c3 a3 b3 k3
x = , y = , z =
a1 b1 c1 a1 b1 c1 a1 b1 c1
† a2 b2 c2 † † a2 b2 c2 † † a2 b2 c2 †
a3 b3 c3 a3 b3 c3 a3 b3 c3
Note again that, in all three cases, the denominators are the same. The numerators
are formed by replacing a column of as, bs or cs by a column of ks.
v1 + 2v2 + v3 = 2
2v1 - v2 - 2v3 = 5
2v1 + 2v2 + 3v3 = 7
2 2 1
†5 -1 -2 † , -39
7 2 3
v1 = =
1 2 1 -13
†2 -1 -2 †
2 2 3
⫽3
1 2 1
†2 5 -2 †
2 7 3
v2 =
-13
13
= = -1
-13
1 2 2
†2 -1 5†
2 2 7
v3 =
-13
-13
= = 1
-13
The voltages are v1 = 3, v2 = -1 and v3 = 1.
Cramer’s rule can be extended to four and more unknowns in an obvious way, but the
determinants become too large to make this a sensible approach. Gaussian elimina-
tion, described in Block 3, is a practical alternative.
Exercises
(c) i1 + i2 - i3 = 1
2 Solve the following systems of three linear
3i1 - i2 + 2i3 = 7
equations using Cramer’s rule:
-i1 + 2i2 - i3 = -0.5
(a) 2x - y - 2z = 1
(d) 2v1 - v2 + v3 = 5.9
x + y + 3z = 6
-2x + 3z = -1 v1 + 12 v2 - v3 = 0.7
(b) b - 2g = -6 -3v1 + 2v3 = -3.1
a + 3b + g = 2 (e) u1 + u2 + 4u3 = 0
3a + 2g = 3 2u1 - u2 + u3 = 5.4
u1 + 2u2 - u3 = 9.2
Solutions to exercises
1 (a) x = 3, y = 4 2 (a) x = 2, y = 1, z = 1
(b) u1 = 2, u2 = -3 (b) a = -1, b = 0, g = 3
(c) i1 = 3.5, i2 = 2.3 (c) i1 = 1.5, i2 = 1.5, i3 = 2
(d) v1 = 3.1, v2 = 2.7 (d) v1 = 2.3, v2 = 0.6, v3 = 1.9
(e) a = -1.6, b = -0.7 (e) u1 = 4.3, u2 = 1.7, u3 = -1.5
1 Electrical Engineering. Voltages v1 and v2 in 3 Explain why Cramer’s rule cannot be applied
a circuit are related by the system of equations to the following system of equations:
3v1 + 2v2 = 6 3x - 2y = 10
-4v1 + 10v2 = -27 y - 1.5x = -5
Calculate v1 and v2 using Cramer’s rule.
4 Mechanical Engineering. The magnitudes of
forces f and g in a mechanical system are
2 Electrical Engineering. The currents i1, i2 and
connected by the equations
i3 of a circuit are related by
3f + 5g - 16.1 = 0
2i1 + i2 - i3 = 8
2f - g - 3.8 = 0
i1 - i2 + i3 = -5
3i1 + 2i2 = 9 Use Cramer’s rule to determine the magnitudes
of f and g.
Use Cramer’s rule to evaluate the three
currents.
Solutions to exercises
2 i1 = 1, i2 = 3, i3 = -3
3 The matrix
a b
3 -2
-1.5 1
has a zero determinant.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 607
2.1 Introduction
Block 1 dealt with Cramer’s rule for solving a system of linear equations. The solu-
tions were given in terms of determinants. This block shows how an inverse matrix
can be used to solve a system of linear simultaneous equations. You will need to be
familiar with the techniques for finding the inverses of 2 * 2 and 3 * 3 matrices as
described in Chapter 12, Block 4.
a b a b
7 2 x
3 1 y
is equivalent to
a b
7x + 2y
3x + y
Hence we can write the simultaneous equations as
a b a b = a b
7 2 x 12
3 1 y 5
This is the matrix form of the simultaneous equations.
Writing
A = a b, X = a b, B = a b
7 2 x 12
3 1 y 5
we have the standard form
AX = B
Note that the elements of A come from the coefficients of x and y and that the
elements of B come from the right-hand sides of the equations.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 608
Example 2.1
Write the following system of equations in the standard matrix form AX = B.
2x + y - z = 4
x - y + 3z = -2
2x + 2y - 3z = 9
Solution
The elements of A are the coefficients of x, y and z. Hence
2 1 -1
A = £1 -1 3 ≥
2 2 -3
and
x 4
X = £ y ≥, B = £ -2 ≥
z 9
2 1 -1 x 4
£1 -1 3 ≥ £ y ≥ = £ -2 ≥
2 2 -3 z 9
Example 2.2
Express the following system in the form AX = B.
-x + 3y + 4z = 7
y - 4x = 7
y + 3x - z = -9
Solution
The equations are rewritten so that the variables x, y and z appear in the same order.
-x + 3y + 4z = 7
-4x + y + 0z = 7
3x + y - z = -9
Then
-1 3 4
A = £ -4 1 0≥
3 1 -1
x 7
X = £ y ≥, B = £ 7 ≥
z -9
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 609
Exercises
Solutions to exercises
(a) a ba b = a b
3 -4 x 9 2 -1 3 x 0
1
1 2 y 6 (c) £ 3 4 1≥ £y≥ = £ 1 ≥
(b) a ba b = a b
1 -1 a 0.5 -2 0 3 z -2
3 7 b 11.6
Multiplying a matrix by the identity matrix has no effect and so IX = X. So the left-
hand side of equation (1) simplifies to
A-1 AX = IX
= X
and so, from (1),
X = A-1 B
Example 2.3
Solve
7x + 2y = 12
3x + y = 5
using the inverse matrix method.
Solution
Writing the equations in matrix form, AX = B, gives
a b a b = a b
7 2 x 12
3 1 y 5
Here
A = a b, B = a b, X = a b
7 2 12 x
3 1 5 y
We calculate A-1.
A-1 = a b
1 -2
-3 7
Hence
X = A-1 B
= a b a b
1 -2 12
-3 7 5
= a b
2
-1
We have
X = a b
x
y
= a b
2
-1
that is x = 2, y = -1.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 611
Solution
We have AX = B where
B = a b and X = a 1 b a b
8.6 i 2 1
A = ,
9.4 i2 3 -1
We calculate A-1.
1 1
5 5
A -1
= £3 ≥
5 - 25
So
X = A-1 B
1 1
≥a b
5 5 8.6
= £3
5 - 25 9.4
a b
3.6
=
1.4
So i1 = 3.6 and i2 = 1.4.
Solution
The equations are written in matrix form:
-1 3 4 f1 7
£ -4 1 0 ≥ £ f2 ≥ = £ 7 ≥
3 1 -1 f3 -9
Writing
-1 3 4
A = £ -4 1 0≥
3 1 -1
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 612
Exercises
1 Solve the following systems of linear solve the following system of equations:
equations using the inverse matrix method: 2x - y - z = 7
(a) 3x - y = 4 x + 2y - 2z = 13
x + 2y = 13 2x + 3y + z = 9
(b) 2a - b = -11
1
2a + b = 1 4 Given that the inverse of
(c) v1 - 2v2 = -3.5 1 -1 2
3v1 + 5v2 = 17
£4 3 -1 ≥
(d) 2 i1 + i2 = 3.5
-i1 + 2i2 = 3.5 3 -1 4
(e) p - 2q = -0.7 is
2p - q = -1.1
11 2 -5
2 State conditions under which the inverse 1
£ -19 -2 9≥
matrix method will fail to find a set of 4
solutions. -13 -2 7
Solutions to exercises
1 (a) x = 3, y = 5 3 x = 3, y = 2, z = -3
(b) a = -4, b = 3
(c) v1 = 1.5, v2 = 2.5 4 x = 0, y = 2, z = 3
(d) i1 = 0.7, i2 = 2.1
(e) p = -0.5, q = 0.1 5 r1 = 0.6, r2 = 1.1, r3 = 0.7
(b) 2a + 4b - g = -2
1 Using a computer algebra package to calculate
a + 2b + 3g = 20
the relevant inverse matrix and perform the
a + b = 0.5
matrix multiplication, solve the following
systems using the inverse matrix method: (c) i1 + i2 + i3 - i4 = 2
(a) 2x - y + z = -7 i1 - i2 + i3 + i4 = 6
x + 2y + 12 z = 19 -i1 + i2 + i3 - i4 = 0
4x + 3z = 0 -i1 + i2 - i3 + 4i4 = 14
Solutions to exercises
1 (a) x = 3, y = 9, z = -4
(b) a = -1, b = 1.5, g = 6
(c) i1 = 1, i2 = 2, i3 = 3, i4 = 4
1 Use the inverse matrix method to solve 3 Given that the inverse of
(a) 4x - 3y = 6
1 -1 3
-2x + y = -4
£ 2 1 1≥
(b) a + 2b = 2 -3 1 4
3a - 4b = -9
is
2 Explain why the inverse matrix method cannot
be applied to the following system: 3 7 -4
1
£ -11 13 5≥
3x - y = 7 29
5 2 3
-6x + 2y = -14
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 614
Solutions to exercises
1 (a) x = 3, y = 2 3 (a) x = 2, y = 2, z = 1
(b) a = -1, b = 1.5 (b) x = 0, y = 1, z = -2
(c) x = -1, y = 1, z = 4
2 The matrix
a b
3 -1
-6 2
has no inverse.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 615
Gaussian elimination
BLOCK 3
3.1 Introduction
a b
2 3 16
1 -1 -2
Solution
The augmented matrix is
3 -1 2 7
£4 1 0 6≥
1 2 -1 2
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 616
Exercises
(c) 7x - y - z = 3
1 Write the augmented matrix for each of the
3x + 2y + z = 4
following systems of equations:
5x + 2y + 3z = 20
(a) 2x - y = 8
x + 2y = 14 (d) x - y + z = 2
5x + y + 2z = 7
(b) 3x + 2y = 4
4x - 2y - z = -1
5x + 2y = 0
(e) x - 2y + z = 0
(c) x - 3y = 10
-4x + y = 10
2x + y = -1
2y - 7z = 3
(d) x - y = 4
6x + 3y = 1.5
(e) 3x + 4y = 50
-5x + 2y = -1
(b) x - 12y + 3z = 1
3x + 2y + z = -5
5x + 2z = -8
Solutions to exercises
(a) a b (b) a b
2 -1 8 3 2 4 7 -1 -1 3
1
1 2 14 5 2 0 (c) £ 3 2 1 4≥
5 2 3 20
(c) a b (d) a b
1 -3 10 1 -1 4
2 1 -1 6 3 1.5 1 -1 1 2
(d) £ 5 1 2 7 ≥
(e) a b
3 4 50
-5 2 -1 4 -2 -1 -1
1 -2 1 0
1 1 1 4
(e) £ -4 1 0 10 ≥
2 (a) £ 3 -2 4 25 ≥
0 2 -7 3
2 3 2 6
1
1 - 3 1
2
(b) § 3 2 1 -5 ¥
5 0 2 -8
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 617
When a system of linear equations is solved, there are three possible outcomes.
These three possible outcomes were studied in Block 4 of Chapter 7. In this section we
revisit these three possibilities and note the form of the augmented matrix in each case.
Case 1
For example, consider the system
x + 3y = 7
0x + y = 2
This system has a unique solution, x = 1, y = 2. The corresponding augmented
matrix is
a b
1 3 7
0 1 2
Case 2
Consider the system
x + 3y = 7
0x + 0y = 0
There is really only one equation here because the second states that 0 = 0. There are
an infinite number of solutions of the first equation. For example, x = 7 and y = 0;
x = 10 and y = -1. In general, whatever the value of y, the equation is satisfied if
x = 7 - 3y. We write this as follows: letting y = t, say, then x = 7 - 3t. This is
true for any value of t we choose, so t is called a free variable. The corresponding
augmented matrix is
a b
1 3 7
0 0 0
Case 3
Finally consider the system
x + 3y = 7
0x + 0y = 2
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 618
The second equation seems to state that 0 = 2. This is nonsense. There are no
solutions and the augmented matrix is
a b
1 3 7
0 0 2
a b
1 -4 13
0 1 -3
x - 4(-3) = 13
x + 12 = 13
x = 1
In Example 3.2 the value of y was found and substituted back into the remaining
equation so that x could be found. This technique is known as back substitution.
Example 3.3
A system has augmented matrix
a b
1 3 -6
0 0 4
a b
1 3 17
0 0 0
Solution
The second row of the matrix is equivalent to the equation
0x + 0y = 0
This equation is satisfied for any value of x and y. The first row is equivalent to
x + 3y = 17
This has an infinite number of solutions: x = 17 - 3t, y = t.
Example 3.5
A system has augmented matrix
1 2 -3 11
£0 1 -4 7≥
0 0 1 -1
Solution
From the third row, the equation is
0x + 0y + 1z = -1
that is
z = -1
From the second row, the corresponding equation is
y - 4z = 7
Substituting in z = -1 the equation can be solved for y.
y - 4(-1) = 7
y + 4 = 7
y = 3
The equation corresponding to the first row is
1x + 2y - 3z = 11
By substituting in the values already obtained for y and z, we can determine x.
x = 2
The system has a unique solution: x = 2, y = 3, z = -1.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 620
Exercises
(c) a b (g) a b
1 5 6 1 3 6 25
0 1 0 0 0 1 3
(d) a b
1 5 6
0 0 1
Solutions to exercises
Example 3.6
Determine which of the following matrices are in row-echelon form:
(a) a b
1 2 5
0 1 7
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 621
0 1 3 6
(b) £ 1 4 -1 3≥
0 0 0 0
(c) a b
0 0 1 6
0 0 0 0
1 6 9 4
(d) £ 0 1 -3 6≥
0 0 1 5
Solution
(a) This is in row-echelon form. Note that the leading 1 in the second row is further
to the right than the leading 1 in the first row.
(b) This is not in row-echelon form since the leading 1 in the first row is further to
the right than the leading 1 in the second row.
(c) This is in row-echelon form.
(d) This is in row-echelon form.
Exercises
Solutions to exercises
Given any augmented matrix we would like to be able to transform it into row-
echelon form as the solution of the system can then easily be found. The way we
effect this transformation is by using elementary row operations.
We define three elementary operations that we can apply to the equations of the
system.
Key point The elementary operations that change a system but leave the solution unaltered are as
follows:
1 Change the order of the equations.
2 Multiply or divide an equation by a non-zero constant.
3 Add, or subtract, a multiple of one equation to, or from, another equation.
When applied to a system, elementary row operations may change the equations but
the solution to the resulting system remains unchanged. We apply elementary row
operations to a simple system to illustrate this.
Consider the system of linear equations
2x + 5y = 12 (1)
x + y = 3 (2)
x + y = 3
2x + 5y = 12
12x + 30y = 72
x y 3
+ =
5 5 5
2x + 5y = 12
7x + 16y = 39
a b
2 5 12
1 1 3
(b) (i) The rows are interchanged. The augmented matrix becomes
a b
1 1 3
2 5 12
(ii) We now use the augmented matrix in (b) (i). Subtracting 2 * the first row
from the second row results in
a b
1 1 3
0 3 6
(iii) We now use the augmented matrix in (b) (ii). Dividing the second row
by 3 gives
a b
1 1 3
0 1 2
(c) Note that the matrix is now in row-echelon form. From the second row we see
that y = 2. From the first row we have
1x + 1y = 3
Substituting y = 2 into this equation we obtain x = 1. Thus the solution to the
original system is x = 1, y = 2.
Example 3.8
Use Gaussian elimination to solve
3x - y = 1
2x + 3y = 19
Solution
The augmented matrix is
a b
3 -1 1
2 3 19
We now apply a series of elementary row operations to transform the augmented
matrix into row-echelon form.
Subtract the second row from the first row.
a b
1 -4 -18
2 3 19
Subtract 2 ⫻ the first row from the second row.
a b
1 -4 -18
0 11 55
Divide the second row by 11.
a b
1 -4 -18
0 1 5
The matrix is now in row-echelon form. From the second row we see that y = 5. The
first row corresponds to the equation
1x - 4y = -18
Substituting y = 5 into this equation allows x to be found.
2
The solution to the system is x = 2, y = 5.
Example 3.9
Use Gaussian elimination to solve
2x + y + 2z = 8
x - 3y + 3z = -4
4x + 2y - z = 1
Solution
The augmented matrix is
2 1 2 8
£1 -3 3 -4 ≥
4 2 -1 1
We apply a series of elementary row operations to transform the matrix into row-
echelon form.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 625
1 -3 3 -4
£2 1 2 8≥
4 2 -1 1
Subtract 2 * the first row from the second row, subtract 4 * the first row from the
third row. This produces
1 -3 3 - 4
£0 7 -4 16 ≥
0 14 -13 17
Subtract 2 * the second row from the third row to get
1 -3 3 -4
£0 7 -4 16 ≥
0 0 -5 -15
Divide the second row by 7, divide the third row by -5.
1 -3 3 -4
4 16
§0 1 - ¥
7 7
0 0 1 3
The matrix is now in row-echelon form. From the third row we see that
z = 3
The second row is equivalent to the equation
4 16
1y - z =
7 7
Substituting z = 3 and solving for y yields
y = 4
The first row is equivalent to the equation
1x - 3y + 3z = -4
Substituting in the values for y and z and solving for x yields
x = -1
The solution to the system is x = -1, y = 4, z = 3.
Exercises
1 Use Gaussian elimination to solve the systems 2 Use Gaussian elimination to solve the systems
of linear equations given in question 1 of of linear equations given in question 2 of
Section 3.2. Section 3.2.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 626
Solutions to exercises
t
1 (a) x = 6, y = 4 (b) x = -2, y = 5 3 x = 4 - ,y = t
(c) x = 1, y = -3 (d) x = 1.5, y = -2.5 2
(e) x = 4, y = 9.5 4 no solution
2 (a) x = 3, y = -2, z = 3 13 - 4t 17 - t
(b) x = -2, y = 0, z = 1 5 x = ,y = ,z = t
5 10
(c) x = 1, y = -3, z = 7
1 1
(d) x = 2, y = 2, z = 2
(e) x = -3, y = -2, z = -1
Solutions to exercises
3 -1 0 4 4 x = 1, y = 2, z = -2
1 (a) £ 0 2 3 -7 ≥
1 -1 1 11 t
5 x = 5 - ,y = t
2
1 1 3
(b) £ 2 -1 0≥ 6 x = -1, y = 0
5 3 11
7 no solution
2 (a) echelon form (b) echelon form
(c) echelon form 8 no solution
4.1 Introduction
In this block we consider the meaning and calculation of eigenvalues and eigenvectors.
Although such calculations may at first sight appear abstract, eigenvalues have
important applications in the area of vibration analysis. Familiarity with the evalu-
ation of determinants and the solution of simultaneous equations by Gaussian elimi-
nation is essential.
Before we can discuss eigenvalues some preliminary results about determinants are
required. These are now developed.
Consider the simultaneous equations
ax + by = 0
cx + dy = 0
5x - 3y = 0
10x - 2y = 0
Case 2:
5x - 3y = 0
10x - 6y = 0
a ba b = a b
a b x 0
c d y 0
or
AX = 0
where
A = a b, X = a b 0 = a b
a b x 0
and
c d y 0
We note that ad - bc is the determinant of A, so non-trivial solutions exist when the
determinant of A is zero, that is when A is a singular matrix.
In summary
This Key point holds true for a square matrix of any size.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 630
Example 4.1
Decide which system has non-trivial solutions.
(a) 4x - y = 0 (b) x + 2y = 0
2x - 3y = 0 3x + 6y = 0
Solution
(a) We write the system as
a b a b = a b
4 -1 x 0
2 -3 y 0
Let
A = a b
4 -1
2 -3
Then
det(A) = 4(-3) - (-1)(2) = -10
Since the determinant of A is non-zero the system has only the trivial solution.
(b) We write the system as
a ba b = a b
1 2 x 0
3 6 y 0
Then
A = a b
1 2
3 6
and |A| = 6 - 6 = 0. Since the determinant of A is zero the system has
non-trivial solutions.
Example 4.2
Determine which system has non-trivial solutions.
(a) 3x - y + z = 0
x + 2y + 2z = 0
4x + y + 3z = 0
(b) 3x - y + z = 0
x + 2y + 2z = 0
5x - y + 3z = 0
Solution
(a) We have
AX = 0
where
3 -1 1 x
P Q P Q
A = 1 2 2 and X = y
4 1 3 z
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 631
ƒAƒ = 0
3 -1 1
P5 Q
A = 1 2 2
-1 3
ƒAƒ = 6
Exercises
1 Explain what is meant by the trivial solution of 3 Determine which of the following systems
a system of linear equations and what is meant have non-trivial solutions:
by a non-trivial solution. (a) x + 2y - z = 0
3x + y + 2z = 0
2 Determine which of the following systems x + y = 0
have non-trivial solutions: (b) 2x - 3y - 2z = 0
(a) x - 2y = 0 3x + y - 3z = 0
3x - 6y = 0 x - 7y - z = 0
(b) 3x + y = 0 (c) x + 2y + 3z = 0
9x + 2y = 0 4x - 3y - z = 0
(c) 4x - 3y = 0 6x + y + 3z = 0
-4x + 3y = 0 (d) x + 3z = 0
(d) 6x - 2y = 0 x - y = 0
2x - 23 y = 0 y + 2z = 0
(e) y = 2x
x = 3y
Solutions to exercises
2 (a), (c) and (d) have non-trivial solutions. 3 (a) and (b) have non-trivial solutions.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 632
4.3 Eigenvalues
2x + y = lx
3x + 4y = ly
where l is some unknown constant. Clearly these equations have the trivial solution
x = 0, y = 0. The equations may be written in matrix form as
a b a b = la b
2 1 x x
3 4 y y
AX = lX
We now seek values of l so that the system has non-trivial solutions. Although it is
tempting to write (A - l)X = 0 this would be incorrect since A - l is not defined;
A is a matrix and l is a constant. Hence to progress we need to write the right-hand
side in a slightly different way. To help us do this we use the 2 * 2 identity matrix, I.
Now la b may be expressed as
x
y
ba b
1 0 x
la
0 1 y
AX = lIX
AX - lIX = 0
(A - lI)X = 0
Note that the expression (A - lI) is defined since both A and lI are square matrices
of the same size.
We have seen in Section 4.2 that for AX = 0 to have non-trivial solutions then
|A| = 0. Hence for
(A - lI)X = 0
ƒ A - lI ƒ = 0
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 633
A - lI = a b - la b
2 1 1 0
3 4 0 1
= a b - a b
2 1 l 0
3 4 0 l
= a b
2 - l 1
3 4 - l
` ` = 0
2 - l 1
3 4 - l
It follows that
(2 - l)(4 - l) - 3 = 0
l2 - 6l + 5 = 0
(l - 1)(l - 5) = 0
so that
l = 1 or 5
These are the values of l that cause the system AX = lX to have non-trivial
solutions. They are called eigenvalues.
The equation
ƒ A - lI ƒ = 0
which when written out explicitly is the quadratic equation in l, is called the
characteristic equation.
Example 4.3
Find values of l for which
x + 4y = lx
2x + 3y = ly
has non-trivial solutions.
Solution
We write the system as
AX = lX
where
A = a b, X = a b
1 4 x
2 3 y
Now
A - lI = a b - la b
1 4 1 0
2 3 0 1
= a b - a b
1 4 l 0
2 3 0 l
= a b
1 - l 4
2 3 - l
Hence
ƒ A - lI ƒ = (1 - l)(3 - l) - 8
= l2 - 4l - 5
l2 - 4l - 5 = 0
(l + 1)(l - 5) = 0
which yields
l = -1 or l = 5
The given system has non-trivial solutions when l = -1 and l = 5. These are the
eigenvalues.
Example 4.4
Determine the characteristic equation and eigenvalues, l, in the system
a b a b = la b
3 1 x x
-1 5 y y
Solution
In this example the equations have been written in matrix form with
A = a b
3 1
-1 5
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 635
`a b - la b` = 0
3 1 1 0
-1 5 0 1
` ` = 0
3 - l 1
-1 5 - l
(3 - l)(5 - l) + 1 = 0
l2 - 8l + 16 = 0
The characteristic equation is l2 - 8l + 16 = 0. Solving the characteristic
equation gives
l2 - 8l + 16 = 0
(l - 4)(l - 4) = 0
l = 4 (twice)
There is one repeated eigenvalue: l = 4.
Example 4.5
Find the eigenvalues l in the system
a b a b = la b
4 1 x x
3 2 y y
Solution
We form the characteristic equation, |A - lI| = 0. Now
a b
4 - l 1
A - lI =
3 2 - l
Then
ƒ A - lI ƒ = l2 - 6l + 5
Solving the characteristic equation l2 - 6l + 5 = 0 gives
l = 1, 5
There are two eigenvalues, l = 1 and l = 5.
The process of finding the characteristic equation and eigenvalues of a matrix has
been illustrated using 2 * 2 matrices. This same process can be applied to a square
matrix of any size.
Example 4.6
Find (a) the characteristic equation and (b) the eigenvalues of A where
1 2 0
P Q
A = -1 -1 1
3 2 -2
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 636
Solution
(a) We need to calculate |A - lI|. Now
1 - l 2 0
P 3 Q
A - lI = -1 -1 - l 1
2 -2 - l
and
1 - l 2 0
† -1 † = (1 - l) ` 2 ` - 2` `
-1 - l 1 -1 1
-1 - l 1
-2 - l 3 -2 - l
3 2 -2 - l
Exercises
1 Calculate (i) the characteristic equation and 2 Calculate (i) the characteristic equation and
(ii) the eigenvalues of the system AX = lX (ii) the eigenvalues of the following 3 * 3
where A is given by matrices:
(a) a b (b) a b
5 6 -3 4 1 -1 2
P Q
2 1 -4 5 (a) -3 -2 3
2 1
(c) a b (d) a b
7 -2 1 3 -1
1 4 4 -1
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 637
1 0 -1 -2 6 2
P Q P Q
(b) 3 1 4 (d) 0 3 4
0 2 2 3 -3 5
2 1 2 3 -2 1
P Q P Q
(c) -1 1 -1 (e) 2 -4 3
8 3 0 16 -4 1
Solutions to exercises
4.4 Eigenvectors
A = a b X = a b
4 1 x
and
3 2 y
Solution
We seek solutions of AX = lX that may be written as
(A - lI) X = 0
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 638
(A - lI) X = 0
(A - I) X = 0
ca b - a bda b = a b
4 1 1 0 x 0
3 2 0 1 y 0
a ba b = a b
3 1 x 0
3 1 y 0
3x + y = 0
3x + y = 0
Clearly there is only one equation, which is repeated. As long as y = -3x the equa-
tion is satisfied. Thus there are an infinite number of solutions such as x = 1,
y = -3; x = -5, y = 15; and so on. Generally we write
x = t, y = -3t
for any number t. Thus the eigenvector corresponding to l = 1 is
X = a b
x
y
= a b
t
-3t
= ta b
1
-3
Note that the eigenvector has been determined to within an arbitrary scalar, t. Thus
there is an infinity of solutions corresponding to l = 1.
We now consider l = 5 and seek solutions of the system equation
(A - lI) X = 0
ca b - 5a bda b = a b
4 1 1 0 x 0
3 2 0 1 y 0
a ba b = a b
-1 1 x 0
3 -3 y 0
-x + y = 0
3x - 3y = 0
We note that the second equation is simply a multiple of the first so that in essence
there is only one equation. Solving -x + y = 0 gives y = x for any x. So we write
x = t, y = t. Hence the eigenvector corresponding to l = 5 is
X = ta b
1
1
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 639
X = a b and X = a b
1 1
-3 1
Example 4.8
Determine the eigenvectors of
a b a b = la b
3 1 x x
-1 5 y y
Solution
In Example 4.4 we found that there is only one eigenvalue, l = 4. We seek the solu-
tion of (A - lI) X = 0. Write down the equations that result from letting l = 4,
firstly in matrix form and then as a single equation.
a b a b = a b
-1 1 x 0
-1 1 y 0
-x + y = 0
x = t, y = t
Example 4.9
Determine the eigenvectors of
1 2 0 x x
P QP Q P Q
-1 -1 1 y = l y
3 2 -2 z z
The eigenvalues were found in Example 4.6.
Solution
From Example 4.6 the eigenvalues are l = -2, -1, 1. We consider each eigenvalue
in turn.
l = -2
1 2 0 x x
P Q PzQ P Q
-1 -1 1 y = -2 y
3 2 -2 z
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 640
1 2 0 1 0 0 x 0
JP 3 Q P QKP Q P Q
-1 -1 1 + 2 0 1 0 y = 0
2 -2 0 0 1 z 0
3 2 0 x 0
P QP Q P Q
-1 1 1 y = 0
3 2 0 z 0
We note that the first and last rows are identical. So we have
3x + 2y = 0
-x + y + z = 0
Solving these equations gives
x = t, y = - 32 t, z = 52 t
Hence the corresponding eigenvector is
1
3
X = t -
• 2 μ
5
2
l = -1
We have
1 2 0 1 0 0 x 0
JP Q P QKP Q P Q
-1 -1 1 + 0 1 0 y = 0
3 2 -2 0 0 1 z 0
2 2 0 x 0
P QP Q P Q
-1 0 1 y = 0
3 2 -1 z 0
Thus we have
2x + 2y = 0
-x + z = 0
3x + 2y - z = 0
We note that the third equation can be derived from the first two equations: the first
equation minus the second produces the third. If you cannot spot this, the equations
should be solved by Gaussian elimination. In effect we have only two equations:
2x + 2y = 0
-x + z = 0
Solving these gives x = t, y = -t, z = t. The eigenvector is
1
P Q
X = t -1
1
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 641
1 2 0 1 0 0 x 0
JP Q P QKP Q P Q
-1 -1 1 - 0 1 0 y = 0
3 2 -2 0 0 1 z 0
0 2 0 x 0
P QP Q P Q
-1 -2 1 y = 0
3 2 -3 z 0
Thus we have
2y = 0
-x - 2y + z = 0
3x + 2y - 3z = 0
From the first equation, y = 0; putting y = 0 into the other equations yields
-x + z = 0
3x - 3z = 0
Here the second equation can be derived from the first by multiplying the first by -3.
Solving, we have x = t, z = t. So the eigenvector is
P Q
X = t 0
1
Eigenvalues and eigenvectors are important in the analysis of vibrating systems and
consequently have a wide variety of applications in, for example, the aerospace and
motor industries. In Example 4.10 below we see how eigenvalues are related to the
possible angular frequencies of vibration. Further, the eigenvectors describe the pos-
sible patterns or modes of vibration.
Many computer algebra packages will calculate eigenvalues and eigenvectors of a
square matrix A. For example, in Maple, with the LinearAlgebra package
loaded, with(LinearAlgebra), the command Eigenvalues(A) will return
a vector containing the eigenvalues of A. The command Eigenvectors(A) will
return a vector containing the eigenvalues and also a matrix containing the corre-
sponding eigenvectors.
The Matlab instruction [V, D] = eig(A) returns two matrices V and D. The
columns of V are the eigenvectors of A. The matrix D is diagonal with the eigenval-
ues of A on the diagonal.
Figure 4.1 shows two masses, m1 and m2, suspended from a fixed point and cou-
pled with two springs having spring constants k1 and k2. The diagram on the left
shows the masses at rest in their equilibrium positions. The diagram on the right
depicts an instant in which the masses are in motion. The displacements x1(t) and
x2(t) are measured from the equilibrium positions in the directions indicated.
Figure 4.1
Two masses
coupled with
springs, in static
equilibrium (left)
k1 = 12
and in motion
(right).
m1= 1
x1
k2 = 8
m2 = 1
Masses at rest x2
in equilibrium
Applying Newton’s second law of motion to each of the two masses in turn
leads to the following differential equations (see Chapters 20 and 22) that govern
their behaviour:
d2x1
-1k1 + k22x1 + k2x2 = m1 2
dt
d2x2
k2x1 - k2x2 = m2
dt2
These can be written in matrix form as
d2x1
-1k1 + k22
m1
a ba b = ± ≤
k2 x1 dt2
k2 -k2 x2 d2x2
m2
dt2
-1k1 + k22/m1
or more concisely as AX = B where A = a b, X = a b
k2/m1 x1
k2/m2 -k2/m2 x2
d2x1
Maple
> with(LinearAlgebra):
A:=Matrix([[-20, 8], [8,-8]]);
Eigenvectors(A);
which yields the following output
A J c d
-20 8
8 -8
1
c d, c d
-24 -2 2
-4 1 1
showing that there are two eigenvalues l1 = -24 and l2 = -4 with corresponding
1
eigenvectors a b and a 2 b respectively.
-2
1 1
Matlab
Using the Matlab commands given above we find
>> A = [-20 8; 8 -8]
A = -20 8
8 -8
D = -24 0
0 -4
You should compare the output here with that from Maple above and be able to explain
why the eigenvectors are apparently different.
From these results we can deduce that the system can oscillate at angular frequencies
v = 2 -l = 2 26 and 2.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 644
Exercises
1 Calculate the eigenvectors of the matrices 2 Calculate the eigenvectors of the matrices
given in question 1 of the previous section. given in question 2 of the previous section.
Solutions to exercises
b, ta 1 b (b) ta b
1 1 1 1 1 1
1 (a) ta
P - 7 Q P 1 Q P 1.4 Q
1
-1 3 1 (c) t - 3 , t -2 , t -0.8
(c) ta b, ta 1 b
1 1 3
1 2 1 1 1
P - 1 Q P -0.3 Q P 0.5 Q
4
1 1 (d) t , t 0.6 , t 1
b, ta 213 - 1b
9
(d) ta
- 1 + 3213 3
3
1 1 1 1 1 1
P1 Q P 5 Q P1 Q P -6 2 Q P6Q P4Q
19
2 (a) t 5 , t 12 , t 0 (e) t , t 4 ,t 2
3
1 1 1
P 2.7321 Q P -0.7321 Q P -3 Q
(b) t -5.0981 , t 0.0981 , t -3
P -4 Q
-3 -4
H = -2 4 0
(a) Determine the characteristic equation of A.
(b) Determine the eigenvalues of A. 3 1
(c) Determine the eigenvectors of A.
(d) Form a new matrix M whose columns are (a) Find the eigenvalues of H.
the two eigenvectors of A. M is called a (b) Determine the eigenvectors of H.
modal matrix. (c) Form a new matrix M whose columns are
(e) Show that M - 1AM is a diagonal matrix, D, the three eigenvectors of H. M is called a
with the eigenvalues of A on its leading modal matrix.
diagonal. D is called the spectral matrix (d) Show that M -1HM is a diagonal matrix, D,
corresponding to the modal matrix M. with the eigenvalues of H on its leading
diagonal. D is called the spectral matrix
4 (a) Show that the matrix corresponding to the modal matrix M.
A = a b
5 2
-2 1
has only one eigenvalue and determine it.
(b) Calculate the eigenvector of A.
Solutions to exercises
(b) a b
1
2 (b) and (c) have non-trivial solutions.
-1
3 (a) l2 + l - 6 = 0 5 (a) l = 2, 3, 4
(b) l = -3, 2
1 1 0
P -1 Q P 1 Q P 1 Q
(c) a b a b
1 1
(b) 1 , 2 , 1
-3 -0.5
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 646
Iterative techniques
BLOCK 5
5.1 Introduction
So far we have met a number of techniques used for solving systems of linear
equations – Cramer’s rule (Block 1), the inverse matrix method (Block 2) and
Gaussian elimination (Block 3) are three such methods.
We now examine two techniques that provide approximate solutions to linear sys-
tems. In these, an initial guess of the solution is repeatedly improved, generating a
sequence of approximate solutions. With repeated application of the method, under
certain conditions, the approximate solutions approach the exact solution. Such
methods are known as iterative methods. The two iterative methods we look at are
Jacobi’s method and the Gauss–Seidel method.
Example 5.1
Solve
3x - 2y = 9
x + 4y = -11
Solution
We rewrite the equations so that x and y are the subjects. This yields
2
x = y + 3 (1)
3
x 11
y = - - (2)
4 4
x3 11
y4 = - -
4 4
(1.1111) 11
= - -
4 4
= -3.0278
The iterations can be continued. Table 5.1 summarises the results of successive
iterations.
Table 5.1
Iteration no. (n) xn yn
0 0.0000 -4.0000
1 0.3333 -2.7500
2 1.1667 -2.8333
3 1.1111 -3.0417
4 0.9722 -3.0278
5 0.9815 -2.9931
6 1.0046 -2.9954
7 1.0031 -3.0012
8 0.9992 -3.0008
9 0.9995 -2.9998
10 1.0001 -2.9999
11 1.0001 -3.0000
12 1.0000 -3.0000
Example 5.2
Find an approximate solution to
4x + y = 12
-2x + 5y = 16
using Jacobi’s method. Perform five iterations and take x0 = 0, y0 = 3 as your
initial guess.
Solution
The equations are rearranged to make x and y the subjects.
x = -0.25y + 3
y = 0.4x + 3.2
x2 =
y2 =
x4 = , y4 = 1.98, 3.99
x5 = , y5 = 2.003, 3.99
If the iterations are continued then xn approaches 2 and yn approaches 4, the exact
solution.
Clearly, this sort of approach is simple to program, and iterative techniques are best
implemented on a computer. When writing a program a test is incorporated so that
after each iteration a check for convergence is made by comparing successive esti-
mates. The method may not converge, and, even if it does, convergence may be very
slow. Other methods with improved rates of convergence are available such as the
Gauss–Seidel method, which is covered in Section 5.3.
Exercises
Solutions to exercises
0 -4.0000 -2.0000
1 -5.3333 -3.4286
2 -5.8095 -3.8095
3 -5.9365 -3.9456
4 -5.9819 -3.9819
5 -5.9940 -3.9948
The Gauss–Seidel method is very similar to Jacobi’s method. The difference comes
in the calculation of the y values. When calculating the y values the most recent x
value is used. Example 5.3 illustrates this.
Example 5.3
Use the Gauss–Seidel method to find an approximate solution to the system given in
Example 5.1. Perform five iterations and take x0 = 0, y0 = -4.
Solution
We arrange the equations so that x and y are the subjects:
2
x = y + 3
3
x
y = - - 2.75
4
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:43 AM Page 651
2
x1 = y + 3
3 0
2
= (-4) + 3
3
= 0.3333
x1
y1 = - - 2.75
4
(0.3333)
= - - 2.75
4
= -2.8333
This completes the first iteration. We are now ready to calculate x2 and y2.
2
x2 = y + 3
3 1
2
= (-2.8333) + 3
3
= 1.1111
2
x3 = y + 3
3 2
2
= (-3.0278) + 3
3
= 0.9815
x3
y3 = - - 2.75
4
(0.9815)
= - - 2.75
4
= -2.9954
Table 5.2
Iteration no. (n) xn yn
0 0.0000 -4.0000
1 0.3333 -2.8333
2 1.1111 -3.0278
3 0.9815 -2.9954
4 1.0031 -3.0008
5 0.9995 -2.9999
6 1.0001 -3.0000
Note that the Gauss–Seidel method converges more rapidly than Jacobi’s method
(see Table 5.1). This is because the Gauss–Seidel method uses the most recent value
of x in the calculation of the y values.
Example 5.4
Use the Gauss–Seidel method to find an approximate solution of
4x + 3y = 0.5
x - 2y = -9.5
Perform five iterations taking x0 = 0, y0 = 0.
Solution
The equations are rearranged to make x and y the subjects.
x = -0.75y + 0.125
y = 0.5x + 4.75
The initial guess is x0 = 0, y0 = 0. So
x1 = -0.75y0 + 0.125
= 0.125
x4 = , y4 = -2.6384, 3.4308
x5 = , y5 = -2.4481, 3.5260
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 653
Exercises
Solutions to exercises
0 -4.0000 -2.0000
1 -5.3333 -3.8095
2 -5.9365 -3.9819
3 -5.9940 -3.9983
4 -5.9994 -3.9998
5 -5.9999 -4.0000
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 654
Solutions to exercises
Electrical networks
BLOCK 6
6.1 Introduction
In this block we consider electrical networks comprising known resistors and known
voltage sources. We wish to determine the current in various parts of the network.
The network can be modelled by a set of simultaneous equations, which may be
solved by matrix methods. In order to formulate the simultaneous equations we
introduce the idea of a mesh current and a branch current.
Figure 6.1 A B
R1
An electrical
network with mesh
⫹
currents marked. E1
⫺ I1
F R2 C
R3
I2
E2
E ⫹ ⫺ D
A mesh is a loop that does not contain any smaller loops. Figure 6.1 contains two
meshes: ABCF and CDEF. Note, for example, that ABCDEF is not a mesh.
We introduce mesh currents, I1 and I2, as shown in Figure 6.1. Mesh currents are
usually denoted as running clockwise although in reality they may run anticlockwise.
Upon calculation this would be denoted by the current being negative.
The net current in a particular branch is called the branch current. The branch
currents are found by combining the mesh currents. For example, the current from C
to F is I1 - I2.
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 656
The aim of analysing the network is to determine the mesh currents, I1 and I2.
Once these are known the branch currents can easily be found.
Extensive use is made of Kirchhoff’s voltage law, which states that the algebraic
sum of voltages around a mesh is zero: that is, the sum of the voltage drops equals
the sum of the voltage rises.
Solution
(a) Kirchhoff’s voltage law states that the algebraic sum of voltages around a mesh
is zero: that is, the sum of the voltage drops equals the sum of the voltage rises.
Recall that the voltage drop, V volts, across a resistor of resistance R ohms
carrying I amps is given by V = IR.
Consider the mesh ABCF. Starting at A and working clockwise around the
mesh we equate voltage drops to voltage rises.
Consider now the mesh CDEF. Applying Kirchhoff’s voltage law we obtain
a b a 1b = a 1b
R1 + R2 -R2 I E
-R2 R2 + R3 I2 E2
a ba b = a b
5 -4 I1 3
-4 6 I2 6
Figure 6.2 A ⫺ E ⫹ B
1 R1
Electrical network
for Example 6.2.
I1
D
E R2 C
⫹
E2 R3 R4
⫺ I2 I3
R5
H G F
Solution
We use Kirchhoff’s voltage law. Recall that the voltage drop, V, across a resistor of
resistance R ohms carrying a current I amps is given by V = IR.
Consider the mesh ABCDE. For clarity this is shown in Figure 6.3.
Figure 6.3 A ⫺ E ⫹ B
1 R1
Mesh ABCDE.
I1
D
E R2 C
I2 I3
Starting from A and working clockwise around the mesh we apply Kirchhoff’s
voltage law, equating the voltage rises to the voltage drops. We obtain
This is rewritten as
Figure 6.4 I1
Mesh EDGH.
D
E R2
I3
⫹
E2 R3
⫺ I2
R5
H G
Starting at E and working clockwise we equate the voltage drops and the voltage
rises to obtain
(I2 - I1)R2 + (I2 - I3)R3 + I2R5 = E2
which is then rewritten as
-I1R2 + I2(R2 + R3 + R5) - I3R3 = E2 (4)
Finally we look at mesh DCFG, as shown in Figure 6.5.
Figure 6.5 I1
Mesh DCFG.
D
C
R3 R4
I3
I2
G F
R1 + R2 -R2 0 I1 E1
P Q P Q P Q
-R2 R2 + R3 + R5 -R3 I2 = E2
0 -R3 R3 + R4 I3 0
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 659
8 -5 0 I1 5
P Q P Q P Q
-5 8 -1 I2 = 15
0 -1 7 I3 0
The system may be solved using one of the methods explained in this chapter. We
find
I1 = 3.0189, I2 = 3.8302, I3 = 0.5472
Figure 6.6 A B ⫺ E ⫹ C
R1 1
Electrical network
for Example 6.3.
⫺
E2 R2
I1 ⫹ I2
D R4 R3 F
E
R5
I3 I4
⫹ E ⫺ ⫹ E ⫺
3 4
G H I
(a) Formulate a matrix equation for the unknowns I1, I2, I3 and I4.
(b) Given R1 = 3, R2 = 4, R3 = 1, R4 = 7, R5 = 4, E1 = 6, E2 = 10, E3 = 5
and E4 = 5, solve for I1, I2, I3 and I4.
(c) State the value of the current from E to H.
Solution
(a) We apply Kirchhoff’s voltage law to each of the meshes.
Mesh 1 (ABED)
We equate voltage drops to voltage rises.
which is written as
Mesh 2 (BCFE)
= E1 I2R2 + (I2 - I4)R3 + E2
which is written as
Mesh 3 (DEHG)
which is written as
Mesh 4 (EFIH)
which is written as
Equations (6), (7), (8) and (9) are written in matrix form as
R1 + R4 0 -R4 0 I1 E2
0 R2 + R3 0 -R3 I2 E1 - E2
§ ¥ § ¥ = § ¥
-R4 0 R4 + R5 -R5 I3 E3
0 -R3 -R5 R3 + R5 I4 E4
10 0 -7 0 I1 10
0 5 0 -1 I2 -4
§ ¥ § ¥ = § ¥
-7 0 11 -4 I3 5
0 -1 -4 5 I4 5
I3 - I4
I3 - I4 = 5.6024 - 5.5437
= 0.0587
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 661
Exercises
⫺ E ⫹
1 Figure 6.7 shows a circuit with two meshes. 1
⫺ E ⫹ X ⫺ E ⫹ R1 R2
1 2
I1
R1 R2 ⫺ E ⫹ X
R3
2 Y
I1 I2
R4
Y I2 I3
Figure 6.7
E3
⫹ ⫺
R1 R2
R3
Y
⫹
Figure 6.8 E1 ⫹
⫺ E2
I1 ⫺ I2
Y
X R3
(a) Formulate a matrix equation for the mesh
currents I1, I2 and I3.
(b) Given E1 = 4, E2 = 5, R1 = 3, R2 = 1, ⫹
R3 = 2 and R4 = 6, find I1, I2 and I3. E3 R5
I3 ⫺ I4
(c) Calculate the current in the branch XY.
(b) Calculate the mesh currents given E1 = 5, (a) Formulate a matrix equation for the mesh
E2 = 2, E3 = 10, R1 = 6, R2 = 7, currents I1, I2, I3 and I4.
R3 = 10, R4 = 1 and R5 = 6. (b) Given E1 = 5, E2 = 5, E3 = 6, E4 = 12,
(c) Calculate the current in the branch XY. R1 = 1, R2 = 4, R3 = 2, R4 = 1, R5 = 7
and R6 = 9, find the mesh currents.
5 Figure 6.11 shows a circuit with four meshes. (c) Calculate the current in the branch XY.
⫺ E ⫹ X ⫺ E ⫹
1 2
R1 R2 R3
I1 I2
⫺ E ⫹ ⫺ E ⫹
3 4
Y
R4 R5 R6
I3 I4
Figure 6.11
Solutions to exercises
(a) a b a 1b
R1 + R2 -R2 I (b) I1 = 43, I2 = 13, I3 = - 56
1
-R2 R2 I2 (c) I2 - I3 = 7
6
= a b
E1 3 (a)
E2
R1 + R2 + R3 0 -R3 I1
(b) I1 = 53, I2 = 71
30 £ 0 R4 -R4 ≥ £ I2 ≥
(c) - 21 21
30 , that is a current of 30 from Y to X. -R3 -R4 R3 + R4 I3
R1 0 0 I1 E1 - E2
2 (a) £ 0 R2 + R3 0 ≥ £ I2 ≥ = £ E2 ≥
0 0 R4 I3 E3
(b) I1 = -1.2222, I2 = 6.7937, I3 = 6.2222
E1
(c) I3 - I1 = 5
= £ E2 - E1 ≥
-E2
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 663
R1 0 0 0 I1 R1 + R2 -R2 0 0 I1
0 R2 + R3 0 -R3 I2 -R2 R2 + R3 0 0 I2
4 (a) § ¥§ ¥ 5 (a) § ¥§ ¥
0 0 R4 0 I3 0 0 R4 + R5 -R5 I3
0 -R3 0 R3 + R5 I4 0 0 -R5 R5 + R6 I4
E1 - E2 E1 - E3
E2 E2 - E4
= § ¥ = § ¥
-E3 E3
E3 E4
(b) I1 = 0.5000, I2 = 0.7674, (b) I1 = -2.4286, I2 = -2.7857,
I3 = -10.0000, I4 = 1.1047 I3 = 2.2785, I4 = 1.7468
(c) I3 - I1 = -10.5, that is a current of (c) I1 - I2 = 0.3571
10.5 from Y to X.
X
1 Figure 6.12 shows an electric circuit with
mesh currents I1 and I2 marked.
(a) Determine a matrix equation for I1 ⫺ ⫺
and I2. E1 E2
(b) Solve for I1 and I2 given E1 = 12, R1 = 3 ⫹ ⫹
and R2 = 4.
(c) Calculate the current in branch XY. R1 I1 I2
R2 R3
Y
⫺
Figure 6.13
R1 E1 R2
I1 ⫹ I2
R1 R1
⫺
E2
I1 ⫹
⫹
⫹ E ⫺ X ⫹ E ⫺ E1
1 2 ⫺ I1 R2 I2
X
R3 R4 R5 Y
I2 I3
R2
Y
R3 R4
Figure 6.14 I3 I4
E3 E4
⫹ ⫺ ⫹ ⫺
Figure 6.15
4 Figure 6.15 shows an electric circuit with
mesh currents I1, I2, I3 and I4 marked.
(a) Determine a matrix equation for I1, I2, I3
and I4.
(b) Solve for I1, I2, I3 and I4 given E1 = 6,
E2 = 12, E3 = 6, E4 = 10, R1 = 3,
R2 = 5, R3 = 4, R4 = 5 and R5 = 1.
(c) Calculate the current in branch XY.
Solutions to exercises
(a) a b a 1b = a 1 b
R1 0 I E (b) I1 = 9, I2 = - 42 72
11 , I3 = - 11
1
0 R2 I2 -E1 (c) I2 - I2 = 30
11
(b) I1 = 4, I2 = -3
(c) I1 - I2 = 7 R1 + R2 -R2 0 0 I1
-R2 R2 + R5 0 I2
(a) a b a 1b
R1 + R2 I -R5
2
-R2 4 (a) § ¥§ ¥
-R2 R2 + R3 I2 0 0 R3 + R4 -R4 I3
0 -R4 R4 + R5 I4
= a b
E1 -R5
E2 - E1 E1
(b) I1 = 1.65, I2 = -0.15 E2
(c) I1 - I2 = 1.8 = § ¥
E3
R1 0 0 I1 E4
3 (a) £ 0 R2 + R3 -R3 ≥ £ I2 ≥ (b) I1 = 5.5966, I2 = 7.7546, I3 = 4.3025,
0 -R3 R3 + R4 I3 I4 = 6.5445
(c) I4 - I2 = -1.2101, that is a current of
E1 + E2 1.2101 from Y to X.
= £ -E1 ≥
-E2
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 665
X I1 I2
R1
⫺ ⫺ E ⫹ X ⫺ E ⫹ Y
⫹ E2
1 2
E1 ⫹
⫺ I1 R2 I2
R3 R4 R5
I3 I4
R3
Y
Figure C13.1 Figure C13.3
M13_CROF5939_04_SE_C13.QXD 11/28/18 7:42 PM Page 666
(e) a b
2x + 3y - z = - 3 0 0 1 2 0 -4
(b) 2I1 + I2 - I3 = 10 0 0 0 0 1 3
4I1 + 3I2 + 2I3 = 18
3I1 - 3I2 + 4I3 = 0.5 12 Use Gaussian elimination to solve the following
(c) r + s - t = 0.5 systems of equations:
- 2r - s + 2t = - 0.2 (a) 3i1 - 2i2 = 13
r - 4s - 2t = - 5 2i1 - 5i2 = 16
10 Given that (b) 4a - b = 4
a b
4 51 49 -28 + = 6
2 3
1 -9 -57 - 63 42 x
§ ¥ (c) - + 3y = 4
21 - 6 -66 - 63 42 2
4 9 7 -7 2x - 7y = - 11
M13_CROF5939_04_SE_C13.QXD 9/25/18 8:44 AM Page 667
Solutions to exercises
R1 0 0 0 I1 15 n xn yn
0 R2 0 0 I2
5 (a) § ¥§ ¥ 0 -2 2
0 0 R3 + R4 - R4 I3
1 - 3.25 2.6875
0 0 - R4 R4 + R5 I4 2 - 2.9063 2.4297
- E1 3 - 3.0352 2.5264
4 - 2.9868 2.4901
- E2
= § ¥ 5 - 3.0049 2.5037
E1
E2
(b) I1 = - 2, I2 = - 4, I3 = 4, I4 = 5 16 n xn yn
(c) 9
0 -1 1.5
6 (a) x = 2, y = - 1 1 - 1.975 2.18
(b) x = 3, y = 1 2 - 1.805 2.765
(c) x = - 2, y = 1 3 - 1.6588 2.663
4 - 1.6843 2.5753
7 (a) i1 = 2, i2 = 3, i3 = 1 5 - 1.7062 2.5906
(b) a = 1, b = - 2, c = - 1
The exact answer is x = - 1.7, y = 2.6.
(c) a = - 1, b = 0, g = 2
8 (a) x = 5, y = 3 17 n xn yn
(b) r1 = 6.5, r2 = 3.5
0 -1 1.5
(c) a = - 0.5, b = 2
1 - 1.975 2.765
2 - 1.6588 2.5753
9 (a) x = 2, y = - 2, z = 1
3 - 1.7062 2.6037
(b) I1 = 3.5, I2 = 2, I3 = - 1
4 - 1.6991 2.5994
(c) r = 1.2, s = 0.8, t = 1.5
5 - 1.7001 2.6001
10 (a) w = 2, x = - 1, y = - 3, z = 4
(b) a = 1, b = 2, g = 3, d = - 2 18 (a) l2 + 2l - 8 = 0
(b) -4, 2
11 (a), (b), (c) and (e) are in echelon form.
(c) a b, a b
-0.7071 0.9899
12 (a) i1 = 3, i2 = - 2 0.7071 -0.1414
(b) a = 4, b = 12
(c) x = - 2, y = 1 19 (a) l = 3
(b) a b
1
13 (a) x = 1, y = 2, z = - 3 2
(b) a = 2, b = - 3, g = 4
(c) i1 = 3, i2 = 7, i3 = 5 20 (a) -4, 0, 1
14 n xn yn -0.2747 0 0.1543
(b) £ 0.9615 ≥, £ 0.7071 ≥, £ 0.6172 ≥
0 -2 2
0 0.7071 0.7715
1 - 3.25 1.75
2 - 3.375 2.6875
21 (a) -4,-3, 2
3 - 2.9063 2.7813
4 - 2.8594 2.4297 -0.0902 -0.1961 0.1400
5 - 3.0351 2.3496
(b) £ -0.0902 ≥, £ 0 ≥, £ -0.7001 ≥
The exact answer is x = - 3, y = 2.5. 0.9919 0.9806 -0.7001
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 669
Chapter 14
Vectors
Special rules and methods have been developed for handling vectors,
and these are described and developed in this chapter.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 670
Chapter 14 contents
1.1 Introduction
Figure 1.1
Applying the force
in a different
direction will
achieve a different
effect.
In order to specify the force completely we must state the direction in which the
force acts. For example, we might state
Clearly this would achieve a different effect from applying the force horizontally to
the right. The direction in which the force acts is crucial.
Special methods have been developed for handling vectors in calculations, giving
rise to subjects known as vector algebra, vector geometry and vector calculus. Quan-
tities that are vectors must be manipulated according to certain rules, which are
described in this and subsequent blocks.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 672
Key point Vectors are quantities that are specified by giving both their magnitudes and directions,
and which are manipulated according to particular, and well-defined, rules.
There are many engineering applications in which vector and scalar quantities play
an important role. For example, speed, mass, work, voltage, energy are all scalars,
whereas force, acceleration, velocity, electromagnetic field strength are all vectors.
Furthermore, when computer software is written to control the position of a robot,
the position is described by vectors.
Sometimes confusion can arise because words used in general conversation
have specific technical meanings when used in engineering calculations. An ex-
ample of this ambiguity is the use of the words ‘speed’ and ‘velocity’. In everyday
conversation these words have the same meaning and can be used interchangeably.
However, in engineering and science they are not the same. Speed is a scalar quan-
tity described by giving a single number in appropriate units. So we can make
statements such as
‘the velocity of the aircraft is 200 metres per second due north’
In engineering calculations, the words ‘speed’ and ‘velocity’ should not be used
interchangeably. Similar problems arise from use of the words ‘mass’ and ‘weight’.
In engineering and science these are different. Mass is a scalar that describes the
amount of substance in an object. The unit of mass is the kilogram. Weight is a vec-
tor, the direction of which is vertically downwards. Weight arises through the action
of gravity. The unit of weight is the newton.
Displacement and distance are related quantities that can cause confusion.
Whereas distance is a scalar, displacement is ‘directed distance’: that is, distance
together with a specified direction. So, referring to Figure 1.2, if an object is moved
from point A to point B, we can state that the distance moved is 10 metres, but the
displacement is 10 metres in the direction from A to B.
Figure 1.2
Displacement
means directed
distance.
A B
10 m
You will meet many other quantities in the course of your studies, and it will be
helpful to know which are vectors and which are scalars. Some common quantities
and their type are listed in Table 1.1. The common units in which these are measured
are also shown.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 673
Exercises
Solutions to exercises
1 (a), (b), (c), (f), (g) are scalars; (d), (e) and
(h) are vectors.
For example, Figure 1.3 shows a vector that might represent a velocity of
3 m s - 1 north-west. Note that the arrow on the vector indicates the direction
required.
Figure 1.3
A vector quantity
can be represented
by drawing a line
marked with an
arrow.
Scale: ⫽ 1 m s⫺1
Figure 1.4 B B
Vectors can be Head
written in different AB
ways: a⫽a
: or
AB = a = a.
A Tail A
Example 1.1
Consider Figure 1.5, which shows an object being pulled by a force of 5 N at
an angle of 60° to the horizontal. Show how this force can be represented by a
vector.
Figure 1.5 5N
An object being
pulled by a force.
60°
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 675
Figure 1.6
The force in
Figure 1.5 F
represented as a
vector.
Scale: = 1 unit
When we wish to refer to just the magnitude of a vector we write this using the
:
modulus sign as |AB|, or |a|, or |a|. Alternatively we write simply a.
Referring to Figure 1.6, we can write the magnitude of the force F as |F| or
simply F (not bold, and without the underline or modulus signs).
:
Key point The magnitude, or modulus, of a vector a = AB can be written as
:
ƒaƒ, ƒ a ƒ , or ƒ AB ƒ , or simply a
Equal vectors
In general two vectors are said to be equal vectors if they have the same magnitude
: :
and direction. So, in Figure 1.7 the vectors CD and AB are equal even though their
locations differ.
This is a useful and important property of vectors: a vector can be translated main-
taining the same direction and magnitude, without changing the vector itself.
Figure 1.7 B
Vectors can be
equal even when
their locations D
differ.
C
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 676
There are exceptions to this property. For example, a vector is sometimes used to
represent the position of an object that might be located at a particular point in space.
Such a vector cannot be translated freely. Nevertheless most of the vectors we shall
meet can be translated, and as such are called free vectors.
Negative vectors
The vector -a is a vector in the opposite direction to a, but with the same magnitude
: :
as a, as shown in Figure 1.8. Geometrically, if a = AB then -a = BA.
Figure 1.8 B
The negative
vector -a has the a
opposite direction B
to a.
A
a BA
Exercises
1 An object is subject to two forces, one of 3 N 3 Vectors p and q are equal vectors. Draw a
vertically downwards, and one of 8 N diagram that might be used to represent
horizontally to the right. Draw a diagram p and q.
representing these two forces as vectors.
Solutions to exercises
p
8N F
q
3N F
Addition of vectors is carried out according to a rule known as the triangle law.
Figure 1.12
Two vectors
b
a and b.
a
Figure 1.13 b
Addition of the
two vectors of
Figure 1.12 using a
the triangle law.
cab
b b
a a
cab
Example 1.2
Redraw the diagram in Figure 1.14 to show the vector sum a + b.
Figure 1.14 a
b
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 678
Solution
a
b
ab
It is possible, using the triangle law, to prove the following rules, which apply to any
three vectors a, b and c:
To see why it is appropriate to add vectors using the triangle law consider the follow-
ing examples.
Example 1.3 The route taken by an automated vehicle
An unmanned vehicle moves on tracks around a factory floor carrying components
from the store at A to workers at C, as shown in Figure 1.15.
Figure 1.15 C
: : : Workers
AB + BC = AC.
AC
BC
Store
A AB B
The vehicle may arrive at C either directly or via a second location at B. The
:
movement from A to B can be represented by a displacement vector AB. Similarly
:
movement from B to C can be represented by the displacement vector BC, and
: :
movement from A to C can be represented by AC. Since the head of vector AB touches
:
the tail of BC the triangle law can be applied immediately to find the combined effect
of the two displacements.
: : :
AB + BC = AC
B C
We can use vector addition to find the combined effect of the two forces, known as
the resultant force. Translating F1 until its tail touches the head of F2, we complete the
triangle as shown. The vector represented by the third side is the resultant, R. We write
R = F2 + F1
and say that R is the vector sum of F2 and F1. The resultant force acts at an angle of
u below the horizontal where tan u = 23, so that u = 33.7°, and has magnitude given
by Pythagoras’s theorem as 213 N.
Key point The resultant of two vectors a and b is their vector sum a + b.
θ θ
F cos θ
For example, Figure 1.18 shows a force of 5 N acting at an angle of 30° to the
x axis. It can be resolved into two components, one directed along the x axis with
magnitude 5 cos 30° and one perpendicular to this of magnitude 5 sin 30°. Together,
these two components have the same effect as the original force.
Figure 1.18 y 5 sin 30°
5N 5N
30° 30°
5 cos 30°
Example 1.6
Consider the force shown in Figure 1.19. Resolve this force into two perpendicular
components, one horizontally to the right, and one vertically upwards.
Figure 1.19
15 N
40°
Solution
Example 1.7
: :
Figure 1.21 shows vectors p = OP and q = OQ. What is the geometrical signifi-
cance of the vector q - p?
Figure 1.21 P
Q
O q
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 681
Figure 1.22 P P
p p
Q Q
O q O q
p q (p) p
(a) (b)
: :
Key point Given two vectors p = OP and q = OQ (Figure 1.23) the vector from P to Q is given
by q - p.
Figure 1.23 P
Q
O q
Exercises
1 Vectors p and q represent two perpendicular positive y axis. The second has magnitude 4 N
: and acts in the direction of the negative x axis.
sides of a square ABCD with p = AB and
: Calculate the magnitude and direction of the
q = BC. Find vector expressions that represent resultant force.
: :
the diagonals of the square AC and BD.
4 An object moves in the x–y plane with a
2 In the rectangle ABCD, side AB is represented velocity of 15 m s - 1 in a direction at 48°
by the vector p and side BC is represented by above the positive x axis. Resolve this velocity
the vector q. State the physical significance of into two components, one along the x axis and
the vectors p + q and p - q. one along the y axis.
Solutions to exercises
If k is any positive scalar and a is a vector then ka is a vector in the same direction as
a but k times as long. If k is negative, ka is a vector in the opposite direction to a and
k times as long. The vector ka is said to be a scalar multiple of a. Consider the
vectors shown in Figure 1.24.
Figure 1.24
Multiplying a a a
vector by a scalar.
ka ka
if k is positive if k is negative
The vector 3a is three times as long as a and has the same direction. The vector 12 r
is in the same direction as r but is half as long. The vector - 4b is in the opposite
direction to b and four times as long.
For any scalars k and l, and any vectors a and b, the following rules hold:
Unit vectors
A vector that has a modulus of 1 is called a unit vector. Unit vectors will play an
important role when we come to study cartesian components in Block 2.
If a has modulus 3, say, then a unit vector in the direction of a is 13 a, as shown in
Figure 1.25.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 683
1
3a
More generally, to obtain a unit vector in the direction of any vector a we divide
by its modulus. A unit vector in the direction of a is given the ‘hat’ symbol aN .
a
Key point aN =
ƒaƒ
Exercises
1 Draw an arbitrary vector r. On your diagram 3 In triangle OAB the point P divides AB in the
draw 2r, 4r, ⫺r, -3r and 12 r. : :
ratio m:n. If OA = a and OB = b depict this
on a diagram and then find an expression for
2 In triangle OAB the point P is the midpoint :
OP in terms of a and b.
of AB.
: :
(a) If OA = a and OB = b depict this on a 4 Explain what is meant by a unit vector. Given
diagram. an arbitrary vector n, how is a unit vector
:
(b) Write down an expression for AB in terms having the same direction as n found?
of a and b.
:
(c) Write down an expression for AP in terms 5 If eN is a unit vector, how would you write a
of a and b.
: vector in the same direction as eN but having
(d) Find an expression for OP in terms of
modulus 8?
a and b.
Solutions to exercises
1 Draw three arbitrary vectors a, b and c. By 2 Draw two arbitrary vectors a and b. By using
using the triangle law verify that vector the triangle law verify that vector addition is
addition is associative, that is commutative, that is
(a + b) + c = a + (b + c) a + b = b + a
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 684
4 In the triangle ABC, M is the midpoint of BC 6 Draw two arbitrary vectors a and b. Verify that
and N is the midpoint of AC. Show that 2(a + b) = 2a + 2b
: :
NM = 12 AB.
(This is the first of the rules concerning scalar
multiplication given at the start of Section 1.4.)
5 A particle is positioned at the origin. Two
forces act on the particle. The first has
Solutions to exercises
3 6.10 N along the x axis, 11.48 N along the 5 13.9 N at 59.7° to the negative x axis
y axis
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 685
2.1 Introduction
Figure 2.1 y
A two-dimensional
coordinate frame.
P (x, y)
A unit vector pointing in the positive direction of the x axis is denoted by i. (Note
that it is common practice to write this particular unit vector without the ‘hat’ ^ .) It
follows that any vector in the direction of the x axis will be a multiple of i. Figure 2.2
shows vectors i, 2i, 5i and ⫺3i. In general a vector of length a in the direction of the
x axis will be ai.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 686
Figure 2.2 y
All these vectors
are multiples of i. 3i
i
2i
5i
Similarly, a unit vector pointing in the positive direction of the y axis is denoted
by j. Any vector in the direction of the y axis will be a multiple of j. Figure 2.3
shows j, 4 j and ⫺2j. In general a vector of length b in the direction of the y axis
will be b j.
Figure 2.3 y
All these vectors
are multiples of j.
−2 j
j 4j
Key point i represents a unit vector in the direction of the positive x axis.
j represents a unit vector in the direction of the positive y axis.
Example 2.1
Draw the vectors 5i and 4j. Use your diagram and the triangle law of addition to add
these two vectors together to obtain the sum 5i + 4j.
Solution
First draw the vectors 5i and 4j.
4j
5i
By translating the vectors so that they lie head to tail, find the vector sum 5i + 4j.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 687
5i 4 j
4j
5i
We now generalise the situation in the previous example. Consider Figure 2.4, which
:
shows a vector r = AB.
Figure 2.4 y
: : :
AB = AC + CB B
by the triangle law.
r bj
A ai C
: :
We can regard r as being the resultant of the two vectors AC = ai and CB = bj.
From the triangle law of vector addition
: : :
r = AB = AC + CB = ai + bj
We conclude that any vector in the x–y plane can be expressed in the form
r = ai + bj. An alternative way of writing this vector is to use column vector
notation. We write
r = a b
a
b
A row vector would be written as (a, b), but care must be taken not to confuse this
form with cartesian coordinates.
r = a b
a
b
The numbers a and b are called the i and j components of r.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 688
y
4
2i 3 j
3
2
1 5i j
1 2 3 4 5 6 7 x
(b) Translate one of the vectors so that they lie head to tail, completing the third
side of the triangle to give the resultant a + b.
(c) By studying your diagram note that the resultant consists of the two components
7i horizontally, and 4j vertically. Hence write down an expression for a + b.
y
4
3
2 7i 4 j
1
1 2 3 4 5 6 7 x
a + b = 7i + 4j
Note that this result consists of the sum of the respective components of a and b.
That is,
(2i + 3j) + (5i + j) = 7i + 4 j
It is important to note from the last example that vectors in cartesian form can be added
by simply adding their respective i and j components.
Example 2.4
If
r = a b s = a b
7 3
and
11 -5
find r + s.
Solution
The vectors are added by adding their respective components.
a b
10
6
Position vectors
Now consider the special case when r represents the vector from the origin to the point
P(x, y) as shown in Figure 2.5. This vector is known as the position vector of P.
:
Key point The position vector of P(x, y) is r = OP = xi + yj.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 690
Figure 2.5 y
r = xi + yj is the
position vector of
the point P with
coordinates (x, y ). y P (x, y)
r xi yj
O x x
Unlike most vectors, position vectors cannot be freely translated. Because they
indicate the position of a point they are fixed vectors in the sense that the tail of a
position vector is always located at the origin.
Example 2.6
State the position vectors of the points with coordinates (a) P(2, 4), (b) Q(-1, 5),
(c) R(-1, -7), (d) S(8, -4).
Solution
(a) The position vector of P is 2i + 4j. This could be written
a b
2
4
(b) The position vector of Q is -i + 5j.
(c) The position vector of R is -i - 7j.
(d) The position vector of S is 8i - 4j.
Example 2.7
Sketch the position vectors r1 = 3i + 4j, r2 = -2i + 5j and r3 = -3i - 2j.
Solution
The vectors are shown in Figure 2.6. Note that all position vectors start at the origin.
Figure 2.6 y
The position vectors (2, 5)
r1 = 3i + 4 j,
(3, 4)
r2 = -2i + 5j and
r3 = -3i - 2 j.
r2
r1
x
r3
(3, 2)
M14_CROF5939_04_SE_C14.QXD 9/25/18 1:20 PM Page 691
Modulus
The modulus of any vector r is equal to its length. When r = xi + yj the modulus
can be obtained by Pythagoras’s theorem. Referring to Figure 2.5, if r is the position
vector of point P then the modulus is clearly the distance of P from the origin.
Example 2.8
Find the modulus of each of the vectors (a) r1 = 3i + 4j, (b) r2 = - 2i + 5j,
(c) r3 = 9i - 2j and (d) r4 = - 5i - 3j.
Solution
(a) The modulus of r1 = |3i + 4j| = 232 + 42 = 225 = 5.
(b) The modulus of r2 = |-2i + 5j| = 2(- 2)2 + 52 = 24 + 25 = 229.
Example 2.9
Find the modulus of the vector
r = a b
7
-3
Solution
Example 2.10
Point A has coordinates (3, 5). Point B has coordinates (7, 8).
(a) Depict these points on a diagram and state their position vectors.
:
(b) Find an expression for AB.
:
(c) Find |AB|.
Solution
(a) Draw a diagram that shows points A and B.
y
B
8
(7, 8)
6 A (3, 5)
4 b
a
2
O 2 4 6 8 x
:
The position vector of A is then OA = a = 3i + 5j
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 692
:
The position vector of B is OB = b = 7i + 8j
(b) Refer to your figure and use the triangle law to write
: : :
OA + AB = OB
so that
: : :
AB = OB - OA
= b - a
:
Hence write down an expression for AB in terms of the unit vectors i and j.
242 + 32 = 225 = 5
Exercises
1 Explain the distinction between a position 5 Find the modulus of each of the following
vector and a more general or free vector. vectors:
(a) r = 7i + 3j (b) r = 17i (c) r = 2i - 3 j
2 What is meant by the symbols i and j? (d) r = -3 j (e) r = ai + bj (f) r = ai - bj
3 State the position vectors of the points with 6 Point P has coordinates (7, 8). Point Q has
coordinates (a) P(4, 7), (b) Q(-3, 5), coordinates (-2, 4).
(c) R(0, 3), (d) S(-1, 0). (a) Draw a sketch showing P and Q.
(b) State the position vectors of P and Q.
4 State the coordinates of the point P if its :
(c) Find an expression for PQ.
position vector is given as (a) 3i - 7j, :
(d) Find |PQ|.
(b) -4i, (c) -0.5i + 13j, (d) ai + bj.
Solutions to exercises
1 Free vectors can be translated keeping their 4 (a) (3, -7) (b) (-4, 0) (c) (-0.5, 13)
direction and length the same. Position vectors (d) (a, b)
must always start at the origin.
5 (a) 258 (b) 17 (c) 213 (d) 3
2 i is a unit vector in the direction of the positive (e) 2a2 + b2 (f) 2a2 + b2
x axis. j is a unit vector in the direction of the
positive y axis. 6 (b) p = 7i + 8j, q = -2i + 4j
: :
3 (a) 4i + 7j (b) -3i + 5j (c) 3j (d) -i (c) PQ = -9i - 4 j (d) |PQ| = 297
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 693
Consider the point P(4, 5) and its position vector 4i + 5j as shown in Figure 2.7.
Figure 2.7 y
The direction
:
cosines of OP
are cos a and 5 P (4, 5)
cos b .
β
α
O 4 x
:
The direction ratio of the vector OP is defined to be 4:5. We can interpret this as
stating that to move in the direction of the line we must move 5 units in the y direc-
tion for every 4 units in the x direction.
:
The direction cosines of the vector OP are the cosines of the angles between the
vector and each of the positive axes. Specifically, referring to Figure 2.7 these are
Key point For any vector r = ai + bj, its direction ratio is a:b. Its direction cosines are
a b
l = , m =
2a + b2 2
2a + b2
2
Example 2.11
Refer back to Example 2.10, in which point A has coordinates (3, 5), and point B has
coordinates (7, 8).
M14_CROF5939_04_SE_C14.QXD 9/28/18 7:50 AM Page 694
:
(a) Find the direction ratio of the vector AB.
(b) Find its direction cosines, l and m.
(c) Show that l2 + m2 = 1.
Solution
:
From Example 2.10 we know that AB = 4i + 3j.
:
(a) The direction ratio of AB is therefore 4:3.
(b) The direction cosines are
4 4 3 3
l = = , m = =
24 + 3
2 2 5 24 + 3
2 2 5
4 2 3 2
(c) l2 + m2 = a b + a b
5 5
16 9
= +
25 25
25
=
25
= 1
Key point If l and m are the direction cosines of a line lying in the x–y plane, then
l2 + m2 = 1
Exercises
Solutions to exercises
9 4
1 (a) - 9:- 4 (b) - ,- than 90° and hence each cosine is negative.
297 297 :
(Draw the vector PQ = - 9i - 4j to see
(c) The angle between the vector and the this.)
positive direction of both axes is greater
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 695
The real world is three-dimensional, and in order to solve many engineering prob-
lems it is necessary to develop expertise in the mathematics of three-dimensional
space. An important application of vectors is their use to locate points in three
dimensions. When two distinct points are known we can draw a line between them.
Three distinct points that do not lie on the same line form a plane. Vectors can be
used to describe points, lines and planes in three dimensions. These mathematical
foundations underpin much of the technology associated with computer graphics
and the control of robots. In this section we shall introduce the vector methods that
underlie these applications.
Figure 2.8 shows a three-dimensional coordinate frame. Note that the third dimen-
sion requires the addition of a third axis, the z axis. Although these three axes are
drawn in the plane of the paper you should remember that we are now thinking of
three-dimensional situations. Just as in two dimensions the x and y axes are perpen-
dicular, in three dimensions the x, y and z axes are perpendicular to each other. We
say they are mutually perpendicular. There is no reason why we could not
have chosen the z axis in the opposite sense to that shown in Figure 2.8. However, it
is conventional to choose the directions shown in Figure 2.8. Any point in the three
dimensions can be defined in terms of its x, y and z coordinates. Consider the point P
with coordinates (x, y, z) as shown. The vector from the origin to the point P is
:
known as the position vector of P, OP or r. To arrive at P from O we can think of mov-
ing x units in the x direction, y units in the y direction and z units in the z direction.
Figure 2.8 z
The position vector
of the point with
P (x, y, z)
coordinates
(x, y, z) is
r = xi + yj + zk. r
y
O
y
x
Q
Extending the concept of unit vectors in the direction of each of the axes, a unit
vector pointing in the positive direction of the z axis is denoted by k. Noting that
: :
OQ = xi + yj and that QP = zk we can state
:
r = OP
: :
= OQ + QP
= xi + yj + zk
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 696
We conclude that the position vector of the point with coordinates (x, y, z) is
r = xi + yj + zk.
In column vector notation we would write
x
P Q
r = y
z
:
Key point The position vector of P(x, y, z) is r = OP = xi + yj + zk or, alternatively,
x
PzQ
r = y
Example 2.12
State the position vector of the point with coordinates (9, -8, 6).
Solution
The position vector is 9i - 8j + 6k
P Q P Q
r = 4 and s = -3
-2 2
find (a) r + s, (b) r - s.
Solution
(a)
5
P0Q
1
(b)
-3
P Q
7
-4
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 697
Modulus
:
The modulus of the vector OP is equal to the distance OP, which can be obtained by
Pythagoras’s theorem.
Example 2.14
Find the modulus of the vector r = 4i + 2j + 3k.
Solution
ƒrƒ =
Example 2.15
Points A, B and C have coordinates (-1, 1, 4), (8, 0, 2) and (5, -2, 11) respectively.
(a) Find the position vectors of A, B and C.
: :
(b) Find AB and BC.
: :
(c) Find ƒ AB ƒ and ƒ BC ƒ .
Solution
(a) Denoting the position vectors of A, B and C by a, b and c respectively, we find
a = -i + j + 4 k, b = 8i + 2 k, c = 5i - 2 j + 11k
: :
(b) AB = b - a = 9i - j - 2k, BC = c - b = -3i - 2j + 9k
:
(c) ƒ AB ƒ = 292 + (-1)2 + (-2)2 = 286,
:
ƒ BC ƒ = 2(-3)2 + (-2)2 + 92 = 294
Exercises
1 State the position vector of the point with 3 Points P, Q and R have coordinates
coordinates (4, -4, 3). (9, 1, 0), (8, -3, 5) and (5, 5, 7) respectively.
(a) Find the position vectors of P, Q and R.
2 Find the modulus of each of the following : :
(b) Find PQ and QR .
vectors: : :
(a) 7i + 2j + 3k (b) 7i - 2j + 3k (c) Find ƒ PQ ƒ and ƒ QR ƒ .
(c) 2j + 8k (d) -i - 2j + 3k
(e) ai + bj + ck 4 If a = 5i - 2j + 3k and b = 2i + j - 4k
write down b - a.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 698
Solutions to exercises
:
1 4i - 4j + 3k (b) PQ = -i - 4j + 5k,
:
QR = -3i + 8j + 2k
2 (a) 262 (b) 262 (c) 268 (d) 214
(e) 2a2 + b2 + c2 : :
(c) ƒ PQ ƒ = 242, ƒ QR ƒ = 277
The concepts of direction ratio and direction cosines extend naturally to three dimen-
sions. Consider Figure 2.9.
Consider point P with position vector
r = ai + bj + ck
Figure 2.9 z
The direction
:
cosines of OP are
P (a, b, c)
cos a, cos b and
cos g.
r
γ
α β
y
Key point For any vector r = ai + bj + ck, its direction ratio is a:b:c. Its direction cosines are
a b c
l = , m = , n =
2a 2 2
+ b + c 2
2a + b
2 2
+ c 2
2a
2
+ b2 + c2
and
l2 + m2 + n2 = 1
Example 2.16
(a) Calculate the direction ratio of r = 3i - 2j + k.
(b) Calculate its direction cosines.
Solution
(a) The direction ratio is 3:-2:1.
(b) The direction cosines are
3 3
l = =
23 + (-2) + 1
2 2 2
214
- 2 2
m = = -
23 + (-2) + 1
2 2 2
214
1 1
n = =
23 + (-2) + 1
2 2 2
214
Exercises
1 Points A and B have position vectors 2 Find the direction ratios, the direction cosines
:
a = -3i + 2j + 7k and b = 3i + 4j - 5k and the angles that the vector OP makes with
respectively. Find each of the axes when P is the point with
: coordinates (2, 4, 3).
(a) AB
:
(b) ƒ AB ƒ
: 3 A line is inclined at 60° to the x axis and 45°
(c) the direction ratios of AB to the y axis. Find its inclination to the z axis.
:
(d) the direction cosines of AB.
(e) Show that the sum of the squares of the
direction cosines equals 1.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 700
Solutions to exercises
2 4 3
1 (a) 6i + 2j - 12k (b) 2184 (c) 6:2:-12 2 2:4:3; , , ; 68.2°, 42.0°, 56.1°
229 229 229
6 2 -12
(d) , , 3 60° or 120°
2184 2184 2184
The vectors we have described so far have been either two- or three-dimensional.
However, there are some situations when it is desirable to generalise what we have
done to higher dimensions. No geometrical interpretation is then available. Never-
theless we can still refer to the components of a vector and the modulus of a vector.
Two examples of four-dimensional column vectors are
3 1
a = ± ≤ b = ± ≤
1 0
and
2 3
4 1
ƒ a ƒ = 232 + 12 + 22 + 42
= 230
000000000000000000000
000000000010000000000
O 1 2 3 4 5 6 n
This sequence can also be represented by a vector: for example, we could write it
as the row vector
f = (0, 0, 3, 5, 0)
The norm of the signal is the modulus of the vector f, defined, by generalising the
two- and three-dimensional case, as
ƒ f ƒ = 202 + 02 + 32 + 52 + 02
= 234
More generally a vector, f, with N components can represent a signal of length N, that is
f = ( f0, f1, . . . , fN - 1)
and its norm is given by
N-1
f n2
A na
ƒfƒ =
=0
P2Q P1Q
p = 1 and q = 9
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 702
P Q P Q P Q
6 If
x1 = 2 , x2 = 0 , x3 = 2 1 3
3 1 4 1 2
show that x1 + x2 - x3 = 0 where 0 is the a = •0μ and b = •1μ
zero vector. 1 0
1 1
3 A triangle has vertices A, B and C with
coordinates (1, 3, 2), (-1, 5, 9) and (2, 7, 1) find the norm of a, the norm of b, and the
respectively. Calculate the vectors that norm of a - b.
represent the sides of the triangle.
Solutions to exercises
9 1
-4 4 (i - j)
P6Q P 1 Q
1 (a) 3 (b) -8 22
5 7
-14 -5
2, 215, 27
P -2 Q P 4 Q
6
(c) -18 (d) -15
:
3 AB = -2i + 2j + 7k,
:
BC = 3i + 2j - 8k,
:
AC = i + 4j - k
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 703
3.1 Introduction
Multiplication of two vectors is defined in two different ways. The first way is known
as the scalar product. When the scalar product of two vectors is calculated the result
is a scalar and not a vector. The second way is known as the vector product. When
this is calculated the result is a vector. These products are summarised in Table 3.1.
The ways in which these products are defined seem rather strange when first met, but
the reason for this lies in their applications. In this block we consider only the scalar
product.
Table 3.1
The two types Name Written as Result
of vector
Scalar product a # b Scalar
multiplication.
Vector product a * b Vector
Figure 3.1
Two vectors
separated by an
angle u. b
θ a
Note that the tails of the two vectors coincide and that the angle between the vectors
has been labelled u. Their scalar product, denoted a # b, is defined as
a # b = ƒ a ƒ ƒ b ƒ cos u
It is very important to use the dot in the formula. The dot is the symbol for the scalar
product, and is the reason why the scalar product is also known as the dot product.
M14_CROF5939_04_SE_C14.QXD 9/28/18 8:49 AM Page 704
You should never use a * sign in this context because the * sign is reserved for the
vector product, which is quite different.
We can remember this formula as: the length of the first vector times the length of
the second times the cosine of the angle in between them.
Example 3.1
Vectors a and b are shown in Figure 3.2. The vector a has modulus 6, the vector b has
modulus 7, and the angle between them is 60°. Calculate a # b.
Figure 3.2
When the tails of a
and b coincide the
angle between b
them is 60°.
60°
a
Solution
Identify the angle between the two vectors, and also their moduli. Then apply the
formula for the dot product.
The scalar product of a and b is equal to 21. Note that when finding a scalar product
the result is always a scalar.
Example 3.2
Find i # i, where i is a unit vector in the direction of the positive x axis.
Solution
Because i is a unit vector its modulus is 1. The angle between any two parallel vec-
tors is zero. So the angle between i and itself is zero. Therefore
i # i = (1)(1) cos 0°
= 1 since cos 0° = 1
So the scalar product of i with itself equals 1. It is easy to verify that j # j = 1 and
k # k = 1.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 705
Solution
Because i and j are unit vectors they both have a modulus of 1. The angle between
the two vectors is 90° as shown in Figure 3.3.
Figure 3.3 y
The angle between
the unit vectors i
and j is 90°.
Therefore
i # j = (1)(1) cos 90°
= 0 since cos 90° = 0
That is, i # j = 0.
Key point i # i = j # j = k # k = 1
i # j = i # k = j # k = 0
Exercises
1 Write down the definition of the scalar product 4 Two unit vectors are parallel. What can you
of two vectors and illustrate your definition deduce about their scalar product?
with a diagram.
5 Two vectors have modulus 10 and 12. The
2 Use the definition of the scalar product to angle between them is p3 . Find their scalar
show that, if two vectors are perpendicular, product.
their scalar product is zero.
Solutions to exercises
3 64.35 5 60
4 It equals 1.
The scalar product has a number of properties that are necessary for further
development.
Commutativity
If a # b = ƒ a ƒ ƒ b ƒ cos u then it follows that b # a = ƒ b ƒ ƒ a ƒ cos u. Since ƒ b ƒ , ƒ a ƒ and cos u
are numbers, and multiplication of numbers is commutative,
ƒ a ƒ ƒ b ƒ cos u = ƒ b ƒ ƒ a ƒ cos u
Clearly then a # b = b # a. Thus we can evaluate a scalar product in any order – the
operation is commutative.
Distributivity
For three vectors a, b and c
a # (b + c) = a # b + a # c
Example 3.4
Simplify i # (i + j).
Solution
Using the distributivity property,
i # (i + j) = i # i + i # j
which simplifies to 1 + 0 = 1.
Multiplication by a scalar
For two vectors a and b, and a scalar k,
k(a # b) = (ka) # b
= a # (kb)
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 707
Solution
Using this rule, with k = 7, i # (7i) can be written 7(i # i). So
i # 7i = 7(i # i)
= 7(1) = 7
Example 3.6
Simplify (3i + 2j) # (7i + 4j).
Solution
Using the distributivity property we can write
(3i + 2j) # (7i + 4j) = (3i + 2j) # (7i) + (3i + 2j) # (4j)
3i # 7i + 2j # 7i + 3i # 4j + 2j # 4j
This simplifies to
Finally
Exercises
Solutions to exercises
1 3a2 - 10b2
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 708
We can use the previous results to obtain a formula for finding a scalar product when the
vectors are given in cartesian form. Suppose a = a1i + a2 j and b = b1i + b2 j. Then
a # b = (a1 i + a2 j) # (b1i + b2 j)
= a1 i # (b1i + b2 j) + a2 j # (b1 i + b2 j)
= a1b1 i # i + a1b2 i # j + a2b1 j # i + a2b2 j # j
Now, since i # i = j # j = 1, and i # j = j # i = 0, we can simplify this to give the
following formula:
Thus to find the scalar product of two vectors their i components are multiplied
together, their j components are multiplied together and the results are added.
Example 3.7
If a = 7i + 8j and b = 5i - 2j, find the scalar product a # b.
Solution
We use the previous Key point and multiply corresponding components together,
adding the results.
a # b = (7i + 8j) # (5i - 2j)
= (7)(5) + (8)(-2)
= 35 - 16
= 19
Note that the answer is a scalar.
Example 3.8
If p = 5i - 3j and q = 2i + j, find the scalar product p # q.
Solution
(5)(2) + (-3)(1) = 7
Example 3.9
If a = 5i + 3j - 2k and b = 8i - 9j + 11k, find a # b.
Solution
Corresponding components are multiplied together and the results are added.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 709
3.5 Using the scalar product to find the angle between two vectors 709 14
a # b =
Example 3.11
If r = 3i + 2j + 9k find r # r. Show that this is the same as ƒ r ƒ 2.
Solution
94
Exercises
Solutions to exercises
2 22
3.5 Using the scalar product to find the angle between two vectors
Using the scalar product we can find the angle between two vectors.
Example 3.12
Find the angle between the vectors a = 5i + 3j - 2k and b = 8i - 9j + 11k of
Example 3.9.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 710
Solution
Their scalar product has already been found to be -9. The modulus of a is
The modulus of b is
Substituting these into the formula for the scalar product we find
a # b = ƒ a ƒ ƒ b ƒ cos u
from which
-9
cos u =
238 2266
= -0.0895
so that
u = cos-1(-0.0895)
= 95.14°
In general, the angle between two vectors can be found from the following formula:
Key point a # b
cos u =
ƒaƒ ƒbƒ
Exercises
1 Find the angle between p = 3i - j and 2 Find the angle between the vectors i - j - k
q = -4i + 6j. and 2i + j + 2k.
Solutions to exercises
1 142.1° 2 101.1°
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 711
3.6 Using the scalar product to find the component of a vector in the direction of another vector 711 14
Consider Figure 3.4, which shows arbitrary vectors a and n. Let nN be a unit vector
in the direction of n.
Figure 3.4 P
OQ is the
component of a in a
the direction of n.
θ Q
O n̂ n
Projection of a onto n
Study the figure carefully and note that a line has been drawn from P to meet n at
right angles. The distance OQ is called the projection of a onto n, or alternatively
‘the component of a in the direction of n’. Simple trigonometry tells us that
length of projection OQ
cos u =
ƒaƒ
so that the length of the projection is ƒ a ƒ cos u.
Now by taking the scalar product of a with the unit vector nN we find
a # nN = ƒ a ƒ ƒ nN ƒ cos u
= ƒ a ƒ cos u since ƒ nN ƒ = 1
We conclude that a # nN is the length of the projection OQ.
Example 3.13
Find the component of the vector a = 2i + 3j in the direction of the vector
n = i + 5j.
Solution
First we need a unit vector in the direction of n.
n
nN =
ƒnƒ
1
= (i + 5j)
226
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 712
# # 1
a nN = (2i + 3j) (i + 5j)
226
1 #
= (2i + 3j) (i + 5j)
126
1
= (2 + 15)
226
17
=
226
= 3.334
This is illustrated in Figure 3.5.
Figure 3.5 y
The projection of a n i 5j
onto n is 3.334.
Length
3.334
a 2i 3 j
O x
Example 3.14
Figure 3.6 shows a plane containing the point A with position vector a. The vector n
is a perpendicular, or normal, to the plane. Find an expression for the perpendicular
distance of the plane from the origin.
Figure 3.6
OB is the n
perpendicular n
distance of the B
plane from the
origin.
A
O a
Solution
From the figure note that the perpendicular distance of the plane from the origin,
which is OB, is the projection of a onto n. Thus the perpendicular distance of the
plane from the origin is a # nN .
3.6 Using the scalar product to find the component of a vector in the direction of another vector 713 14
If the unrecognised signal resembles one of the known ones sufficiently well it
may be possible to identify it. To quantify this resemblance we can make use of vec-
tor methods.
Suppose that the unrecognised digital signal is represented by the vector x as
shown in Figure 3.7 whereas the vectors e1, e2, . . . , eN represent known signals.
Usually these vectors are normalised, that is they are unit vectors. We seek the
particular unit vector that most closely resembles x. The ‘distance’ between the
unrecognised vector and any one of the known vectors, e say, is defined as
ƒx - eƒ
Figure 3.7
x
e2
e1
eN
We would like to choose the particular e for which this distance is minimal. First
consider the square of this distance ƒ x - e ƒ 2. Recall that, for any vector a, then
ƒ a ƒ 2 = a # a. So,
ƒ x - e ƒ 2 = (x - e) #
(x - e)
= x # x + e # e-e # x-x # e
= ƒ x ƒ 2 + 1 - 2x # e
since e is a unit vector and the scalar product is commutative. We see that the square
distance, and hence the distance between x and e, is minimal when x # e is maximal.
So, the unit vector most closely resembling x is the one having the largest scalar
product with x.
For example, suppose an unrecognised signal is represented by
x = (4, 3, 6)
while the known unit vectors are
1 1
e1 = (1, 0, 0), e2 = (1, 2, 1) and e3 = (2, 2,- 1)
26 3
Evaluating the three scalar products in turn we find
# # 16 # 8
x e1 = 4, x e2 = = 6.53, x e3 = = 2.67
26 3
We conclude that x most closely resembles e2.
Exercises
1 (a) What is the component of the vector (b) What is the component of 2i + 7j in the
2i + 7j in the direction of the vector i? direction of the vector j? Interpret your
results graphically.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 714
Solutions to exercises
4
1 (a) 2 (b) 7. These are just the x and y 3
components. 113
10
2
13
1 If a = 4i + 6j and b = 3i - 3j find a # b 7 If
and verify that a # b = b # a. x 3
r = £y≥ and a = £2≥
2 Find the angle between p = 2i + j and
q = 5i + 11j. z 5
find r # a.
3 If a and b are perpendicular, simplify
15a + 2b2 # 1a + 7b2. 8 Find the component of the vector 7i + 2j - k
in the direction of the vector i - j + 2k.
4 If a = 5i + 3j + 7k and b = i - 2j - 7k,
find a # b. 9 Write down an expression for the component
of a in the direction of b.
5 Show that the vectors 7i + 2j + k and
i - 4j + k are perpendicular. 10 A rhombus is a parallelogram in which all
sides have equal length. Use the scalar product
6 Find the angle between the vectors 2i + j - k to show that the diagonals of a rhombus
and 5i + j - 3k. intersect at 90°.
Solutions to exercises
1 -6 6 15°
7 3x + 2y + 5z
2 39°
3
3 5a2 + 14b2 8
16
4 -50 9 a # bN
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 715
4.1 Introduction
In this block we describe how to find the vector product of two vectors. Like the
scalar product its definition may seem strange when first met but it is defined in this
way because of its many applications. When multiplying vectors using the vector
product the result is always a vector. To understand how this vector is formed it is
helpful to consider first the right-handed screw rule.
Figure 4.1
b
Two vectors
separated by an
angle u. θ
The two vectors lie in a plane; this plane is shaded in Figure 4.1. Figure 4.2 shows
the same two vectors and the plane in which they lie together with a unit vector,
denoted eN , which is perpendicular to this plane. Imagine turning a right-handed
screw in the sense from a towards b as shown. A right-handed screw is one that when
turned clockwise enters the material into which it is being screwed. You will see
from Figure 4.2 that the screw will advance in the direction of eN .
Figure 4.2
A right-handed
screw turned from
a towards b will ê
advance in the
b
direction of eN .
a
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 716
Example 4.1
If a right-handed screw is turned from b towards a, in which direction will it
advance? Show this on a diagram similar to Figure 4.2.
Solution
a
Direction in which
the screw will advance
The result of finding the vector product of two vectors a and b is a vector of modulus
ƒ a ƒ ƒ b ƒ sin u in the direction of eN , where eN is a unit vector perpendicular to the plane
containing a and b in a sense defined by the right-handed screw rule, as we imagine
turning the screwdriver from a towards b, as shown in Figure 4.3.
Figure 4.3
The vector a * b
is perpendicular ab Length |a| |b| sin θ
to the plane
containing a and b.
The symbol we shall use for the vector product is the times sign * , which is
why the vector product is also called the cross product. The quantity a * b is read as
a cross b.
Note that ƒ a ƒ ƒ b ƒ sin u is the modulus of the vector product whereas eN gives the
direction.
Now study Figure 4.4, which is used to illustrate the calculation of b * a. In
particular note the direction of b * a arising through the application of the right-
handed screw rule.
Figure 4.4 b
Calculation of
b * a.
ba
Example 4.2
If a and b are parallel, show that a * b = 0, the zero vector.
Solution
Use the definition: a * b = ƒ a ƒ ƒ b ƒ sin u eN . What is the angle u given that a and b are
parallel?
u = 0°
If a and b are parallel then the angle between them is zero. Consequently sin u = 0.
It follows that a * b = 0. Note that the result, 0, is the zero vector.
Key point i * i = 0, j * j = 0, k * k = 0
Example 4.3
Show that i * j = k and find expressions for j * k and k * i.
Solution
Note that i and j are perpendicular so that the angle between them is 90°. So the
modulus of i * j is (1)(1) sin 90° = 1. The unit vector perpendicular to i and j in the
sense defined by the right-handed screw rule is k as shown in Figure 4.5. Therefore
i * j = k as required.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 718
Figure 4.5 z z z
The vector k is ijk jki kij
perpendicular to
both i and j. k k k
j j j
y y y
i i i
x x x
Key point i * j = k, j * k = i, k * i = j
j * i = -k, k * j = -i, i * k = -j
Exercises
1 Write down the definition of the vector 3 Show that if a and b are parallel vectors then
product of two vectors p and q. Illustrate the their vector product is the zero vector.
definition with a diagram showing clearly the
direction of p * q.
The vector product has a number of properties that are necessary for further
development.
Non-commutativity
We have already seen that a * b = -b * a.
Distributivity
For three vectors a, b and c
a * (b + c) = a * b + a * c
Solution
Using the distributivity property,
i * (i + j) = i * i + i * j
which simplifies to k.
Multiplication by a scalar
For two vectors a and b, and a scalar k,
k (a * b) = (ka) * b
= a * (kb)
Example 4.5
Simplify i * 5k.
Solution
Using this rule,
i * 5k = 5(i * k)
= 5( -j)
= - 5j
We can use the properties of the vector product to develop a formula for finding the
vector product of two vectors given in cartesian form. Suppose a = a1i + a2 j + a3 k
and b = b1i + b2 j + b3 k; then
a * b = (a1i + a2 j + a3 k) * (b1i + b2 j + b3 k)
= a1i * (b1i + b2 j + b3 k)
+ a2 j * (b1i + b2 j + b3 k)
+ a3 k * (b1i + b2 j + b3 k)
= a1b1(i * i) + a1b2(i * j) + a1b3(i * k)
+ a2b1( j * i) + a2b2( j * j) + a2b3( j * k)
+ a3b1(k * i) + a3b2(k * j) + a3b3(k * k)
Example 4.6
Evaluate the vector product a * b if a = 3i - 2 j + 5k and b = 7i + 4 j - 8k.
Solution
Identifying a1 = 3, a2 = -2, a3 = 5, b1 = 7, b2 = 4, b3 = -8 we find
a * b = [(-2)(-8) - (5)(4)]i - [(3)(-8) - (5)(7)] j
+ [(3)(4) - (-2)(7)]k
= -4i + 59j + 26k
Example 4.7
Evaluate the vector product b * a where a and b are the vectors in Example 4.6.
Solution
4i - 59j - 26k
Example 4.8
Use the Key point to find the vector product of p = 3i + 5 j and q = 2i - j.
Solution
Note that in this example there are no k components so a3 and b3 are both zero.
Apply the formula:
p * q = -13k
Exercises
Solutions to exercises
1 -2k 3 25
2 (a) 91k
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 721
To find the i component of the vector product, imagine crossing out the row and col-
umn containing i and finding the determinant of what is left, that is
` ` = a2b3 - a3b2
a2 a3
b2 b3
The resulting number is the i component of the vector product. The j component is
found by crossing out the row and column containing j and evaluating
` ` = a1b3 - a3b1
a1 a3
b1 b3
and then changing the sign of the result. Finally the k component is found by cross-
ing out the row and column containing k and evaluating
` ` = a1b2 - a2b1
a1 a2
b1 b2
Example 4.9
Find the vector product of a = 3i - 4 j + 2k and b = 9i - 6j + 2k.
Solution
The two given vectors are represented in the determinant
i j k
33 -4 2 3
9 -6 2
Evaluating this determinant we obtain
a * b = [-8 - (-12)]i - (6 - 18) j + [-18 - (-36)]k
= 4i + 12 j + 18k
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 722
Example 4.10
Find the vector product of a = 7i + j + 2k and b = i + 3j - 2k.
Solution
i j k
3 3 = -8i + 16 j + 20k
Figure 4.6
The moment of a
force is found by
evaluating a vector
product. r
O
F
1 : :
area = 2 ƒ AB * AC ƒ
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 723
Solution
From the definition of the vector product
: : : :
ƒ AB * AC ƒ = ƒ AB ƒ ƒ AC ƒ sin A
: : : :
since A is the angle between AB and AC. Furthermore ƒ AB ƒ = c and ƒ AC ƒ = b.
Therefore
1
area = 2 bc sin A
1 : :
= 2 ƒ AB * AC ƒ
as required.
Example 4.13
Find the area of the triangle that has vertices at the following points: A(0, 7, 1),
B(1, 3, 2) and C(-2, 0, 3).
Solution
: :
To apply the result of Example 4.12 we need to find the vectors AB and AC.
We are given the coordinates of the vertices. Write down the position vectors of
these points.
: : :
OA = 7j + k, OB = i + 3j + 2k and OC = -2i + 3k
: :
Hence find vectors AB and AC.
: :
AB = i - 4j + k and AC = -2i - 7j + 2k
: :
Now find AB * AC and apply the formula of Example 4.12.
: : -i - 4j - 15k
AB * AC =
11
area = 2 22
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 724
Exercises
Solutions to exercises
1 -3i - 2j - 13k 6 -i + 2j + 6k
3 -5i + 10j - 5k 1
8 (33i + 15j - 21k), 0
226
4 5i - 34j + 6k
1
9 2 21106
1
5 -11i + 9j - k, (-11i + 9j - k)
2203 10 -29i - 10j + k
Scalar and vector products can be readily calculated define the vectors a = i - 2j + 3k and b = 2i - j + k
using software. For example, the Matlab instructions and then calculate their scalar and vector products,
yielding 7 and i + 5j + 3k, respectively. The
a=[1 -2 3]
following Maple commands achieve the same result:
b=[2 -1 1]
dot(a,b)
cross(a,b)
M14_CROF5939_04_SE_C14.QXD 9/25/18 2:00 PM Page 725
Solutions to exercises
Solutions to exercises
1
4 (- 2i - 3j + k)
214
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:56 PM Page 726
5.1 Introduction
Vectors are very convenient tools for analysing lines and planes in three dimensions.
In this block you will learn how to formulate the vector equation of a line and the
vector equation of a plane. Finding the equation of a plane relies heavily on an
understanding of the scalar product, which should be revised if necessary.
You will recall that in two dimensions a straight line has an equation of the form
y = mx + c, such as y = 3x - 2. Values of x and y that satisfy this equation corre-
spond to points that lie on the line. Lines in three dimensions are conveniently
described using vectors. If we are given a point through which a line must pass, and
if we can find a vector in the direction of the line, then the line can be described
uniquely.
Consider the straight line APB shown in Figure 5.1.
Figure 5.1 B
A straight line P
A
passing through
points A and B. r
a b
Points A and B are fixed and known points on the line, and have position vectors
a and b respectively. Point P is any other arbitrary and variable point on the line, and
: :
has position vector r. Note that AB and AP are parallel. It is possible to express the
position vector of the arbitrary point in terms of the vectors a and b in what is called
the vector equation of the line. We shall develop this equation in stages.
Example 5.1
Refer to Figure 5.1. Using the triangle law of vector addition it is possible to write an
:
expression for AB in terms of a and b. Do this now.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 727
Example 5.2
: :
Refer to Figure 5.1. Given AB and AP are parallel, write down a relationship
between these vectors.
Solution
: :
AP = kAB, for some scalar k
is the vector equation of the line passing through the points with position vectors
a and b.
By varying the value of k we can move to any point on the line. For example, when
k = 0, r = a, point A
k = 1, r = b, point B
If k lies between 0 and 1, the point P lies on the line between A and B. If k is greater
than 1, the point P lies on the line beyond B. If k is less than 0, the point P lies on the
line beyond A on the opposite side.
Note that the vector b - a is a vector in the direction of the line.
Example 5.3
Write down the vector equation of the line that passes through the points A and B
with position vectors a = 3i + 2j and b = 7i + 5j respectively.
Solution
Note that
r = a + k(b - a)
= (3i + 2j) + k(4i + 3j)
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 728
Alternatively, using column vector notation we could write the equation of the
line as
r = a b + ka b
3 4
2 3
This gives the position vector of any point on the line. Note that if k = 0 then
r = a b
3
2
that is point A. If k = 1 then
r = a b + a b
3 4
2 3
= a b
7
5
which is point B. Any other value of k will give another point on the line. For
example, if k = 2 we find
r = a b
11
8
which is a point beyond B.
Example 5.4
Write down the vector equation of the line that passes through the points with pos-
ition vectors a = 5i - 2j + 3k and b = 2i + j - 4k.
Solution
Using column vector notation write down b - a.
2 5 -3
P Q P Q P Q
1 - -2 = 3
-4 3 -7
5 -3
P Q P Q
r = a + k1b - a2 = -2 + k 3
3 -7
Example 5.5
On a diagram mark two points M and N. Sketch a straight line through the points M
and N, and show their respective position vectors m and n. On your sketch mark an
arbitrary point on the line, having position vector r. Write down the vector equation
of the line MN.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 729
m r
n
r = m + k(n - m)
On occasions it is useful to convert the vector form of the equation of a straight line
into cartesian form. Suppose we write
a1 b1 x
P Q P Q P Q
a = a2 , b = b2 and r = y
a3 b3 z
Then
r = a + k(b - a)
x a1 b1 - a1
P Q P Q P Q
y = a2 + k b2 - a2
z a3 b3 - a3
a1 + k(b1 - a1)
P 2 Q
= a + k(b2 - a2)
a3 + k(b3 - a3)
x - a1
x = a1 + k(b1 - a1), or equivalently k =
b1 - a1
y - a2
y = a2 + k(b2 - a2), or equivalently k =
b2 - a2
z - a3
z = a3 + k(b3 - a3), or equivalently k =
b3 - a3
x - a1 y - a2 z - a3
= =
b1 - a1 b2 - a2 b3 - a3
This is the cartesian form of the equation of the straight line that passes through the
points with coordinates (a1, a2, a3) and (b1, b2, b3).
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 730
Key point x - a1
=
y - a2
=
z - a3
b1 - a1 b2 - a2 b3 - a3
is the cartesian form of the equation of the straight line that passes through the
points with coordinates (a1, a2, a3) and (b1, b2, b3).
Example 5.6
(a) Write down the cartesian form of the equation of the straight line that passes
through the two points (9, 3, -2) and (4, 5, -1).
(b) State the equivalent vector equation.
Solution
x-9 y-3 z - (-2)
(a) = =
4-9 5-3 -1 - (-2)
that is
x - 9 y - 3 z + 2
= =
-5 2 1
(b) The vector equation is
r = a + k(b - a)
9 4 9 9 -5
P Q JP Q P QK P Q P Q
= 3 + k 5 - 3 = 3 + k 2
-2 -1 -2 -2 1
Exercises
:
1 (a) Write down the vector AB joining the 4 Line I has equation
points A and B with coordinates (3, 2, 7)
and (-1, 2, 3) respectively. 2 1
P Q P Q
(b) Find the equation of the straight line r1 = 3 + k 2
through A and B. 5 4
Line II has equation
2 Write down the vector equation of the line
passing through the points with position -5 -6
P Q P Q
vectors r2 = 8 + l 7
1 0
p = 3i + 7j - 2k
Different values of k give different points on
q = -3i + 2j + 2k
line I. Similarly, different values of l give
different points on line II. If the two lines
Find also the cartesian equation of this line. intersect then r1 = r2 at the point of intersection.
If you can find values of k and l which satisfy
3 Find the vector equation of the line passing this condition then the two lines intersect. Show
through (9, 1, 2) and which is parallel to the the lines intersect by finding these values and
vector (1, 1, 1). hence find the point of intersection.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 731
Solutions to exercises
3 -4 9 1
1 (a) -4i - 4k (b) r = £ 2 ≥ + k £ 0 ≥ 3 r = £1≥ + k£1≥
7 -4 2 1
3 -6
2 r = £ 7 ≥ + k £ -5 ≥ ; 4 k = l = -1 and the point of intersection is
-2 4 (1, 1, 1).
x - 3 y - 7 z + 2
cartesian form = = .
-6 -5 4
Figure 5.2 n
This plane passes
through A and is
perpendicular to n.
A
P
a
r
Suppose that A is a known point in the plane and has position vector a. Suppose
that P is any other arbitrary point in the plane with position vector r. Clearly the vec-
:
tor AP must lie in the plane. Note that
:
AP = r - a
Also shown in Figure 5.2 is a vector that is perpendicular to the plane and denoted by
:
n. Now, because AP and n are perpendicular their scalar product must equal zero,
that is
:
AP # n = 0
(r - a) # n = 0
This is the equation of the plane passing through the point with position vector a and
perpendicular to n.
Key point A plane passing through the point with position vector a and being perpendicular to the
vector n is given by
r #n = a#n
The previous result is valid whether or not n is a unit vector. However, if nN is a unit
vector then a # nN represents the perpendicular distance from the origin to the plane,
which we usually denote by d. This was shown in Block 3. Hence we can write
r # nN = d
This is the vector equation of a plane with unit normal nN and which is a perpendic-
ular distance d from O.
Key point A plane with unit normal nN and which is a perpendicular distance d from O is given by
r # nN = d
Given the equations of a line and a plane we can calculate their point of intersection.
Example 5.8 illustrates the method.
Example 5.8
A line, L, passes through A(3, 3, 1) and B(4, 7, -1). A plane, ß , passes through
1
C(3, -1, 7). The normal to the plane has direction £ 0 ≥ . Find the point of intersec-
tion of L and ß. 2
Solution
Consider the line, L, first. We develop the equation of the line. The direction of the
line is
4 3 1
!
AB = b - a = £ 7 ≥ - £ 3 ≥ = £ 4 ≥
-1 1 -2
The line passes through A(3, 3, 1) and so the equation of the line, L, is
x 3 1
r = £y≥ = £3≥ + k£ 4 ≥
z 1 -2
x = 3 + k (1)
y = 3 + 4k (2)
z = 1 - 2k (3)
We now develop the equation of the plane. Noting the normal to the plane and the
coordinates of the point C we may write the vector equation of the plane as
x 1 3 1
£ y ≥ . £ 0 ≥ = £ -1 ≥ . £ 0 ≥ = 17
z 2 7 2
Two planes, which are not parallel, intersect in a line. The equations of the planes
(in cartesian form) are solved simultaneously to find the equation of the line of
intersection.
Example 5.9
The equations of two planes are given by
x - 2y - z = 0 (1)
x + 3y + 2z = 1 (2)
Find their line of intersection.
Solution
The system of equations given by (1) and (2) can be solved by Gaussian elimination
(see Chapter 13, Block 3). The augmented matrix is
a b
1 -2 -1 0
1 3 2 1
The row-echelon form of this augmented matrix is
a 1b
1 -2 -1 0
3
0 1 5 5
The second row states
3 1
y + z =
5 5
Let y = k, that is the free variable. Then
1 - 5k
z =
3
Using the first row we find
k + 1
x =
3
Writing the expressions for x, y and z in the form of a vector equation gives
1 1
x 3 3
r = £y≥ = £0≥ + k£ 1 ≥
1
z 3 - 53
This is the required vector equation of the line. By varying the value of k we can
move to any point on the line. It is worth noting that we can rewrite this in a slightly
simpler form. Note that when k = -1 then the equation of the line reduces to
x 0
r = £ y ≥ = £ -1 ≥
z 2
M14_CROF5939_04_SE_C14.QXD 11/15/18 3:46 PM Page 735
x 0 1
r = £ y ≥ = £ -1 ≥ + k £ 3 ≥
z 2 -5
Figure 5.3 shows a plane with normal n. A line L intersects the plane at A. We
wish to calculate the acute angle between the line and the plane: this is denoted u
in Figure 5.3.
Figure 5.3
Finding the angle
n
between a line, L,
and a plane.
α
θ
A
Given the equation of the plane we can determine the normal n. Knowing the
direction of the line we can use the scalar product to determine the acute angle
between the line, L, and the normal, n. This is denoted a in Figure 5.3. Observe that
u = 90° - a. Example 5.10 illustrates the method.
Example 5.10
A plane has cartesian equation
x + 2z = 17
A line has vector equation
3 6
r = £3≥ + k£ - 2≥
1 1
M14_CROF5939_04_SE_C14.QXD 10/16/18 7:29 AM Page 736
Key point Let a be the angle between a line and the normal to a plane. Then the angle, u, between
the line and plane is given by
u = 90° - a
Exercises
: :
1 Find the equation of a plane that is normal to (a) Write down AB and AC.
8i + 9j + k and which is a distance 1 from : :
(b) Find the vector product AB * AC.
the origin. : :
(c) Comment upon the direction of AB * AC
in relation to the plane through A, B and C.
2 Find the equation of a plane that passes (d) Find the vector and cartesian forms of the
through (8, 1, 0) and which is normal to the equation of the plane containing A, B and C.
vector i + 2j - 3k.
Solutions to exercises
:
1 (a) Write down the vector AB joining the 6 Find the equation of a plane that passes
points A and B with coordinates (-2, 1, 3) through the origin and which is normal to the
and (5, 2, 3) respectively. vector 5i + j - k.
(b) Find the equation of the straight line
7 What is the distance of the plane
through A and B.
3
2 Write down the vector equation of the line r # £2≥ = 5
passing through the points with position vectors 1
p = 5i + 3j - 2k from the origin?
q = 3i + 7j - k
8 (a) A plane ß is given by
Find the cartesian equation of this line.
1
3 Find the vector equation of the line passing r # £2≥ = 6
through (2, 1, 2) and which is parallel to the 1
vector (1, 2, 3).
Find the distance of this plane from the
4 Find the vector equation of the line passing origin.
through (2, 1, 2) and which is parallel to the (b) A second plane passes through the point
1 (3, 2, 1) and is parallel to the plane ß.
unit vector (1, 2, 3). Find its distance from the origin.
214 (c) Deduce the distance from the point
(3, 2, 1) to the plane ß.
5 Find the equation of a plane that passes
through (2, -3, 1) and which is normal to the 9 Write the plane 3x - 3y - z = 14 in vector
vector 3i - 3j - k. form.
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 738
Solutions to exercises
-2 7 3
1 (a) 7i + j (b) r = £ 1 ≥ + k £ 1 ≥ 5 r # £ -3 ≥ = 14
3 0 -1
5 -2 5
2 r = £ 3 ≥ + k £ 4 ≥; 6 r # £ 1 ≥ = 0
-2 1 -1
x - 5 y - 3 z + 2 5
= = 7
-2 4 1 214
6 8 2
2 1 8 (a) (b) (c)
26 26 26
3 r = £1≥ + k£2≥
2 3 3
9 r # £ -3 ≥ = 14
4 same as 3
-1
1 Show on a diagram three arbitrary vectors p, q 7 If A has coordinates (-4, 2, 1) and B has
and r. Using the triangle law of addition verify coordinates (2, 0, 2) find the direction ratio of
the associativity rule :
the vector AB. Find its direction cosines l, m
p + (q + r) = (p + q) + r and n and verify that l2 + m2 + n2 = 1.
2 A force of 23 newtons acts at an angle of 20° 8 Find the angle between the vectors 12i - j
below the horizontal. Resolve this force into and 2i + j + k.
two components, one vertical and one
horizontal. 9 Find the projection of the vector 6i + j + 5k
onto the vector i - j + 2k.
3 On a diagram show the arbitrary vectors p and
q. Then show the following: 10 Points A, B and C have position vectors
(a) p + q (b) p - q (c) q - p (9, 1, 1), (8, 1, 1) and (9, 0, 2). Find
(d) 4q (e) -2q (a) the equation of the plane containing A, B
and C
4 State the position vectors of the points with (b) the area of the triangle ABC.
coordinates (9, 1, -1) and (-4, 0, 4).
11 Find the equation of the plane with normal j
5 If A has coordinates (4, 3, 0) and B has that is a distance 2 from the origin.
: :
coordinates (-2, 1, 9) find AB and ƒ AB ƒ . 12 If a = 3i + j - 2k and b = 13i - j - k
find
6 Find the modulus of the vector
(a) a + b (b) b - 3a (c) ƒ b ƒ (d) aN
p = 2i - j + 5k (e) ƒ b - a ƒ
M14_CROF5939_04_SE_C14.QXD 9/25/18 12:57 PM Page 739
Solutions to exercises
Chapter 15
Differentiation
Chapter 15 contents
Interpretation of a derivative
BLOCK 1
1.1 Introduction
Engineers are often interested in the rate at which some variable is changing. For
example, an engineer needs to know the rate at which the pressure in a vessel is
changing, the rate at which the voltage across a capacitor is changing, or the rate at
which the temperature is changing in a chemical reaction. Rapid rates of change of a
variable may indicate that a system is not operating normally and is approaching
critical values. Alarms may be triggered.
Rates of change may be positive, negative or zero. A positive rate of change means
that the variable is increasing; a negative rate of change means that the variable is
decreasing. A zero rate of change means that the variable is not changing.
Consider Figure 1.1, which illustrates a variable, y(x).
Figure 1.1 y
The function
y(x) changes at
different rates for
different values
of x.
x
⫺5 ⫺4 ⫺3 ⫺2 ⫺1 O 1 2 3 4 5
Between x = -5 and x = -3, y is increasing slowly. Across this interval the rate
of change of y is small and positive. Between x = -3 and x = 1, y is increas-
ing more rapidly; the rate of change of y is positive and fairly large. Between
x = 1 and x = 2, y is increasing very rapidly and so the rate of change is positive
and large. From x = 2 to x = 3, y decreases rapidly; the rate of change is large
and negative. From x = 3 to x = 5, y is constant and so the rate of change on this
interval is zero.
The technique for calculating rate of change is called differentiation. Often it is
not sufficient to describe a rate of change as, for example, ‘positive and large’ or
‘negative and quite small’. A precise value is needed. Use of differentiation provides
a precise value or expression for the rate of change of a function.
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:58 AM Page 743
We see from Figure 1.1 that a function can have different rates of change at different
points on its graph. We begin by defining and then calculating the average rate of
change of a function across an interval. Figure 1.2 shows a function, y(x), and values
x1, x2, y(x1) and y(x2).
Consider x increasing from x1 to x2. The change in x is x2 - x1. As x increases
from x1 to x2, then y increases from y(x1) to y(x2). The change in y is y(x2) - y(x1).
Then the average rate of change of y across the interval is
change in y y(x2) - y(x1)
=
change in x x2 - x1
BC
=
AC
BC
From Figure 1.2 we see that AC = tan u, which is also the gradient of the straight
line or chord AB. Hence we see that the average rate of change across an interval is
identical to the gradient of the chord across that interval.
A θ
y(x1) C
x2 ⫺ x1
x
x1 x2
Example 1.1
Calculate the average rate of change of y = x2 across the interval
(a) x = 1 to x = 4
(b) x = -2 to x = 0
Solution
(a) Change in x = 4 - 1 = 3.
When x = 1, y = 12 = 1. When x = 4, y = 42 = 16. Hence the change in y
is 16 - 1 = 15. So
15
average rate of change across interval [1, 4] = 3
= 5
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:58 AM Page 744
This means that across the interval [1, 4], on average the y value increases by 5
for every 1 unit increase in x.
(b) Change in x = 0 - (-2) = 2. We have y(-2) = 4 and y(0) = 0 so the
change in y is 0 - 4 = -4. Hence
-4
average rate of change =
2
= -2
Solution
(a) Change in t = 2 - 0 = 2.
When t = 0, n = 3 + 2e0 = 5.
When t = 2, n = 3 + 2e - 2 = 3.2707
So
average rate of change of n(t) =
3.2707 - 5
= -0.8647
2
(b) Change in t = 3 - 1 = 2
n(1) = 3 + 2e-1
= 3.7358
n(3) = 3 + 2e - 3 = 3.0996
So
3.0996 - 3.7358
= -0.3181
2
Across the interval from t = 1 to t = 3, the voltage is decreasing but at a slower
rate than across the interval from t = 0 to t = 2.
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:58 AM Page 745
Exercises
1 Calculate the average rate of change of 5 Calculate the average rate of change of
y = x2 + 2x from x = 1 to x = 4. z(t) = 4 + 2t2 across (a) t = 1 to t = 3,
(b) t = -1 to t = 0.
2 Calculate the average rate of change of
h(t) = 2t2 - 2t + 1 from t = 0 to t = 2. 6 The temperature, T, of a vessel varies with
time, t, according to
3 Calculate the average rate of change of
i(t) = 50 sin t from t = 0 to t = p. 65
T(t) = 320 +
t2
4 Calculate the average rate of change of
1 Calculate the average rate of change of T from
r(x) = from x = -3 to x = -2. t = 2 to t = 4.
x + 1
Solutions to exercises
1 7 4 -0.5
2 2 5 (a) 8 (b) -2
3 0 6 -6.094
Key point rate of change at a point = gradient of tangent to the curve at that point
Figure 1.3 y
The extended
chord ultimately
becomes the Extended chord AB
tangent at A. B
Tangent at A
x
x1 x2
Figure 1.4 y
As B approaches
A, dx : 0. y(x)
B
A
x
x x ⫹ δx
δx
Let A be a point on the curve with coordinates (x, y(x)). B is a point on the curve
near to A. The x coordinate of B is x + dx. The term dx is pronounced ‘delta x’. It
represents a small change in the x direction. The y coordinate of B is y(x + dx). We
calculate the gradient of the chord AB:
change in y
gradient of AB =
change in x
y(x + dx) - y(x)
=
x + dx - x
y(x + dx) - y(x)
=
dx
The change in y, that is y(x + dx) - y(x), is also written as dy. So
y(x + dx) - y(x)
gradient of AB =
dx
dy
=
dx
The gradient of AB gives the average rate of change of y(x) across the small interval
from x to x + dx. To calculate the rate of change of y(x) at A we require the gradient
of the tangent at A.
M15_CROF5939_04_SE_C15.QXD 9/28/18 9:08 AM Page 747
Figure 1.5 y
The gradient of the y ⫽ x2
tangent at A is
approximated by
the gradient of the
chord AB. (x ⫹ δx)2 B
A
y ⫽ x2
x
x x ⫹ δx
δx
Change in x = dx
Change in y = dy
= (x + dx)2 - x2
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:58 AM Page 748
= x2 + 2xdx + (dx)2 - x2
= 2x(dx) + (dx)2
dy
gradient of chord AB =
dx
2x(dx) + (dx)2
=
dx
= 2x + dx
This is the average rate of change of y(x) across the small interval from x to x + dx.
To obtain the gradient of the tangent at A, we let dx : 0.
gradient of tangent at A = lim (2x + dx)
dx : 0
= 2x
Hence the rate of change of x2 is 2x.
For example, if x = 3, then A is the point (3, 9) and the rate of change of y at this
point is 6. Similarly if x = -1, A is the point ( -1, 1) and the rate of change of
y is -2.
Exercises
1 Find the rate of change of y(x) = x2 + 1. 2 Find the rate of change of y(x) = x2 + 2x.
Calculate the rate of change of y when x is Calculate the rate of change of y when x is
(a) 6 (b) 3 (c) -2 (d) 0 (a) 6 (b) -5 (c) 0
Solutions to exercises
The process of finding the rate of change of a given function is called differentiation.
The function is said to be differentiated. If y is a function of the independent variable
x, we say that y is differentiated with respect to (w.r.t.) x. The rate of change of a func-
tion is also known as the derivative of the function.
There is a notation for writing down the derivative of a function. If the function is
y(x), we denote the derivative of y by
dy
dx
pronounced ‘dee y by dee x’. Hence
M15_CROF5939_04_SE_C15.QXD 9/28/18 9:24 AM Page 749
Key point dy dy
lim =
dx : 0 dx dx
Another notation for the derivative is simply y¿, pronounced y dash. Similarly if the
dz
function is z(t) we write the derivative as or z¿ . When the independent variable is t,
dt
dz
the derivative may also be denoted using the dot notation. Thus, for example, may
# dt
be written as z, pronounced ‘z dot’. Sometimes, instead of writing y, a function is
written in full: for example, to show the derivative of sin 5x we write
d(sin 5x)
dx
Figure 1.6
An aircraft must be
banked to
fly in a circle. α
Horizontal
The angle, a, is a measure of the extent of the banking. Why must the aircraft be
banked to bring about a circular motion? To answer the question we firstly consider
a much simplified model – a body travelling on an anti-clockwise circular path,
radius r, with constant speed v.
Consider the body as it moves along the arc from P to Q. The angle, u, is swept
out during this movement. Figure 1.7 illustrates this.
du
Then is the rate of change of u, measured in radians per second. It is usually
dt
denoted by v and is termed the angular velocity,
du
v = = angular velocity
dt
If the body has a constant speed then v likewise is constant. In 1 second the angle
swept out is v and the distance travelled by the body is v. From elementary mathe-
matics we know
arc length = radius * angle at centre 1in radians2
giving
v = rv
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:58 AM Page 750
Figure 1.7 y
Body moving on a
circular path with
constant speed.
O x
θ r
Q
P v
At P the instantaneous direction of travel of the body is that of the tangent. Simi-
larly at Q, the direction is that of the tangent at Q.
Figure 1.8 y
Instantaneous
direction of travel
is that of the
tangent.
O x
δθ
δθ
Q
P
Suppose P and Q are very close to each other. Figure 1.8 illustrates this. Then the
angle swept out is very small, labelled du in Figure 1.8. Let the small time, dt, be the
time of travel from P to Q. The arc length, PQ, is then vdt where
vdt = rdu
The component of the velocity at Q parallel to PO, that is directed towards the cen-
tre, is v sin du. So in time dt the velocity directed to the centre increased from 0 at P
to v sin du at Q. The (average) acceleration along the direction PO is then
v sin du
dt
M15_CROF5939_04_SE_C15.QXD 9/28/18 9:25 AM Page 751
raft
A irc
α
Note that as the aircraft banks, the vertical component, L cos a, is the force that
‘supports’ the aircraft. So as a increases, the lift force, L, must be increased so that
L cos a is sufficient to support the aircraft, that is
L cos a = mg
where m is the mass of the aircraft.
dT
temperature at any point x within the wall. Then is the rate of change of temper-
dx
ature with position x, that is the temperature gradient.
Figure 1.10
The temperature
gradient across a T
wall.
Interior T1 Exterior T2
T1
T2
h
O x O h x
Figure 1.11
Several possible
T T T
temperature
T2
profiles. T1,T2 T1 T1
T2
O h x O h xO h x
T1 T2
Heat flow
x
dT
For heat to flow in the direction shown, T2 6 T1, that is 6 0. The amount
dx
of heat energy that will flow depends on several factors. If the temperature gradi-
ent is large, more energy will flow than if the gradient is small. A large cross-sec-
tional area, A, will enable more energy to flow than a small one. The rate of heat
flow also depends upon a property of the material itself, the thermal conductiv-
ity, k. Materials with large thermal conductivity (e.g. metals) will conduct heat
much more rapidly than, say, thermal insulators. Taken together, these factors
result in Fourier’s law of heat conduction:
dT
rate of heat transfer, Q = -kA
dx
Solution dT 2-19
(a) The uniform temperature gradient is = = -3400.
dx 0.005
(b) The rate of heat loss is
= -0.3 * 2 * 1-34002 = 2040
dT
Q = -kA
dx
That is 2040 joules of energy are lost each second through the window.
Exercises
Solutions to exercises
dx # df
1 or x 2 or f ¿
dt dx
1 Calculate the average rate of change of Calculate the average rate of change of current
y = x3 - 1 from as t varies from 0 to 3.
(a) x = 1 to x = 3 dy
(b) x = 0 to x = 2 4 Explain the meaning of the expression .
(c) x = -2 to x = 2 dx
5 (a) Calculate the rate of change of
2 The pressure, P atmospheres, in a vessel varies y(x) = 5 - x2.
with temperature, T (degrees Celsius), (b) Calculate the rate of change of y when
according to x = -4.
P(T ) = 120 - 20e-T>20 dR
6 (a) Calculate when R(x) = 2x2.
dx
Calculate the average rate of change of dR
pressure as T varies from 10 °C to 100 °C. (b) Calculate when x = 0.5.
dx
Solutions to exercises
3 -0.63
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 755
2.1 Introduction
Figure 2.1 y
The gradient of a
tangent varies
along the curve. Tangent at A
A Tangent at B
B
x
x1 x2
Table 2.1 lists some of the common functions used in engineering and their
corresponding derivatives.
Example 2.1
dy
Use Table 2.1 to find when y is given by
dx
(a) 3x (b) 3 (c) 3x2 (d) 4x7
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 756
Table 2.1
Common functions and their derivatives.
Function Derivative
constant 0
x 1
kx k
xn nx n-1
kx n knx n-1
ex ex
ekx kekx
1
ln x
x
1
ln kx
x
sin x cos x
sin kx k cos kx
sin(kx + a) k cos(kx + a)
cos x - sin x
cos kx -k sin kx
cos(kx + a) -k sin(kx + a)
tan x sec2x
tan kx k sec2kx
tan(kx + a) k sec2(kx + a)
sinh x cosh x
sinh kx k cosh kx
cosh x sinh x
cosh kx k sinh kx
tanh x sech2 x
tanh kx k sech2 kx
1
sin-1 x
2 1 - x2
k
sin-1 kx
2 1 - k 2x 2
-1
cos-1 x
2 1 - x2
-k
cos-1 kx
2 1 - k 2x 2
1
tan-1 x
1 + x2
k
tan-1 kx
1 + k 2x 2
Example 2.2
dy 3 2
Find when y is (a) 2x, (b) 2 , (c) .
dx x x
Solution 1
(a) We write 2x as x2 , and use the result for xn with n = 12 . So
dy
= nxn-1
dx
1
= 12 x2 - 1
1
= 12 x- 2
1
This may be written as .
22x
3
(b) We write as 3x-2. Using the result of kxn we see that
x2
dy
= knxn-1
dx
2
(c) We write as 2x-1. Then we see that
x
dy
= 2(-1)x - 1-1 = -2x-2
dx
Example 2.3
dz
Use Table 2.1 to find given z is (a) et, (b) e3t, (c) e-5t.
dt
Solution
Although Table 2.1 is written using x as the independent variable, it can be used for
any variable.
dy dz
(a) From Table 2.1, if y = ex, then = ex. Hence if z = et then = et.
dx dt
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 758
Example 2.4
dy x
Find the derivative, , when y is (a) sin 3x, (b) cos , (c) tan 2x.
dx 2
Solution
(a) Using the result for sin kx, and taking k = 3, we see that
dy
= 3 cos 3x
dx
(b) From the result for cos kx, and taking k = 12 , we see that
dy 1 x
= - sin
dx 2 2
(c) From the result for tan kx, we see that
dy
= 2 sec2 2x
dx
Exercises
1 Find the derivative of the following functions: 3 Find the derivative of each of the following
(a) 9x (b) 4x (c) 6x3 (d) -3x2 (e) ln 3t functions: 1
dz (a) sin 5x (b) cos 4t (c) tan 3r (d) e2v (e) 3t
2 Find when z is given by e
dt 4 Find the derivative of the following:
4 2x
(a) (b) 2t (c) 5t
3 -2
(d) - 32 t3>2 (a) cos (b) sin(-2x) (c) tan px (d) ex>2
t3 3
Solutions to exercises
1
1 (a) 9 (b) 4 (c) 18x2 (d) -6x (e) 3 (a) 5 cos 5x (b) -4 sin 4t (c) 3 sec2 3r
t (d) 2e2v (e) -3e-3t
2 (a) -12t-4 (b) 32 t1>2 (c) -10t-3 (d) - 94 t1>2 2 2x
4 (a) - sin (b) -2 cos(-2x) (c) p sec2 px
3 3
(d) 12 ex>2
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 759
We introduce two simple rules that enable us to extend the range of functions that we
can differentiate.
This rule says that to find the derivative of the sum (difference) of two functions, we
simply calculate the sum (difference) of the derivatives of each function.
This rule tells us that if a function is multiplied by a constant, k, then the derivative is
likewise multiplied by the same constant, k.
Example 2.5
Find the derivative of each of the following functions:
(a) y = 6 sin 2x (b) y = 6 sin 2x + 3x2 (c) y = 6 sin 2x + 3x2 - 5e3x
Solution
(a) From Table 2.1, the derivative of sin 2x is 2 cos 2x. Hence the derivative of
6 sin 2x is 6(2 cos 2x), that is 12 cos 2x.
dy
y = 6 sin 2x, = 6(2 cos 2x)
dx
= 12 cos 2x
(b) The function comprises two parts: 6 sin 2x and 3x2. We have already differentiated
6 sin 2x in part (a), so we consider the derivative of 3x2. The derivative of x2 is 2x
and so the derivative of 3x2 is 3(2x), that is 6x. These derivatives are now summed.
dy
y = 6 sin 2x + 3x2, = 12 cos 2x + 6x
dx
Example 2.6
dy
Find where y is defined by
dx
x6 x
(a) - 3e-2x (b) 4 cos + 9 - 9x3
2 2
Solution
x6 6x5
(a) The derivative of x6 is 6x5. Hence the derivative of is = 3x5
2 2
So given
x6
y = - 3e-2x
2
then
dy
= 3x5 + 6e - 2x
dx
x
(b) The derivative of cos is
2
1 x
- sin
2 2
The derivative of 9 is zero. The derivative of 9x3 is
27x2
So given
x
y = 4 cos + 9 - 9x3
2
then
dy x
= -2 sin - 27x2
dx 2
Exercises
dy v
1 Find when y is given by (b) h(v) = 3 cos 2v - 6 sin
dx 2
(a) 4x + 8x3 (b) -3x4 + 2x1.5
6 2 n2
(c) m(n) = 4e2n + +
9 14 3 + 2x e2n 2
(c) 2 + - 3x (d) (e) (2 + 3x)2 e3t
x x 4 (d) H(t) = + 2 tan 2t
2
2 Find the derivative of each of the following (e) S(r) = (r 2 + 1)2 - 4e-2r
functions:
(a) z (t) = 5 sin t + sin 5t
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 761
Solutions to exercises
1
1 (a) 24x5 + 24x2 (b) -12x3 + 3x0.5 3 (a) 6et + 2e2t (b) 2pe2s - + 2p cos ps
18 14 s2
(c) - 3 - 2 - 3 (d) 12 (e) 12 + 18x 2 2
x x (c) - 2
- + 2r + 2
v r r3
2 (a) 5 cos t + 5 cos 5t (b) -6 sin 2v - 3 cos 1 u
2 (d) 12 cos 2u + sin + 4u
2 4
3e3t (e) 12 sec2 3t + 6 cos 2t + 8 sin 4t
(c) 8e2n - 4e-2n + n (d) + 4 sec2 2t
2
(e) 4r3 + 4r + 8e-2r
Engineers may need to find the rate of change of a function at a particular point: that
is, find the derivative of a function at a specific point. We do this by finding the
derivative of the function, and then evaluating the derivative at the given value of x.
When evaluating, all angles are in radians. Consider a function, y(x). We use the
dy
notation (0.7) or y¿ (0.7) to denote the derivative of y evaluated at x = 0.7.
dx
Example 2.7
Find the value of the derivative of y = 3x2 where x = 4. Interpret your result.
Solution
dy
We have y = 3x2 and so = 6x. We now evaluate the derivative.
dx
dy
When x = 4, = 6(4) = 24, that is
dx
dy
(4) = 24
dx
The derivative is positive when x = 4 and so y is increasing at this point. Thus when
x = 4, y is increasing at a rate of 24 vertical units per horizontal unit.
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 762
Solution
The rate of change of a function is the same as the derivative of the function, that
di
is .
dt
di
= -3e - t
dt
When t = 0.7
di
= -3e - 0.7 = -1.4898
dt
The derivative is negative and so we know that i(t) is decreasing when t = 0.7. Thus,
when t = 0.7, the current is decreasing at a rate of 1.49 A s-1.
Exercises
Solutions to exercises
dy x 1
1 Find when y is given by (d) 4 tan+
dx 2 2x
(a) 7x5 + 6x-2 + sin 2x 9 1
(e) 32x + + sin 6x + ln x
(b) 3 cos 4x - 6 sin 5x x 2
(c) e3x + e-3x + 2ex + 1
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 763
Solutions to exercises
1 (a) 35x4 - 12x-3 + 2 cos 2x 4 (a) -1.44 (b) 242.12 (c) 1.6290 (d) 11.5538
(b) -12 sin 4x - 30 cos 5x (e) 0.5556
(c) 3e3x - 3e - 3x + 2ex 1
x 1 5 (a) 3e3t + et (b) 2 - (c) 8t
(d) 2 sec2 - x-3>2 t2
2 2
3 9 1 (d) 2 cos 2x - 2 sin 2x (e) -e-x (f) sec2 x
(e) x-1>2 - 2 + 3 cos 6x +
2 x x
1
2 (a) et - e-t (b) 6 cos 3t + (c) 3 sin x
t
1
(d) r-1>2 + 4r (e) -e-0.5v + 3v2
2
2
3 (a) 8t3 - 3 + (b) p cos pt + 2p sin pt
t
(c) 6 sec2 2t - et (d) 2e2t + 2e-2t + 1
3 2
(e) t1>2 - t-1>3
2 3
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 764
Higher derivatives
BLOCK 3
3.1 Introduction
Block 2 showed how to calculate the derivative of a function using a table of derivatives.
dy
By differentiating the function, y(x), we obtain the derivative, .
dx
dy
The function, , is more correctly called the first derivative of y. By differentiating
dx
the first derivative, we obtain the second derivative; by differentiating the second
derivative we obtain the third derivative; and so on. The second and subsequent
derivatives are known as higher derivatives.
Example 3.1
Calculate the first, second and third derivatives of y = e2x + x4.
Solution dy
The first derivative is .
dx
dy
= 2e2x + 4x3
dx
To obtain the second derivative we differentiate the first derivative:
second derivative = 4e2x + 12x2
The third derivative is found by differentiating the second derivative:
third derivative = 8e2x + 24x
3.2 Notation
Just as there is a notation for the first derivative so there is a similar notation for
higher derivatives. dy
Consider the function, y(x). We know that the first derivative is denoted by or y¿.
dx
The second derivative is calculated by differentiating the first derivative, that is
a b
d dy
second derivative =
dx dx
d2y
So, the second derivative is denoted by 2 . This is often written more concisely
as y– . dx
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 765
dy
= 2e2x + 4x3
dx
d2y
= 4e2x + 12x2
dx2
d3y
= 8e2x + 24x
dx3
dx
Derivatives with respect to t are often indicated using a dot notation, so can be
# dt $
written as x. Similarly, a second derivative with respect to t can be written as x,
pronounced ‘x double dot’.
Example 3.2
d2y d3y
Calculate 2 and 3 given y = sin t + cos t.
dt dt
Solution
dy
= cos t - sin t
dt
d2y
= -sin t - cos t
dt2
d3y
= -cos t + sin t
dt 3
#
We could have used the dot notation and written y = cos t - sin t, and
$
y = -sin t - cos t.
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 766
Example 3.3
Given
y(x) = 2 sin x + 3x2
Maple and Matlab have built-in commands for finding derivatives of functions and
evaluating these at specific points. There are numerous ways of doing this and for
full details you should refer to the on-line help.
Example 3.4
Use software to find the first and second derivatives of the function f(t) = t2 sin 3t and
evaluate these when t = 5.
Solution
Maple
In Maple, the following commands define the function f(t). Calculate its first derivative
using the differentiation operator D, and evaluate this when t = 5.
> f:=t-> t^2*sin(3*t);
D(f)(t);
D(f)(5);
evalf(D(f)(5));
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 767
f := t : t2 sin(3t)
2t sin(3t) + 3t2 cos 3t (the first derivative of f(t), i.e. f¿(t))
10 sin(15) + 75 cos(15) (f¿(5))
- 50.4737
The last command expresses the result in decimal form. The kth derivative of f(t) with
respect to t can be found using the command (D@@k)(f)(t). Thus
> (D@@2)(f)(t);
evalf( ( D@@2)(f)(5) );
results in
2 sin(3t) + 12t cos(3t) - 9t2 sin(3t) (the second derivative of f(t), i.e. f¿ ¿(t))
- 190.5955 (f¿ ¿(5))
Matlab
Matlab can perform calculations on symbols, but it it is necessary to define symbolic vari-
ables using the command syms. Once f(t) is defined, it can be differentiated and evaluated
at the given point. The final commands below result in decimal approximations of the
derivatives (here vpa is a Matlab command for variable precision arithmetic).
which results in
f(t) = t^2*sin(3*t)
y = 2*t*sin(3*t) + 3*t^2*cos(3*t)
z = 2*sin(3*t) + 12*t*cos(3*t) - 9*t^2*sin(3*t)
ans = 75*cos(15) + 10*sin(15)
ans = 60*cos(15) - 223*sin(15)
ans = -50.4737
ans =-190.5955
Compare this output with that from Maple. Observe also how careful attention needs to
be paid to ensure that the correct syntax is used.
M15_CROF5939_04_SE_C15.QXD 9/26/18 8:59 AM Page 768
Exercises
Solutions to exercises
1 (a) 6 - 4e2x (b) -9 sin 3x - cos x 3 (a) 6 (b) 3.6372 (c) 34.9928 (d) 2
1 1 (e) -0.2194
(c) - x-3>2 (d) ex + e-x (e) 2 - 2
4 x
4 (a) 6 (b) -3.3292 (c) 1.8184 (d) -6
2x 3 (e) -0.0599
2 (a) -8e (b) -27 cos 3x + sin x (c) x-5>2
8
x -x 2
(d) e - e (e) 3
x
Solutions to exercises
1 (a) -4 cos 2t + 4 sin 2t (b) 4e2x - ex 4 (a) -21 (b) 0 (c) -1 (d) 0 (e) 0
(c) 60x4 - 126x5 (d) -6x + 6 (e) -18x-3
1
5 2, 1
3t 4 kt 4
2 (a) 81e (b) k e (c) 16 sin 2t (d) k sin kt
(e) k4 cos kt
dy
1 Calculate where y is given by 8 Verify that
dx y = A sin kx + B cos kx, where A, B and
4
(a) 3x - 2x + ln x (b) sin 5x - 5 cos x k are constants is a solution of
(c) (x + 1)2 (d) e3x + 2e-2x + 1
5 y– + k2y = 0
(e) 5 + 5x + + 5 ln x
x
9 The function y(x) is given by y(x) = 1 - cos x.
2 Find the second derivatives of the functions in Find the values of x where (a) y¿ = 0,
question 1. (b) y– = 0.
3 Find y¿(1) of the functions in question 1. 10 The function y(x) is given by y(x) = x3 - 3x.
Calculate the intervals on which y is
4 Find y–(1) of the functions in question 1. (a) increasing, (b) decreasing.
5 Find the rate of change of the following 11 The function y(x) is given by
functions: y(x) = 2x3 - 9x2 + 1
3t3 - t2
(a) (b) ln 2x (c) (t + 2)(2t - 1) (a) Calculate the values of x for which y¿ = 0.
2t
(d) e3v(1 - ev) (e) 1x(1x - 1) (b) Calculate the value(s) of x for which
y– = 0.
6 Find the third and fourth derivatives of y given (c) State the interval(s) on which y is
the second derivative of y is increasing.
2 1 + x (d) State the interval(s) on which y is
(a) 3x (b) (c) 3 ln x2 decreasing.
e x2 (e) State the interval(s) on which y¿ is
cos2 x + cos x
(d) sin x + sin(-2x) (e) increasing.
cos x (f) State the interval(s) on which y¿ is
7 Differentiate (sin x + cos x)2. (Hint: use the decreasing.
trigonometrical identities in Table 5.1 of
Chapter 9, Block 5.)
M15_CROF5939_04_SE_C15.QXD 11/28/18 7:43 PM Page 770
Solutions to exercises
1
1 (a) 12x3 - 2 + (b) 5 cos 5x + 5 sin x 6 (a) -6e-3x, 18e-3x
x
5 5 (b) -2x-3 - x-1, 6x-4 + x-2
(c) 2x + 2 (d) 3e3x - 4e-2x (e) 5 - 2 + 6 -6
x x (c) , 2 (d) cos x - 2 cos( -2x),
2 1 x x
2 (a) 36x - 2 (b) - 25 sin 5x + 5 cos x
x -sin x - 4 sin(-2x) (e) -sin x , -cos x
10 5
(c) 2 (d) 9e3x + 8e-2x (e) 3 - 2
x x 7 2 cos 2x
3 (a) 11 (b) 5.6257 (c) 4 (d) 59.7153 (e) 5
9 (a) ;np, n = 0, 1, 2, 3, Á
p
4 (a) 35 (b) 26.6746 (c) 2 (d) 181.8525 (e) 5 (b) ; np, n = 0, 1, 2, 3, Á
2
1
5 (a) 3t - 0.5 (b) (c) 4t + 3 (d) 3e3v - 4e4v 10 (a) ( - q, -1) and (1, q) (b) (-1, 1)
2x
1
(e) 1 - 11 (a) 0, 3 (b) 1.5 (c) ( - q , 0) and (3, q )
22x (d) (0, 3) (e) (1.5, q ) (f) (- q , 1.5)
M16_CROF5939_04_SE_C16.QXD 10/3/18 8:06 PM Page 771
Chapter 16
Techniques and applications of
differentiation
Chapter 16 contents
1.1 Introduction
Chapter 15 introduced the concept of differentiation and the use of a table of deriva-
tives. Clearly every possible function cannot be listed in a table. We need a set of rules,
used in conjunction with the table of derivatives, to extend the range of functions that
we can differentiate. The product rule and the quotient rule are two such rules.
As its name tells us, the product rule helps us to differentiate a product of functions.
Consider the function y(x), where y(x) is the product of two functions, u(x) and v(x),
that is
y(x) = u(x)v(x)
For example, if y(x) = x2 sin x then u(x) = x2 and v(x) = sin x. The product rule
states:
Key point If
y(x) = u(x)v(x)
then
dy du dv
= v + u
dx dx dx
= u¿v + uv¿
Example 1.1
dy
Find where y = x2 sin x.
dx
Solution
We have
y = x2 sin x = uv
M16_CROF5939_04_SE_C16.QXD 9/26/18 11:15 AM Page 774
du dv
= 2x, = cos x
dx dx
dy du dv
= v + u
dx dx dx
= 2x(sin x) + x2(cos x)
= x(2 sin x + x cos x)
Example 1.2
Find y¿ where y = ex cos x.
Solution
We have
y = ex cos x = uv
So
u = , v = ex, cos x
and hence
du dv
= , = ex, -sin x
dx dx
Example 1.3
d2y
Find 2 where y = x2 ln x.
dx
Solution
We have
y = x2 ln x = uv
so
u = x2, v = ln x
M16_CROF5939_04_SE_C16.QXD 9/26/18 11:22 AM Page 775
= 2x ln x + x
d2y dy d
To obtain 2
we differentiate . Hence we need to find (2x ln x + x). The
dx dx dx
d
derivative of x is simply 1 so let us examine (2x ln x).
dx
d
To find (2x ln x) we use the product rule, with u = 2x, v = ln x. Then
dx
du dv 1
= 2, =
dx dx x
and so
d du dv
(2x ln x) = v + u
dx dx dx
= 2 ln x + 2x a b
1
x
= 2 ln x + 2
Finally
d2y d
2
= (2x ln x + x)
dx dx
= 2 ln x + 3
Exercises
dy
1 Find where y is given by (c) (ex + e-2x)(3x2 - 2x) (d) 2xex
dx
(a) x cos x (b) xex (c) sin x cos 2x (d) x3e2x t2 + 1
(e)
(e) x4 sin 2x et
3 Find the second derivative of the functions in
2 Calculate y¿ where y is given by
question 1.
(a) (t 2 + 1) sin 4t (b) (3t + 7)e-2t
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 776
Solutions to exercises
(d) ex a + x1>2 b
1 (a) cos x - x sin x (b) ex(1 + x) x-1>2
(c) cos x cos 2x - 2 sin x sin 2x 2
(d) x2e2x(3 + 2x) (e) 4x3 sin 2x + 2x4 cos 2x (e) -e-t(t2 - 2t + 1)
2 (a) 2t sin 4t + 4(t2 + 1)(cos 4t) 3 (a) -x cos x - 2 sin x (b) ex(x + 2)
(b) -e-2t(6t + 11) (c) -5 sin x cos 2x - 4 cos x sin 2x
(c) (ex - 2e-2x)(3x2 - 2x) (d) 2xe2x(2x2 + 6x + 3)
+ (ex + e-2x)(6x - 2), which may be written (e) 16x3 cos 2x - 4x2(x2 - 3) sin 2x
as ex(3x2 + 4x - 2) - e-2x(6x2 - 10x + 2)
The quotient rule shows us how to differentiate a quotient of functions, for example
sin x t2 - 1 ez + z
, ,
x t2 + 1 cos z
The quotient rule may be stated thus:
Key point If
u(x)
y(x) =
v(x)
then
du dv
v - u
dy dx dx
=
dx v2
vu¿ - uv¿
=
v2
Example 1.4
sin x
Find y¿ given y = .
x
Solution
We have
sin x u
y = =
x v
so
u = sin x, v = x
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 777
du dv
= cos x, = 1
dx dx
dy vu¿ - uv¿
=
dx v2
x cos x - sin x (1)
=
x2
x cos x - sin x
=
x2
Example 1.5
t3
Find y¿ given y = .
t + 1
Solution
We have
t3 u
y = =
t + 1 v
and so
u = t3, v = t + 1, u¿ = 3t2, v¿ = 1
Applying the quotient rule gives
dy vu¿ - uv¿
=
dt v2
(t + 1)3t2 - t3(1)
=
(t + 1)2
which can be simplified to
dy t2(2t + 3)
=
dt (t + 1)2
Exercises
dy
1 Find where y is given by 2 Find y¿ when y is given by
dx t2 - 1 e2t + t sin 3t
x
e x cos x 1-x (a) (b) (c)
(a) (b) x (c) (d) 2
t + 1 t
e - 1 cos t + t
x e + 1 sin x 1 + x
ln x z + sin z 1 + x + x2
(e) (d) (e)
x2 z + cos z 1 + x3
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 778
Solutions to exercises
dH
1 Find the derivative of each of the following: 3 Find given
sin 2x x - 1 dt
(a) (x - 1) sin 2x (b) (c) H = e2tt2 sin t
x - 1 sin 2x
(d) e2x sin 3x (e) e-2x sin 3x dR
4 Find given
dt
2 Differentiate the following:
t3 - t2 3 cos x e2t sin t
(a) 2 (b) 3 sin 2x cos x (c) R =
t + 1 sin 2x t2
3r
e
(d) (e) (r + 1)(r + sin r)
e2r
Solutions to exercises
b
1 (a) 2(x - 1) cos 2x + sin 2x sin 2x sin x + 2 cos x cos 2x
(c) -3a
2(x - 1) cos 2x - sin 2x sin2 2x
(b) (d) er (e) (r + 1) cos r + sin r + 2r + 1
(x - 1)2
sin 2x - 2(x - 1) cos 2x 3 e2t3t2 cos t + 2t(t + 1) sin t4
(c) 2
sin 2x e2t[2t sin t + t cos t - 2 sin t]
4
(d) e2x(3 cos 3x + 2 sin 3x) t3
(e) e-2x(3 cos 3x - 2 sin 3x)
t(t3 + 3t - 2)
2 (a)
(t2 + 1)2
(b) 6 cos x cos 2x - 3 sin x sin 2x
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 779
2.1 Introduction
Example 2.1
dy
Given y = z4 and z = 3x + 6, find .
dx
Solution
We have
y = z4 = (3x + 6)4
dy
and we seek . Now
dx
y = z4, z = 3x + 6
M16_CROF5939_04_SE_C16.QXD 9/26/18 11:23 AM Page 780
and so
dy dz
= 4z3, = 3
dz dx
Using the chain rule we have
dy dy dz
=
dx dz dx
= 4z3(3)
= 12z3
= 12(3x + 6)3
Sometimes care must be taken to recognise the independent and dependent variables.
Example 2.2 uses the chain rule, but it may look unfamiliar.
Example 2.2
dz
Given z(y) = y3 and y(x) = 2x2 - x find .
dx
Solution
We have
dz
z(y) = y3 so = 3y2
dy
and
dy
y(x) = 2x2 - x so = 4x - 1
dx
The chain rule has the form
dz dz dy
=
dx dy dx
= 3y2(4x - 1)
= 3(2x2 - x)2 (4x - 1)
Example 2.3
dy
Given y = (x3 + x)7, find .
dx
Solution
We let z = x3 + x and so
y = (x3 + x)7 = z7
dy dz
Then = 7z6 and = 3x2 + 1. Applying the chain rule gives
dz dx
dy dy dz
=
dx dz dx
= (7z6)(3x2 + 1)
= 7(3x2 + 1)(x3 + x)6
M16_CROF5939_04_SE_C16.QXD 9/26/18 11:27 AM Page 781
Then
dy dz 1 -1>2
= , = z , 2x
dz dx 2
1 -1>2
= z (2x)
2
x
=
1z
x
=
2x + 1
2
Example 2.5
dy
Find given y = ln(x2 + x + 1).
dx
Solution
Let z = x2 + x + 1 so that
y = ln(x2 + x + 1) = ln z
Then
dy dz 1
= , = , 2x + 1
dz dx z
So
dy dy dz
=
dx dz dx
2x + 1
=
z
2x + 1
= 2
x + x + 1
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 782
We note that, in the final solution, the numerator is the derivative of the denominator.
In general:
Example 2.6
dy
Given y = ln(1 - x) find .
dx
Solution
Here f (x) = 1 - x and f ¿(x) = -1. So
dy -1
=
dx 1 - x
which may be simplified to
dy 1
=
dx x - 1
Example 2.7
dy
Given y = 5 ln (2t - 1) find .
dt
Solution
Here f (t) = 2t - 1 and so f ¿(t) = 2. Hence
b
dy 2
= 5a
dt 2t - 1
10
=
2t - 1
Example 2.8
dy
Given y = ln(ex + sin x) find .
dx
Solution
We have
y = ln(ex + sin x)
= ln f (x) where f (x) = ex + sin x
So
dy f¿ ex + cos x
= = x
dx f e + sin x
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 783
Exercises
1 Differentiate each of the following functions: 3 Find the rate of change of y at the specified
(a) (x3 + 2)6 (b) 1sin x (c) (ex + 1)7 point:
(a) y = ln(3t2 + 5), t = 1
(d) (cos 2x)5 (e) ln(x + 1)
(b) y = sin(t2), t = 2
dy (c) y = cos(t3 + 1), t = 1
2 Find where y is given by
dt (d) y = (t3 - 1)2>3, t = 2
2 2
(a) e(3t ) (b) 3et (c) esin 2t (d) e2 sin t p
(e) y = 4ecos t, t =
(e) 2esin t 2
Solutions to exercises
cos x 2 2
1 (a) 18x2(x3 + 2)5 (b) 2 (a) 6te3t (b) 6tet (c) 2 cos 2tesin 2t
22sin x
x x 6
(d) 2 cos te2 sin t (e) 2 cos tesin t
(c) 7e (e + 1)
1 3 (a) 0.75 (b) -2.6146 (c) -2.7279
(d) -10 sin 2x cos4 2x (e)
x + 1 (d) 4.1821 (e) -4
(d) y = 2 cos a b , x = 1
1 Use the chain rule to differentiate each of the 1
following functions: x
(a) y = (6x3 - x)4 (b) h = (t4 - 1)1>3 1
(e) y = , x = 0.5
(c) v = 29 - 2t (d) i = sin(y3) (3x2 + 1)4
(e) R = cos(1r)
4 Differentiate the following functions where a,
2 Find the derivative of each function: b and n are constants:
(a) Y(t) = 5esin 2t (b) m(p) = 3 ln(p4 + 2) (a) y = (at + b)n (b) y = eat + b
(c) H(r) = 5 sin(pr2 + 1) (c) y = sin(at + b)
(d) y = cos(at + b) (e) y = ln(at + b)
(d) x(t) = -3 cosa b (e) Q(s) =
1 1
t ln s
dy
3 Evaluate at the specified value of x.
dx
(a) y = 1x + sin x, x = 1
(b) y = sin (x2 + 1), x = 0.5
(c) y = e2 x, x = 1
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 784
Solutions to exercises
sina b (e)
1 (a) 4(18x2 - 1)(6x3 - x)3 3 1 -1
(d) - 2
4t3(t4 - 1)-2>3 t t s(ln s)2
(b) 3 (a) 0.5675 (b) 0.3153
3
(c) 1.3591 (d) 1.6829
(c) -(9 - 2t)-1>2 (d) 3y2 cos(y3) (e) -0.7311
1
(e) - r-1>2 sin1r
2 4 (a) an(at + b)n-1 (b) aeat + b
12 p3 (c) a cos(at + b) (d) -a sin(at + b)
2 (a) 10 cos 2tesin 2t (b) a
p4 + 2 (e)
2
at + b
(c) 10pr cos(pr + 1)
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 785
Implicit differentiation
BLOCK 3
3.1 Introduction
So far we have met many functions of the form y = f(x), for example y = x2 + 3,
y = sin 2x and y = e3x - 2x. Whenever y is equated to an expression involving
only x terms we say that y is expressed explicitly in terms of x.
Sometimes we have an equation connecting x and y but it is impossible to write it
in the form y = f (x). Examples of this include x2 - y3 + sin x - cos y = 1,
sin (x + y) + ex + e-y = x3 + y3. In these cases we say that y is expressed
implicitly in terms of x.
Whether y is expressed explicitly or implicitly in terms of x we can still differenti-
dy dy
ate to find the derivative . If y is expressed explicitly in terms of x then will also
dx dx
be expressed explicitly in terms of x. If y is expressed implicitly in terms of x then dy
will be expressed in terms of x and y. dx
dy
If y is expressed implicitly in terms of x and we wish to find , then we frequently
dx
d
need to differentiate a function of y with respect to x: that is, find (f(y)). To do this
dx
we use the chain rule. The examples illustrate the technique.
Example 3.1
d 3
Find (y ).
dx
Solution dz
We use the chain rule. Let z = y3 so that we wish to find . Using the chain rule
dx
(see Example 2.2 in Block 2)
dz dz dy
=
dx dy dx
Now
dz
z = y3 and so = 3y2
dy
Hence
dz dy
= 3y2
dx dx
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 786
Hence
d 3 dy
(y ) = 3y2
dx dx
Key point d n dy
(y ) = nyn - 1
dx dx
Example 3.2
d
Find (sin y).
dx
Solution dz
Let z = sin y so that we wish to find . We know from the chain rule that
dx
dz dz dy
=
dx dy dx
We have z = sin y so
dz
= cos y
dy
and
d dy
(sin y) = cos y
dx dx
Key point d df dy
( f (y)) =
dx dy dx
Example 3.3
d
Find (ln y).
dt
Solution
We use the previous result with f (y) = ln y. Then
d df
(ln y) =
dt dt
df dy
=
dy dt
1 dy
=
y dt
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 787
3.3 Finding
dy
implicitly 787 16
dx
Exercises
1 Differentiate the following functions of y with 3 Differentiate the following functions of y with
respect to x: 1 respect to x:
(a) y2 (b) 3y4 (c) 2y2 - 3y + 1 (d) (a) (y + 3)4 (b) (y2 + 3)4
y
(e) 2y
Solutions to exercises
dy dy dy dy dy dy
1 (a) 2y (b) 12y3 (c) 4y - 3 (c) 2e2y (d) -6(sin 3y)
dx dx dx dx dx dx
1 dy 1 dy dy
(d) - 2 (e) (e) 2 sin y cos y
y dx 22y dx dx
dy dy dy dy dy
2 (a) 2(cos 2y) (b) -3(sin y) - 3 (a) 4(y + 3)3 (b) 8y(y2 + 3)3
dx dx dx dx dx
dy
3.3 Finding implicitly
dx
Solution
We differentiate each term w.r.t. x.
d 2 dy d d 3 d dy
(y ) = 2y , (x) = 1, (x ) = 3x2, (3y) = 3
dx dx dx dx dx dx
So
dy dy
2y + 1 = 3x2 + 3
dx dx
Rearrangement yields
dy 3x2 - 1
=
dx 2y - 3
dy
Note that is given in terms of x and y.
dx
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 788
Example 3.5
Find y¿ given
x2y - 3xy3 = y2 + 7
Solution
We differentiate each term w.r.t. x.
To differentiate x2y we use the product rule.
d 2 dy
(x y) = 2xy + x2
dx dx
d dy
(3xy3) = 3y3 + 9xy2
dx dx
Finally we differentiate y2 + 7.
d 2 dy
(y + 7) = 2y
dx dx
Hence
dy dy dy
2xy + x2 - 3y3 - 9xy2 = 2y
dx dx dx
Rearrangement yields
dy 3y3 - 2xy
= 2
dx x - 9xy2 - 2y
Example 3.6
d2y
Find 2 if 5x + 3y2 = 7.
dx
Solution dy
First, we calculate . Differentiating each term of the equation w.r.t. x we find
dx
dy
5 + 6y = 0
dx
dy 5
so = -
dx 6y
d2y
a b so we must differentiate -
d dy 5
Now 2
means with respect to x, that is
dx dx dx 6y
3.3 Finding
dy
implicitly 789 16
dx
we have
a- b = a- b
d 5 d 5 dy
dx 6y dy 6y dx
5 dy
=
6y2 dx
a- b =
5 5 - 25
=
6y2 6y 36 y3
Exercises
dy dy
1 Find given 3 Find given
dx dx
(a) x + y2 = 1 (b) 3x - y3 = 10
2
(a) 2e + 3ey = 10y (b) e2x - e3y = x + 2y
x
dx d2y
2 Find given 4 Find given
dt dx2
(a) 4 + sin x = t (b) 3 cos 2x - t2 = 20
x2 + y2 = 1
1
(c) tan x = (d) 4 sin t - cos 3x = cos t
t 5 Find y– given
2
(e) tan 2t - x = sin 2x sin x + cos y = 1
Solutions to exercises
dx
1 In which of the following equations is y 4 Find given
expressed implicitly in terms of x? dt
x y (a) 2xt + x2 - xt2 = 0 (b) x2t2 - 3x2t = t3
(a) sin x + = 3 (b) sin y + = 3 (c) 4(x + t) (x - t) - 3xt = 0
y x
x2 t2
(c) x2 - y = 10 (d) x2y + y2x = 1y (d) 3
- + x + t = 1
x - y t x2
(e) = ex x + t 3x
x + y (e) - 2 = 0
dy x - 2t t
2 Find given
dx dy
5 Find :
(a) x3 - y4 = 1 dx
(b) 2x2 - 3y2 + 2x - 7y = 0 (a) ex + ey = x3 + y4 (b) x sin y = y cos x
(c) x3 - 2y4 = x (c) xey - 2yex = xy (d) (x + 2y)e-y = x2y
(d) 2x2 + y2 + 3x + 2y + 7 = 0 (e) sin 2x cos 3y - 2 sin y cos x = 0
(e) x3 - y3 + 3x2 - y = 0
6 Differentiate the following expressions w.r.t. x:
3 A circle, centre the origin, radius 5, has (a) (x + y)n (b) (x2 + y)n (c) (x2 + y2)n
equation
x2 + y2 = 25
Find the equation of the tangent to the circle
that passes through the point (3, 4).
Solutions to exercises
Parametric differentiation
BLOCK 4
4.1 Introduction
In some circumstances both x and y depend upon a third variable, usually denoted by
t. This third variable is referred to as a parameter. By eliminating t, y can be deter-
mined in terms of x. For example, if y = (3 + t)2 and x = 2t, then by eliminating t
we have
y = (3 + t)2
x 2
= a3 + b
2
dy
Hence we can consider y as a function of x and so the derivative can be found.
dx
In some cases, elimination of t is difficult or even impossible. As an example consider
y = et + sin t, x = t3 + ln t. Here it is impossible to obtain y in terms of x, but
dy
the derivative can still be found using the chain rule.
dx
Key point dy dy dt
=
dx dt dx
dy>dt
=
dx>dt
dy
Finding by this method is known as parametric differentiation.
dx
Example 4.1
dy
Given y = (3 + t)2 and x = 2t find .
dx
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 792
Solution
We could eliminate t thus:
y = (3 + t)2
x 2
= a3 + b
2
x2
= 9 + 3x +
4
and then differentiate to obtain
dy x
= 3 +
dx 2
dy dx
= 2(3 + t), = 2
dt dt
and so
dy dy>dt
=
dx dx>dt
2(3 + t)
=
2
= 3 + t
x
= 3 +
2
Example 4.2
dy
Find given y = sin t + t2, x = et + t.
dx
Solution dy
In this case elimination of t is impossible. To find we must use parametric
dx
differentiation.
dy dx
= cos t + 2t, = et + 1
dt dt
and so
dy dy>dt
=
dx dx>dt
cos t + 2t
=
et + 1
No further simplification is possible.
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 793
Exercises
dy dy
1 Use parametric differentiation to find given 2 Find given
dx dx
2
(a) x = 1 + t, y = 2 + 3t + t (a) x = sin(t2), y = t3 + 1
(b) x = sin t, y = cos t (c) x = t2, y = t3 (b) x = (1 + 2t)4, y = (3 - 5t)7
(d) x = et, y = et + t (c) x = 2 cos t, y = cos 2t
(e) x = 1t, y = 1 + ln t (d) x = esin t, y = 1 - t2
(e) x = ln(1 + 3t), y = 1 + 2t
Solutions to exercises
dy 1 t
2 Find given (d) x = ,y =
dx 1 + 2t 1 + t
(a) x = 11 + 2t, y = (t2 + 1)4 (e) x = et sin t, y = e-t cos t
(b) x = sin(t2 + 1), y = cos(2t - 3)
(c) x = r sin t, y = r cos(t2), r constant
Solutions to exercises
Logarithmic differentiation
BLOCK 5
5.1 Introduction
We gather together some important results that are commonly used in logarithmic
differentiation.
d 1 dy
1. (ln y) =
dx y dx
d 1 df
2. (ln f (x)) =
dx f dx
x
3. ln(e ) = x
4. ln(ef (x)) = f (x)
5. ln AB = ln A + ln B
A
6. ln = ln A - ln B
B
7. ln An = n ln A
The method of logarithmic differentiation is illustrated in the following examples.
Example 5.1
dy
Given y = t2(1 + t)3 find .
dt
Solution dy
We could use the product rule to find . However, we shall use logarithmic differ-
dt
entiation to illustrate the technique. Taking the natural logarithm of both sides of the
given equation and applying the laws of logarithms yields
ln y = ln(t2 (1 + t)3)
= ln t2 + ln(1 + t)3
= 2 ln t + 3 ln(1 + t)
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:03 PM Page 796
= 2a b + 3a b
1 dy 1 1
y dt t 1 + t
= ya + b
dy 2 3
dt t 1 + t
= t2 (1 + t)3 a + b
2 3
t 1 + t
Example 5.2
Given that
y = (t + 1)7 (2t + 3)4 (2t - 1)5
dy
find .
dt
Solution
Taking the natural logarithm of both sides and applying the laws of logarithms yields
ln y = ln((t + 1)7 (2t + 3)4 (2t - 1)5)
= ln(t + 1)7 + ln(2t + 3)4 + ln(2t - 1)5
= 7 ln(t + 1) + 4 ln(2t + 3) + 5 ln(2t - 1)
We now differentiate both sides w.r.t. t.
d d d d
(ln y) = (7 ln(t + 1)) + (4 ln(2t + 3)) + (5 ln(2t - 1))
dt dt dt dt
1 dy 7 8 10
= + +
y dt t + 1 2t + 3 2t - 1
= ya b
dy 7 8 10
+ +
dt t + 1 2t + 3 2t - 1
= + + 2x, 3 ln x, 4 ln(1 - x)
Differentiating w.r.t. x gives
1 dy 3 4
= 2 + -
y dx x 1-x
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 797
= e2xx3 (1 - x)4 a2 + - b
dy 3 4
dx x 1 - x
Example 5.4
dz
Find given z(t) = 21 + t2 cos4 t.
dt
Solution
Taking the natural logarithm of both sides gives
ln z = ln(21 + t2 cos4 t)
= ln21 + t2 + ln cos4 t
1
= + ln(1 + t2) + 4 ln cos t
2
Differentiating both sides w.r.t. t gives
1 dz t 4 sin t
= -
z dt 1 + t2 cos t
So
b
dz t 4 sin t
= za 2
-
dt 1 + t cos t
= 21 + t2 cos4 t a
t
- 4 tan tb
1 + t2
Exercises
dy
1 Find where y is given by 3 Find the rate of change of
dx
(a) x5(3x + 7)9 (b) x8(5x - 1)6 q(t) = 2e-t>2 cos 2t
(c) (3x + 2)4 (9x - 5)7 when t = 1.
(d) (1 - 3x)4 (2 - 7x)6
(e) (5 + 2x)4 (5x + 2)3 4 Find the derivative of the following functions
using logarithmic differentiation:
2 Find the derivative of each of the following (a) a(t) = (1 + t2)3(1 - t2)4 sin3 t
functions:
(b) b(r) = e-r sin5 2r cos4 3r
(a) z(t) = e3t(2t - 5)3 (3t + 1)4
(b) h(t) = 3e-6tt7(t + 6)3 (c) K(p) = 6p 2sin p (cos 2p)1>3
(c) M(p) = -p4 sin5 p (1 + 1y)4 (6 + 7y)3
(d) N(y) =
(d) P(r) = 6(1 + r2)6 23 + r2 11 + y
(7 - x)3 6
(e) y(x) = (e) x(t) =
(3x2 + 1)2 (2 + t)3 (1 - t)4 cos3 t
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 798
Solutions to exercises
P Q
2 21 1
6r(r2 + 1)5 (13r2 + 37) (d) N 1y + y + 6 + 7y - 2(1 + y)
(d)
2r2 + 3
3(x - 7)2 (x2 - 28x - 1)
(e) x a
-3 4
(e) + + 3 tan tb
(3x2 + 1)3 2 + t 1 - t
dy
1 Find where y is given by 2 Find the derivative of each of the following
dx functions:
(a) x3(3x - 2)4 (5x - 1)6 2
(a) y(x) = 3e(x )x2 sin x
(b) 1x (x2 + 1)3 (x3 + 1)2 (3r2 + 2)3
(b) h(r) =
e2x sin3 x 4e-3x cos 3x 14 - r (9 + r2)
(c) (d) 2
x4 (2 - x)3 (1p + 2)2 e - p
(c) m(p) =
3 (1 + p2)2
(e)
e2x 1sin x (9 + x2) 2(t + e2t)4 2t2 - 2t3
(d) x(t) =
sin2 t
2
q - 2
(e) c(q) = eq
A 3q2 + 1
Solutions to exercises
b
3 12 30 2
1 (a) ya + + 2 (a) ya2x + + cot xb
x 3x - 2 5x - 1 x
6x2
b (b) h a b
1 6x 18r 1 2r
(b) ya + 2 + 3 2
+ -
2x x + 1 x + 1 3r + 2 2(4 - r) 9 + r2
b b
1 2x q 3q
(e) ya -2 - cot x - (e) ca1 + 2 - 2
2 9 + x2 q - 2 3q + 1
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 799
6.1 Introduction
The derivative gives the rate at which the function is changing. An alternative, but
equally valid, interpretation of the derivative is that it represents the gradient of a tan-
gent to the curve. We use this fact when calculating the equation of a tangent to a
curve.
A normal is a line that is perpendicular to a tangent through the point of contact.
Figure 6.1 illustrates a typical tangent and normal to y(x).
Figure 6.1 y
A tangent and Normal
normal to a curve,
y(x). Tangent Point of contact
x
O
Recall that a tangent is a straight line that touches a curve in one point only. This
point is referred to as the point of contact. The derivative of a function can be inter-
preted as the gradient of a tangent to a curve.
When calculating the equation of a tangent we require its gradient and the coordi-
nates of one point. Usually the coordinates of the point of contact are used.
Example 6.1
Find the equation of the tangent to y = x2 at the point (2, 4).
Solution
Figure 6.2 illustrates the situation. The point of contact is (2, 4). To calculate the
dy
gradient of the tangent we find the derivative, .
dx
dy
y = x2 so = 2x
dx
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 800
Figure 6.2 y y ⫽ x2
A tangent to
y ⫽ x2 at (2, 4).
Point of
contact Tangent
x
O 2
dy
When x = 2, = 4. Hence the gradient of the tangent is 4. We are now ready to
dx
calculate the equation of the tangent. The tangent is a straight line and so has an
equation of the form
y = mx + c
The gradient, m, is 4 and so
y = 4x + c
The point of contact, (2, 4), lies on the tangent, that is when x = 2, y = 4.
4 = 4(2) + c
c = -4
Hence the equation of the tangent is y = 4x - 4.
Example 6.2
Find the equation of the tangent to y = 2ex - x3 where x = 1.5.
Solution
When x = 1.5, y = 5.5884
Thus the point of contact is (1.5, 5.5884).
The gradient of the tangent is now found.
dy
= 2ex - 3x2
dx
When x = 1.5
dy
= 2e1.5 - 3(1.5)2 = 2.2134
dx
and so the gradient of the tangent is 2.2134. The equation of the tangent can now be
found. The equation has the form y = mx + c and using the gradient found we have
y = 2.2134x + c
Applying the point of contact given yields
5.5884 = 2.2134(1.5) + c
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 801
Exercises
1 Calculate the equation of the tangent to 4 (a) Calculate the equation of the tangent to
y = 3x2 - x + 9 where x = 2. y = e-x where x = 1.4.
(b) Calculate where the tangent cuts the x axis.
2 Calculate the equation of the tangent to (c) Calculate where the tangent cuts the y axis.
p
y = sin x where x = .
4 5 Calculate the equation of the tangents to
3 y = 9 - x2 at the points where y crosses the
3 The gradient of a tangent to y = x + x is 1.
x axis.
Calculate the equation of the tangent.
Solutions to exercises
values x1, x2 or x3 then y has the value of 0. In other words, f (x1) = 0, f (x2) = 0 and
f (x3) = 0, and so the roots of f (x) = 0 are x = x1, x = x2 and x = x3.
a
x1 x0 x
Suppose a root exists at some unknown value x = a as shown in Figure 6.4. Sup-
pose we know or make an estimate of the root, x = x0 say. We can draw a tangent to
the curve y = f (x) at the point P(x0, f (x0)), and use the value of x at the point where
the tangent cuts the x axis, x1 say, as a better estimate of the root.
First we obtain the equation of the tangent to y = f (x) at P(x0, f (x0)). It will
take the form y = mx + c. From Section 6.2 we know that its gradient, m, will
dy
equal evaluated at x0, which, in the context of the Newton–Raphson method,
dx
we write as f ¿(x0). So the equation becomes y = f ¿(x0)x + c. We now find the con-
stant c. The tangent passes through the point (x0, f (x0)), and so f (x0) = f¿(x0)x0 + c,
from which c = f(x0) - f ¿(x0)x0. Since x0 is a known value we can calculate
f(x0) - f ¿(x0)x0, and so c can be evaluated. Finally, the equation of the tangent is
Example 6.3
Use the Newton–Raphson formula to find an improved estimate of a solution to the
equation x4 - 3x - 2 = 0 given that a first estimate is x0 = 1.5.
Solution
Here f(x) = x4 - 3x - 2 and so, differentiating,
f ¿(x) = 4x3 - 3
Then with a first estimate x0 the Newton–Raphson formula is
x40 - 3x0 - 2
x1 = x0 -
4x30 - 3
x1 =
1.54 - 3(1.5) - 2
1.5 - = 1.636905
4(1.5)3 - 3
In practice the formula is used repeatedly with each new estimate used to generate a
further improvement. This leads to the following general formula.
Unfortunately the sequence of values produced does not always converge. For fur-
ther details concerning the conditions for convergence and the rate of convergence
consult a textbook on numerical methods for engineers.
The Newton–Raphson formula is easy to program in a loop structure. Exit from
the loop is usually conditional upon ƒ xn + 1 - xn ƒ being smaller than some prescribed
very small value. This condition shows that successive approximate roots are very
close to each other.
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 804
Example 6.4
Apply two more iterations of the Newton–Raphson method to the equation of
Example 6.3.
Solution
With x1 = 1.636905 we find
x2 =
1.6369054 - 3(1.636905) - 2
1.636905 - = 1.618425
4(1.636905)3 - 3
x3 =
1.6184254 - 3(1.618425) - 2
1.618425 - = 1.618034
4(1.618425)3 - 3
We see that the numbers generated by this method appear to be getting closer to
1.618. In this example the method has performed well when we note that the true
solution is 1.618034 (6 d.p.).
Exercises
Solutions to exercises
Use a graphical calculator or computer package to x3 - 8x2 + 11x - 2 = 0 and use your estimates
plot a graph of f (x) = x3 - 8x2 + 11x - 2. Use together with the Newton–Raphson method to find
your graph to estimate roots of the equation improved estimates.
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 805
Solution to exercise
A normal is a line that is perpendicular to a tangent and passes through the point of
contact. (See Figure 6.1.)
It is useful to state an important result:
Key point If two lines are perpendicular, the product of their gradients is -1.
Hence, if a tangent has gradient m1 and the normal has gradient m2, then
m1m2 = -1.
Example 6.5
Find the equation of the normal to y = x2 at the point (2, 4).
Solution
We have found from Example 6.1 that the gradient of the tangent at (2, 4) is 4. Hence
1
gradient of normal at (2, 4) =
-4
1
= -
4
Let the equation of the normal be y = mx + c. The gradient, m, has been found to
be - 14 and so
x
y = - + c
4
The point of contact, (2, 4), is on the normal so
2
4 = - + c
4
9
c =
2
Hence the equation of the normal is
x 9
y = - +
4 2
Example 6.6
Find the equation of the normal to y = 2x4 - 3 at (1, -1).
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:04 PM Page 806
Solution
dy
We find .
dx
dy
= 8x3
dx
The tangent through (1, -1) has gradient
8
Hence the normal through (1, -1) has gradient
1
-
8
The equation of the normal is
y = mx + c
x
= - + c
8
The normal passes through (1, -1) and so
7
c = -
8
Hence the equation of the normal is
x 7
y = - -
8 8
Exercises
1 Calculate the equation of the normal to 2 Calculate the equation of the normal to
(a) y = 3x2 - x through (2, 10) (a) y = xex where x = 1
(b) y = 1x through (9, 3) (b) y = 2 sin 3x where x = p
1 (c) y = 2 ln x where x = 1
(c) y = through (0.5, 2)
x (d) y = (2x + 1)6 where x = 0
(d) y = 10 - x4 through (1, 9) ex + 1
(e) y = where x = 1
x3
through a1, b
x 1 x
(e) y = -
2 6 3
Solutions to exercises
x 112 x 15
1 (a) y = - + (c) y = +
11 11 4 8
(b) y = - 6x + 57 x + 35
(d) y =
4
(e) x = 1
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:08 PM Page 807
-x + 2e2 + 1 x
2 (a) y = (d) y = - + 1
2e 12
x - p (e) y = x + e
(b) y =
6
1 - x
(c) y =
2
Solutions to exercises
x x 7
1 (a) y = 2x + 1 (b) y = 10 (c) y = 7x - 5 2 (a) y = - - 1 (b) y = -
(d) y = 3x + 3 (e) y = 6x - 4 2 6 2
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:09 PM Page 808
49 - x x - 20 x + 5
(c) y = (d) y = 5 (a) y = (b) y = - 2x
4 9 4
x x 3x 7
(e) y = + 1 (c) y = (d) y = +
3 e 16 8
2 (e) y = 0.5
3 (a) y = - 3x + 3p + 1 (b) y = x
e p
6 (a) y = - x + (b) y = - x + 1
(c) y = 2x + 4 (d) y = - 2x + 1 2
3p - 15
(e) y = - 6x + + 1 (c) y = x + 215
2 2
x (d) y = 1.3591x + 0.9913
4 (a) y = - (b) y = - 0.6193x + 4.4412 (e) y = - 1.0321x + 0.7634
3
- x + 16
(c) y = (d) y = x - 4 - p 7 (a) x = - 1.35 (b) x = 6.28
5
(e) y = - 0.2316x - 1.4233
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 809
7.1 Introduction
The maximum and minimum values of a function are often very important. For
example, an engineer may need to know the value of the maximum power trans-
ferred from a voltage source to a load resistor. Maximum and minimum points
are located by examining the derivative of a function, rather than the function
itself.
Two tests are described that distinguish between maximum and minimum points.
Finally, we explain what is meant by a point of inflexion and how such a point is
located.
Consider Figures 7.1(a) and (b). The point A is a local maximum; the point B is a
local minimum. Note that A is not the highest point on the graph. However, in
the locality of A, A is the highest point. Use of the word ‘local’ stresses that A is a
maximum only in its locality. Similarly B is a minimum in its locality but is not the
lowest point on the entire graph.
Figure 7.1 y y
(a), (b) A is a local A
A
maximum, B is a
local minimum.
B B
x x
(a) (b)
When moving away from A along the function, both to the left and to the right, the
value of y decreases; when moving away from B along the function, the value of y
increases.
It is useful to be able to locate points such as A and B. This is done by referring to
the gradient of the function, rather than the function itself.
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 810
Consider Figure 7.2, which shows the curve y(x), together with some tangents. The
dy
tangents at A and B are parallel to the x axis, that is = 0 at these points.
dx
Figure 7.2 y
A
At A and B,
dy
= 0.
dx B
Key point dy dy
At maximum and minimum points, = 0 or does not exist.
dx dx
dy
So, maximum and minimum points are located by looking for points where = 0
dy dx
or does not exist.
dx
When given any function, y(x), we can limit our search for maximum and minimum
dy dy
points to those points where = 0 or does not exist. We also need to distinguish
dx dx
between a maximum point and a minimum point. To do this we consider y¿ on either
side of the point.
Immediately to the left of a maximum point, such as A in Figure 7.1, y¿ 7 0, that
is y is increasing. Immediately to the right of a maximum point, y¿ 6 0, that is y is
decreasing. Thus, in passing from left to right through a maximum point, y¿ changes
from positive to negative.
Now consider a minimum point, such as B in Figure 7.1. Immediately to the left of
such a point, y¿ 6 0, that is y is decreasing. Immediately to the right, y¿ 7 0, that is
y is increasing. So, in passing from left to right through a minimum point, y¿ changes
from negative to positive.
This information is contained in the first-derivative test.
Key point • The first-derivative test distinguishes between maximum and minimum points.
dy dy
• To the left of a maximum point, is positive; to the right is negative.
dx dx
dy dy
• To the left of a minimum point, is negative; to the right is positive.
dx dx
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:50 AM Page 811
Figure 7.3 y
There is a
minimum point y ⫽ x2 ⫹ 1
at (0, 1).
(0, 1)
x
Example 7.2
Determine the position of any maximum and minimum points of the function
y = 2x - x2.
Solution
dy
We see that = 2 - 2x, which exists for all x. We look for maximum and minimum
dx
dy
points by solving = 0.
dx
dy
= 0
dx
2 - 2x = 0
2 = 2x
so
x = 1
Thus we examine the point where x = 1.
M16_CROF5939_04_SE_C16.QXD 9/28/18 10:31 AM Page 812
dy
We examine the sign of to the left and to the right of x = 1. To determine the
dx
sign of 2 - 2x to the left and to the right of x = 1 we can use one of two techniques.
We can sketch a graph of 2 - 2x and note the sign on both sides of x = 1. Another
method is to evaluate 2 - 2x just to the left of x = 1, say x = 0.9, and then evalu-
ate 2 - 2x just to the right of x = 1, say at x = 1.1. When x = 0.9, the value of
2 - 2x is 0.2; when x = 1.1 the value of 2 - 2x is - 0.2. Since y¿ changes from
positive to negative there must be a maximum at x = 1.
When x = 1, y = 1 and so (1, 1) is a maximum point. Figure 7.4 illustrates this.
Figure 7.4 y
Maximum point
There is a
maximum point
at (1, 1). 1 y ⫽ 2x ⫺ x 2
1 2 x
Example 7.3
Determine the position of any maximum and minimum points of the function
t3 t2
y = - - 2t + 3.
3 2
Solution
We have
dy
= t2 - t - 2
dt
dy dy
Clearly, exists for all values of t. Solving = 0 yields
dt dt
t2 - t - 2 = 0
(t - 2)(t + 1) = 0
t = - 1, 2
We need to investigate the two points where t = - 1 and t = 2.
t = -1
Consider a value just to the left of t = - 1, say t = - 1.1. Here
dy
= (- 1.1)2 - ( -1.1) - 2
dt
= 0.31
dy
So, at t = - 1.1, is positive.
dt
Just to the right of t = - 1, say at t = - 0.9,
dy
= (- 0.9)2 - ( -0.9) - 2
dt
= - 0.29
M16_CROF5939_04_SE_C16.QXD 11/15/18 3:52 PM Page 813
t = -2
By considering values just to the left and right of t = 2 we see that immediately to
dy dy
the left of t = 2, is negative; immediately to the right, is positive. Hence at
dt dt
t = 2 there is a minimum point.
When t = 2, y = - 13 so 12, - 132 is a minimum point. Figure 7.5 illustrates a
graph of the function.
Figure 7.5 y 3 2
(−1, 25 ) y = t3 − t2 −2t+ 3
There is a 6
4
maximum point at
1-1, 256 2 and a 3
minimum point at
12, - 132. 2
–3 –2 –1 1 2 3
t
O
(2, − 13 )
–1
Example 7.4
Determine the position of any maximum and minimum points of the function y = |t|.
Solution
Recall that
-t t 6 0
y = ƒtƒ = b
t t Ú 0
A graph of the modulus function is shown in Figure 8.7 of Chapter 6. Note that there is a cor-
dy
ner at t = 0. Hence the derivative, , does not exist at t = 0 and so this is a possible location
dt dy
of a maximum or minimum point. To the left of t = 0, is negative; to the right of
dy dt
t = 0, is positive and so there is a minimum at t = 0.
dt
Example 7.5
Locate the maximum and minimum points of each of the following functions:
(a) y = x2 - 6x + 5
(b) y = x3 - 3x
(c) y = x1>3
Solution
(a) Given y = x2 - 6x + 5
dy
= 2x - 6
dx
dy
Solving = 0 yields
dx
x = 3
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:51 AM Page 814
dy x-2/3 1
= = 2/3
dx 3 3x
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:51 AM Page 815
Solution
Let i be the current flowing in the circuit. Using Kirchhoff’s voltage law and Ohm’s
law gives
V = i(RS + RL)
Let P be the power developed in the load resistor. Then
P = i 2 RL
V 2 RL
=
(RS + RL)2
Clearly P depends on the value of RL. Differentiating we obtain
that is
RL = RS
We need to check whether this is a maximum point.
dP RS - RL
= V2
dRL (RS + RL)3
When RL has a value just to the left of RS, the derivative is positive. When RL has a
value just to the right of RS, the derivative is negative. Hence there is a maximum
when RL = RS. Therefore maximum power transfer occurs when the load resistance
equals the source resistance.
Exercises
1 Determine the location of all maximum and 2 Determine the location of all maximum and
minimum points of the following functions: minimum points of the following functions:
(a) y = x2 - 4x (a) y = xex
(b) y = x2 - 5x + 4 1
(b) y =
(c) y = 10 + 3x - x2 1 + x2
x3 x2 x5 x3
(d) y = - + 1 (c) y = -
3 2 5 3
3
(e) y = x - 27x x4
(d) y = + x + 1
4
(e) y = (1 - ln x)x
Solutions to exercises
This is a test to distinguish between maximum and minimum points. Rather than
examine the sign of y¿ on both sides of the points where y¿ = 0 we can instead
consider the sign of the second derivative, y– , at these points.
On passing left to right through a maximum point, y¿ changes from positive to
zero to negative. Hence, y¿ is decreasing and so the derivative of y¿ is negative, that
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:13 PM Page 817
Example 7.7
Use the second-derivative test to find all maximum and minimum points of
x3 x2
y = - - 6x + 2
3 2
Solution
We see that
y¿ = x2 - x - 6
= (x + 2)(x - 3)
y– = 2x - 1
Example 7.8
Determine the positions of all maximum and minimum points of y = x4.
Solution
We have y¿ = 4x3. Solving y¿ = 0 yields x = 0. Also we see
y– = 12x2
Example 7.9
Determine all maximum and minimum points of
x5 x2
y = + + 1
5 2
Solution
We have
y¿ = x4 + x
Solving y¿ = 0 yields
x = 0, -1
In order to use the second-derivative test we calculate y– .
y– = 4x3 + 1
The sign of y– is calculated at each value of x.
When x = -1,
y– is negative
13
y =
10
When x = 0,
y = 1
So 1-1, 10 2
13
is a maximum point; (0, 1) is a minimum point.
Exercises
Solutions to exercises
1 (a) 11, 122, minimum (d) (0, 0), maximum; 11, - 142, minimum;
(b) 123, 20
3 2, maximum
1-1, - 142, minimum
(c) (0, -1), minimum; 1-3, 722, maximum
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:51 AM Page 819
Figure 7.7 shows two curves. In both cases the gradient is increasing as we move
along the curve from left to right, that is y¿ is increasing.
Figure 7.7 y y
The gradient of
both curves is
increasing; the
curves are concave
up.
x x
Figure 7.8 y y
The gradient of
both curves is
decreasing; the
curves are concave
down.
x x
A point at which the concavity changes from concave up to concave down, or vice
versa, is called a point of inflexion. At such a point either y– = 0 or y– does not
exist. Figure 7.9 illustrates some points of inflexion.
Figure 7.9 y
(a) There is a point
of inflexion at A;
(b) there are points y y
of inflexion at A
and B; (c) there is O
a point of inflexion x
at O. A A B
x x
Key point A curve is concave up when y– 7 0, and concave down when y– 6 0. There is a
point of inflexion where the concavity changes.
Note that not all points where y– = 0 or where y– does not exist are points of inflexion.
However, when searching for points of inflexion, we can limit our search to points
where y– = 0 or where y– does not exist.
Example 7.10
Locate any points of inflexion of y = x3.
Solution
We have
y¿ = 3x2, y– = 6x
A point of inflexion can occur only where either y– = 0 or y– does not exist. Clearly
y– exists for all values of x but y– = 0 when x = 0.
We examine the concavity to the left and right of x = 0. To the left of x = 0, 6x is
negative and so y– 6 0: that is, the function is concave down. To the right of x = 0,
6x is positive, and so y– 7 0: that is, the function is concave up. Hence the concav-
ity changes at x = 0 and so there is a point of inflexion at x = 0.
When x = 0, y = 0 and so (0, 0) is a point of inflexion. Figure 7.10 illustrates
y = x3.
Figure 7.10 y
Since y– changes
sign at x = 0, y ⫽ x3
there is a point of
inflexion there. y" ⬎ 0
O x
y" ⬍ 0
Example 7.11
Determine all maximum points, minimum points and points of inflexion of
x3 x2
y = -
6 2
Solution
We have
x2
- x,
y¿ = y– = x - 1
2
To locate maximum and minimum points we solve y¿ = 0. This yields
x2
- x = 0
2
M16_CROF5939_04_SE_C16.QXD 9/26/18 12:26 PM Page 821
xa
x
- 1b = 0
2
x = 0, 2
To distinguish between maximum and minimum points we use the second-derivative
test at x = 0 and at x = 2.
y–(0) 6 0 and so there is a maximum point at x = 0.
y–(2) 7 0 and so there is a minimum point at x = 2.
When x = 0, then y = 0. When x = 2, y = - 23 . So (0, 0) is a maximum point;
A 2, - 23 B is a minimum point.
We now consider points of inflexion. We know that points of inflexion can occur
only where y– = 0 or where y– does not exist. Clearly y– exists for all values of x but
y– = 0 at x = 1. To check whether there is a point of inflexion at x = 1 we check
the concavity to the left and right of x = 1.
Immediately to the left of x = 1, say at x = 0.9, y– 6 0. Immediately to the right
of x = 1, say at 1.1, y– 7 0 and so the concavity changes at x = 1: that is, there is a
point of inflexion at x = 1. When x = 1, y = - 13, so A 1, - 13 B is a point of inflexion.
In summary we have: (0, 0) maximum point; A 2, - 2 B minimum point; A 1, - 1 B
3 3
point of inflexion.
Example 7.12
Find all maximum points, minimum points and points of inflexion of
y = 1 + 12x + 3x2 - 2x3
Solution
We calculate y¿ and y–.
y¿ = 12 + 6x - 6x2
y– = 6 - 12x
Solving y¿ = 0 yields
x = -1, 2
We apply the second-derivative test to each value of x.
y–(-1) = 18
y–(2) = -18
Hence there is a point at x = - 1. minimum
There is a point at x ⫽ 2. maximum
When x = - 1, y = - 6. When x = 2, y = 21.
We seek points of inflexion by considering y–. Solving y– = 0 yields x = 0.5.
Immediately to the left of x = 0.5, say at 0.4,
y– is positive
Immediately to the right of x = 0.5, say at 0.6,
M16_CROF5939_04_SE_C16.QXD 9/26/18 10:51 AM Page 822
y– is negative
Hence the concavity changes and so there is a point of inflexion at x = 0.5.
When x = 0.5,
y = 7.5
In summary we have: (-1,-6), minimum point; (2, 21) maximum point; (0.5, 7.5),
point of inflexion.
Exercises
1 Determine the position of all points of 2 Locate all maximum points, minimum points
inflexion of the following functions: and points of inflexion of the following
x3 functions:
(a) y = - x2 x3
6 (a) y = - 3x2 + 5x + 1
x3 3
(b) y = 1 + 2x2 -
6 (b) y = -x5
x4 x3 (c) y = x1>3
(c) y = - + x + 1
24 6
x4 x2
(d) y = - - x + 1
12 2
4
(e) y = x
Solutions to exercises
1 (a) A 2, - 83 B (b) A 4, 67
3 B (c) (0, 1), A 2, 3 B
7
2 (a) A 1, 10
3 B maximum; A 5, - 3 B minimum;
22
(d) A -1, 19
12 B , A 1, - 12 B
5 (3, -2) inflexion
(b) (0, 0) inflexion
(e) no inflexion points
(c) (0, 0) inflexion
Solutions to exercises
A - 1, 3 B inflexion
32
ln r dx 2
(e) M(b) = ln b + ln(b + 1)
11 Find the equation of the tangent to
5 Use logarithmic differentiation to differentiate y = 3x3 - x where x = 1.
y = xx
M16_CROF5939_04_SE_C16.QXD 11/28/18 7:44 PM Page 824
Solutions to exercises
2t + 3
1 (a) x2e2x(3 + 2x) (c) 2
(b) 15 sin 2x sin 5x - 6 cos 2x cos 5x t + 3t - 9
(c) - e-x(x - 1)2 1 1 1
(d) cos x sin 2x sin 3x + 2 sin x cos 2x sin 3x + (d) - (e) +
r (ln r)2 b b + 1
3 sin x sin 2x cos 3x
(e) tan 3x + 3x sec 2 3x 5 xx(ln x + 1)
2x2 + 6x - 2 4t + 1 3t
2 (a) 6 (a) (b) (c) -t2 cos t
(2x + 3) 2 2t 2
(2 sin 2t sin 3t + 3 cos 2t cos 3t) 1 + t t
(b) - (d) (e) 2
2 A 2t + 1
sin2 3t
r2 3 - 2r 2x + 3x2
a b
4x + 3y - 7
(c) 7 (a) 2
(b)
3 e2r 3y - 2y 2y - 3x + 10
v v
(1 + e )(1 + cos v) - (v + sin v)e x2ex + y - x2y2 y(2x - 2)
(d) v 2 (c) (d)
(1 + e ) 2
x(2x y + 1) x(2 - 2 y)
a b
1 1 - x
(e) 2y2 sin 2x - sin y
2(x + 1)2 2x (e)
x cos y + 2y cos 2x - 1
3 (a) - 0.7702 (b) - 0.7358 (c) -1.0548
(d) - 1.9515 (e) 1.5181 8 -1
4 (a) x2e2x (2x sin 3x cos 2x + 3 sin 3x cos 2x + 12x(x2 - y3)5 - yexy
9
3x cos 3x cos 2x - 2x sin 3x sin 2x) 18y2(x2 - y3)5 + xexy
10
2
2e(x )(1 + 2x2) (b) concave up on -1 6 x 6 1; concave
down on x 7 1 and x 6 -1
11 y = 8x - 6 (c) concave up for all values of x
(d) concave up for all values of x except x = 1
12 y = -2x + 4.6931 (e) concave up on x 7 e-1; concave down on
x 6 e-1
A 52, - 101
24 B minimum;
13 y = e(2x - 1)
16 (0, 1) maximum;
A 54, - 77
48 B point of inflexion
14 y = 2x + 3
Chapter 17
Integration
Chapter 17 contents
1.1 Introduction
The topic of integration can be approached in several different ways. Perhaps the
simplest way of introducing it is to think of it as differentiation in reverse. In some
applications we shall know the derivative of a function, but not the function from
which it was derived. This is why we need knowledge of integration.
In this block we give a look-up table that you can use to integrate a wide range of
functions, and we provide lots of opportunities for you to practise using it. Then
rules are given that allow you to integrate a wider range of functions. In particular
you will be able to integrate sums, differences and constant multiples of functions.
dy
Suppose we differentiate the function y = x2. We obtain = 2x. Integration
dx
2
reverses this process, and we say that the integral of 2x is x . Pictorially we can regard
this as shown in Figure 1.1.
The situation is just a little more complicated because there are lots of functions
we can differentiate to give 2x. Here are some of them:
x 2 + 4, x 2 - 15, x 2 + 0.5
Example 1.1
Write down some more functions that have derivative 2x.
Solution
e.g. x2 - 7, x2 + 0.1
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 829
冕2x dx ⫽ x2 ⫹ c
integral
}
constant of integration
sign this term is
called the there must always be a
integrand term of the form dx
Note that along with the integral sign there is a term of the form dx, which must
always be written, and which indicates the name of the variable involved, in this case
x. The term dx must not be interpreted as a product of d and x. Rather it is a notation
and as such you should think of dx as a single quantity.
We say that 2x is integrated with respect to x to give x2 + c. The function being
integrated is called the integrand. Technically, integrals of this sort are called
indefinite integrals, to distinguish them from definite integrals, which are dealt with
subsequently. When you find an indefinite integral your answer should always con-
tain a constant of integration.
Exercises
1 (a) Write down the derivatives of each of 3 Explain why, when finding indefinite integrals,
3 3 3 a constant of integration is needed.
x , x + 17, x - 21
(b) Deduce that 1 3x 2 dx = x 3 + c.
Solutions to exercises
We could use a table of derivatives to find integrals, but the more common ones are
usually found in a ‘table of integrals’ such as that shown in Table 1.1. You could
check many of the entries in this table using your knowledge of differentiation. Try
checking some of these for yourself.
When dealing with the trigonometrical functions the variable x must always be
measured in radians and not degrees. Note that the fourth entry for integrating a
power of x is valid whether n is positive, negative or fractional, but not when n = -1.
If n = -1 use the fifth entry in the table. Various other conditions are detailed in the
third column.
Example 1.2
(a) Use the table of integrals to find 1 x7 dx.
(b) Check the result by differentiating the answer.
Solution
(a) From the table note that
xn + 1
冮 xn dx =
n + 1
+ c
In words, this states that to integrate a power of x, increase the power by one,
and divide the result by the new power. You will find it helpful to remember
this rule. With n = 7 we find
x8
冮
x7 dx =
8
+ c
冮cos kx dx =
sin kx
+ c
k
With k = 5 we find
冮 cos 5x dx =
sin 5x
+ c
5
Check this result for yourself by differentiating it.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 831
cosh-1 a b + c
1 x
x Ú a 7 0
2x2 - a2 a
1
ln(x + 2x2 + k) + c
2x2 + k
sin-1 a b + c
1 x
-a … x … a
2a - x 2 2 a
In the table the independent variable is always given as x. However, with a little
imagination you will be able to use it when other independent variables are
involved.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 832
Example 1.4
Find 1 cos 5t dt.
Solution
We integrated cos 5x in the previous example. Now the independent variable is t, so
simply use the table and read every x as a t. With k = 5 we find
冮 cos 5t dt =
sin 5t
+ c
5
It follows immediately that, for example,
冮 cos 5v dv = 冮 cos 5u du =
sin 5v sin 5u
+ c, + c
5 5
and so on.
Example 1.5
冮
x
Find sin dx.
2
Solution
x
Note that is equivalent to 21 x. Use the table of integrals with k = 12 .
2
x
cos
冮
x 2 x
sin dx = = - 1
+ c = -2 cos + c
2 2
2
Example 1.6
冮
2pt
Find sin dt where T is a constant.
T
Solution
With respect to which variable is the integration being carried out?
t
2p
The quantity is a constant. Perform the integration:
T
冮 sin
2pt
dt =
T
2pt
cos
T T 2pt
=- +c= - cos +c
2p 2p T
T
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 833
Solution
In this example we are integrating a constant, 12. Using the table we find
冮 12 dx = 12x + c
Note that 1 12 dt would be 12t + c and so on. This shows the importance of includ-
ing the term dx or dt in the integral.
Example 1.8
Find 1 dx.
Solution
This example looks a little different from the earlier ones. But if we think of dx as
1 dx then we are integrating a constant, 1. Using the table we find
冮 1 dx = 1x + c or simply x + c
Example 1.9
Find 1 e-3x dx.
Solution
Use the appropriate entry in the table with k = -3:
冮
e-3x 1
e-3x dx = + c = - e-3x + c
-3 3
Example 1.10
Look for an entry in the table of integrals that will enable you to calculate
冮 29 - t
1
dt
2
Solution
Write down the appropriate entry.
冮 2a dx = sin - 1 a b + c
1 x
2
- x 2 a
Select an appropriate value for the constant a and hence find the integral.
冮 29 - t dt = sin-1 a b + c
1 t
Take a = 3, so that a2 = 9.
2 3
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 834
Exercises
冮 cos 冮
2pt dz (k) 1 2t dt
5
(d) 1 e7t dt (e) dt (f)
T z
(l) 1 e-0.7t dt
3 Find 1 et dt.
冮 64 - x dx
1
(m) 2
4 Find
冮x 冮 2t (n) 冮
1 1 1
(a) 2
dx (b) dt dx
+ 25 2
- 4 264 - x 2
(o) 冮
1
5 Find dx
(a) 1 sin v dv 2x + 8 2
Solutions to exercises
x10 2x3>2 1 1
1 (a) + c (b) + c (c) - x-2 + c 5 (a) - cos v + c (b) sin 3t + c
10 3 2 3
1 x x
(d) - x-3 + c (e) 4x + c (f) same as (b) (c) 3 ln ƒ sec ƒ + c (d) 3 ln ƒ sec ƒ + c
3 3 3
10 100
e4x x sin px (e) cosh 0.3x + c (f) sin 0.01px + c
(g) + c (h) 2 sin + c (i) + c 3 p
4 2 p
2
t3 cos 3t (g) 100 sinh 0.01t + c (h) x9>2 + c
2 (a) + c (b) 6t + c (c) - + c 9
3 3 3 4 5
(i) x2>3 + c (j) x5>4 + c (k) t6>5 + c
e7t T 2pt 2 5 6
(d) + c (e) sin + c (f) ln ƒ z ƒ + c
7 2p T 1 8 + x
(l) -1.429e-0.7t + c (m) ln + c
3 et + c 16 8 - x
x
(n) sin-1 + c (o) ln(x + 2 x2 + 8) + c
tan-1 a b + c (b) cosh-1 a b + c
1 x t 8
4 (a)
5 5 2 1 npt 1 npt
6 (a) sin + c (b) - cos + c
np 5 np 5
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 835
To enable us to find integrals of a wider range of functions than those normally given
in a table of integrals we can make use of the following rules.
冮 k f (x) dx = k 冮 f (x) dx
Example 1.11
Find 1 11x2 dx.
Solution
冮 11x dx = 11 冮 x dx
2 2
x3
= 11 a + cb
3
11x3
= + K
3
where K is a constant.
Example 1.12
Find 1 -5 cos x dx.
Solution
冮 -5 cos x dx = -5 冮 cos x dx
= -5(sin x + c)
= -5 sin x + K
where K is a constant.
Example 1.13
冮
14
Find ds.
1 + s2
Solution
Use the result in the previous Key point to extract the constant factor 14. Then use
the table to complete the solution.
冮 1 + s ds = 冮 1 + s ds = 14 tan
14 1 -1
2
14 2
s + c
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 836
Example 1.14
Find 1 2pmr3 dr.
Solution
In this example, integration is with respect to which variable?
r
The 2, p and m are all constant factors and can be written in front of the integral sign.
Thus
冮 2pmr dr = 2pm 冮 r dr
3 3
r4
= 2pm a b + c
4
pmr4
= + c
2
Example 1.15
Find 1 (x3 + sin x) dx.
Solution
冮 (x 3
+ sin x) dx = 冮 x dx + 冮 sin x dx
3
x4
- cos x + c
=
4
Note that only a single constant of integration is needed.
Example 1.16
Find 1 3t4 + 1t dt.
Solution
You will need to use both of the rules to deal with this integral.
3t5 2t3>2
+ + c
5 3
M17_CROF5939_04_SE_C17.QXD 9/29/18 7:30 AM Page 837
ex - e-x ex + e-x
sinh x = cosh x =
2 2
Note that they are simply combinations of the exponential functions ex and e-x. Find
1 sinh x dx and 1 cosh x dx.
Solution
ex - e-x
冮 sinh x dx = 冮 a
2
b dx
1 x
= = (e + e-x) + c = cosh x + c
2
ex + e-x
冮 cosh x dx = 冮 a 2
b dx
= = sinh x + c
冮 2 (L - 2x) dx
w
M (x) =
Solution
Here w is a constant. Performing the integration we find
冮 2 (L - 2x) dx
w
M (x) =
冮
w
= (L - 2x) dx
2
w
= (Lx - x2) + c (where c is a constan
2
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 838
For a simply supported beam it can be shown that M(0) ⫽ 0 and consequently c ⫽ 0.
Therefore the bending moment at any point is given by
w
M(x) = (Lx - x2)
2
Further rules for finding more complicated integrals are dealt with in subsequent
blocks. However, it is important that you are aware at this stage that the integral of a
product of two functions is not the product of two separate integrals:
Exercises
冮x
1 Find 1 2x - ex dx. 8
7 Find 2
dx.
+ 16
2x
2 Find 1 3e dx.
8 Find 1 3 cos npx dx.
冮
x + cos 2x
3 Find dx. 9 Find 1 0.5 sin npx dx.
3
冮 2 sin
4 Find 1 7x-2 dx. 1 2pt
10 Find dt.
T
5 Find 1 (x + 3)2 dx (be careful!).
冮
sin x + cos x
11 Find dx.
6 Find 1 3 tan 2x + 2 sin 3x dx. 2
Solutions to exercises
2 tan-1 a b + c
1 x2 - ex + c x
7
4
3e2x
2 + c 3
2 8 sin npx + c
np
x2 sin 2x
3 + + c 0.5
6 6 9 - cos npx + c
np
7
4 - + c T 2pt
x 10 - cos + c
4p T
x3
5 + 3x2 + 9x + c -cos x + sin x
3 11 + c
2
3 2
6 ln ƒ sec 2x ƒ - cos 3x + c
2 3
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 839
冮 24 + t
1 Integrate each of the following functions with 1
8 Find dt.
respect to x: 2
冮s
1
7 Find 2
ds.
+ 0.5
Solutions to exercises
x3 x18 e-st
1 (a) + c (b) + c (c) 6x + c 6 - + c
3 18 s
cos 4x e8x 7 12 tan - 1(s12) + c
(d) - + c (e) + c
4 8
sinh-1 a b + c
t
t4 e-3t 8
2 (a) + c (b) 7t + c (c) - + c 2
4 3
sin-1 a b + c
x
(d) -e-t + c (e) ln | t | + c 9
5
3t2 x
3 (a) + c (b) t3 + c 10 5 ln ƒ sec ƒ + c
2 5
2t5 t2 t3 cos 100pt sin 100pt
(c) + c (d) + + c 11 - + + c
5 2 3 100p 100p
x3 sin(m + n)t
4 (a) + 2x2 + 8x + c 12 + c
3 (m + n)
2x3 mbx3
(b) - 2x2 + 7x + c 13 + c
3 3
x2 u2 u
(c) 2x3 - + 2x + c 14 (a) + c (b) 8 sin + c (c) 22u + c
2 4 2
2t3>2 1
5 - + c
3 t
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 840
Definite integrals
BLOCK 2
2.1 Introduction
Definite integrals can be recognised by numbers written to the upper and lower
right of the integral sign. The quantity
x=b
冮x=a
f 1x2 dx
is called the definite integral of f(x) from a to b. The numbers a and b are known as
the lower and upper limits of the integral. This integral is commonly written as
b
冮 a
f 1x2 dx
When you evaluate a definite integral the result will usually be a number. To see how
to evaluate a definite integral consider the following example.
Example 2.1
4
Find 11 x2 dx.
Solution
First of all the integration of x2 is performed in the normal way. However, to show we
are dealing with a definite integral, the result is usually enclosed in square brackets
and the limits of integration are written on the right bracket:
4
x3 x3 4
冮 x2 dx =
3
+ c so that 冮1
x2 dx = c
3
+ cd
1
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 841
x3 4
c + c d = (evaluate when x equals upper limit)
3 1
Note that the constants, c, cancel out. This will always happen, and so in future
we can ignore them when we are evaluating definite integrals. So, the value of the
4
definite integral 11 x2 dx is 21.
Example 2.2
p>2
Find 10 cos x dx.
Solution
Since 1 cos x dx = sin x + c then
p>2
冮
0
cos x dx = 3sin x4p>2
0
= sin a b - sin 0
p
2
= 1 - 0
= 1
Always remember that if you use a calculator to evaluate any trigonometrical func-
tions, you must work in radian mode.
Example 2.3
2
Find 11 (x2 + 1) dx.
Solution
First perform the integration:
x3 2
c + xd
3 1
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 842
Now insert the limits of integration, the upper limit first, and hence find the value of
the integral.
a + 2b - a + 1b =
8 1 10
or 3.333 (3 d.p.)
3 3 3
Example 2.4
This exercise is very similar to the previous one. Note that the limits of integration
have been interchanged.
1
Find 12 (x2 + 1) dx.
Solution
10
-
3
Note from these two exercises that interchanging the limits of integration changes
the sign of the answer.
Key point If you interchange the limits, you must introduce a minus sign.
b a
冮
a
f 1x2 dx = - 冮
b
f 1x2 dx
average value =
b - a
The average value of a function is found by evaluating a definite integral.
Find the average value of the function f (t) = t2 across the interval 2 … t … 5.
Solution
Apply the formula for finding the average value:
5 2
12 t dt
average value =
5 - 2
Complete the integration to find this average value.
1 t3 5
c d = 13
3 3 2
M17_CROF5939_04_SE_C17.QXD 9/27/18 9:18 AM Page 843
冮0
rgW (D - z)dz
冮0
rgW (D - z) dz = rgW 冮
0
(D - z) dz since r, g, W are constants
2
z D
= rgW c Dz - d
2 0
2
= rgW aD2 - b
D
2
2
rgW D
=
2
(b) Given that the pressure at depth h is rgh, the pressure at the surface is zero and
the pressure at the base of the tank is rgD. Since p varies linearly between
these two values, the average pressure is 12 rgD. The area of the wall is DW. The
rgW D2
force on the wall has been shown in part (a) to be which can be written
1 2
2 rgD ⫻ DW as required.
M17_CROF5939_04_SE_C17.QXD 9/29/18 7:33 AM Page 844
Exercises
4
1 Explain why a constant of integration is not 9 Evaluate 12 x3 dx. Show that
needed when evaluating definite integrals. 4 2
3 3
12 x dx = - 14 x dx.
2 Explain what happens to the value of a definite
integral when the upper and lower limits are b b
10 Show that 1a sin x dx = 1a sin t dt.
interchanged.
k
3 Evaluate 11 Find 10 2(kv3 - v4) dv.
3
冮 x dx
1 1
(a) 10 x2 dx (b) 0.001
2
2 12 Find 10 100 dt.
2
4 Evaluate 11 ex dx. 0.01
13 Find 100 10 sin (100 npt) dt.
1
5 Evaluate 1-1 (1 + t2) dt.
14 Find the average value of the function
f(t) = sin t across the interval 0 … t … p2 .
p>3
6 Find 10 cos 2x dx.
1
冮
1
p 15 Find dt.
7 Find 10 sin x dx. 0 29 - 4t2
3 a
8 Find 11 e2t dt. 16 Find 10 2pmr3 dr.
Solutions to exercises
3 (a) 13 (b) 16 k5
11
10
4 e2 - e1 = 4.671
12 0.1
5 2.667 1
13 - (cos np - 1)
23 np
6 = 0.4330
4 2
14
7 2 p
8 198 15 0.365
mpa4
9 60 16
2
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 845
On occasions, and notably when dealing with Laplace and Fourier transforms, you
will come across integrals in which one of the limits is infinite. We avoid a rigorous
treatment of such cases here and instead give some commonly occurring examples.
Example 2.7
q
Find 10 e-x dx.
Solution
The integral is found in the normal way:
e-x dx = C -e-x D 0
q
冮
q
There is no difficulty in evaluating the square bracket at the lower limit. We obtain
simply -e-0 = -1. At the upper limit we must examine the behaviour of -e-x as x
gets infinitely large. This is where it is important that you are familiar with the graph
of the exponential function. If you refer to the graph you will recognise that as x
tends to infinity e-x tends to zero. Consequently the contribution to the integral from
the upper limit is zero. So
e-x dx = C -e-x D 0
q
冮
q
= 102 - 1-e-02
= 1
q
The value of 10 e-x dx is 1.
Another way of achieving this result is as follows.
We change the infinite limit to a finite limit, b, say, and then examine the behaviour
of the integral as b tends to infinity, written
q b
冮 0
e-x dx = lim
b: q 冮 0
e-x dx
So
e-x dx = C -e-x D 0
b
冮
b
= 1-e-b2 - 1-e-02
= -e-b + 1
Then as b tends to infinity -e-b tends to zero, and the resulting integral has the
value 1, as before.
Many integrals having infinite limits cannot be evaluated in a simple way like this,
and many cannot be evaluated at all. Fortunately, most of the integrals you will meet
will exhibit the sort of behaviour seen in the last example.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 846
Exercises
q q
1 Find 11 e-x dx. 3 Find 12 e-3x dx.
q 0
2 Find 10 e-2x dx. 4 Find 1- q e7x dx.
Solutions to exercises
0.1
1 Find the value of the following integrals: 6 Find 10 3 tan 2x dx.
2 4
(a) 11 x2 + 1 dx (b) 13 x2 + 1 dx 0
p>4 1 7 Find 1-1 e-2x + e-3x dx.
(c) 10 sin x dx (d) 1-1 cos 2x dx
v
8 Find 1v12 sin v dv.
2 Find the value of the following integrals:
3 p
(a) 10 x2 + 7x - 2 dx
冮
1
9 Find 1 + t dt.
1 p
(b) 1-1 2x2 + x + 3 dx -p
b>2
3 Find 11 et dt.
3 10 Find 1-b>2 mbx2 dx.
2p p>2
冮 冮
b u u
11 Find (a) du, (b) 4 cos du,
冮
1
4 Find dr. 0 2 0 2
r p>2
a (c) 10 22 du.
b b
5 Show that 1a x3 dx = 1a t3 dt.
Solutions to exercises
10
1 (a) 3 (b) 403 (c) 0.293 (d) 0.909 8 cos v1 - cos v2
3 17.367 b4 m
10
12
ln b - ln a = ln a b
b
4
a p12
11 (a) p2 (b) 422 (c)
6 0.030 2
7 9.556
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 847
3.1 Introduction
Consider the graph of the function y(x) shown in Figure 3.1. Suppose we are inter-
ested in calculating the area underneath the graph and above the x axis, between the
points where x = a and x = b. When such an area lies entirely above the x axis, as
is clearly the case in Figure 3.1, this area is given by the definite integral
冮 y(x) dx
a
Key point The area under the curve y(x), between x = a and x = b, is given by
b
area = 冮
a
y(x) dx
when the curve lies entirely above the x axis between a and b.
Figure 3.1 y
The area bounded
by a graph is found y(x)
by evaluating an
integral. Area required
x
a b
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 848
Example 3.1 1
Calculate the area bounded by the curve y = and the x axis, between x = 1 and
x
x = 4.
Solution 1
The graph of y = , for x greater than 0, is shown in Figure 3.2. The area required is
x
shaded. This area lies entirely above the x axis.
Figure 3.2 y
The required area
lies entirely above
the x axis.
2 y 1x
1 Area required
x
O 1 2 3 4 5
冮
1
area = dx
1 x
C ln ƒ x ƒ D 1
4
=
= ln 4 - ln 1
= ln 4 since ln 1 = 0
= 1.386 (3 d.p.)
Example 3.2
Find the area bounded by the curve y = sin x and the x axis between x = 0 and
x = p.
Solution
The required area is shown in Figure 3.3. Note that it lies entirely above the x axis.
Calculate the area
sin x dx = C -cos x D 0 = 2
p
冮
p
Example 3.3
Find the area under f (x) = e2x from x = 1 to x = 3 given that the exponential func-
tion e2x is always positive.
Solution
Because e2x is positive, the area will lie above the x axis:
3 2x
e 3
area = 冮1
e2x dx = c d = 198
2 1
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 849
3.2 The area bounded by a curve lying above the x axis 849 17
Figure 3.3 y
The area found in
Example 3.2.
1
y sin x
Area required
x
O π
Example 3.4
Figure 3.4 shows the graphs of y = sin x and y = cos x for 0 … x … p2 . The
two graphs intersect at the point where x = p4 . Find the area that is shaded in
Figure 3.4.
Figure 3.4 y
The required area y sin x
is enclosed 1 y cos x
between two
curves. Area required
π
x
2
Solution
To find the shaded area we could calculate the area under the graph of y = sin x for
x between 0 and p4 , and subtract this from the area under the graph of y = cos x
between the same limits. Alternatively the two processes can be combined into one
and we can write
p>4
shaded area = 冮
0
cos x - sin x dx
p>4
= [sin x + cos x]0
1
If you are aware of the standard triangles you will know that sin p4 = cos p4 = ,
12
2
in which case the value of the integral is - 1 = 0.414. Alternatively you can
12
use your calculator to obtain this result directly.
t
a b
Solution
(a) When t = 1, v = 8 m s-1
(b) When t = 2, v = 17 m s - 1
(c) The distance travelled is given by the area under the velocity–time graph.
Write down the required integral:
2
冮
1
(3t2 + 5) dt
[t3 + 5t]21 = 18 - 6 = 12 m
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:35 AM Page 851
3.2 The area bounded by a curve lying above the x axis 851 17
We saw in Example 3.5 that the area under a velocity–time graph is interpreted as
‘distance travelled’. Example 3.6 illustrates another interpretation of the area under
a graph.
When the volume of a gas expands then work is done by the gas. If P denotes pres-
sure, V denotes volume and W denotes work done then
b
W = 冮 P dV
a
b
where a is the initial volume and b is the final volume. Note that the integral 1a P dV
is the area under a graph of P against V, as illustrated in Figure 3.6.
Figure 3.6 P
Shaded area is
b
given by 1a P dV
which is the work
done by the gas in
expanding from
volume a to
volume b.
a b V
PV1.3 = K
where K is a constant. Calculate the work done in expanding from an initial volume
of 3 cubic units to a final volume of 10 cubic units.
Solution
10
W = 冮
3
P dV
V -0.3 10
= Kc d
-0.3 3
310 - 3-0.34
-K -0.3
=
0.3
= 0.727K
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 852
Exercises
1 Find the area bounded by the curve y = x3 (a) Find the distance travelled by the object
between x = 0 and x = 2. between t = 0 s and t = 2 s.
(b) Find the average velocity between t = 0
2 Find the area bounded by the curve y = 3t2 and t = 2.
between t = -3 and t = 3.
5 Thermodynamics – Expansion of a gas.
1 The pressure, P, and volume, V, of a gas are
3 Find the area under y = between x = 1 and related by
x2
x = 10. PV 2 = 10
4 Mechanical Engineering – Area under a Calculate the work done when the gas expands
velocity–time graph. The velocity v (m s-1) from V = 5 cubic units to V = 9 cubic units.
of an object varies with time, t, according to
v(t) = t3 + 1
Solutions to exercises
1 4 4 (a) 6 m (b) 3 m s - 1
8
2 54 5 9
3 0.9
3.3 The area bounded by a curve, parts of which lie below the x axis
Figure 3.7 shows a graph of y = -x2 + 1. The shaded area is bounded by the x axis
and the curve, but lies entirely below the x axis.
Figure 3.7 y
Areas lying below
the x axis need y x2 1
special care.
x
2 1 1 2 3
Area required
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 853
3.3 The area bounded by a curve, parts of which lie below the x axis 853 17
2
Let us evaluate the integral 11 -x2 + 1 dx.
2 2
x3
冮1
-x2 + 1 dx = c -
3
+ xd
1
23 13
= a- + 2b - a - + 1b
3 3
7
= - + 1
3
4
= -
3
The evaluation of the area yields a negative quantity. There is no such thing as a neg-
ative area. The area is actually 43 , and the negative sign is an indication that the area
lies below the x axis.
If an area contains parts both above and below the horizontal axis, care must be
taken when trying to calculate this area. It is necessary to determine which parts of the
graph lie above the horizontal axis and which lie below. Separate integrals need to be
calculated for each ‘piece’ of the graph. This idea is illustrated in the next example.
Example 3.7
Find the total area enclosed by the curve y = x3 - 5x2 + 4x and the x axis between
x = 0 and x = 3.
Solution
We need to determine which parts of the graph, if any, lie above and which lie below
the x axis. To do this it is helpful to consider where the graph cuts the x axis. So we
consider the function x3 - 5x2 + 4x and look for its zeros.
x3 - 5x2 + 4x = x(x2 - 5x + 4)
= x(x - 1)(x - 4)
So the graph cuts the x axis when x = 0, x = 1 and x = 4. Also, when x is large and
positive, y is large and positive since the term involving x3 dominates. When x is large
and negative, y is large and negative for the same reason. With this information we
can sketch a graph showing the required area. If you have access to a graphics calcu-
lator or computer package this is a trivial matter. The graph is shown in Figure 3.8.
Figure 3.8
y
This area must be
calculated in two y x3 5x2 4x
parts.
x
1 2 3 4 5
Area required
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 854
From the graph we see that the required area lies partly above the x axis (when
0 … x … 1) and partly below (when 1 … x … 3). So we evaluate the integral in two
parts.
Firstly,
1 1
x4 5x3 4x2
冮0
x3 - 5x2 + 4x dx = c
4
-
3
+
2 0
d
= a - + 2b - (0)
1 5
4 3
7
=
12
This is the part of the required area that lies above the x axis.
Secondly,
3 3
x4 5x3 4x2
冮1
x3 - 5x2 + 4x dx = c
4
-
3
+
2 1
d
= a + 18b - a - + 2b
81 135 1 5
-
4 3 4 3
81 7
= - -
12 12
88
= -
12
22
= -
3
This represents the part of the required area that lies below the x axis. The actual area
is 22
3.
Combining the results of the two separate calculations we can find the total area
bounded by the curve:
7 22
area = +
12 3
95
=
12
Example 3.8
(a) Sketch the graph of y = sin 2x for 0 … x … p.
p
(b) Find the total area bounded by the curve and the x axis between x = and
3p 3
x = .
4
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 855
3.3 The area bounded by a curve, parts of which lie below the x axis 855 17
Solution
Sketch the graph and indicate the required area noting where the graph crosses the
x axis.
y y sin 2x
Area required
π x
p>2 p>2
冮 sin 2x dx = c - d
cos 2x 1
=
p>3 2 p>3 4
Now evaluate the integral for finding the area below the x axis.
3p>4
冮
1
sin 2x dx = -
p>2 2
1 1 3
+ =
4 2 4
Exercises
1 Find the total area enclosed between the x axis 5 Find the area bounded by y = ex, the y axis,
and the curve y = x3 between x = -1 and the x axis and the line x = 2.
x = 1.
6 Find the area enclosed between
2 Find the area under y = cos 2t from t = 0 to y = x(x - 1)(x - 2) and the x axis.
t = 0.5.
7 Find the area enclosed by the graph of
3 Find the area enclosed by y = 4 - x2 and the 1
x axis from (a) x = 0 to x = 2, (b) x = -2 to y = between t = 0 and t = 1.
29 - 4t2
x = 1, (c) x = 1 to x = 3.
Solutions to exercises
1 0.5 5 e2 - 1
1
2 0.4207 6 2
3 (a) 16
3 (b) 9 (c) 4 7 0.365
4 0.5
1 Find the area enclosed by y = 4t - t2 and the 3 Find the area enclosed by the curve
t axis between t = 1 and t = 2. y = -x2 + 6x - 5 and the x axis.
2 Find the area enclosed between the curves 4 Find the total area enclosed by the graph of the
y = x2 - 2x and y = 4 - x2. function y = x3 - 4x and the x axis.
Solutions to exercises
1 323 3 10.667
2 9 4 8
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 857
4.1 Introduction
Computer software packages are readily available that can integrate. The results that
they produce fall into two categories, symbolic and numerical.
For many indefinite integrals, 1 f (x) dx, it is possible for the computer to obtain a
symbolic answer in terms of common functions such as exponential, trigonometrical
or polynomial functions. Furthermore, the computer can evaluate exactly many defi-
b
nite integrals, 1a f (x) dx, often by leaving an answer in the form of a fraction, or in
surd form, or using common mathematical constants such as p and e. We shall illus-
trate such use of computer software.
For some integrals it is impossible to obtain a symbolic answer. However, there
are techniques for approximating definite integrals. Such techniques are called
numerical methods, and two of these, the trapezium rule and Simpson’s rule, are
explained here. Because such methods require substantial calculation they are very
laborious to perform by hand. So, they are best implemented using a computer. We
shall be content to illustrate the principles involved on simple examples, and then use
software to tackle more substantial problems.
Computer software designed for tackling mathematical problems invariably has the
facility to integrate. This is certainly true of Matlab and Maple. You should work
through the following examples using the package to which you have access. You
may need to refer to local documentation. Some of the packages may require you to
call, or load, an additional piece of software (e.g. a symbolic toolkit). You will note
from the examples below that the particular commands and syntax required by the
different packages vary, but often only slightly. Most packages provide extensive
on-line help and examples to which you should refer for further details as required.
Solution
Maple
In Maple the command to perform this integration is
int(x*cos(x)^2,x);
Matlab
In Matlab, to perform this calculation it is necessary first to declare that x is a symbol
using the command
syms x
int(x*cos(x)^2,x)
ans=
x*(1Ⲑ2*cos(x)*sin(x)+1Ⲑ2*x)+1/4*cos(x)^2-1Ⲑ4*x^2
This is equivalent to the answer produced by Maple although it is not set out in as
friendly a form.
冮
1
Find dt.
1 t
Solution
Maple
In Maple the command to perform this integration is
int(1Ⲑt,t=1..2);
Matlab
In Matlab, the symbol t must be declared before integrating:
syms t
int(1/t,1,2)
ans = log(2)
Again, this answer is equivalent to that produced by Maple although given in a different
form.
Example 4.3
3
Find 10 1x dx.
Solution
Maple
The command to perform this integration is
int(sqrt(x), x=0..3);
Matlab
syms x
int(sqrt(x),0,3)
ans = 2*3^(1/2)
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 860
Computer packages can find indefinite integrals when one or both limits is infinity.
Consider the following example.
Example 4.4 Finding definite integrals with infinite limits of
integration
q 2
Find 1- q e-x dx.
Solution
Maple
The Maple command to evaluate this integral is
int(exp(-x^2),x = -infinity..infinity);
Matlab
syms x
int(exp(-x^2),-inf,inf)
with output
ans = pi^(1/2)
Although symbolic algebra packages are extremely powerful, there are nevertheless
some integrals that are beyond their scope. In such cases you will either be warned
that an explicit solution could not be found, or the expression you input may be
returned to you unevaluated. For example, try to use a package to find 1 x x dx.
Computer algebra packages are sophisticated products. Because they are designed for professionals their
scope extends way beyond an introductory textbook like this one. Some of the computer output may well be
given in terms of functions with which you are not familiar. This is normal, and when necessary you will need
to explore these functions further.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 861
冮
sin x
following integrals exactly: 4 dx
3 0 x
冮
1
1 dx 1
1x 1-1 e dt where j is the complex number with
-jvt
2 5
2
2
j = -1.
2 1 x sin x dx
1 te
-st
3 dt
Solutions to exercises
We have seen the power of computer packages for performing some definite and
indefinite integrals. We have also seen that not all functions can be integrated,
and so not all integrals can be found exactly. However, techniques do exist for
finding approximations to definite integrals. These techniques are called numeri-
cal methods.
Trapezium rule
b
We have seen in Block 3 that the definite integral 1a f(x) dx can be thought of as
the area lying under the graph of f(x) for a … x … b. This observation leads us to
the following method for approximating the integral. We estimate the area lying
under the graph and use this as an estimate of the integral. In the trapezium rule, the
area under f(x) between x = a and x = b is divided into several vertical strips, and
the area of each strip is estimated by assuming that it has the shape of a trapezium.
Consider Figure 4.1. Suppose that we divide the area under y = f(x) from x = a to
x = b into n strips. We denote the width of each strip by h. Note that since the
b - a
distance from x = a to x = b is b - a, then the width of each strip is .
n
The lengths of the sides of the strips are denoted by y0, y1, . . . , yn.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 862
x=a x=b x
Now the area of the first trapezium of width h, which has sides of heights y0
h h
and y1, is (y0 + y1). Similarly the area of the second strip is (y1 + y2). We
2 2
continue in this way until the areas of all the strips have been found. The area of the
h
final strip is (yn - 1 + yn).
2
Consequently we can estimate the total area as
h h h h
area L (y0 + y1) + (y1 + y2) + (y2 + y3) + . . . + (yn - 1 + yn)
2 2 2 2
which can be simplified to
h
area L (y + 2y1 + 2y2 + . . . + 2yn - 1 + yn)
2 0
Key point b - a
Trapezium rule: with n strips, and h = ,
n
b
冮
h
f (x) dx L (y + 2y1 + 2y2 + . . . + 2yn - 1 + yn)
a 2 0
Example 4.5
2
冮
1
Use the trapezium rule with eight strips to estimate dx. Work throughout to six
1 x
decimal places and quote your final result to four decimal places.
Solution
In this example a = 1, b = 2 and n = 8. We are dividing the area under the graph
1
of y = from x = 1 to x = 2 into eight strips, and so the width of each strip will be
x
2 - 1
h = = 0.125. We must calculate the lengths of the sides of each of the strips,
8
1
y0, y1, . . . , y8. These are simply the respective y values calculated from y = . It is
x
helpful, and conventional, to set these out as in Table 4.1. The table has been laid out
in the way shown because all y values other than the first and last will be multiplied
by 2.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 863
1 y0 = 1.000000
1.125 y1 = 0.888889
1.25 y2 = 0.800000
1.375 y3 = 0.727273
1.5 y4 = 0.666667
1.625 y5 = 0 .615385
1.75 y6 = 0 .571429
1.875 y7 = 0 .533333
2 y8 = 0.500000
y0 + yn 1.500000
y1 + y2 + . . . + yn - 1 4.802976
Using the data in the table we can apply the trapezium rule formula:
2
冮
1 0.125
dx L (1.5000000 + 2(4.802976)) = 0.694122
1 x 2
So, to four decimal places we estimate the integral to be 0.6941. Compare this with
the exact value ln 2 = 0.6931 (4 d.p.).
Simpson’s rule
Simpson’s rule is a more sophisticated technique, which results in a more accurate
estimate of the definite integral. It can be applied only when there is an even number
of strips.
We state and use Simpson’s rule without deriving it. For specific details refer to a
textbook on numerical methods for engineers.
Key point b - a
Simpson’s rule: with n (even) strips, and h = ,
n
b
冮
h
f (x) dx L (y + 4y1 + 2y2 + 4y3 + . . . + 2yn - 2 + 4yn - 1 + yn)
a 3 0
It can be helpful to remember this formula as
Example 4.6
2
冮
1
Use Simpson’s rule with eight strips to estimate dx.
1 x
As in the previous example it is helpful to set out the data as in Table 4.2. It has been
laid out in this way because y1, y3, etc., will be multiplied by 4, whereas y2, y4, etc.,
will be multiplied by 2.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 864
Table 4.2
x y = 1>x
1 y0 = 1.000000
1.125 y1 = 0.888889
1.25 y2 = 0.800000
1.375 y3 = 0.727273
1.5 y4 = 0.666667
1.625 y5 = 0.615385
1.75 y6 = 0.571429
1.875 y7 = 0.533333
2 y8 = 0.500000
first + last, y0 + y8 1.500000
sum of odd terms, y1 + y3 + . . . + y7 2.764880
sum of even terms, y2 + y4 + . . . + y6 2.038096
Solution
Using the data in the table we can apply Simpson’s rule:
冮
1 0.125
dx L (1.500000 + 4(2.764880) + 2(2.038096)) = 0.693155
1 x 3
So, to four decimal places we can estimate the integral to be 0.6932. This compares
well with the exact answer ln 2, which is 0.6931 to 4 d.p.
Computer algebra packages have the facility to carry out numerical integration,
which means that the user can avoid lengthy and tedious arithmetical calculations.
Solution
We have seen previously that no symbolic expression exists for 1 x x dx. However,
computer packages can apply methods such as Simpson’s rule.
Maple
The command to perform the required numerical evaluation is
evalf(int(x^x,x = 1..4));
Matlab
We need a command quad, which stands for quadrature, the technical name for numeri-
cal integration.
Q = quad('x.^x',1,4)
ans = 113.3356
Exercises
1 Use the trapezium rule with the number of 2 Use Simpson’s rule with the number of strips
strips specified to approximate the following specified to approximate the following definite
definite integrals: integrals:
1 0.8
(a) 10 tan2 x dx, 4 strips (a) 10 tan2 x d x, 8 strips
1.6 2x 2
(b) 11 21 + x3 d x , 10 strips
冮
e
(b) dx, 3 strips
1 x2
Solutions to exercises
1 (a) 0.611069 (6 d.p.) (b) 4.906229 (6 d.p.) 2 (a) 0.229685 (6 d.p.) (b) 2.129862 (6 d.p.)
Solutions to exercises
Solutions to exercises
2025
1
3
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 867
Integration by parts
BLOCK 5
5.1 Introduction
Note that in the first example the integrand is the product of the functions e2x and
sin 3x, and in the second example the integrand is the product of the functions x3
and e-2x. Note also that we can change the order of the terms in the product if we
wish and write
1
冮 ua dx b dx = uv - 冮 va dx b dx
dv du
冮 b dx = [uv]ba - 冮 va dx b dx
dv du
ua
a dx a
• The formula replaces one integral, the one on the left, with a different integral,
that on the right. The intention is that the latter is simpler to evaluate.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 868
dv
• The integrand on the left-hand side is the product of the terms u and . To apply
dx
the formula to a particular example we must let one function in the product equal u.
du
We must be able to differentiate this function to find . We let the other function in
dx
dv
the product equal . We must be able to integrate this function, to find v.
dx
Example 5.1
Find 1 x sin x dx.
Solution
Compare the required integral with the formula for integration by parts: we see that
it makes sense to choose
dv
u = x and = sin x
dx
It follows that
冮 sin x dx = -cos x
du
= 1 and v =
dx
dv
(When integrating to find v there is no need to worry about a constant of
dx
integration. When you become confident with the method, you may like to think
about why this is the case.) Applying the formula we obtain
冮 x sin x dx = uv - 冮 v a dx b dx
du
= x(-cos x ) - 冮 (-cos x) # 1 dx
= -x cos x + 冮 cos x dx
= -x cos x + sin x + c
Example 5.2
Find 1 (5x + 1) cos 2x dx.
Solution
dv du
Let u = 5x + 1 and = cos 2x. Now calculate and v.
dx dx
冮 cos 2x dx =
du sin 2x
= 5 and v =
dx 2
冮
(5x + 1) sin 2x sin 2x
- 5 dx
2 2
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 869
(5x + 1) sin 2x 5
+ cos 2x + c
2 4
Example 5.3
2
Find 10 xex dx.
Solution
dv du
We let u = x and = ex. Then = 1 and v = ex. Using the formula for integra-
dx dx
tion by parts we obtain
2 2
冮 xe dx =
0
x 2
[xex]0 -
0
冮 e # 1 dx
x
x 2
= 2e2 - [e ]0
= 2e2 - [e - 1]2
Sometimes it is necessary to apply the formula more than once, as the next example
shows.
Example 5.4
2
Find 10 x2ex dx.
Solution
We let
dv
u = x2 and = ex
dx
Then
du
= 2x and v = ex
dx
Using the formula for integration by parts we find
2 2
冮0
x2ex dx = [x2ex]0 -
2
冮 2xe dx
0
x
2
= 4e2 - 2 冮 xe dx
0
x
The remaining integral must be integrated by parts also, but we have just done this in
the previous example. So
2
冮 x e dx = 4e
0
2 x 2
- 2[e2 + 1]
= 2e2 - 2
= 12.778 (3 d.p.)
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 870
Example 5.5
p>4
Find 10 (4 - 3x) sin x dx.
Solution
dv du
Take u = 4 - 3x and = sin x. State .
dx dx
du
= -3
dx
State v.
v = -cos x
p>4
冮0
(4 - 3x) sin x dx =
p>4
[(4 - 3x)(-cos x)]p0>4 - 3 冮
0
cos x dx
0.716
Example 5.6
Let I stand for the integral
冮e -x
sin x dx
du
= -e-x
dx
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 871
v = -cos x
I = 冮e -x
sin x dx =
This simplifies to I = -e-x cos x - 1 e-x cos x dx. This integral must now be
dv
evaluated by parts. Still with u = e-x, and taking = cos x, perform the integration.
dx
At this stage it looks as though we have gone round in a circle because the integral
remaining is the same as the one we started with. However, writing this as I we find
I = -e-x cos x - e-x sin x - I
so that
2I = -e-x cos x - e-x sin x
from which
-e-x cos x - e-x sin x
I =
2
We conclude that
-e-x cos x - e-x sin x
I = + c
2
Exercises
In some questions it may be necessary to apply the 4 Find (a) 1 tan-1 x dx, (b) 1 -7x cos 3x dx,
formula more than once. (c) 1 5x2e3x dx, (d) 1 (x + 1)ex dx.
1 Find (a) 1 x sin(2x) dx, (b) 1 te3t dt, 5 Find (a) 1 x cos kx dx, (b) 1 z2 cos kz dz,
(c) 1 x cos x dx. where k is a constant.
2 Find 1 (x + 3) sin x dx. 6 Find 1 te-st dt where s is a constant.
3 By writing ln x as 1 * ln x find 1 ln x dx. 7 Find 1 t2e-st dt where s is a constant.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 872
冮e
1 p>2
(a) 10 x cos 2x dx (b) 10 x sin 2x dx ax
cos bx dx
1 2t
(c) 1-1 te dt
eax (a cos bx + b sin bx)
2
= + c
a2 + b2
9 Find 冮 (x + 2) sin x dx.
1
1
10 Find 冮 (x
0
2
- 3x + 1)ex dx.
Solutions to exercises
3 Let In stand for the integral 1 sinn x dx, so for integral such as 1 sin4 x dx to one involving
example I4 means 1 sin4 x dx. By writing sinn x sin2 x and then to one involving sin0 x or
as sinn-1x sin x and using integration by parts simply 1. Use the reduction formula to find
show that 6
1 sin x dx.
1 n - 1
In = - sinn - 1 x cos x + In - 2 4 Obtain a reduction formula for 1 cosn x dx.
n n
Such a formula is called a reduction formula.
Used repeatedly it can be used to reduce an
Solutions to exercises
sin 4t t cos 4t
1 (a) - + c 2 (a) 1.437 (b) 172.154 (c) 0.522
16 4
3 I6 = - 16 sin5 x cos x - 5
24 sin3 x cos x
e-5t(5t + 1)
(b) - + c 5 5x
25 - 16 sin x cos x + 16 + c
e3x(3x - 1) 1 n - 1
(c) + c 4 In = cosn - 1 x sin x + In - 2
3 n n
(d) ex(3x - 1) + c
Integration by substitution
BLOCK 6
6.1 Introduction
The technique described in this block involves making a substitution in order to sim-
plify an integral or make it more amenable to integration. There are many different
ways in which a substitution can be made. For example, we may let a new variable,
u say, equal a more complicated part of the function we are trying to integrate. The
choice of which substitution to make often relies upon experience: don’t worry if at
first you cannot see an appropriate substitution. This skill develops with practice.
However, it is not simply a matter of changing the variable – care must be taken with
the term dx, as we shall see.
冮
f ¿(x)
Integrals of the form dx can be dealt with in a particularly simple way as
f (x)
we show in Section 6.4. In Section 6.5 we provide a table of suggested substitutions
to be tried in some more difficult cases.
Example 6.1
Find 1 (3x + 5)6 dx.
Solution
First, look at the function we are trying to integrate: (3x + 5)6. It looks quite a com-
plicated function to integrate. Suppose we introduce a new variable, u, such that
u = 3x + 5. Doing this means that the function we must integrate becomes u6.
Would you not agree that this looks a much simpler function to integrate than
(3x + 5)6? There is a slight complication, however. The new function of u must be
integrated with respect to u and not with respect to x. This means that we must take
care of the term dx correctly. It is not simply a matter of changing the dx to du. From
the substitution
u = 3x + 5
note, by differentiation, that
du
= 3
dx
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 875
冮 (3x + 5) dx = 冮 u
6 6 1
du
3
冮 (3x + 5) dx = 3 冮 u
6 1 6
du
1 u7
= + c
3 7
u7
= + c
21
To finish off we must rewrite this answer in terms of the original variable x and
replace u by 3x + 5:
(3x + 5)7
冮 (3x + 5)6 dx =
21
+ c
Example 6.2
By making the substitution u = 2x - 7 find 1 cos(2x - 7) dx.
Solution
First differentiate the given substitution.
du
= 2
dx
Hence write down an expression for dx.
1
dx = du
2
Now the integral can be written entirely in terms of the variable u:
1 1
sin u + c = sin (2x - 7) + c
2 2
M17_CROF5939_04_SE_C17.QXD 9/27/18 9:22 AM Page 876
Example 6.3
By means of the substitution u = 1 - x2, find the integral 1 x21 - x2 dx.
Solution
First differentiate u = 1 - x2.
du
= -2x
dx
冮 x21 - x d x = 冮 1u du
2 1
-
2
1 u3>2 1
- + c = - u3>2 + c
2 3>2 3
(1 - x2)3>2
- + c
3
Example 6.4
冮
1
Find 2
ds.
s + 6s + 18
Solution
By completing the square in the denominator we can write the integral as
冮 (s + 3)
1
2
ds
+ 9
冮x dx = tan-1 a b + c
1 1 x
2 2 a a
+ a
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 877
冮x
1
2
dx
+ 32
tan-1 a b + c
1 s + 3
3 3
Exercises
冮 (x + 1) 冮 (2x + 3)
1 Use a substitution to find 1 1
4 Find (a) 2
dx, (b) 3
dx.
(a) 1 (4x + 1)7 dx (b) 1 t2 sin(t3 + 1) dt
(hint: let u = t3 + 1) (c) 1 sin(3x - 1) dx
5 Find 1 cos(1 - x) dx.
(d) 1 e2x - 3 dx (e) 1 x(2x2 + 7)4 dx
(f) 1 sin2 4t cos 4t dt 6 By factorising the denominator and making a
substitution find
2 Find (a) 1 3e-x - 1 dx, (b) 1 4 sin(3x + 7) dx.
冮t
1
2
dt
3 By making the substitution u = 3x, and using - 2t + 1
the laws of logarithms, find 1 3x dx.
Solutions to exercises
If you are dealing with definite integrals (ones with limits of integration) you must
be particularly careful when you substitute. Consider the following example.
Example 6.5
3
Find 12 t sin(t2) dt by making the substitution u = t2.
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 878
Solution
du du
Note that if u = t2 then = 2t so that dt = . We find
dt 2t
t=3 t=3
冮 冮
du
t sin(t2) dt = t sin u
t=2 t=2 2t
t=3
冮
1
= sin u du
2 t=2
An important point to note is that the limits of integration are limits on the variable t,
not on u. To emphasise this they have been written explicitly as t = 2 and t = 3.
When we integrate with respect to the variable u, the limits must be written in terms
of u too. From the substitution u = t2, note that
when t = 2, u = 4 and when t = 3, u = 9
so the integral becomes
u=9
冮
1 1 9
sin u du = [-cos u]4
2 u=4 2
1
= (-cos 9 + cos 4)
2
= 0.129
Example 6.6
4
By making the substitution u = t + 1 find 11 t1t + 1 dt.
Solution
State the corresponding limits on u: 2, 5
Make the substitution and obtain an integral in terms of u:
冮 (u - 1)1u du
2
This integration can be performed by removing the brackets and integrating each
term separately. Finish the solution:
5 3 2
Exercises
Solutions to exercises
冮 f (x) dx
f ¿(x)
6.4 Integrals of the form
Example 6.7
(3x2 + 1)
Find 冮
x3 + x + 2
dx.
Solution
Let us consider what happens when we make the substitution z = x3 + x + 2. Note
that
dz
= 3x2 + 1
dx
so that we can write
dz = (3x2 + 1) dx
Then
(3x2 + 1)
冮x 冮z
dz
3
dx =
+ x + 2
= ln ƒ z ƒ + c
= ln ƒ x3 + x + 2 ƒ + c
Note that, in the previous example, the numerator of the integrand is the derivative of
the denominator. The result is the logarithm of the denominator. This is a special
case of the following rule, which should be remembered:
Key point
冮 f (x)
df>dx
dx = ln ƒ f (x) ƒ + c
Example 6.8
Write down, purely by inspection, the following integrals:
冮 x + 1 dx (b) 冮 x 冮 x - 3 dx
1 2x 1
(a) 2
dx (c)
+ 8
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 880
Solution
(a) ln ƒ x + 1 ƒ + c
(b) ln ƒx2 + 8 ƒ + c
(c) ln ƒ x - 3 ƒ + c
Example 6.9
4
3t2 + 2t
Evaluate 3冮 2
2 t + t + 1
dt by inspection.
Solution
C ln ƒ t3 + t2 + 1 ƒ D 2 = ln 81 - ln 13 = 1.83
4
Solution
In this example the derivative of the denominator is 3x2 whereas the numerator is just
x2. We adjust the numerator as follows:
x2 3x2
冮 冮
1
dx = dx
x3 + 1 3 x3 + 1
Note that this sort of procedure is possible only because we can move constant fac-
tors through the integral sign. It would be wrong to try to move terms involving x in
a similar way. Then
3x2
冮
1 1
3
dx = ln ƒ x3 + 1 ƒ + c
3 x + 1 3
Example 6.11
Solution
冮 1 - x dx = 冮 1 - x dx
1 -1
-
冮 1 - x dx =
1
-ln ƒ 1 - x ƒ + c
M17_CROF5939_04_SE_C17.QXD 10/16/18 7:35 AM Page 881
Exercises
冮 2x + 5 dx (d) 冮 3x - 2 dx
1 2
冮 冮t
1 2t (c)
(a) dx (b) 2
dt
x + 1
Solutions to exercises
The range of possible substitutions is so wide and varied that it is impossible to give
examples of every type here. However, Table 6.1 provides some suggestions for
evaluating 1 f (x) dx when f (x) takes particular forms.
Table 6.1
f(x) contains make the substitution:
dx
2a2 - x2 x = a sin u = a cos u
du
dx
x = a tanh u = a sech 2 u
du
dx
2a2 + x2 x = a sinh u = a cosh u
du
dx
x = a tan u = a sec 2 u
du
dx
2x 2 - a2 x = a cosh u = a sinh u
du
dx
x = a sec u = a sec u tan u
du
2t 1 - t2 dx 2
sin x, cos x sin x = 2
, cos x = 2
, =
1 + t 1 + t dt 1 + t2
x
where t = tan
2
t 1 dx 1
sin2 x, cos2 x sin x = , cos x = , =
21 + t 2
21 + t 2 dt 1 + t2
where t = tan x
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 882
Example 6.12
By making a hyperbolic substitution, find 1 21 + x2 dx . You will also need to
make use of the hyperbolic identities:
1 + cosh 2u
cosh2 u - sinh2 u = 1, cosh2 u =
2
Solution
Study the form of the integrand and use Table 6.1 to select an appropriate substitution.
x = sinh u
dx
It follows that = cosh u.
du
Make the substitution and use the first of the identities to obtain an integral in
terms of u.
The second of the identities allows us to rewrite the integral in the form
冮
1 + cosh 2u
du
2
1 sinh 2u
u + + c
2 4
From x = sinh u it follows that u = sinh -1 x and so in terms of the original vari-
able, x, we have
1 1
sinh-1 x + sinh(2 sinh-1 x) + c
2 4
This integral arises when calculating the length of a quadratic curve as you will see
in Chapter 18, Block 5.
Example 6.13
冮 1 + cos x + sin x .
dx
Find
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 883
冮1 + t
dt
冮 1 + cos x + sin x
dx 1
= lna1 + tan xb + c
2
Exercises
1 dx 1
冮 24 - x
x
1 Find dx. (b) cos x = , (c) = .
2 21 + t 2 dt 1 + t2
x/2
Figure 6.1
1
t 6 Show that
p>2
冮
1 1
dx = ln 6.
0 3 cos x + 4 sin x 5
x
1
M17_CROF5939_04_SE_C17.QXD 9/27/18 9:25 AM Page 884
Solutions to exercises
1 - 2(4 - x2) + c p 13
3
9
sinh(2 cosh-1 x) cosh-1 x
2 - + c
4 2
冮 4x - 3 dx. 冮 (2 - x)
1 7
1 Find 5 Find 3
dx.
4
Find 1 (9 - 2t)7 dt.
冮 2t
t 6
2 Find dt.
2
3 - 3
冮 23 + y dy .
1
p>3 7 Find
3 Find 冮 0
cos3 x sin x dx.
冮
ln x
8 Find dx by making the substitution
冮 (x + 2)
3 x
4 Find 2
dx. z = ln x.
Solutions to exercises
1 1
ln(4x - 3) + c (9 - 2t)8
4 6 - + c
16
2 1.156
7 2(3 + y)1>2 + c
3 0.234
(ln x)2
3 8 + c
4 - + c 2
x + 2
7
5 + c
2(2 - x)2
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 885
7.1 Introduction
Often the technique of partial fractions can be used to write an algebraic fraction as
the sum of simpler fractions. On occasions this means that we can then integrate a
complicated algebraic fraction. We shall explore this approach in this block. A
thorough understanding of the various forms that partial fractions can take is an
essential prerequisite.
Sometimes expressions which at first sight look impossible to integrate using the
techniques already met may in fact be integrated by first expressing them as simpler
partial fractions, and then using the techniques described earlier in this chapter.
Consider the following example.
Example 7.1
By expressing the integrand as the sum of its partial fractions find
冮 (x + 7)
2x + 11
2
dx
Solution
The denominator of the integrand contains a repeated linear factor (x + 7)2. The
appropriate form of partial fractions is
2x + 11 A B
2
= +
(x + 7) x + 7 (x + 7)2
Then
2x + 11 = A (x + 7) + B
from which, by letting x = -7, we find -3 = B. Equating coefficients of x, for
example, gives A = 2. The integral becomes
冮 x + 7 - (x + 7)
2 3
2
dx
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 886
冮 x + 7 dx = 2 ln ƒ x + 7 ƒ + c
2
du
The second integral can be evaluated by making a substitution u = x + 7, = 1,
dx
to give
冮 (x + 7) 冮u
3 3
2
dx = 2
du
3
= - + c
u
3
= - + c
x + 7
Finally, putting both parts together we find
冮 (x + 7)
2x + 11 3
2
dx = 2 ln ƒ x + 7 ƒ + + K
x + 7
Example 7.2
Express
23 - x
(x - 5)(x + 4)
as the sum of its partial fractions. Hence find
冮 (x - 5)(x + 4) dx
23 - x
Solution A B
First produce the partial fractions (hint: write the fraction in the form + ):
x - 5 x + 4
A = 2, B = -3
Then integrate each term separately.
2 ln ƒ x - 5 ƒ - 3 ln ƒ x + 4 ƒ + c
Exercises
冮x 冮 6x
1 13x - 4
1 3
dx 2 2
dx
+ x - x - 2
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 887
冮 (x + 1)(x - 5) dx 冮x
1 1
3 5 2
dx
- 2x - 1
冮 (x - 1) (x + 1) dx
2x
4 2
Solutions to exercises
1 1
1 ln ƒ x ƒ - 2 ln ƒ x2 + 1 ƒ + c 4 - 12 ln ƒ x + 1 ƒ + 1
ln ƒ x - 1 ƒ - + c
2
x - 1
3 2
2 ln ƒ 2x + 1 ƒ + ln ƒ 3x - 2 ƒ + c x - 1 - 22
ln a b
2 3 1
5
3 1
ln ƒ x - 5 ƒ - 1
ln ƒ x + 1 ƒ + c 222 x - 1 + 22
6 6
冮x 冮 (1 - 2x)(2 - x) dx.
3x - 17 15x - 6
1 Find 2
dx. 5 Find
- 2x - 3
冮 (x - 2) (x + 1) dx.
3 - x
4 Find 2
Solutions to exercises
8.1 Introduction
冮 sin t dt
2
冮 sin mt cos nt dt
In this block you will learn how such integrals can be evaluated.
Simple integrals involving trigonometrical functions have already been dealt with
in Block 1. See what you can remember.
Example 8.1
Write down the following integrals:
(a) 1 sin x dx (b) 1 cos x dx (c) 1 sin 2x dx (d) 1 cos 2x dx
Solution
(a) -cos x + c
(b) sin x + c
cos 2x
(c) - + c
2
sin 2x
(d) + c
2
The basic rules from which these results can be derived are summarised here:
Key point
冮 sin kx dx = - 冮 cos kx dx =
cos kx sin kx
+ c, + c
k k
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 889
冮 sin x dx
2
or 冮 cos vt dt
2
Note that these integrals cannot be obtained directly from the formulae in the Key point
above, which involve multiples of the variable x rather than powers of trigonometrical
functions. However, by making use of trigonometrical identities the integrands can be
rewritten in an alternative form. It is often not clear which identities are useful, and
each case needs to be considered individually. Experience and practice are essential.
Work through the following example.
Example 8.2
Use the trigonometrical identity
1
sin2 u = 2 (1 - cos 2u)
1
1 2 (1 - cos 2x) dx
Note from the last example that the trigonometrical identity was used to convert
a power of sin x into a function involving cos 2x, which can be integrated directly.
Example 8.3
Find the integral 1 sin2 x dx.
Solution
ax -
1 sin 2x 1 1 c
+ cb = x - sin 2x + K where K =
2 2 2 4 2
Example 8.4
Use the trigonometrical identity sin 2x = 2 sin x cos x to find
1 sin x cos x dx
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 890
Solution
Use the identity to rewrite the integrand.
冮 2 sin 2x dx
1
冮 2 sin 2x dx =
1 1
- cos 2x + c
4
Example 8.5
Find 1 2 sin 7x cos 3x dx.
Solution
In this example you will need to make use of the trigonometrical identity
2 sin A cos B = sin(A + B) + sin(A - B)
Use this identity to rewrite the integral:
Example 8.6
Find 1 sin3 x cos3 x dx.
Solution
To perform this calculation you will need to use a trigonometrical identity, and also
use a substitution (see Block 6).
Make the substitution u = sin x.
du
Write down .
dx
cos x
Write cos3 x as cos2 x cos x and use the trigonometrical identity cos2 x = 1 - sin2 x.
Try to obtain an integral in terms of u.
冮u 3
- u5 du
sin4 x sin6 x
Complete the calculation: - + c
4 6
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 891
Exercises
冮
1
( f (t))2 dt
p>2 2 b - a
10 cos
2 Find t dt. a
Solutions to exercises
1 1
1 2 x + 4 sin 2x + c 5 tan x + c
p 1
2 6 2
4
a b + c
3 u + c 1 sin(m - n)t sin(m + n)t
7 -
cos 5x cos x 2 m - n m + n
4 - - + c
10 2
8 1 tan x dx = ln sec x + c
p
5 Find 1-p sin2 t dt. 8 Find 1 sin t sin 2t dt.
p
6 Find 1-p cos2 3t dt. 9 Find 1 sin2 x + cos2 x dx.
Solutions to exercises
x sin 4x
1 - + c 6 p
2 8
sin 8x sin 2x
1 7 + + c
2 - cos 6x + c 16 4
12
sin t sin 3t
5 8 - + c
3 - cos 2t + c 2 6
4
9 x + c
cos 2vt
4 - + c
4v 10 (cos p)x + c = - x + c
5 p
冮 2t
1 Find the following integrals using an 3
(i) dt
appropriate technique selected from this 2
+ 0.25
chapter:
1
(j) 1- 1cosh 3t dt
冮4 + x
1
(a) dx 3
冮1+x
2
1
(k) 2
dx
2
(b) 1 cos x dx 1
冮 2100 - 4x dx
1
冮 4 - t dt
1 (l)
(c) 2
p
(d) 10 cos t dt
冮
x
(m) x cos dx
1.2 2
(e) 11 tan x dx
(n) 1 3x dx
2x2 + x + 2
(f) 冮 x3 + x
dx (o) 1 sec t dt
冮 x(x - 3) dx
1
冮 16 - x
1 (q)
(h) 2
dx
M17_CROF5939_04_SE_C17.QXD 9/27/18 8:36 AM Page 893
2 2 t
12 If In = 1 xn e2x dx show that
(v) 10 t e dt
xne2x n
In = - In - 1.
(w) 1 cos x2sin x dx 2 2
冮x
x2 2x + 7
(x) 冮x 3
+ 1
dx 13 Find 2
+ 7x
dx.
冮 (e )
7
冮 3 - x dx.
(z) dt 4
t 7 15 Find
冮
1
冮x
ln(1 + tan t) dt = p ln 2. 1
0 8 19 Find 2
dx.
- 4x + 3
1
冮1+x
1 + 2x 20 Mechanical Engineering – Distance travelled
4 Find 2
dx.
0 by a projectile. The velocity, v(t), in m s-1, of
a projectile is given by
冮 (1 - x)1x .
dx
5 Find v(t) = 10e-t t Ú 0
(a) Calculate the distance travelled in the first
6 By means of the substitution x = sin 2 u find 3 seconds.
(b) Calculate the average speed over the first
冮
x
dx. 3 seconds.
A1 - x
21 Thermodynamics. The pressure, P, and
冮
x
7 Find dx. volume, V, of a gas are connected by
Ax - 2
PV 0.9 = 106
p>4
8 Find 冮 0
sin2 t dt. Calculate the work done by the gas as it
expands in volume from 100 to 1000 units.
M17_CROF5939_04_SE_C17.QXD 11/28/18 7:45 PM Page 894
Solutions to exercises
(a) 12 tan-1 a b + c
x 2 2 sin 1x - 21x cos 1x + c
1
2
4 1.479
ax + b + c (c) —ln (4 - t) + c
1 sin 2x
(b)
2 2 1x - 1
5 -ln a b + c
-1
(d) 0 (e) 0.4 (f) tan x + 2 ln x + c 1x + 1
+ tan-1 a b + c
cos 6t 1 4 + x x x
(g) - + c (h) ln + c 6 (x - 1)
12 8 4 - x A1 - x A1 - x
tan(x>2)
tan-1 a b + c
2 17 0.5
(u)
3 3
18 0.5
(v) 12.778 (w) 23 (sin x)3>2 + c 1 1
19 2 ln(x - 3) - 2 ln(x - 1) + c
1 3
(x) ln(x + 1) + c
3
20 (a) 9.502 (b) 3.167
(y) 12 ln(2t + 3) + 3
2 ln(2t + 1) + c
21 4.104 * 106
(z) - e - 7t + c
M18_CROF5939_04_SE_C18.QXD 10/3/18 8:12 PM Page 895
Chapter 18
Applications of integration
Chapter 18 contents
1.1 Introduction
Consider the graph of the positive function y(x) shown in Figure 1.1. Suppose we are
interested in finding the area under the graph between x = a and x = b.
Figure 1.1 y
The area under a
curve.
y(x)
Area required
x
a b
One way in which this area can be approximated is to divide it into a number of
rectangles, find the area of each rectangle, and then add all these individual areas up.
This is illustrated in Figure 1.2(a), which shows the area divided into n rectangles,
and Figure 1.2(b), which shows the dimensions of a typical rectangle that is located
at x = xk.
Figure 1.2 y y
(a) The area
approximated by n δx
rectangles; (b) a y(x)
typical rectangle. n rectangles y(xk)
x x
a b xk
(a) (b)
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 898
b - a
n
It is conventional to label the width of each rectangle as dx. Suppose we label the x
coordinates at the left-hand side of the rectangles as x1, x2 up to xn. A typical rec-
tangle, the kth rectangle, is shown in Figure 1.2(b). Note that its height is y(xk).
Calculate its area:
y(xk) * dx
The sum of the areas is then
y(x1)dx + y(x2)dx + y(x3)dx + . . . + y(xn)dx
which we write concisely using sigma notation (introduced in Chapter 5, Block 1) as
n
a y(xk)dx
k=1
This, of course, gives us an estimate of the area under the curve, but it is not exact.
To improve the estimate we must take a large number of very thin rectangles. So,
what we want to find is the value of this sum when n tends to infinity and dx tends to
zero. We write this as
n
n: q a
lim y(xk)dx
k=1
The lower and upper limits on the sum correspond to the first and last rectangle where
x = a and x = b respectively, and so we can write this limit in the equivalent form
x=b
dx : 0 a
lim y(x)dx (1)
x=a
If this sum can actually be found, it is called the definite integral of y(x), from
b
x = a to x = b, and it is written 1a y(x) dx. You are already familiar with the mech-
anism for finding definite integrals, which were studied in Chapter 17, Block 2.
Therefore we have the following definition:
冮 y(x) dx
a
is defined as
x=b
dx : 0 a
lim y(x)dx
x=a
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 899
Example 1.1
The area under the graph of y = x2 between x = 0 and x = 1 is to be found using
the technique just described. If the required area is approximated by a large number
of thin rectangles, the limit of the sum of their areas is given from equation (1) as
x=1
dx : 0 a
lim y(x)dx
x=0
Write down the integral that this sum defines and evaluate it to obtain the area under
the curve.
Solution
1
The limit of the sum defines the integral 10 y(x) dx. Here y = x2 and so
1
x3 1
冮
0
x2 dx = c d
3 0
1
=
3
To show that taking the limit of a sum actually works we have provided a detailed
example for you to work through.
Example 1.2
Use the idea of the limit of a sum to find the area under the graph of y = x2 between
x = 0 and x = 1.
Solution
Refer to the graph in Figure 1.3 to help you answer the questions.
If the interval between x = 0 and x = 1 is divided into n rectangles what is the
width of each rectangle?
Figure 1.3 y
The area under y x2
y = x2 is 1
approximated by a
number of thin
rectangles.
n rectangles
x
O 1
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 900
1
n
Mark this on Figure 1.3.
What is the x coordinate at the left-hand side of the first rectangle?
0
What is the x coordinate at the left-hand side of the second rectangle?
1
n
What is the x coordinate at the left-hand side of the third rectangle?
2
n
Mark these coordinates on Figure 1.3.
What is the x coordinate at the left-hand side of the kth rectangle?
k - 1
n
Given that y = x2, what is the y coordinate at the left-hand side of the kth rectangle?
k - 1 2
a b
n
The area of the kth rectangle is its height * its width. Write down the area of the kth
rectangle:
k - 1 2 (k - 1)2
a b * =
1
n n n3
To find the total area of the n rectangles we must add up all these individual areas:
n
(k - 1)2
total area of rectangles = a
k=1 n3
This sum can be simplified and then calculated as follows. You will need to make use
of the formulae for the sum of the first k integers, and the sum of the squares of the
first k integers. Details of these will be given in Chapter 19, Block 2. For complete-
ness we state the relevant formulae now:
n n n
n 2 n
a 1 = n, a k = 2 (n + 1), a k = 6 (n + 1)(2n + 1)
k=1 k=1 k=1
1 n 2
n3 ka
= k - 2k + 1
=1
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 901
a (n + 1)(2n + 1) - 2 (n + 1) + nb
1 n n
=
n3 6 2
a
1 (n + 1)(2n + 1)
= - (n + 1) + 1b
n2 6
a
1 (n + 1)(2n + 1)
= - nb
n2 6
a b
1 (n + 1)(2n + 1) 6n
= 2
-
n 6 6
1
= (2n2 - 3n + 1)
6n2
1 1 1
= - + 2
3 2n 6n
Note that this is a formula for the total area of the n rectangles. It is an estimate of the
1 1
area under the graph of y = x2. Now, as n gets larger, the terms and become
2n 6n2
small and will eventually tend to zero. If we now let n tend to infinity we obtain the
exact answer:
lim a + 2b =
1 1 1 1
-
n: q 3 2n 6n 3
1
The required area is .
3
The area has been found as the limit of a sum.
In the calculations that follow in subsequent blocks the need to evaluate complicated
limits like this is avoided by performing the integration using the techniques of
Chapter 17. Nevertheless it will still be necessary to go through the process of divid-
ing a region into small sections, performing a calculation on each section and then
adding the results, in order to obtain the integral required.
Exercises
There are deliberately few exercises in this block because in practice integrals are evaluated using the
techniques of Chapter 17 and not via taking the limits of sums explicitly. What is important though is an
understanding of how the appropriate sum is formed.
1 Find the area under y = x + 1 from x = 0 to 2 Find the area under y = 3x2 from x = 0 to
x = 10 using the limit of a sum. x = 2 using the limit of a sum.
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 902
Solutions to exercises
1 4 1
1 60 3 (a) 10 x3 dx (b) 4p 10 x2 dx (c) 10 y3 dy
1
2 8 (d) 10 6mx2 dx
1 Use the method of the limit of a sum to find 2 Write down, but do not evaluate, the integral
the area bounded by the curve y = x3 and the defined by the limit as dx : 0, dy : 0, or
x axis between x = a and x = b. You may ds : 0 of the following sums:
assume the result x=5 x=a
(a) a x = 1 px3 dx (b) a x = 0 px2 dx
n 2
n y=2
3
a k = 4 (n + 1)
2 (c) a y = 0 m(2 - y)y dy
k=1 x = b>2
(d) a x = -b>2 mbx2 dx
s=1
(e) a s = 0 s2 ds
Solutions to exercises
(b4 - a4) 2
5 a
(a) 11 px3 dx (b) 10 px2 dx
1
4 2 b>2
(c) 10 m(2 - y)y dy (d) 1-b>2 mbx2 dx
1
(e) 10 s2 ds
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 903
Volumes of revolution
BLOCK 2
2.1 Introduction
In this block we show how the concept of integration as the limit of a sum can be
used to find volumes of solids formed when areas are rotated around the x or
y axes.
Figure 2.1 y
A graph of the 6 y 2x
function y = 2x,
for 0 … x … 3.
x
O 3
Imagine rotating the shaded area under y = 2x a full revolution around the x axis.
The body so formed is a cone as shown in Figure 2.2. Such a three-dimensional body
is known as a solid of revolution or a volume of revolution.
Figure 2.2 y
When the area 6
under y = 2x is
rotated around the y 2x
axis, a solid is
generated.
x
O 3
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 904
Example 2.1
Find the volume of the cone generated by rotating the area under y = 2x, for
0 … x … 3, around the x axis, as shown in Figure 2.2.
Solution
In order to find the volume of this solid we assume that it is composed of lots of
thin circular discs all aligned perpendicular to the x axis, such as that shown in
Figure 2.3. From Figure 2.3 we note that a typical disc has radius y, which in this
example equals 2x, and thickness dx.
Figure 2.3 y
The cone is
divided into a 6
number of thin
circular discs. y 2x
(x, y)
δx
x
O 3
The volume of a circular disc is the circular area multiplied by the thickness.
Write down an expression for the volume of this typical disc:
p(2x)2 dx = 4px2 dx
To find the total volume we must sum the contributions from all discs and find the limit
of this sum as the number of discs becomes infinite and dx becomes zero. That is,
x=3
4px2 dx
dx : 0 a
lim
x=0
This is the definition of a definite integral. Write down the corresponding integral.
3
冮 4px dx
0
2
4px3 3
c d = 36p
3 0
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 905
Figure 2.4 y
The solid of y x2
revolution is 16
divided into a
number of thin
circular discs.
(x, y)
δx
x
O 4
Solution
As in Example 2.1, the volume is considered to be composed of lots of circular discs
of radius y, which in this example is equal to x2, and thickness dx.
The volume of a circular disc is the circular area multiplied by the thickness.
Write down the volume of each disc:
p(x2)2 dx = px4 dx
Write down the expression that results by summing the volumes of all such discs:
x=4
4
a px dx
x=0
Write down the integral that results from taking the limit of the sum as dx : 0:
4
冮0
px4 dx
45 p
= 204.8p
5
In general, suppose the area under the graph of y(x) between x = a and x = b is
rotated about the x axis, and the solid so formed is considered to be composed of lots
of circular discs of thickness dx.
Write down an expression for the radius of a typical disc:
y
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 906
冮 py dx
a
2
Key point If the area under the graph of y(x), between x = a and x = b, is rotated about the x axis
the volume of the solid formed is
b
冮 py dx
a
2
Exercises
1 When the area under the graph of y(x) between 3 The area under the parabola y2 = 4x for 0 …
x = a and x = b is rotated around the x axis, x … 1 is rotated around the x axis. Find the
show that the volume of the solid formed is volume of the solid formed.
b 2
1a py dx.
Solutions to exercises
31p
2 3 2p
5
We can obtain a different solid of revolution by rotating an area around the y axis
instead of around the x axis. In Figure 2.5 the area between the graph of y(x) and the
y axis has been rotated about the y axis.
To find the volume of this solid it is divided into a number of circular discs as
before, but this time the discs are horizontal. The radius of a typical disc is x and
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 907
δy
x
O
its thickness is dy. The volume of the disc will be px2 dy where dy is the thickness
of the disc.
The total volume is found by summing these individual volumes and taking the
limit as dy : 0. If the lower and upper limits on y are c and d, we find
y=d
px2 dy
dy : 0 a
lim
y=c
冮 px dy
c
2
Key point If the area between the graph of y(x) and the y axis between y = c and y = d (Figure 2.6)
is rotated about the y axis the volume of the solid formed is
d
冮 px dy
c
2
Figure 2.6 y
Rotating the
y(x)
shaded area about
the y axis produces
a volume of
revolution.
d
x
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 908
Example 2.3
Find the volume generated when the area between y = x2 and the y axis between
y = 0 and y = 1 is rotated around the y axis.
Solution
Write down the required integral.
1
冮 px dy
0
2
Because y = x2 this integral can be written entirely in terms of y. Do this now, and
then evaluate the integral.
1
py2 1
冮 py dy = c d =
p
0 2 0 2
Exercises
1 The area between y = x2 and the y axis 2 The area between y = 2 - 2x and the y axis
between y = 1 and y = 4 is rotated about the between y = -2 and y = 2 is rotated around
y axis. Find the volume of the solid formed. the y axis. Find the volume of revolution.
Solutions to exercises
15p 16p
1 2
2 3
1 The area between the parabola y2 = 4ax and 3 Find the volume obtained when the area
the x axis for 0 6 x 6 a is rotated around the between y = sin x and the x axis for
x axis. Show that the volume of the solid 0 6 x 6 p is rotated around the x axis.
formed is 2pa3. 1
4 The area under y = between x = 1 and
2 The equation of a circle with centre the origin x
x = 3 is rotated about the x axis. Find the
and radius a is x2 + y2 = a2. By considering volume of revolution.
that portion of the circle that lies in the first
quadrant, and rotating this around the x axis,
show that the volume of a hemisphere of
2pa3
radius a is .
3
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 909
5 Consider the area bounded by the curve 6 The area between y = 1 - 12 x and the x axis
y = x2 - 1 between x = 1 and x = 2 and the for 0 … x … 2 is rotated around the y axis.
x axis. If this area is rotated around the y axis Find the volume of the solid generated.
show that the volume of the solid generated
is 9p
2 .
Solutions to exercises
p2 4p
3 6
2 3
2p
4
3
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 910
3.1 Introduction
In this block we show how the idea of integration as the limit of a sum can be used to
find the centre of mass of an object such as a thin plate, like a sheet of metal. Such a
plate is also known as a lamina. An understanding of a ‘moment’ is necessary, and so
this concept is introduced as well.
Figure 3.1 m m
(b) The location O
of the centre of 1 2
mass of the (a)
objects in (a).
2m
O
1.5
(b)
To think of this another way, if a pivot is placed at the origin, as on a see-saw, then
the two masses at x = 1 and x = 2 together have the same turning effect or moment
as a single mass 2m located at x = 1.5. This is illustrated in Figure 3.2.
Before we can calculate the position of the centre of mass of a collection of
masses it is important to define moment more precisely.
Given a mass M located a distance d from O, as shown in Figure 3.3, its moment
about O is defined to be
moment = Md
In words, the moment of the mass about O is the mass multiplied by its distance from
O. The unit of moment will therefore be kg m when the mass is measured in kilo-
grams and the distance is measured in metres.
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 911
1.5
(b)
8m
10 m
Solution
(a) 40 kg m
(b) 50 kg m
Intuition tells us that a large moment corresponds to a large turning effect. A mass
placed 8 metres from the origin has a smaller turning effect than the same mass
placed 10 metres from the origin. This is of course why it is easier to rock a see-saw
by pushing it at a point further from the pivot.
For a collection of masses the moment of the total mass located at the centre of mass
is equal to the sum of the moments of the individual masses. This result enables
us to calculate the position of the centre of mass, as we shall see in the following
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 912
Key point The moment of the total mass located at the centre of mass is equal to the sum of the
moments of the individual masses.
Figure 3.6 6
m 3m 4m
O O
10 x
Solution
First calculate the sum of the individual moments:
6(m) + 10(3m) = 36m
The moment of the total mass about O is
(4m)x
Now, the moment of the total mass is equal to the sum of the moments of the individ-
ual masses. Write down the equation satisfied by x.
36m = 4mx
Solve for x.
x = 9
So the centre of mass is located a distance 9 units along the x axis.
x2
x
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 913
m1x1 + m2x2
x =
m1 + m2
The formula obtained in the previous example can be generalised very easily to deal
with the situation of n masses, m1, m2, Á , mn, located at x1, x2, Á , xn:
Key point The centre of mass of m1, m2, Á , mn located at x1, x2, Á , xn is
a mi xi
i=1
x = n
a mi
i=1
Figure 3.8
9 1 5 2
O 1 2 3 4 5 6 7 8 9
Solution
4
a mi xi
i=1
x = 4
a mi
i=1
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 914
74
17
The centre of mass is located a distance 74
17 L 4.35 units along the x axis from O.
When n masses are distributed, not just along the x axis but anywhere in the x–y
plane (Figure 3.9), the coordinates of their centre of mass are given as follows:
Key point The centre of mass of m1, m2, Á , mn located at (x1, y1), (x2, y2), Á , (xn, yn) has
coordinates
n n
a mi xi a mi yi
i=1 i=1
x = n ,y = n
a mi a mi
i=1 i=1
Figure 3.9 m2
These masses y (x2, y2)
are distributed
throughout the (x, y)
x–y plane.
m1
(x1, y1)
(x3, y3)
m3
x
a mi xi
i=1
x = 3
a mi
i=1
5(-1) + 3(4) + 9(8)
=
5 + 3 + 9
79
=
17
= 4.65
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 915
Exercises
1 Explain what is meant by the centre of mass of 4 Mechanical Engineering – Centre of mass.
a collection of point masses. Calculate the position of the centre of mass of
2 kg placed at x = 1, 3 kg placed at x = 4, 1 kg
2 Find the x coordinate of the centre of mass of placed at x = 6 and 6 kg placed at x = -5.
five identical masses placed at x = 2, x = 5,
x = 7, x = 9, x = 12. 5 Mechanical Engineering – Centre of mass.
Masses of 3 kg, 2 kg, 2 kg and 4 kg are located
3 Derive the formula for y given in the previous at points with coordinates (1, 3), ( -2, 0),
key point. (4, -1) and ( -3, 4), respectively. Calculate
the coordinates of the centre of mass.
Solutions to exercises
5 23
2 x = 7 5 x = - 11 ,y = 11
4 x = - 56
In the previous section you calculated the centre of mass of several individual point
masses. Suppose we are interested in the centre of mass of a thin sheet of material,
such as a plane sheet of metal. Such an object is called a lamina. The mass is not
located at individual points. Rather, it is distributed continuously throughout the
lamina. In what follows we assume that the mass is distributed uniformly throughout
the lamina. In this section you will see how integration as the limit of a sum is used
to find the centre of mass.
Figure 3.10 shows a lamina where the centre of mass has been marked at point G
with coordinates (x, y). If the total mass of the lamina is M then the moments about
Figure 3.10 y
The centre of mass
of the lamina is
located at G(x, y).
G (x, y)
x
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 916
the y and x axes are respectively M x and M y. Our approach to locating the position
of G is to divide the lamina into many small pieces, find the mass of each piece and
the moment of each piece about the axes. The sum of the moments of the individual
pieces about the y axis will be equal to M x. The sum of the moments of the individ-
ual pieces about the x axis will be equal to M y.
There are no formulae that can be memorised for finding the centre of mass of a
lamina because of the wide variety of possible shapes. Instead you should be famil-
iar with the technique for deriving the centre of mass.
An important preliminary concept is ‘mass per unit area’.
Key point If a lamina has mass per unit area m, then the mass of part of the lamina having area A
is Am.
Figure 3.11 y
By symmetry the 3
centre of mass of
this lamina lies on
y 3x
the x axis.
G (x, y)
O x 1 x
Solution
First inspect the figure and note the symmetry of the lamina. Purely from the sym-
metry, what must be the y coordinate, y, of the centre of mass?
y = 0 since the centre of mass
must lie on the x axis
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 917
Figure 3.12 y
A typical slice of y 3x
3
this sheet has been
shaded.
P (x, y)
O 1 x
δx
Assuming that the slice is rectangular in shape, write down its area.
2ydx
Writing m as the mass per unit area, write down the mass of the slice.
(2ydx)m
The centre of mass of this slice lies on the x axis. So the slice can be assumed to be a
point mass, 2ymdx, located a distance x from O.
Write down the moment of the mass of the slice about the y axis:
(2ydx)mx
By adding up contributions from all such slices in the lamina we obtain the sum of
the moments of the individual masses:
x=1
a 2mxydx
x=0
The limits on the sum are chosen so that all slices are included.
Write down the integral defined by letting dx : 0:
x=1
冮x=0
2mxy dx
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 918
Note that this represents the sum of all the individual moments taken throughout the
entire lamina. Noting that y = 3x express the integral in terms of x and evaluate it:
1
冮0
6mx2 dx = [2mx3]10 = 2m
This must equal the moment of the total mass acting at the centre of mass.
Hence
3mx = 2m
from which
2
x =
3
Finally the coordinates of the centre of mass are 123 , 02.
Example 3.7 Mechanical Engineering – Centre of mass of a lamina
Find the centre of mass of the plane lamina shown in Figure 3.13.
Figure 3.13 y
We assume that the yx
2
shaded slice is
rectangular.
(x, y)
δx
O 2 x
Solution
The coordinates of x and y must be calculated separately.
To calculate x
Let m equal the mass per unit area. Write down the total area, the total mass and its
moment about the y axis:
2, 2m, 2mx
To calculate x the lamina is divided into thin slices; a typical slice is shown in
Figure 3.13. Assume that it is rectangular.
Write down the height of the typical strip shown in Figure 3.13.
y
Write down the area of the typical strip.
ydx
Write down the mass of the typical strip.
(ydx)m
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 919
a mxydx
x=0
冮 mxy dx
0
In this example, y x. Substitute this for y in the integral, and evaluate it.
冮 mx dx = 3 m
2 8
0
Equating the sum of individual moments and the total moment gives
8
2mx = m
3
from which
4
x =
3
To calculate y
We will illustrate two alternative ways of calculating y.
Referring to Figure 3.13, the centre of mass of the slice must lie half-way along
y
its length: that is, its y coordinate is . Assume that all the mass of the slice, ymdx,
2
y
acts at this point. Then its moment about the x axis is ymdx . Adding contributions
from all slices gives the sum 2
x=2
y2m
a dx
x=0 2
2
my2
冮
0 2
dx
Figure 3.14 y
A typical yx
2
horizontal slice is
shaded.
(x, y) δy
2x
O 2 x
Write down its area, its mass and its moment about the x axis
Write down the expression for the sum of all such moments and the corresponding
integral as dy : 0.
y=2 2
a m(2 - x)ydy,
y=0
冮 m(2 - x)y dy
0
冮 m(2 - y)y dy
0
Figure 3.15 y x2 y2 a2 or x a2 y2
A typical
horizontal strip
is shaded.
(x, y)
δy
The lamina is divided into a number of horizontal strips, and a typical strip is
shown. Assume that each strip is rectangular. Writing the mass per unit area as m,
identify the area and the mass of the strip:
2xdy, 2xmdy
2xmydy
Write down the expression representing the sum of the moments of all strips and the
corresponding integral obtained as dy : 0.
y=a a
a 2xmydy,
y=0
冮 2xmy dy
0
冮 2my2a
0
2
- y2 dy
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 922
The total area is half that of a circle of radius a, that is 12 pa2. The total mass is
1 2 1 2
2 pa m. Its moment is 2 pa my.
Hence
1 2 2ma3
pa my =
2 3
from which
4a
y =
3p
Exercise
Solution to exercise
a , 0b
27
1
5
Solutions to exercises
a , b
1 1
1
3 3
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 923
Moment of inertia
BLOCK 4
4.1 Introduction
Figure 4.1 shows a lamina, or plane sheet, which is allowed to rotate about an axis
perpendicular to the plane of the lamina and through O. The moment of inertia
about this axis is a measure of how difficult it is to rotate the lamina. It plays the
same role when dealing with rotating bodies as the mass of an object plays when
dealing with motion in a line. An object with large mass needs a large force to
achieve a given acceleration. Similarly, an object with large moment of inertia needs
a large turning force to achieve a given angular acceleration. A knowledge of the
moments of inertia of laminae, and also of solid bodies, is essential for understand-
ing their rotational dynamics.
Figure 4.1
A lamina rotating
about an axis
through O. O
In this block we show how the idea of integration as the limit of a sum can be used
to find the moment of inertia of a lamina.
Figure 4.2
The moment of
inertia of the small
element is dmr2. r
δm
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 924
It has mass dm, and is located a distance r from the axis O. The moment of inertia
of this small piece is defined to be dmr2, that is the mass multiplied by the square of
its distance from the axis of rotation. To find the total moment of inertia we sum the
individual contributions to give
2
a r dm
where the sum must be taken in such a way that all parts of the lamina are included.
As dm : 0 we obtain the following integral as the definition of moment of inertia, I:
Key point
moment of inertia I = 冮 r dm
2
where the limits of integration are chosen so that the entire lamina is included.
Figure 4.3 y
A square lamina
rotating about the
y axis.
x
b
b/2 O b/2 x
δx
Solution
Let the mass per unit area of the lamina be m. Then, because its total area is b2, its
total mass is b2m, which must equal the given mass, M.
Imagine that the lamina has been divided into a large number of thin vertical
strips. A typical strip is shown in Figure 4.3. The strips are chosen in this way
because each point on a particular strip is approximately the same distance from the
axis of rotation (the y axis).
Referring to Figure 4.3 write down the width of each strip.
dx
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 925
Note that the limits on the integral have been chosen so that the whole lamina is
included. Then
b>2
I = mb 冮
-b>2
x2 dx
x3 b>2
= mb c d
3 -b>2
mb4
=
12
Mb2
Noting that M = b2m then we can write I as .
12
Example 4.2 Mechanical Engineering – Moment of inertia of a
circular disc
Find the moment of inertia of a circular disc of mass M and radius a about an axis
passing through its centre and perpendicular to the disc.
Solution
Figure 4.4 shows the disc lying in the plane of the paper. Imagine that the axis of
rotation is coming out of the paper through O and is perpendicular to the disc. The
disc can be considered to be spinning in the plane of the paper. Because of the circu-
lar symmetry the disc is divided into concentric rings of width dr. A typical ring is
shown in Figure 4.5. Note that each point on the ring is approximately the same dis-
tance from the axis of rotation.
The ring has radius r and inner circumference 2pr. Imagine cutting the ring and
opening it up. Its area will be approximately that of a long thin rectangle of length
2pr and width dr. If m is the mass per unit area write down an expression for the
mass of the ring.
2prmdr
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 926
Figure 4.4
a
A circular disc
rotating about an
axis through O.
O a
Figure 4.5
a
The lamina is
divided into many
circular rings.
r
O a
δr
The moment of inertia of the ring about O is its mass multiplied by the square of its
distance from the axis of rotation. This is (2prmdr) * r 2 = 2pr 3mdr.
The contribution from all rings must be summed. This gives rise to the sum
r=a
3
a 2pr mdr
r=0
Note the way that the limits have been chosen so that all rings are included in the
sum. As dr : 0 the limit of the sum defines the integral
a
冮 2mpr
0
3
dr
2mpr4 a mpa4
I = c d =
4 0 2
Exercises
1 The moment of inertia about a diameter of a the moment of inertia about a parallel axis
sphere of radius 1 m and mass 1 kg is found through the centre of mass, plus the mass
by evaluating the integral of the body * the square of the distance
1 between the two axes. Verify this theorem
冮
3 for the rod in questions 3 and 4.
(1 - x2)2 dx
8 -1
6 The perpendicular axis theorem applies to a
Show that the moment of inertia of the sphere
lamina lying in the x–y plane. It states that the
is 25 kg m2.
moment of inertia of the lamina about the z
2 Find the moment of inertia of the lamina in axis is equal to the sum of the moments of
Figure 4.3 about one of its sides. inertia about the x and y axes. Suppose a thin
circular disc of mass M and radius a lies in the
3 Calculate the moment of inertia of a uniform x–y plane and the z axis passes through its
thin rod of mass M and length l about a centre. The moment of inertia of the disc about
perpendicular axis of rotation at its end. this axis is 12 Ma2.
(a) Use this theorem to find the moment of
4 Calculate the moment of inertia of the rod in inertia of the disc about the x and y axes.
question 3 about an axis through its centre and (b) Use the parallel axis theorem to find
perpendicular to the rod. the moment of inertia of the disc about
a tangential axis parallel to the plane of
5 The parallel axis theorem states that the the disc.
moment of inertia about any axis is equal to
Solutions to exercises
4 If the lamina in question 2 rotates about the energy, KE, is given by KE = 12 Iv2, where I is
line x = -a show that the relevant moment of the moment of inertia of the body about the
inertia is 43 Ma2. fixed axis. Show that the kinetic energy of a
rod of length l rotating about an axis through
1
5 Prove that the moment of inertia of a uniform its midpoint is 24 Ml2v2.
ring of mass M and radius a, about an axis
through its centre and perpendicular to its 8 A lamina has a profile in the first quadrant
plane, is Ma2. given by y2 = 4ax, for 0 … x … b.
(a) Show that the area of the lamina is
4 1>2 3>2
6 Use the parallel axis theorem given in the 3a b .
previous exercises to show that the moment of (b) Show that its moment of inertia about the y
inertia of a thin circular disc of mass M and axis is 37 Mb2.
radius a, about an axis perpendicular to the
(c) Show that its moment of inertia about the x
plane of the disc and passing through a point
axis is 45 Mab.
on the circumference, is 32 Ma2.
Solutions to exercises
8M
1
5
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 929
5.1 Introduction
Integration can be used to find the length of a curve and the area of the surface
generated when a curve is rotated around an axis. In this block we state and use the
formulae for doing this.
Given a curve with equation y = f (x), then the length of the curve between the
points where x = a and x = b is given by the formula
Key point b 2
冮 A 1 + a dx b dx
dy
length of curve =
a
Example 5.1
Find the length of the curve y = 3x + 2 between x = 1 and x = 5.
Solution
In this example, the curve is in fact a straight line, although we shall proceed as
though it had been more complicated. dy
Notice from the formula in the Key point that it is necessary to find . Do this
first. dx
dy
= 3
dx
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 930
18 930 Block 5 The length of a curve and the area of a surface of revolution
5
= 冮 210 dx
1
5
= c 210 x d
1
= (5 - 1)210
= 4210
= 12.65
Thus the length of the curve y = 3x + 2 between the points where x = 1 and x = 5
is 12.65 units.
Solution
dy
First find .
dx
dy
= sinh x
dx
冮 21 + sinh
0
2
x dx
cosh2 x - sinh2 x = 1
Write down the integral that results after applying this identity.
冮 cosh x dx
0
冮 21 + 4x dx
0
2
1 dx 1
Make the substitution x = sinh u, = cosh u, to obtain an integral in terms of u.
2 du 2
sinh-1 6
冮
1
2 1 + sinh2 u cosh u du
0 2
冮
1
cosh2 u du
2 0
1
Another hyperbolic identity is cosh2 u = (cosh 2u + 1). Apply this identity to
rewrite the integrand. 2
sinh-1 6
冮
1
cosh 2u + 1 du
4 0
冮 c + ud
1 1 sinh 2u
cosh 2u + 1 du =
4 0 4 2 0
= 9.75
Exercises
1 Figure 5.1 shows the portion of the curve y(x) (a) Use Pythagoras’s theorem to find the
between x = a and x = b. A small piece of length of the hypotenuse.
this curve has been selected and can be (b) By summing all such contributions
considered as the hypotenuse of a triangle with between x = a and x = b, and letting
base dx and height dy. dx : 0, obtain the integral expression for
the total length of the curve.
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 932
18 932 Block 5 The length of a curve and the area of a surface of revolution
y
2 Find the length of the line y = 2x + 7
between x = 1 and x = 3 using the technique
y(x) of this section. Verify your result from your
δy knowledge of the straight line.
δx
3 Find the length of y = x3>2 between x = 0 and
x = 5.
O a b x 4 Calculate the length of the curve y2 = 4x3
between x = 0 and x = 2.
Figure 5.1
Solutions to exercises
冮 A 1 + a dydx b dx
2
Given a curve with equation y = f (x), then the area of the surface generated by rotat-
ing that part of the curve between the points where x = a and x = b around the x
axis is given by the formula
Key point b
冮 2py A 1 + a dx b dx
dy 2
area of surface =
a
du
This integral can be found by making a substitution u = 1 + 9x4, = 36x3 so that
du dx
x3 dx = . When x = 0, u = 1 and when x = 4, u = 2305.
36
Write down the corresponding integral in terms of u.
2305
冮
p
1u du
18 1
p 2 3>2 2305
c u d
18 3 1
Exercises
y
1 Figure 5.2 shows the portion of the curve
y(x) between x = a and x = b, which is y(x)
rotated around the x axis through 360°. A (x, y)
small disc of the solid of revolution has
been selected. Its radius is y and so its
circumference has length 2py. The surface
area of this disc is then approximately a b x
2py2(dx)2 + (dy)2. Obtain the formula for
the total surface area.
18 934 Block 5 The length of a curve and the area of a surface of revolution
(b) Verify this result by finding the curved 3 Find the area of the surface generated when
surface area of the corresponding cone. y = 2x for 1 … x … 2 is rotated
(The curved surface area of a cone of completely about the x axis.
radius r and slant height l is prl.)
Solutions to exercises
2 p12 3 8.28
冮
2dy 2
a b + a b dt
dx
Figure 5.3
t1
A dt dt A cycloid.
(b) the area of the surface of revolution is
t2
冮 dx 2 dy 2
2py A a b + a b dt
and the graph shows the part of the curve
t1 dt dt generated when u lies between 0 and 4p.
(a) Using the result from question 2(a) show
3 Show that the area of the surface generated that the length of one arch of this curve,
when y =
x3
between x = 0 and x = 2 is that is 0 … u … 2p, is 8. a Hint: to integrate
9
rotated around the x axis is 98p
81 .
21 - cos u use the trigonometrical
identity
4 The curve shown in Figure 5.3 is called a
.b
1 - cos 2A
cycloid. It is the path traced out by a point on sin2 A =
2
the rim of a wheel that rolls along the ground
without slipping. This curve has parametric (b) Using the result from question 2(b) show
equations that the area of the surface generated when
the arch between 0 … u … 2p is rotated
x = u - sin u, y = 1 - cos u completely around the x axis is 64p
3 .
Solutions to exercises
1 12.04
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 935
6.1 Introduction
Currents and voltages often vary with time. Engineers may wish to know the average
value of such a current or voltage over some particular time interval. The average
value of a time-varying function is defined in terms of an integral. An associated
quantity is the root-mean-square (r.m.s.) value of a function. The r.m.s. value of a
current is used in the calculation of the power dissipated by a resistor.
Suppose a function f (t) is defined on the interval a … t … b. The area, A, under the
graph of f (t) is given by the integral
b
A = 冮 f (t) dt
a
On Figure 6.1 we have also drawn a rectangle with base spanning the interval
a … t … b and which has the same area as that under the curve. Suppose the height
of the rectangle is h. Then
area of rectangle = area under curve
b
h(b - a) = 冮 f (t) dt
a
b
冮 f (t) dt
1
h =
b - a a
The value of h is the average value of the function across the interval a … t … b.
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 936
Key point b
冮
1
average value = f (t) dt
b - a a
The average value depends upon the interval chosen. If the values of a or b are
changed, then the average value of the function across the interval from a to b
will change as well. Note that the average value is also referred to as the mean
value.
Example 6.1
Find the average value of f (t) = t2 across the interval 1 … t … 3.
Solution
Here a = 1 and b = 3.
冮
1
average value = f (t) dt
b - a a
3
冮 t dt
1 2
=
3 - 1 1
3 3
c d
1 t
=
2 3 1
a9 - b
1 1
=
2 3
a b
1 26
=
2 3
13
=
3
Example 6.2
Find the average value of f (t) = t2 across the interval 2 … t … 5.
Solution
Here a = 2 and b = 5.
冮 t dt
1 2
average value =
5 - 2 2
= 13
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 937
Figure 6.2
A thyristor-firing
circuit. vL RL
VS ~
Thyristor RG
Gate
Figure 6.3 vL
Load voltage
waveform. VS
t
αT αT αT
The point at which the thyristor is turned on in each cycle is characterised by the
quantity aT, where 0 … a … 0.25 and T is the period of the waveform. This restric-
tion on a reflects the fact that if the thyristor has not turned on when the supply volt-
age has peaked in the forward direction then it will never turn on.
Calculate the average value of the waveform over a period and comment on the
result.
Solution
The average value of load voltage is
T T>2
冮 冮 b dt
1 1 2pt
vL dt = VS sina
T 0 T aT T
2pt T>2
c -cosa bd
VS T
=
T 2p T aT
VS
= (1 + cos 2pa)
2p
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:46 AM Page 938
VS
If a = 0, then the average value is , the maximum value for this circuit. If
p
VS
a = 0.25, then the average value is , which shows that delaying the turning on of
2p
the thyristor reduces the average value of the load voltage.
Exercises
1 Calculate the average value of the given 3 Calculate the average value of the following:
functions across the specified interval: (a) f (t) = sin t across 30, p2 4
(a) f (t) = 1 + t across [0, 2] (b) f (t) = sin t across [0, p]
(b) f (x) = 2x - 1 across [-1, 1]
(c) f (t) = sin vt across [0, p]
(c) f (t) = t2 across [0, 1]
(d) f (t) = t2 across [0, 2] (d) f (t) = cos t across 30, p2 4
(e) f (z) = z2 + z across [1, 3] (e) f (t) = cos t across [0, p]
(f) f (t) = cos vt across [0, p]
2 Calculate the average value of the given (g) f (t) = sin vt + cos vt across [0, 1]
functions over the specified interval:
(a) f (x) = x3 across [1, 3] 4 Calculate the average value of the following
1 functions:
(b) f (x) = across [1, 2]
x (a) f (t) = 2t + 1 across [0, 3]
(c) f (t) = 1t across [0, 2]
(b) f (t) = et across 3-1, 14
(d) f (z) = z3 - 1 across [-1, 1]
1 (c) f (t) = 1 + et across 3-1, 14
(e) f (t) = 2 across [-3, -2]
t
Solutions to exercises
Key point
冮 3 f (t)4 dt
1 b
2
r.m.s. value =
Ab - a a
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:47 AM Page 939
冮 3f (t)4 dt
1 2
b - a a
is the mean value of 3f (t)42 over the interval from a to b, that is the mean square value.
Example 6.4
Find the r.m.s. value of f (t) = t2 across the interval from t = 1 to t = 3.
Solution
冮 3f (t)4 dt
1 b
2
r.m.s. value =
Ab - a a
冮 3t 4 dt
3
1 2 2
=
A3 - 1 1
冮 t dt
1 3
4
=
A2 1
1 t5 3
A 2 c 5 d1
=
1 35
=A a - b
1
2 5 5
a - b
1 243 1
=
A2 5 5
242
=
A 10
= 4.92
冮
1 2p
r.m.s. value = sin2 t dt
A 2p 0
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:47 AM Page 940
冮
1 2p (1 - cos 2t)
r.m.s. value = dt
A 2p 0 2
冮
1 2p
= (1 - cos 2t) dt
A 4p 0
sin 2t 2p
ct - d
1
=
A 4p 2 0
1
= (2p)
A 4p
1
=
A2
= 0.707
In the previous example the amplitude of the sine wave was 1, and the r.m.s. value
was 0.707. In general, if the amplitude of a sine wave is A, its r.m.s. value is 0.707A.
Key point The r.m.s. value of any sinusoidal waveform taken across an interval equal to one period
is 0.707 * the amplitude of the waveform.
Exercises
1 Calculate the r.m.s. values of the functions in 3 Calculate the r.m.s. values of the functions in
question 1 in the previous exercises. question 3 in the previous exercises.
2 Calculate the r.m.s. values of the functions in 4 Calculate the r.m.s. values of the functions in
question 2 in the previous exercises. question 4 in the previous exercises.
Solutions to exercises
1 (a) 2.0817 (b) 1.5275 (c) 0.4472 (d) 1.7889 1 sin pv cos pv
(e) 0.7071 (f) +
(e) 6.9666 A2 2pv
sin2 v
2 (a) 12.4957 (b) 0.7071 (c) 1 (d) 1.0690 (g) 1 +
A v
(e) 0.1712
4 (a) 1.5811 (b) 1.3466 (c) 2.2724
3 (a) 0.7071 (b) 0.7071
1 sin pv cos pv
(c) - (d) 0.7071
A2 2pv
M18_CROF5939_04_SE_C18.QXD 9/27/18 9:47 AM Page 941
1 Find the average value of the following 3 Calculate the average value of the following
functions across the specified interval: functions:
(a) f (t) = 3 - t across [0, 4] (a) f (t) = Aekt across [0, 1]
(b) f (t) = t2 - 2 across [1, 3] 1
(b) f (t) = 3t across [0, 2]
1 e
(c) f (t) = t + across [1, 4]
t (c) f (t) = 3 - e-t across [1, 3]
(d) f (t) = 2t + 1 across [0, 4] (d) f (t) = et + e-t across [0, 2]
(e) f (t) = t2>3 across [0, 1] (e) f (t) = t + et across [0, 2]
2 Calculate the average value of the following: 4 Find the average and r.m.s. values of
A cos t + B sin t across
(a) f (t) = 2 sin 2t across c0, d
p
2 (a) [0, 2p]
(b) [0, p]
(b) f (t) = A sin 4t across c0, d
p
2 5 Find the r.m.s. values of the functions in
(c) f (t) = sin t + cos t across [0, p] question 1.
Solutions to exercises
7 7 3 A
1 (a) 1 (b) (c) 2.9621 (d) (e) 6 (a) 1.4142 (b) (c) 1 (d) 0.9046
3 3 5 22
(e) 0.3536
4 2
2 (a) (b) 0 (c) (d) 0.9003 (e) 0
p p
e2k - 1
7 (a) (b) 0.2887 (c) 2.8423
ek - 1 A 2k
3 (a) Aa b (b) 0.1663 (c) 2.8410
k (d) 3.9554 (e) 4.8085
(d) 3.6269 (e) 4.1945
A2 + B2
4 (a) average = 0, r.m.s. =
A 2
2B A2 + B2
(b) average = , r.m.s. =
p A 2
1 Find the mean value of each of the following 4 Find the volume of the solid generated when
functions across the interval stated: the curve y = 3x2 for 0 … x … 1 is rotated
(a) f (t) = sin t, [0, p] around the y axis.
(b) f (t) = t3, [1, 5]
5 Find the volume of the solid generated when
(c) f (t) = e3t, [0, 2] 1
(d) f (t) = 20 + 2 sin pt, [0, 0.5] y = for 1 … x … 5 is rotated about the x axis.
x
2 Calculate the root-mean-square value of each 6 Consider the cycloid defined by
of the following functions across the interval x = a(u - sin u), y = a(1 - cos u) where a is
stated: a constant. Show that the length of this curve
(a) f (t) = t, [0, 10] for values of the parameter u between 0 and
(b) f (t) = cos 2t, [0, p] 2p is 8a. (Hint: see Block 5, End of block
(c) f (t) = sin 2t, [0, p] exercises, question 4.)
(d) f (t) = 10 sin 50pt, [0, 0.01]
7 Find the length of the curve y = cosh x for
3 The acceleration, a, of an object varies with -1 … x … 1.
time, t, according to the formula a = t2 + 3t.
Given that velocity v is given by v = 1 a(t) dt,
find the velocity after 5 seconds given that the
object is at rest at t = 0.
Solutions to exercises
2 4 3p
1 (a) (b) 39 (c) 67.07 (d) + 20 = 21.2732 4
p p 2
1 1 4p
2 (a) 5.7735 (b) (c) 5
22 22 5
(d) 250 = 7.07106 7 2 sinh 1 = 2.35
3 79.2
M19_CROF5939_04_SE_C19.QXD 10/4/18 2:43 PM Page 943
Chapter 19
Sequences and series
A series is formed when the terms of a sequence are added. Series are
important because the solutions of some mathematical problems can
be expressed as series. Two notable groups of series are known
as Taylor series and Maclaurin series. These are used extensively to
provide approximations or estimates of function values.
Chapter 19 contents
1.1 Introduction
Example 1.2
1
Write down the first five terms of the sequence given by x[k] = (- 1)k + 1 where
k
k 1, 2, 3, . . . .
Solution
x[1] = (- 1)2 11 = 1
x[2] = (- 1)3 12 = - 12
Write down the third, fourth and fifth terms.
1 1 1
,- ,
3 4 5
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 946
A series is obtained when the terms of a sequence are added. For example, if we add
the terms of the sequence 1, 3, 5, 7, 9 we obtain the series
1 + 3 + 5 + 7 + 9
We use sigma notation, first introduced in Chapter 5, Block 1, to write a series con-
cisely. For example, the sum of the first 10 odd numbers can be written
10
a 2k - 1
k=1
where the lowermost and uppermost values of k are placed below and above the sigma
sign respectively. Similarly, the sum of the first six even numbers can be written
6
a 2k
k=1
Example 1.3
5
1
Write out explicitly the terms of the series a .
k=1 k
Solution
1 1 1 1
1 + + + +
2 3 4 5
In this block we start by discussing the behaviour of sequences and series that have
an infinite number of terms. Then two particular types of sequence are described:
the arithmetic sequence and the geometric sequence. These are particularly straight-
forward, and there are simple formulae for finding their sums.
Exercises
Solutions to exercises
5
2 (a) 1 + 2 + 3 + 4 + 5 + 6 4 x[k] = , k 1, 2, 3, . . . , for example
(b) 12 + 22 + 32 + 42 k3
(c) 13 + 23 + 33 + 43 + 53 5 1
+ 1
+ 1
+ 1
(3)(5) (5)(7) (7)(9) (9)(11)
3 0, 32 , 4, 15
2 , 12
Some sequences stop after a finite number of terms. These are called finite
sequences. Others continue indefinitely, and these are called infinite sequences.
Sometimes the terms of an infinite sequence get closer and closer to a fixed value.
1
For example, the terms of the sequence x[k] = , for k = 1, 2, 3, . . . , are
k
1 1 1 1
1, , , , , . . .
2 3 4 5
The terms appear to be getting smaller. What do you think will be the eventual
behaviour of the sequence as k gets large?
We say that ‘as k tends to infinity, x[k] tends to zero’, or ‘the limit of x[k] as k tends
to infinity is zero’ and write this as
lim x[k] = 0
k: q
Example 1.4
1
Write down the first four terms of the sequence x[k] = 2 , for k = 1, 2, 3, . . . .
k
What is the behaviour of the sequence as k tends to infinity?
Solution
The first four terms are
1 1 1
1, , ,
4 9 16
1
As k tends to infinity, tends to zero.
k2
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 948
Example 1.5
1
Explore the behaviour of the sequence x3k4 = 2 + , k = 1, 2, 3, . . ., as k : q .
A k
Solution
Write down the first few terms of this sequence:
23, 2212,2213, Á
1
As k tends to infinity the term tends to zero. So limk : q x[k] = 22.
k
When a sequence does not possess a limit it is said to diverge. The sequence of odd
numbers diverges because the terms of the sequence get larger and larger and so the
sequence does not possess a limit. The oscillating sequence -1, 1, -1, 1, -1, 1, . . .
is divergent because it does not possess a limit.
Example 1.6
(a) Write out the first four terms of the sequence x[k] = 2k, k = 1, 2, 3, . . ..
(b) Find limk : q x[k].
Solution
(a) 1, 22, 23, 24.
(b) The terms of this sequence increase indefinitely. The sequence therefore
diverges.
Example 1.7
3k2 + 2k - 7
Find the limit of the sequence x[k] = as k : q .
9k2 - 7k
Solution
The approach to tackling a problem like this is to rewrite x[k] in a form in which we
can sensibly let k : q . Dividing both numerator and denominator by the highest
power of k, that is k2, gives
2 7
3 + - 2
k k
x[k] =
7
9 -
k
1 1
Now because and 2 both tend to zero as k tends to infinity it follows that
k k
2 7
3 + - 2
k k
lim x[k] = lim
k: q k: q 7
9 -
k
3
=
9
1
=
3
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 949
Exercises
1 k
1 Find if possible the limit of each of the (d) x[k] = a b , k = 1, 2, 3, . . .
following sequences: 3
1 2k + 3
(a) x[k] = , k = 1, 2, 3, . . . (e) x[k] = , k = 1, 2, 3, . . .
k + 1 4k + 2
2
(b) x3k4 = k , k = 1, 2, 3, . . .
k - 1
(c) x[k] = , k = 1, 2, 3, . . .
k + 1
Solutions to exercises
1
1 (a) 0 (b) diverges (c) 1 (d) 0 (e)
2
When the terms of an infinite sequence are added we obtain an infinite series. It may
seem strange to try to add together an infinite number of terms but under some cir-
cumstances their sum is finite and can be found. For example, consider the infinite
1
series formed from the sequence x[k] = k , k = 0, 1, 2, . . ..
2
1 1 1
1 + + + + ...
2 4 8
We can calculate the sum of n terms, Sn, for various values of n. For example, the
sum of just the first term is
S1 = 1
The sum of the first two terms is
1
S2 = 1 +
2
= 1.5
Similarly S3 = 1.75, S4 = 1.875, . . . , S10 = 1.9980. The sequence S1, S2, S3, . . .
is called the sequence of partial sums. As we calculate Sn for larger and larger
values of n, we note that Sn gets nearer and nearer to 2. We write S to stand for the
sum of an infinite number of terms, so
q
1
S = a k
k=0 2
= 2
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 950
q
For any infinite series, say a k = 1 x[k], we can form the sequence of partial sums:
If the sequence Sn converges to a limit S we say that the infinite series has sum S, or
that it has converged to S.
In general it is difficult to determine whether or not an infinite series has a finite
sum. It is possible to establish tests or convergence criteria to help decide whether
or not a given series converges or diverges, but for these you must refer to a more
advanced book.
Example 1.8
Calculate the first six partial sums of the series
q
k+1 1
a (-1) k
k=1
Solution
The first six terms of the series are
1 1 1 1 1
1 - + - + -
2 3 4 5 6
Form the first six partial sums for yourself working to 4 d.p.
If you proceed to calculate many more terms you will see that the sequence of
partial sums converges to 0.6931, which is in fact ln 2.
Maple and Matlab, in common with similar packages, have built-in commands for find-
ing sums of finite and infinite series. For example, using Maple Example 1.8 can be
implemented using
sum((-1)^(k+1)/k, k = 1 .. 6);
evalf(sum((-1)^(k + 1)/k, k = 1 .. 6))
The command evalf( ) produces a decimal approximation. The sum to infinity can be
found using
sum((-1)^(k+1)/k,k = 1 .. infinity);
In Matlab, the symsum command calculates the symbolic sum of a series:
M19_CROF5939_04_SE_C19.QXD 9/29/18 7:40 AM Page 951
sym k
symsum((-1)^(k+1)/k,k,1,6)
vpa(ans)
The command vpa( ) produces a decimal approximation. The sum to infinity can be
found using
symsum((-1)^(k + 1)/k,k,1,Inf)
You should investigate commands like these in the packages to which you have access.
Exercises
1 Calculate the first four partial sums of the 2 Calculate the first four partial sums of the
q q
1 1
series a . (Recall 0! = 1.) series a (-1)k .
k=0 k! k=0 (2k)!
Solutions to exercises
1 1, 2, 2.5, 2.6667 (in fact this converges to 2 1, 0.5, 0.5417, 0.5403 (this converges to
e = 2 .7183). cos 1 = 0.5403).
where the first term is a and the common difference is d. Some important results
concerning arithmetic sequences now follow:
This result arises from inspection of the terms in the general sequence in the previ-
ous Key point. Note, for example, that the third term is given by a (3 1)d a
2d. Similarly, the 100th term would be a (100 1)d a 99d.
Adding equations (1) and (2), and noting that each pair of terms adds to give
2a (n 1)d, we find
5 + (17 - 1)2 = 5 + 32 = 37
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 953
Solution
First identify a and d.
a = 4, d = -7
23
[2(4) + (23 - 1) (-7)] = -1679
2
Exercises
Solutions to exercises
A geometric sequence is a sequence of numbers where each term after the first is
found by multiplying the previous term by a fixed number called the common ratio.
For example, the sequence
1, 3, 9, 27, . . .
M19_CROF5939_04_SE_C19.QXD 10/17/18 4:08 PM Page 954
is a geometric sequence with first term 1 and common ratio 3. Each term after the
first is found by multiplying the preceding term by 3.
The common ratio could be a fraction and it might be negative.
Example 1.11
Write down the first few terms of the geometric sequence with first term 2 and
common ratio - 13 .
Solution
2 2 2
2, - , , - , . . .
3 9 27
This result arises from inspection of the terms in the general sequence in the previ-
ous Key point. Note, for example, that the third term is given by ar3⫺1 ⫽ ar2. Simi-
larly, the 10th term would be ar10⫺1 ⫽ ar9.
Solution
First identify a and the common ratio r.
a = 2, r = -3
(2)(-3)6 = 1458
If the common ratio in a geometric series is less than 1 in modulus (i.e. -1 6 r 6 1),
the sum of an infinite number of terms converges and can be calculated. This is known
as the sum to infinity, S q .
a (1 - rn)
The formula for S q can be obtained from Sn = by noting that as
1 - r
n : q , rn : 0 when -1 6 r 6 1.
Key point Sq =
a
provided -1 6 r 6 1
1 - r
Example 1.13
Find the sum to infinity of the geometric sequence with first term 3 and common
ratio 12 .
Solution
a
Sq =
1 - r
= 6
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 956
Exercises
1 Find the seventh term of a geometric sequence 5 The sum to infinity of a geometric sequence is
with first term 2 and common ratio 3. four times the first term. Find the common
ratio.
2 Find the sum of the first five terms of the
geometric sequence with first term 3 and 6 A geometric series has S3 = 37 3367
8 and S6 = 512 .
common ratio 2. Find the first term and the common ratio.
3 Find the sum of the infinite geometric series 7 A geometric sequence is given by 1, 12, 14, . . ..
with first term 2 and common ratio 12 . What is its common ratio?
Solutions to exercises
3
1 1458 5 4
2 93 6 2, 34
1
3 4 7 2
4 ;128
1 State whether the following sequences are 5 A geometric series has first term equal to 3 and
arithmetic, geometric or neither: a common ratio of 1.5. Calculate the sum of
(a) 1, -1, -3, -5, . . . (b) 4, 2, 1, 0.5, . . . (a) the first 10 terms, (b) the first 50 terms,
(c) 6, 7, 8, 9, . . . (d) 4, 5, 7, 10, . . . (c) the 30th to the 49th terms inclusive.
(e) 1, 0.1, 0.01, 0.001, . . .
(f) 1, -1, 1, -1, 1, . . . (g) 1, 1, 1, 1, . . . 6 Find the limit as k : q , if it exists, of each of
the following:
2 An arithmetic sequence has first term -3 and (a) x[k] = k5 (b) x[k] = sin k
common difference 4. State (a) the 10th term, k2 + k
(b) the 300th term. (c) x[k] =
k2 + k + 1
3 An arithmetic series has first term 4 and 3k2 + k
(d) x[k] =
common difference 12 . Find (a) the sum of k2 + k + 1
the first 20 terms, (b) the sum of the first
100 terms. 7 Show that the sum of the first n terms of an
arithmetic sequence, Sn, can be expressed as
4 A geometric sequence has first term -2 and n
common ratio - 34 . State the 20th term. Sn = (first term + last term)
2
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 957
Solutions to exercises
2.1 Introduction
There are a number of series that arise in the solution of certain problems and it is
useful to know their sums. In this block we give these series.
In fact this series is an arithmetic series with first term 1 and common difference 1,
as discussed in Block 1.
Example 2.1
Find the sum of the first 100 integers, 1 + 2 + 3 + . . . + 100.
Solution
Use the formula with n = 100:
100
(101) = 5050
2
Key point The sum of the squares of the first n positive integers is given by
n
2 2 2 2 . . . + n2
ak = 1 + 2 + 3 +
k=1
n
= (n + 1)(2n + 1)
6
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 959
2.4 The sum of the cubes of the first n positive integers 959 19
Example 2.2
Find the sum of the squares of the first 10 integers, 12 + 22 + 32 + . . . + 102.
Solution
Use the formula with n = 10:
10
(11)(21) = 385
6
Key point The sum of the cubes of the first n positive integers is given by
n
3 3 3 3 . . . + n3
ak = 1 + 2 + 3 +
k=1
n(n + 1) 2
= a b
2
Example 2.3
Find the sum of the cubes of the first 12 integers, 13 + 23 + 33 + . . . + 123.
Solution
Use the formula with n = 12:
12(13) 2
a b = 6084
2
Exercises
1 Find the sum of the first 20 positive integers. 3 Find the sum of the cubes of the first six
positive integers.
2 Find the sum of the squares of the first
20 positive integers. 4 Find the sum of the first 40 positive integers.
Solutions to exercises
1 210 3 441
2 2870 4 820
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 960
32
1 Find a k = 1 k2. 4 Find the sum of the integers from -200 to -6
inclusive.
18
2 Find a k = 1 k. 5 Find the sum of the integers from -50 to 24
inclusive.
3 Find the sum of the integers from 18 to 96
inclusive. 6 Find 72 + 82 + . . . + 212.
Solutions to exercises
1 11440 4 -20085
2 171 5 -975
3 4503 6 3220
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 961
3.1 Introduction
Consider the triangle of numbers shown below. Every entry is obtained by adding the
two entries on either side in the preceding row, always starting and finishing a row
with a 1.
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1
o o o o o o o
Example 3.1
Complete the next two rows in the triangle. Add these rows to the triangle above.
1 6 15 20 15 6 1
1 7 21 35 35 21 7 1
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 962
Compare the third and fourth rows of the triangle with the expansions of (a + b)2
and (a + b)3.
Note that Pascal’s triangle gives the coefficients in the expansions. Furthermore, the
terms in these expansions are composed of decreasing powers of a and increasing
powers of b. If we want the expansion of (a + b)4 the row in the triangle beginning
1, 4 will provide the coefficients. We simply insert the appropriate powers of a and b,
starting with the highest power of a, namely a4. Thus
Example 3.2
Use Pascal’s triangle to expand (a + b)5.
Solution
Example 3.3
Find (cos x + sin x)3.
Solution
The answer can be written down immediately:
(cos x + sin x)3 = cos3 x + 3 cos2 x sin x + 3 cos x sin2 x + sin3 x
Exercises
Solutions to exercises
2! = 2 * 1, 3! = 3 * 2 * 1, 4! = 4 * 3 * 2 * 1, and so on
Key point The binomial theorem states that when n is a positive integer
n(n - 1) n - 2 2
(a + b)n = an + nan - 1 b + a b
2!
n(n - 1)(n - 2) n - 3 3
+ a b + . . . + bn
3!
This is a sum of a finite number of terms, that is the series stops. The last term is bn.
Example 3.4
(a) Write out the first three terms of the expansion of (a + b)21.
(b) What would be the last term?
Solution
(a) Using the theorem with n = 21 we can write down the first three terms:
21(20) 19 2 . . .
(a + b)21 = a21 + 21a20b + a b +
2!
(b) The last term is b21.
The theorem is often quoted for the particular case when a = 1 and b = x:
Example 3.5
Use the theorem to write down the expansion of (1 + x)4.
Solution
Use the expansion with n = 4:
1 + 4x + 6x2 + 4x3 + x4
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 964
Exercises
1 Use the binomial theorem to expand 2 Write down the first three terms in the
4 5 expansion of (x + 3y)12.
(a) (1 + x)3 (b) a1 + b (c) a1 - b
x x
3 2
Solutions to exercises
The theorem can be applied when n is not a positive integer provided that x lies
between -1 and 1. However, when n is not a positive integer, the series is infinite:
Key point The binomial theorem states that when n is not a positive integer
n(n - 1) 2 n(n - 1)(n - 2) 3
(1 + x)n = 1 + nx + x + x + ...
2! 3!
only for -1 6 x 6 1
This is an infinite series.
Example 3.6
Use the binomial theorem to write down the first four terms in the expansion of
(1 + x)1>2.
Solution 1
Use the theorem with n = .
2
1 A 12 B A - 12 B A 12 B A - 12 B A - 32 B
1 + x + 2
x + x3 + . . .
2 2! 3!
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 965
x x2 x3
1 + - + + ...
2 8 16
x x2 x3
Note that (1 + x)1>2 and 1 + - + + . . . have the same numerical value
2 8 16
only when x lies in the range -1 to 1. If x is outside this range the two expressions
have different values.
Example 3.7
1
Expand in ascending powers of x up to and including the term in x3.
1 + x
Solution
1
can be written (1 + x)-1. Use the binomial theorem with n = -1:
1 + x
1 - x + x2 - x3 + . . .
Example 3.8
1 x
Obtain the first four terms in the expansion of 2
in powers of .
(l - x) l
Solution
1
Note that we can rewrite in the following way:
(l - x)2
1 1
=
(l - x)2 x 2
l2 a1 - b
l
a1 - b
1 x -2
= 2
l l
x 2
a1 - b = 1 + (-2) a - b + a- b
x -2 x (-2)(-3)
l l 2! l
x 3
a- b + ...
(-2)(-3)(-4)
+
3! l
x 2 x 3
= 1 + 2 a b + 3 a b + 4 a b + ...
x
l l l
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 966
Hence
x 2 x 3
= 2 c1 + 2 a b + 3 a b + 4 a b + . . . d
1 1 x
2 l l l
(l - x) l
Exercises
1 Obtain the first five terms in the expansion of 2 Obtain a quadratic approximation to (1 - 2x)1>2
(1 + x)-2. State the range of values of x for using the binomial theorem. For what range of
which the expansion is valid. values of x is your expansion valid?
Solutions to exercises
1 2 ... 1 1
1 1 - 2x + 3x2 - 4x3 + 5x4, -1 6 x 6 1 2 1 - x - x + ,- 6 x 6
2 2 2
1 (a) Use the binomial theorem to expand 4 Write down the first two terms in the binomial
(1 + y)5. expansion of
(b) Use the result from part (a) to expand
x 1>4
(1 + 3y)5. a1 + b
5
2 Expand (a) (1 - z)3, (b) (2 - z)3,
1 5
(c) (2 + z)3, (d) (1 + 2z)3, (e) (z + 3)3. 5 Expand a2 - b .
x
3 Expand (cos u + j sin u)5 where j2 = -1.
Solutions to exercises
2 (a) 1 - 3z + 3z2 - z3 x
4 1 +
20
(b) 8 - 12z + 6z2 - z3
(c) 8 + 12z + 6z2 + z3 5
80 80 40 10 1
32 - + 2 - 3 + 4 - 5
(d) 1 + 6z + 12z2 + 8z3 x x x x x
4.1 Introduction
Suppose the value of a function and the value of its derivatives are known at a partic-
ular point. From this information it is possible to obtain values of the function
around that point, using a series called a Taylor series.
When the particular point is the origin, it is possible to obtain function values at
neighbouring points using a Maclaurin series. Thus the Maclaurin series is a special
case of the Taylor series.
These two series are explored in this block.
Suppose we have a function f (x) from which we find the value of the function when
x = 0, that is f (0). Suppose also that by successive differentiation we find the value
of the derivatives of f (x) at x = 0, that is f ¿(0), f –(0), and so on.
The Maclaurin series formula enables us to find the value of the function at a
point, x, close to the origin:
This is an infinite series, although often we can approximate f (x) by using just a
finite number of the terms as we shall show.
Consider the following example.
Example 4.1
Obtain the Maclaurin series for f (x) = ex.
Solution
Here f (x) = ex. Evaluate f (0):
f (0) = e0 = 1
xn
q
ex = a
n = 0 n!
xn x2 x3
q
ex = a = 1 + x + + + ...
n = 0 n! 2! 3!
By taking successive partial sums of this Maclaurin series we can obtain polynomials
that are approximations to ex, known as Maclaurin polynomials. Denoting these
polynomials by p0(x), p1(x), and so on, we have
y y y f (x) ex
f (x) ex f (x) ex
Figure 4.1
f (x) = ex together
p0(x)
p2(x) 1 1 x 1 x2!
1 2
with a number of 1 1 p1(x) 1 1 x 1
Maclaurin
polynomials. 1 1 x 1 1 x 1 1 x
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 969
The power series expansions obtained in Examples 4.1 and 4.2 are valid for any x.
This means that the value of the series and the value of the function used to generate
it are equal for every value of x. However, some functions have a power series expan-
sion that is valid only for a limited range of values of x. For example, the Maclaurin
1
expansion of f (x) = is valid only when -1 6 x 6 1.
1 + x
Some common power series expansions are shown in Table 4.1.
Use your calculator to verify these approximations. For example, show that
sin 0.3 L 0.3.
Table 4.1
Some common x x2 x3
power series
ex = 1 + + + + . . . for all x
1! 2! 3!
expansions.
x3 x5 x7
sin x = x - + - + . . . for all x
3! 5! 7!
x2 x4 x6
cos x = 1 - + - + . . . for all x
2! 4! 6!
x2 x3 x4
log e(1 + x) = x - + - + . . . for -1 6 x … 1
2 3 4
p(p - 1) 2 p(p - 1) (p - 2) 3
(1 + x) p = 1 + px + x + x + . . . for -1 6 x 6 1
2! 3!
x3 2x5 17x7 p p
tan x = x + + + + . . . for - 6 x 6
3 15 315 2 2
x3 x5 x7
sinh x = x + + + + . . . for all x
3! 5! 7!
x2 x4 x6
cosh x = 1 + + + + . . . for all x
2! 4! 6!
Exercises
1 Derive the Maclaurin series for f (x) = cos x. 4 Determine the Maclaurin series expansion for
1
f (x) = .
2 Use the power series expansion of ex to show 1 + x
that 5 Find the Maclaurin expansion for sin2 x.
(Hint: use a trigonometrical identity and the
4x3 series for sin x.)
e2x = 1 + 2x + 2x2 + + Á
3
6 Obtain the Maclaurin series expansion for
f (x) = cosh x.
3 Use the power series expansion of cos x to
show that 7 (a) Obtain a quadratic Maclaurin polynomial
approximation, p2(x), to f (x) = cos 2x.
x x2 x4 x6 (b) Compare the approximate value given by
cos = 1 - + - + Á
2 8 384 46080 p2(1) with actual value f (1).
Solutions to exercises
q
x2 x4 x6
4 1 - x + x2 - x3 + . . . = a (-1)n xn 6 1 + + + + ...
n=0 2! 4! 6!
1 4 2 6 ... 7 (a) 1 + 2x2 (b) f (1) = 3.7622, p2 (1) = 3
5 x2 - x + x -
3 45
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 971
The Taylor series is very similar to the Maclaurin series. The only difference is that
the expansion is now taken about any point, x = a say, not necessarily the origin. So
if we know the value of a function and its derivatives when x = a we can use the
Taylor series formula to find the value of the function at nearby points.
Example 4.3
Find the Taylor series expansion of f (x) = 1x about the point x = 4.
Solution
Here, the known point is x = 4. We must evaluate f (x) and its derivatives at this
point:
f (4) = 14
= 2
1 -1>2 1
f ¿(x) = x =
2 22x
1 1
and so f ¿(4) = = .
224 4
1 3
f –(x) = - 3
, f ‡(x) =
4(1x) 8 (1x)5
1 3
f –(4) = - , f ‡(4) =
32 256
1 1 1
= 2 + (x - 4) - (x - 4)2 + (x - 4)3 + . . .
4 64 512
This is the Taylor series expansion of 1x about x = 4.
In the previous example we calculated the Taylor series of 1x. By taking successive
partial sums of this series we can obtain polynomials that are approximations to 1x,
known as Taylor polynomials. Denoting these polynomials by p0(x), p1(x), and so
on, we have
Each Taylor polynomial is a function that approximates the original function, in this
case 1x when x is close to the expansion point, x = 4. As more and more terms are
included the approximation improves.
The first graph in Figure 4.2 shows f (x) = 1x together with a graph of p0(x) = 2.
The second and third graphs show f (x) = 1x together with p1(x) and p2(x). Notice
how the approximation improves as the degree of the polynomial increases.
4 x 4 x 4 x
Maple and Matlab, in common with similar packages, have built-in commands for find-
ing Taylor and Maclaurin series. For example, using Maple, the result in Example 4.3 can
be found from
taylor(sqrt(x), x = 4,4);
In Matlab the same is achieved using
taylor(sqrt(x),'ExpansionPoint',4,'Order',4)
You should investigate commands like these in the packages to which you have access.
M19_CROF5939_04_SE_C19.QXD 9/29/18 7:43 AM Page 973
Exercises
1 Show that the first four terms in the Taylor series 2 Find the Taylor series for f (x) = x + ex about
p x = 1.
expansion of f (x) = tan x about x = are
4
p 2 p 3
1 + 2ax - b + 2 ax - b + ax - b
p 8
4 4 3 4
Solutions to exercises
In the analysis of a vibrating circular membrane such as a drum skin it can be shown
that in one of the possible modes of vibration the displacement, u(r), of the skin at a
specific moment in time and at a point distance r from the centre, has a profile given
by a Bessel function of order zero, J0(r). A graph of this function is shown in
Figure 4.3.
M19_CROF5939_04_SE_C19.QXD 10/16/18 7:41 AM Page 974
Figure 4.3
J0(r)
Bessel functions,
which are defined by
infinite series, model
the displacement of a
vibrating drum skin.
O r
Figure 4.4 f ( t)
This waveform can 1
be synthesised
using an infinite t
–1 O 1
series of sine
functions.
1 (a) Calculate the second-order Taylor 3 (a) Calculate the second-order Taylor
polynomial, p2(x), generated by y(x) = x3 polynomial, p2(x), generated by
about x = 0.
(b) Draw y(x) and p2(x) for - 2 … x … 2.
y(x) = sin a b about x = 3
1
x
2 (a) Calculate the second-order Taylor
polynomial, p2(x), generated by (b) Draw y(x) and p2(x) for 1 … x … 5.
y(x) = sin x about x = 0.
(b) Draw y(x) and p2(x) for - 2 … x … 2.
M19_CROF5939_04_SE_C19.QXD 9/27/18 10:35 AM Page 975
1 Use the Maclaurin expansion of ex to find the 4 Obtain a small-angle approximation for tan x
value of e correct to four decimal places. and verify it by example.
1
2 Obtain the Maclaurin series for ln(1 - 4x). 5 Use the Maclaurin series for to deduce
1 1 - x
3 Obtain the Maclaurin series for f (x) = sinh x. that for .
1 - x2
Solutions to exercises
1 2.7183 4 tan x = x
64 3
2 -4x - 8x2 - x - Á 5 1 + x2 + x4 + Á
3
1 3 1 1
1 Write out explicitly the first three non-zero tan-1 x = x - x + x5 - x7 + . . .
terms of the series 3 5 7
q for -1 6 x 6 1
a k(k + 1)(k + 3)
k=0 3 (a) If y = ln cos x show that y satisfies the
2 Use the binomial theorem to show that equation
1 y‡ = -2 y–y¿
= 1 - x2 + x4 - x6 + . . .
1 + x2 (b) Hence obtain the Maclaurin expansion of
for -1 6 x 6 1 y = ln cos x as far as the term in x5.
Solutions to exercises
1 (1) (2) (4) + (2) (3) (5) + (3) (4) (6) 9 1 - 8x + 24x2 - 32x3 + 16x4
1 1 4
3 - x2 - x 10 1 + 3x + 6x2 + 7x3 + 6x4 + 3x5 + x6
2 12
x2 x4
4 42075 11 3 + - + . . ., valid for -3 6 x 6 3
6 216
810 1080 720 240 32
5 243 - + 2
- 3 + 4 - 5 12 (a) k (b) 0 (c) not defined
x x x x x
8 30
M20_CROF5939_04_SE_C20.QXD 10/4/18 2:45 PM Page 977
Chapter 20
Differential equations
dx dq
= f (x, t) or = g(q, t)
dt dt
dx
In the first equation, x might represent distance. For this case is the
dt
rate of change of distance with respect to time, t, that is speed. In the
dq
second equation, q might be charge and the rate of flow of charge,
dt
that is current. These are examples of differential equations, so called
because they are equations involving the derivatives of various
quantities. Such equations arise out of situations in which change is
occurring. To solve such a differential equation means to find the
function x(t) or q(t) when we are given the differential equations.
Solutions to these equations may be analytical in that we can write
down an answer in terms of common elementary functions such as e t,
sin t, and so on. Alternatively, the problem may be so difficult that only
numerical methods are available, which produce approximate
solutions. Modern software packages are available that can produce
analytical and numerical solutions. We shall introduce some of these
in Block 4.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 978
Chapter 20 contents
1.1 Introduction
dy
= x2
dx
This equation contains the derivative of y, which represents the unknown expression
that we seek. Clearly y is an expression that when differentiated gives x2.
In order to solve a differential equation it is important to identify certain of its
features. This is because there are different techniques applicable to different sorts
of differential equations. In this block we introduce terminology associated with
differential equations that then allows these features to be described.
Example 1.1
For each of the following differential equations, state which variable is dependent
and which is independent.
d2y dy
(a) 2
+ = x
dx dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 981
Order
A differential equation may contain derivatives of various orders, for example first
derivatives, second derivatives, etc. The order of a differential equation is the order
of its highest derivative. Thus in the equation
d2y dy
2
+= y
dx dx
d2y
the highest derivative is the second derivative, , so this equation is a second-
order differential equation. In the equation dx2
dv
+ v2 = 0
dt
dv
the highest derivative is the first derivative , so this is a first-order differential
dt
equation.
Example 1.2
State the order of the following differential equations:
d2y dy 3
(a) + a b = x7
dx2 dx
dx
(b) = (xt)5
dt
Solution
(a) Look for the term involving the highest derivative.
d2y dy 3
The order of 2 + a b = x7 is
dx dx
2
dy
Note that although is raised to the power 3, it is not the highest derivative.
dx
d2y
The highest derivative is 2 .
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:37 PM Page 982
dx
(b) The order of = (xt)5 is
dt
1
Linear
A differential equation is said to be linear if the dependent variable and its deriv-
atives occur to the first power only and if there are no products involving the depen-
dent variable and/or its derivatives. There should be no non-linear functions of the
dependent variable, such as sine, exponential, etc. A differential equation that is not
linear is said to be non-linear. The linearity of a differential equation is not deter-
mined or affected by the presence of non-linear terms involving the independent
variable.
The equation
d2y
- y = ex
dx2
is linear, but the equations
dy 2
a b = y and
dy
y = x
dx dx
are both non-linear, the former because the derivative of the dependent variable is
dy
raised to the power 2, and the latter because of the product y .
dx
The equation
dy
+ y = ey
dx
is non-linear because it contains a non-linear function, ey, of the dependent variable.
However the equation
dy
+ y = ex
dx
is linear.
It is particularly important to know whether an equation is linear or not, because in
general non-linear equations can be much harder to solve than linear ones.
The solution of first-order linear equations is described in Block 3.
The solution of second-order linear equations is described in Blocks 5 and 6.
Example 1.3
Decide whether or not the following equations are linear:
dy
(a) sin x + y = x
dx
dy
(b) sin y + y = x
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 983
d2y
(c) = -y2
dx2
dx
(d) + x = t3
dt
dy
(e) + sin y = 0
dx
Solution
(a) linear
(b) non-linear
(c) non-linear
(d) linear
(e) non-linear
Note in part (b) that the equation is non-linear because of the product term involving
the dependent variable and its derivative asin y b ; however, it is also non-linear
dy
dx
because of the non-linear function of the dependent variable, sin y.
Solution
The volume, V, of liquid in the tank at any time is
V ⫽ Ah
Now, the volume of liquid in the tank changes because liquid is flowing out.
Specifically
the rate at which this volume changes = rate of flow in - rate of flow out
dV
This is the law of conservation of mass. The rate of change of volume is . There
dt
is no flow into the tank and liquid flows out at a rate q. Hence
dV
= -q
dt
dh
But V = Ah and A is constant, so the rate of change of volume is A .
dt
Therefore
dh
A = -q
dt
We are also given that q = kh and so
dh
A = -kh
dt
This is a first-order differential equation with dependent variable h and independent
variable t. It is linear and has constant coefficients. The unknown function that we
seek is h(t). You will see how this equation can be solved to find the head, h, at any
time, t, in Block 2.
Example 1.5 Electrical Engineering – An LCR circuit
Figure 1.2 shows an LCR circuit. This is a circuit comprising an inductor of induc-
tance L, a capacitor of capacitance C, and a resistor of resistance R placed in series.
Figure 1.2
Modelling an LCR
circuit can give L C R
rise to a constant- i
coefficient V
differential
equation. ⫹ ⫺
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 985
d2i di 1
L + R + i = 0
dt2 dt C
This equation can be derived using Kirchhoff’s voltage law, and the individual laws
for each component. Because L, R and C are constants, this is a constant-coefficient
equation. Furthermore it is linear and second order. When you have learnt how to
solve such equations you will be able to find the current in the circuit.
Exercises
1 Explain the distinction between a dependent 4 State the order of the equations
variable and an independent variable. dx 3
(a) y– + 2y¿ + 7y = 0 (b) a b + x = 0
dt
2 In the differential equation
5 Explain what is meant by a linear differential
du equation.
+ u = sin t
dt
d2y
state which is the dependent variable and 6 Is the equation + y = sin t linear?
dt 2
which is the independent variable.
Solutions to exercises
expression that satisfies the differential equation. Note that a solution is an expres-
sion of the dependent variable in terms of the independent variable.
Example 1.6
d2y dy
Show that y = 5e2x is a solution of the equation 2
- = 2y.
dx dx
Solution
We are given an expression for y in terms of x, namely y = 5e2x. We need to substi-
dy
tute this into both sides of the given equation. To do this we need the derivatives
d2y dx
and 2 .
dx
dy d2y
Write expressions for and 2 .
dx dx
dy
= 10e2x
dx
d2y
= 20e2x
dx2
Now substitute these expressions into the left-hand side of the given equation
d2y dy
2
- :
dx dx
Now substitute y = 5e2x into the right-hand side of the given equation, 2y:
2y = 10e2x
Note that both the left- and right-hand sides are the same and equal to 10e2x when
y = 5e2x. We conclude that y = 5e2x is a solution of the equation.
Example 1.7 dy
Show that y = ex is not a solution of = 2y.
dx
Solution
Differentiate the given expression and substitute into the left-hand side:
dy
= ex
dx
Substitute for y on the right-hand side:
2y = 2ex
So the left-hand side is ex and the right-hand side is 2ex. But ex is not the same as 2ex and
so the given expression does not satisfy the equation and is therefore not a solution.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 987
Conditions
To determine a particular value for the constant C we need to be given more informa-
tion in the form of a condition. For example, if we are told that at x = 0, y = 4 then
from y = Cex we have
4 = Ce0
= C
so that C = 4. Therefore y = 4ex is the solution of the differential equation that
additionally satisfies the condition y(0) = 4. This is called a particular solution.
When the solution of a differential equation is sought, and a condition is to be sat-
isfied at the leftmost point of the interval of interest, such a condition is called an
initial condition. The problem of solving a differential equation subject to an initial
condition is often referred to as an initial value problem.
Example 1.8
Show that x(t) = 2e3t is a solution of the initial value problem
dx
- 2x = 2e3t, x(0) = 2
dt
Solution
The solution requires us to do two things. Firstly we must check that x = 2e3t satis-
fies the differential equation, and secondly we must check that it satisfies the initial
condition: that is, x must equal 2 when t = 0.
Differentiate x(t) = 2e3t.
6e3t
dx
Substitute for and x in the left-hand side of the given equation.
dt
dx
- 2x = 6e3t - 2(2e3t )
dt
which simplifies to 2e3t, the same as the right-hand side. Thus x = 2e3t is a solution
of the differential equation.
We now check that the initial condition is satisfied. x(0) = 2e0 = 2 and so the
condition is indeed satisfied.
M20_CROF5939_04_SE_C20.QXD 9/29/18 9:24 AM Page 988
Exercises
Solutions to exercises
5 x = et + 2e2t 6 y = xex
y= 冮 f (x)dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 989
Key point
冮 f (x) dx
dy
if = f (x) then y =
dx
y = 冮 cos x + sin x dx
= sin x - cos x + c
This is the general solution. Notice that it contains one arbitrary constant.
Example 1.10
Obtain the general solution of the equation
d2y
= 5e2x
dx2
Solution
Integrating once gives
冮 5e
dy 2x
= dx
dx
dy 5e2x
= + A
dx 2
dy
where A is an arbitrary constant. This gives . We must integrate again to find y.
dx
5e2x
y = 冮 a
2
+ Ab dx
5e2x
= + Ax + B
4
where B is another arbitrary constant.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 990
This is the general solution. Notice that it contains two arbitary constants. This is
because the differential equation is second order.
The technique described in this section is applicable only when the right-hand side is
a function of the independent variable only. If the dependent variable appears on the
right, such as in the equation
dy
= xy
dx
you will need to apply other techniques such as those described in Blocks 2 and 3.
d2y
= -g
dt 2
where g is a constant called the acceleration due to gravity. The dependent variable
y is the vertical displacement of the projectile, and the independent variable is time t.
This equation is a statement of Newton’s second law of motion. Solving the equation
gives y in terms of t, that is the displacement as a function of time.
(a) Integrate the differential equation twice, to obtain the general solution for y.
dy
(b) Apply the following initial conditions: y = 0 at t = 0, = v0 at t = 0, in
order to obtain a particular solution. dt
Solution
(a) Integrate once:
dy
= -gt + A
dt
Integrate again:
gt2
y = - + At + B
2
This is the general solution.
(b) Apply the condition y = 0 when t = 0 to obtain a value for B.
B = 0
gt2 dy
So y = - + At. If this is differentiated, = -gt + A, which is a result
2 dt
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 991
A = v0
gt2
So the particular solution is y = - + v0 t.
2
d4H
K = w
dx4
Figure 1.3 (a)
(a) An unloaded
beam of length L;
(b) beam bending L
under load (it is (b) y
fixed at both ends);
w
(c) displacement of
the beam.
x
(c) w
where K is known as the structural rigidity of the beam and is assumed to be con-
stant. It is the product of Young’s modulus and the moment of inertia of the beam
about its central axis.
(a) If w is constant, find an expression for the displacement of the beam.
(b) The beam is fixed rigidly at both ends. Hence when x ⫽ 0 and x ⫽ L the
displacement is zero, that is H(0) ⫽ H(L) ⫽ 0. Additionally at these end-points
the gradient of the beam remains zero, so H¿(0) = H¿(L) = 0. Find the
displacement at any point x.
(c) Show that the maximum displacement of the beam occurs half-way along its length.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 992
Solution
(a) We are given
d4H
K = w
dx4
d3H w
= x + A (1)
dx3 K
d2H w x2
= + Ax + B (2)
dx2 K 2
dH w x3 x2
= + A + Bx + C (3)
dx K 6 2
w x4 x3 x2
H(x) = + A + B + Cx + D (4)
K 24 6 2
w L4 L3 L2
0 = + A + B (5)
K 24 6 2
w L3 L2
0 = + A + BL (6)
K 6 2
Equations (5) and (6) can be solved to express A and B in terms of the known
constants w, K and L. This produces
wL wL2
A = - , B =
2K 12K
Replacing the expressions for A and B and the values of C and D into equation
(4) and simplifying produces
wx2 2 wx2
H(x) = (x - 2Lx + L2) = (x - L)2
24K 24K
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 993
dH wx
= (2x - L)(x - L)
dx 12K
d 2H wL2
(L>2) = -
d x2 24K
We note that this is negative and so H is a maximum at x = L>2. Hence the max-
imum displacement occurs at x = L>2, that is half-way along the beam. This
accords with intuition.
Exercises
1 Obtain the general solutions of the following 2 Find the particular solution of
differential equations:
dx
dy dy = t2
(a) = 3x + 2 (b) = e3x dt
dx dx
that satisfies the condition x(3) = 0.
d2y d2y
(c) 2 = k, constant (d) 2 = -sin x
dx dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 994
Solutions to exercises
dy
1 If y = Ae2x is the general solution of = 2y, 3 Show that x(t) = 7 cos 3t - 2 sin 2tis a
dx solution of
find the particular solution satisfying y(0) = 3.
What is the particular solution satisfying d2x
+ 2x = -49 cos 3t + 4 sin 2t
dy dt2
= 2 when x = 0?
dx
4 The general solution of
2 Identify the dependent and independent
variables of the following differential d2x
equations. Give the order of the equations = -v2x
dt2
and state which are linear.
dy is x = Ae jvt + Be-jvt, where j2 = -1. Verify
(a) + 9y = 0
dx that this is indeed a solution. What is the
d2y particular solution satisfying x(0) = 0,
(b) a b a 2 b + 3
dy dy
= 0 dx
dx dx dx (0) = 1? Express the particular solution
dt
d3x dx and the general solution in terms of
(c) + 5 = sin x
dt3 dt trigonometrical functions.
Solutions to exercises
Separation of variables
BLOCK 2
2.1 Introduction
In this section we consider differential equations that can be written in the form
dy
= f (x)g(y)
dx
dy dy dy
= x2y3, = y2 sin x and = (ln x)(sec y)
dx dx dx
You may have to think carefully about some equations to recognise this form. For
example, the equation
dy y
=
dx x + 1
can be written as
= a by
dy 1
dx x + 1
dy
and so is of the form = f (x)g(y).
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 996
Not all first-order equations can be written in this form. For example, it is not
possible to rewrite the equation
dy
= x2 + y3
dx
in the form
dy
= f (x)g(y)
dx
Example 2.1
Which of the following differential equations do you think can be written in the form
dy
= f (x)g(y)?
dx
If possible, rewrite each equation in this form.
dy x2 dy dy
(a) = 2 (b) = 4x2 + 2y2 (c) y + 3x = 7
dx y dx dx
Solution
= x2 a 2 b
dy 1
(a)
dx y
dy 1
(c) = (7 - 3x) *
dx y
The variables involved need not be x and y. Other equations of this type are
dz du dv v
= tez, = -u and = 2
dt dt dr r
dy
Given a differential equation in the form = f (x)g(y) we can divide through by
g(y) to obtain dx
1 dy
= f (x)
g(y) dx
dy
Note that in this form terms involving y and have been placed on the left, and
dx
terms involving just x have been placed on the right.
If we now integrate both sides of this equation with respect to x we obtain
冮 g(y) dx dx = 冮 f(x) dx
1 dy
that is
冮 g(y) dy = 冮 f(x) dx
1
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:44 PM Page 997
冮 g(y) dy = 冮 f(x) dx
1
Example 2.2
dy
Solve the first-order equation = 3yex by separation of variables.
dx
Solution
Note that the right-hand side has the form f(x)g(y), where f(x) = e x and g(y) = 3y.
Dividing both sides by g(y) we find
1 dy
= ex
3y dx
dy
The left-hand side now contains terms involving only y and . The right-hand side
is a function of x. Integrating both sides with respect to x, dx
冮 3y dx dx = 冮 e dx
1 dy x
that is
冮 3y dy = 冮 e dx
1 x
need write only one. We now have a relationship between y and x as required. This is
the general solution. In this case it could be rearranged to give y explicitly if required.
Example 2.3
Use the method of separation of variables to solve the differential equation
dy 3x2
=
dx y
Solution
dy 1
The equation already has the form = f (x)g(y) where f (x) = 3x2 and g(y) = .
dx y
Dividing both sides by g(y) we find
dy
y = 3x2
dx
Integrating both sides with respect to x gives
冮 y dx dx = 冮 3x dx
dy 2
that is
冮 y dy = 冮 3x dx
2
Note that the left-hand side is an integral involving just y; the right-hand side is an
integral involving just x. After integrating we find
y2
= x3 + c
2
where c is a constant of integration. We now have a relationship between y and x as
required. This is the general solution. Often it is sufficient to leave your answer in
this form but you may also be required to obtain an explicit relation for y in terms of
x. In this particular case
y2 = 2x3 + 2c
so that
y = ; 22x3 + D where D = 2c
Example 2.4
Use the method of separation of variables to solve the differential equation
dy cos x
=
dx sin 2y
Solution dy
Separate the variables so that terms involving y and appear on the left, and terms
involving just x appear on the right: dx
dy
sin 2y = cos x
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 999
冮 sin 2y dx dx = 冮 cos x dx
dy
that is
冮 sin 2y dy = 冮 cos x dx
Now integrate both sides:
cos 2y
- = sin x + c
2
Finally, rearrange, if possible, to obtain an expression for y in terms of x:
1
y = cos-1(D - 2 sin x) where D = -2c
2
This is the general solution.
冮 v dx dx = 冮 -k x dx
dv 2
冮 v dv = 冮 -k x dx2
v2 x2
= -k2 + c
2 2
This is the general solution. If we wished to we could write v explicitly in terms of x.
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:39 PM Page 1000
冮h 冮
dh
A = - k dt
h = h0e-kt>A
We interpret this result as saying that the head reduces exponentially from its initial
value of h0 to a final value of zero as we would expect on physical grounds.
Exercises
y 6 The equation
(a) If z = , then y = zx. Using the product
x di
rule for differentiation show that iR + L = E
dt
dy dz where R, L and E are constants arises in
= z + x
dx dx electric circuit theory. This equation can be
solved by separation of variables. Find the
(b) Make the substitution to obtain an solution that satisfies the condition i(0) = 0.
equation involving only z and x. Solve this
.
by separation of variables. Hence obtain 7 Solve the equation x = 4xt.
the solution of the given equation.
Solutions to exercises
1 Find the general solution of the following 2 Find the general solution of the following:
equations: dx dy x
dy dy dy (a) = xt (b) =
(a) = kx (b) = -ky (c) = y2 dt dx y
dx dx dx dx dx x2 - 1
dy dy (c) t = tan x (d) =
(d) y = sin x (e) y = x + 2 dt dt t
dx dx
dy dx t4
(f) x2 = 2y2 + yx (g) = 5
dx dt x
Solutions to exercises
3.1 Introduction
dy
+ x2y = 3 + x
dx
in which P(x) = x2 and Q(x) = 3 + x.
Other variables will be used. For example,
dx
+ x sin t = t2
dt
is a first-order linear equation in standard form with dependent variable x and
independent variable t. Here, P(t) = sin t and Q(t) = t2.
Key point All first-order linear differential equations can be written in standard form as
dy
+ P(x)y = Q(x)
dx
In order to use the technique described in this block you must write the equation in
the standard form.
Example 3.1
dy
Write x2 + 3xy = x3 in standard form. Identify P(x) and Q(x).
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1004
Solution
Note that this is a first-order equation. It is linear, and so the integrating factor
method is appropriate. Study the standard form (1) of a first-order linear equation
and note that the coefficient of the derivative term is 1. We divide the given equation
through by x2 to achieve this.
dy 3
+ y = x
dx x
Compare this with the standard form to identify P(x) and Q(x).
3
P(x) =
x
Q(x) = x
Example 3.2
dy
Compare the equation - 2y = x with the standard form and identify P(x) and
dx
Q(x).
Solution
The coefficient of the derivative term is already 1.
Q(x) = x
The equation is already written in standard form.
Solution
Note that this is a first-order equation. It is linear, and so the integrating factor
method is appropriate. Here the dependent variable is i and the independent variable
is t. Study the standard form (1) and note that the coefficient of the derivative term is 1.
Dividing the given equation through by L we can achieve this:
di R E sin t
+ i =
dt L L
This is the standard form. Write down P(t) and Q(t).
R
P(t) = , which is constant
L
E sin t
Q(t) =
L
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:43 PM Page 1005
Exercises
dy
1 Write each of the following equations in (b) + 3y - sin x = 0
standard form: dx
dy di
(a) x + 2xy = xe-2x (c) iR + L = sin vt
dx dt
Solutions to exercises
dy dy
1 (a) + 2y = e-2x (b) + 3y = sin x
dx dx
di R 1
(c) + i = sin vt
dt L L
my = 冮 mQ(x) dx (3)
So by knowing Q(x) and m, and performing the integration on the right, and dividing
through by m, we can obtain y.
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:43 PM Page 1006
Choosing m
d
We want to choose m so that the left-hand side of (2) is equal to (my). That is,
dx
dy d
m + mP(x)y = (my)
dx dx
Using the product rule for differentiation we can expand the product on the right to
give
dy dy dm
m + mP(x)y = m + y
dx dx dx
Comparing the coefficients of y on both sides shows that we must choose m to satisfy
dm
mP(x) =
dx
This is a first-order equation for m, which can be solved by separating the variables
as follows:
冮 m = 冮 P(x) dx
dm
from which
ln m = 冮 P(x) dx
We have ignored the constant of integration. When you are experienced at this
technique, try including a constant of integration and you will see that it makes no
difference to the solution.
It follows that
m = e冮P(x) dx
Thus knowing P(x) we can use this formula to find the integrating factor. Once m is
known y can be determined from the Key point.
冮
my = mQ(x) dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:47 PM Page 1007
Solution
In each case write the equation in standard form and identify P(x). The integrating
factor is found from m = e冮
P(x) dx
.
Example 3.5
Use the integrating factors found in Example 3.4 to find the general solutions to the
following differential equations:
dy dy
(a) x + 2xy = xe-2x (b) - (tan x)y = 1
dx dx
Solution
dy
(a) The standard form is + 2y = e-2x for which the integrating factor is m = e2x.
dx
Note that Q(x) = e-2x.
From the previous Key point we have
my = 冮 mQ(x) dx
so that
e2xy = 冮e e 2x -2x
dx
= 冮 1 dx
= x + C
Therefore
(x + C)
y =
e2x
= (x + C)e-2x
my = 冮 mQ(x) dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:47 PM Page 1008
so that
(cos x) y = 冮 cos x dx
= sin x + C
giving
sin x C
y = +
cos x cos x
= tan x + C sec x
This is the general solution.
Example 3.6
dy y
(a) Use the integrating factor method to solve the equation + = 1.
dx x
(b) Find the particular solution where y(1) = 3.
Solution
(a) Refer to the standard form and identify P(x) and Q(x).
1
P(x) =
x
Q(x) = 1
The integrating factor is found from the formula m = e 冮P(x) dx
. Find the integrating
factor:
m = e冮(1>x) dx = eln x = x
Knowing the integrating factor y can be found using the previous Key point, then
my = 冮 mQ(x) dx
= 冮 x * 1 dx
x2
= + C
2
x2
my = xy = + C
2
so that
x C
y = +
2 x
is the general solution.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1009
Exercises
dy di
+ (tan t)y = cos t L + Ri = 10(1 - e-0.1t )
dt dt
dy
+ (cot t)y = sin t
dt
Solutions to exercises
1 C
1 y = ln x + 5 u = 300 - 25t - 240e-0.1t
x x
- a be-0.1t
10 100
2 y = x ln x + 2x 6 i =
R 10R - L
3 y = (t + C) cos t
>
+ ai0 + be-Rt L
10L
R(10R - L)
y = a t - sin 2t + C b cosec t
1 1
4
2 4
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1010
1 Find the general solution of the following 2 Use an integrating factor to obtain the general
equations: di
solution of iR + L = sin vt where R, L and
dt
dy dy
(a) + y = 1 (b) + 2y = 6 v are constants.
dx dx
dx dy
(c) + 6x = 4 (d) - 3y = 2
dt dx
dy dx
(e) = 6y + 9 (f) = 3x - 8
dx dt
Solutions to exercises
3 8
(e) y = ce6x - 2 (f) x = 3 + ce3t
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1011
4.1 Introduction
Computer software packages are readily available that can solve differential equations.
You may recall that when using software to perform integration the results produced
fall into two categories, symbolic and numerical. This is also true when we use
computers to solve differential equations.
For many equations it is possible for the computer to obtain a symbolic answer in
terms of common functions, and we shall illustrate this shortly. However, for many
equations it is impossible to obtain a symbolic answer and so techniques, known as
numerical methods, exist for obtaining approximate solutions. One technique for
solving first-order equations is Euler’s method. In general, numerical techniques are
laborious to perform by hand and so are best implemented using a computer. We
shall be content to illustrate Euler’s method using simple examples, and then rely
upon software to tackle more substantial problems.
Many software packages designed for tackling mathematical problems have the
facility to solve first-order equations. You should enquire whether the package(s) to
which you have access can solve differential equations symbolically. You may need
to refer to local documentation. Some of the packages require additional software
to be loaded. For example, the standard version of Matlab does not come with a
symbolic processor, but requires a Symbolic Math Toolbox.
Solution
Maple
In Maple the command dsolve can be used to find the general solution of a differential
equation with dependent variable y and independent variable x. y must be input as y(x),
and the derivative term is input as diff(y(x), x), which stands for the derivative of y(x)
dy
with respect to x. So, to solve the equation - xy = 0 the Maple command is
dx
dsolve(diff(y(x),x)⫺x*y(x) ⫽ 0);
and Maple outputs
y(x) = —C1eA2x B
1 2
Matlab
Assuming the Symbolic Math Toolbox is available, the function dsolve computes symbolic
solutions to differential equations. In Matlab the symbol D is used to denote the derivative.
The command
dsolve('Dy-x*y=0','x')
generates the result
C1*exp(1>2*xN2)
Note the requirement to put the differential equation and the independent variable
between apostrophes. Clearly the output is not as user-friendly as that provided by
Maple, although another Matlab command, pretty, can be applied to generate more
familiar output.
The power of software packages lies in their ability to handle symbolic constants in
problems. Consider the following example.
Example 4.2 Electrical Engineering – RL circuit with sinusoidal input
In question 2, End of block exercises, Block 3 the integrating factor method was
used to solve the equation
di
iR + L = sin vt
dt
where R, L and v are constants, in order to find the current i(t) in an RL circuit. Use
a computer algebra package to obtain the general solution of this equation.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1013
4.2 Use of symbolic algebra packages to solve first-order differential equations exactly 1013 20
Solution
Maple
In Maple the relevant command is
dsolve(i(t)*R+L*diff(i(t),t) = sin(w*t));
and Maple produces the following output:
Rt -L w cos(wt) + R sin(wt)
i(t) = e( - L ) –C1 +
R2 + w2L2
where – C1 represents the arbitrary constant in the general solution. Compare this
solution with the one stated analytically in question 2 on page 1010.
Matlab
In Matlab the symbol i is used to denote 2 -1 and so should not be used here. Instead
we use y as the dependent variable. The command
dsolve('y*R+L*Dy = sin(w*t)','t')
results in the output
(-L*w*cos(w*t) + R*sin(w*t) + exp(-1>L*R*t)*C1*R^2 +
exp(-1>L*R*t)*C1*w^2*L^2)>(R^2 + w^2*L^2)
This is equivalent to that produced by Maple, although the format is not so user-friendly.
Solution
Software packages will have the facility to handle initial conditions.
Maple
In Maple the appropriate command is
dsolve({diff(y(x),x) - x^2*y(x) = 0,y(0) = 3});
and Maple outputs the particular solution\
y(x) = 3e13x 2
1 3
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1014
Matlab
The command
dsolve('Dy-x^2*y=0','y(0) = 3','x')
results in the output
3*exp(1>3*x^3)
1 Use a computer algebra package to find the 2 Use a computer algebra package to find the
general solutions of the following differential exact, particular solution of the following
equations: equations:
dy xy du
(a) = 2 (a) = -ku, u(0) = u0
dx x + 1 dt
dv di
(b) m = -v where m is a constant (b) iR + L = E, i(0) = 0, where R, L
dt dt
and E are constants
Solutions to exercises
Although symbolic algebra packages are extremely powerful, there are nevertheless
some differential equations that they cannot solve exactly. In such cases it may be
possible to use the computer to obtain an approximate solution. There are many
sophisticated techniques available for doing this, the details of which can be found in
textbooks on numerical methods. The simplest technique is Euler’s method, which
we explain here.
Euler’s method is a numerical technique for finding approximate solutions of
differential equations having the form
dy
= f (x, y), y(x0) = y0
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1015
Figure 4.1
y
A tangent line is
used to obtain an
estimate of the true True solution
solution.
y (x1)
y1 Tangent line approximation
y0
h
x0 x1 x
The point (x0, y0) lies both on the solution curve and on the tangent line. Consider
moving to a nearby point on the tangent line. Let the nearby point be (x1, y1), where
x1 = x0 + h. The value of h and hence x1 is known. Then (x1, y1) is on the tangent
line, but not on the solution curve. When x = x1 the value of the solution is y(x1). We
do not know the value of y(x1). We can, however, use y1 as an approximation to y(x1).
y1 - y0
Referring to Figure 4.1 we note that the gradient of the tangent line is , and so
h
y1 - y0
= f (x0, y0)
h
It follows by rearrangement that y1 = y0 + hf (x0, y0). So, knowing the values
of x0, y0, the function f (x, y) and the value of h we can calculate y1. Note from
Figure 4.1 that y(x1) is the true, but unknown, solution, whereas y1 is now the known,
but approximate, solution.
We can use the point (x1, y1) as a new starting point to find an approximate solu-
tion at x2 = x1 + h, and using an identical argument this is y2 = y1 + hf(x1, y1).
The process is repeated using the general formula yn + 1 = yn + hf (xn, yn). The
result is a sequence of values, yn, which approximates the true solution y(x) at the
points where x = xn.
Example 4.4
dy x
Use three steps of Euler’s method to obtain an approximate solution of = , subject
dx y
to the initial condition y(1) = 2, at the points where x = 1.1, 1.2 and 1.3. Compare
the results with the exact solution.
Solution
We start from the given initial condition, x0 = 1, y0 = y(x0) = y(1) = 2. Then
x
applying Euler’s method with h = 0.1, and f(x, y) = , we find
y
y1 = y0 + h f (x0, y0)
= y0 + h a b
x0
y0
= 2 + 0.1 a b
1
2
= 2.05
So, at the point x1 = 1.1 the solution is approximated by y1 = 2.05. These values
are recorded in Table 4.1.
Applying the formula again:
y2 = y1 + hf (x1, y1 )
= y1 + h a b
x1
y1
= 2.05 + 0.1 a b
1.1
2.05
= 2.103659 (6 d.p.)
So, at the point x2 = 1.2 the solution is approximated by y2 = 2.103659.
Applying the formula one more time:
y3 = y2 + hf(x2, y2 ) = y2 + h a b =
x2
2.160702
y2
These results and the true solutions, for comparison, are given in Table 4.1. Note that
the true solution can be obtained by separation of variables and is y = 2x2 + 3.
Table 4.1
For Example 4.4. xn yn True: y(xn) (to 6 d.p.)
x0 = 1 y0 = 2 2
x1 = 1.1 y1 = 2.05 2.051828
x2 = 1.2 y2 = 2.103659 2.107131
x3 = 1.3 y3 = 2.160702 2.165641
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1017
We have provided details of the simplest numerical method for solving a first-order
differential equation. More sophisticated formulae exist, but for a detailed treatment
you should refer to a textbook on numerical methods for engineers.
Exercises
1 Use five steps of Euler’s method to find an 2 Use five steps of Euler’s method to find an
approximate solution of the initial value approximate solution of the initial value
dy dx x + x2
problem = x sin y, y(0) = 2 using h = 0.2, problem = , x(1) = -5 using
dx dt t
for 0 … x … 1. Work throughout to six decimal h = 0.01. Work throughout to six decimal
places. Hence approximate y(1). places. Hence approximate x(1.05).
Solutions to exercises
Solution
A numerical solution produces a sequence of values of the dependent variable, at
values of the independent variable specified by the user. For example, suppose we
wish to know the value of y when x = 0, 0.2, 0.4, 0.6, 0.8 and 1.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1018
Maple
dsolve({diff(y(x),x)-x^2*y(x)=0,y(0)=3},
type=numeric,output=array([0,0.2,0.4,0.6,0.8,1]));
and Maple outputs an array containing the x and y values:
[x y(x)]
0 3.
.2 3.00801944725338
.4 3.06469041449842
.6 3.22396357678057
.8 3.55828609702334
1 4.18683969904184
You will find that producing a graph of the output using the software is straightforward.
Matlab
Using Matlab, it is first necessary to write and save a file, known as an m.file, to store the
dy
right-hand side of the differential equation = f (x, y). The second line below represents
dx
dy
the right-hand side of the equation = x2 y.
dx
function ode1=example1(x,y)
ode1=x^2*y
After saving this m.file the following command will obtain the numerical solution,
subject to the initial condition y(0) = 3:
[x,y]=ode45('example1',[0,0.2,0.4,0.6,0.8,1],3)
resulting in
3.0000
3.0080
3.0647
y = F V
3.2240
3.5583
4.1868
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:52 PM Page 1019
Solutions to exercises
0 2. 0 1.
.1 2.13759470217855 .25 1.23412636541130
.2 2.26437308827318 (b) E .5 1.47072990280928 U
(a) F V
.3 2.38299104649312 .75 1.63173824177242
.4 2.49515771401761 1 1.71208213688752
.5 2.60205536137248
1 Using software, obtain a symbolic solution of 0 … x … 0.5. First take h = 0.1, then
di h = 0.05, and compare your answers at
L + Ri = 10(1 - e-0.1t) when i(0) = i0.
dt x = 0.5 with the exact solution obtained by
separating the variables. Work throughout to
2 Using software, obtain a symbolic solution of
six decimal places.
di
iR + L = E where R, L and E are constants
dt 5 Use Euler’s method to find a numerical solution
subject to the initial condition i(0) = 0. dy xy
of = 2 subject to y(1) = 3. Take
3 Use a package to find the general solution of dx x + 2
dT h = 0.1 and hence approximate y(1.5). Obtain
= m(T - K) where m and K are constants. the true solution using the method of
du
separation of variables. Work throughout to
six decimal places.
4 Use Euler’s method to find a numerical
dy
solution of = - 2y, y(0) = 1, for
dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1020
Solutions to exercises
- a be-0.1t
10 100 4 h = 0.1: y(0.5) L 0.327680.
1 i(t) =
R 10R - L h = 0.05: y(0.5) L 0.348678. True solution
+ ai0 + b e-Rt>L
10L y = e-2x: y(0.5) = 0.367879
R(10R - L)
5 3, 3.1, 3.206231, 3.318076, 3.434973,
E y(1.5) L 3.556411. True solution:
2 i(t) = (1 - e-Rt>L) y = 23(x2 + 2)1>2 , y(1.5) = 3.570714
R
3 T(u) = K + Aemu
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1021
5.1 Introduction
The general form of a second-order linear equation that has constant coefficients is
d2y dy
a 2
+ b + cy = f (x) (1)
dx dx
where a, b, c are constants. An example of such an equation is
d2y dy
3 2
- 2 + 4y = e-x sin x
dx dx
When f (x) is not identically zero, the equation is said to be inhomogeneous. An
important relative of this equation is found by replacing the function f (x) with zero
to give
d2y dy
a 2
+ b + cy = 0 (2)
dx dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1022
This is the homogeneous form of equation (1). The homogeneous form is found by
ignoring the term that is independent of y, or its derivatives.
To find the general solution of equation (1), it is first necessary to solve equation
(2). The general solution of (2) is called the complementary function and will
always contain two arbitrary constants. We shall denote this solution by ycf.
The technique for finding the complementary function is described in this block.
Example 5.1
Which of the following are constant-coefficient equations? Which are homo-
geneous?
d2y dy d2y
(a) 2
+ 4+ 3y = e-2x (b) x + 2y = 0
dx dx dx2
d2x dx d2y dy
(c) 2 + 3 + 7x = 0 (d) + 4 + 4y = 0
dt dt dx2 dx
Solution
(a) const. coeff., not homogeneous
Example 5.2
What is a complementary function?
Solution
A complementary function is the
general solution of a homogeneous,
linear differential equation.
Example 5.3
The complementary function for the equation
d2y
+ y = 0
dx2
is y = A cos x + B sin x for any constants A and B. Verify that this is indeed a
solution.
Solution
The given equation is homogeneous, linear and constant coefficient. By differentiat-
ing y = A cos x + B sin x twice and substituting into the equation it is easy to verify
that this is a solution.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1023
dy d2y
Find and 2 .
dx dx
Exercises
Solutions to exercises
d2y dy d2x
1 (a) + 3 - 2y = 0 (b) 2 + 7x = 0 (c) is already homogeneous
dx2 dx dt
To find the complementary function we must make use of the following property.
If y1(x) and y2(x) are any two (linearly independent) solutions of a linear, homo-
geneous second-order differential equation then the general solution ycf (x) is
We see that the second-order linear ordinary differential equation has two
arbitrary constants in its general solution. The functions y1(x) and y2 (x) are linearly
independent if one is not simply a multiple of the other.
This property gives us a method for constructing the complementary function. If
we can find two independent solutions of a homogeneous differential equation, we
can form the complementary function by simply adding constant multiples of the
two solutions.
Example 5.4
(a) Verify that y1 = e4x and y2 = e2x both satisfy the constant-coefficient
homogeneous equation
d2y dy
- 6 + 8y = 0 (3)
dx2 dx
(b) Write down the general solution of this equation and so form the
complementary function.
Solution
(a) If y1 = e4x, differentiation yields
dy1
= 4e4x
dx
and similarly,
d2y1
= 16e4x
dx2
Substitution into the left-hand side of equation (3) gives
dy2 d2y2
= 2e2x and = 4e2x
dx dx2
Example 5.5
Substitute y = ekx, where k is a constant, into the equation
d2y dy
2
- - 6y = 0
dx dx
in order to find the values of k that make y = ekx a solution. Hence state the general
solution.
Solution
As suggested we substitute y = ekx. Differentiating we find
dy d2y
= kekx and = k2ekx
dx dx2
that is
(k2 - k - 6)ekx = 0
Since the function ekx can never be zero it follows that
k2 - k - 6 = 0 (4)
that is
(k - 3)(k + 2) = 0
Example 5.6
By substituting y = ekx, find values of k so that y is a solution of
d2y dy
2
- 3 + 2y = 0
dx dx
Hence write down two solutions and the general solution of this equation. Hence
state the complementary function.
Solution
By substituting y = ekx find the auxiliary equation:
k2 - 3k + 2 = 0
So the required values of k are 1 and 2. Write down the two solutions:
y = ex and y = e2x
Example 5.7
Find the auxiliary equation of the differential equation
d2y dy
a 2
+ b + cy = 0
dx dx
where a, b and c are constants.
Solution
We try a solution of the form y = ekx so that
dy d2y
= kekx and = k2ekx
dx dx2
Substitution into the given differential equation yields
ak2ekx + bkekx + cekx = 0
that is
(ak2 + bk + c)ekx = 0
Because ekx cannot be zero it follows that
ak2 + bk + c = 0
This is the required auxiliary equation.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1027
Example 5.8
Write down, but do not solve, the auxiliary equations of the following differential
equations:
d2y dy d2y dy
(a) + + y = 0 (b) 2 2 + 7 - 3y = 0
dx2 dx dx dx
d2y d2y dy
(c) 4 2
+ 7y = 0 (d) 2
+ = 0
dx dx dx
Solution
(a) k2 + k + 1 = 0
(b) 2k2 + 7k - 3 = 0
(c) 4k2 + 7 = 0
(d) k2 + k = 0
Solution of the auxiliary equation gives the values of k that we seek. Note that the
auxiliary equation is a quadratic equation and so has two roots. Clearly the nature of
the roots will depend upon the values of a, b and c. If b2 7 4ac the roots will be real
and distinct. The two values of k thus obtained, k1 and k2, will allow us to write down
two independent solutions:
y1(x) = ek1x, y2 (x) = ek2x
and so the general solution of the differential equation will be
y(x) = Aek1x + Bek2x
Key point If the auxiliary equation has real, distinct roots k1 and k2, the complementary function
will be
ycf (x) = Aek1x + Bek2x
On the other hand, if b2 = 4ac the two roots of the auxiliary equation will be equal
and this method will therefore yield only one independent solution. In this case,
special treatment is required. If b2 6 4ac the two roots of the auxiliary equation will
be complex: that is, k1 and k2 will be complex numbers. The procedure for dealing
with such cases will become apparent in the following examples.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1028
Example 5.9
Find the general solution of
d2y dy
2
+ 3 - 10y = 0
dx dx
Solution
Write down the auxiliary equation:
k2 + 3k - 10 = 0
Factorise to find the solutions:
1k - 221k + 52 = 0, k = 2 and k = -5
Thus there exist two solutions y1 = e2x and y2 = e-5x. We can write the general
solution as
y(x) = Ae2x + Be-5x
This is the complementary function.
Example 5.10
Find the general solution of
d2y
+ 4y = 0
dx2
Solution
Write down the auxiliary equation:
k2 + 4 = 0
It follows that
k2 = -4
so that
k = ;2j
that is, we have complex roots. The two independent solutions of the equation are
thus
y1(x) = e2jx, y2 (x) = e-2jx
However, in cases such as this, it is usual to rewrite the solution in the following way.
Recall that Euler’s relations (Chapter 11, Block 3) give
Key point If the auxiliary equation has complex roots, a + bj and a - bj, then the
complementary function is
Solution
The auxiliary equation is
k2 + 2k + 4 = 0
Using the Key point above with a = -1 and b = 23 write down the general solution.
Solution d2x
Writing the equation in the form 2 + v2 x = 0 we recognise it as second order,
dt
constant coefficient and homogeneous. Write down the auxiliary equation.
k2 + v2 = 0
This has solutions k = ; vj. So there are complex roots with real part 0 and imagi-
nary parts ; v. From the previous Key point write down the general solution.
x = C cos vt + D sin vt
The fact that the solution consists of a sine and a cosine wave is indicative of the fact
that the differential equation describes an oscillating or vibrating system.
Key point The simple harmonic motion equation and its solution are, respectively,
d2x
2
= -v2x
dt
and
x = C cos vt + D sin vt
It is often sufficient simply to quote this solution when faced with solving a simple
harmonic motion problem.
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1031
Solution dy d2y
We must check that y = xek1x is a solution. Using the product rule find and 2 .
dx dx
dy
= ek1x + xk1ek1x = ek1x(1 + k1x)
dx
d2y
=
dx2
11 + k1x2k1ek1 x + ek1 x k1 = ek1x1k21 x + 2k12
-b ; 2b2 - 4ac
k1 =
2a
b
but since the roots are equal, then b2 - 4ac = 0 and hence k1 = - . So 2ak1 +
2a
b = 0, and the expression (5) simplifies to zero. We conclude that y = xek1x is a solution
d2y dy
of a 2 + b + cy = 0 when the roots of the auxiliary equation are equal.
dx dx
Since k1 is a root of the auxiliary equation, y = ek1x is a solution of the differential
equation. The second independent solution is y = xek1x. So the general solution is
y = Aek1x + Bxek1x
= (A + Bx)ek1x
Key point If the auxiliary equation has two equal roots, k1, the complementary function is
ycf = (A + Bx)ek1x
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1032
Example 5.15
Obtain the general solution of the equation
d2y dy
2
+ 8 + 16y = 0
dx dx
Solution
As before, a trial solution of the form y = ekx yields an auxiliary equation
k2 + 8k + 16 = 0
This equation factorises so that
(k + 4)(k + 4) = 0
and we obtain equal roots, that is k = -4 (twice). If we proceed as before, writing
y1(x) = e-4x and y2(x) = e-4x, it is clear that the two solutions are not independent.
We need to find a second independent solution. Using the result of the previous
example we conclude that, because the roots of the auxiliary equation are equal, the
second independent solution is y2 = xe-4x. The general solution is then
y(x) = (A + Bx)e-4x
This is the complementary function.
Exercises
2 Find the auxiliary equation for the differential 3 Find the complementary function of the
equation equation
d2i di 1 d2y dy
L 2
+ R + i = 0 2
+ + y = 0
dt dt C dx dx
Hence write down the complementary function.
Solutions to exercises
13 x 13 x
1 (a) y = Aex + Be2x (b) y = Ae-x + Be-6x 3 e-x>2 aA cos + B sin b
(c) x = Ae-2t + Be-3t (d) y = Ae-t + Bte-t 2 2
(e) y = Ae2x + Bxe2x
(f) y = e-0.5t(A cos 2.78t + B sin 2.78t)
1
2 Lk2 + Rk + = 0;
C
i(t) = Aek1 t + Bek2 t,
R2 C - 4L
-R ;
A C
k1, k2 =
2L
Solutions to exercises
(d) y = A cos 3x + B sin 3x
1 (a) y = Aex + Bxex
(e) y = A + Be2x
(b) x = e-0.5t(A cos 2.18t + B sin 2.18t)
(f) x = Ae4t + Be-4t
(c) y = Ae-2x + Bex
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1034
6.1 Introduction
Solution
We substitute y = sin 2x into the given equation to see whether it is a solution. First
do the differentiation: if y = sin 2x then
dy
= 2 cos 2x
dx
d2y
= -4 sin 2x
dx2
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1035
d2y
Now substitute the expressions for y and into the left-hand side of the differential
dx2
d2y
equation + 7y, and simplify the result:
dx2
which is the same as the right-hand side of the differential equation. So y = sin 2x is
a solution of the inhomogeneous equation and so is a particular integral. We can
write ypi = sin 2x.
Example 6.2
Show that
1
y = - e2x
4
is a particular integral of
d2y dy
2
- - 6y = e2x (2)
dx dx
Solution
1 dy d2y
Starting with y = - e2x, find and 2 :
4 dx dx
dy 1 d2y
= - e2x, 2 = -e2x
dx 2 dx
dy d2y
Substitute the expressions for y, and 2 into the left-hand side of (2) to show
dx dx
that y satisfies the inhomogeneous equation.
1 1
Therefore y = - e2x is a particular integral and we can write ypi(x) = - e2x.
4 4
Example 6.3
What is a particular integral?
Solution
A particular integral is any
solution of an inhomogeneous
differential equation.
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:55 PM Page 1036
Exercises
1 2t
1 Show that y = 4 is a particular integral of the 3 Show that x = e is a particular integral of
d2y dy 15
$ #
equation 2 - 5 + 6y = 24. the equation x + 4x + 3x = e2t.
dx dx
Table 6.1
Trial solutions to Inhomogeneous term f(x) Trial solution
find the particular
Constant Constant
integral.
axr + . . . + bx + c axr + . . . + bx + g
a cos kx a cos kx + b sin kx
a sin kx a cos kx + b sin kx
aekx aekx
a cosh kx a cosh kx + b sinh kx
a sinh kx a cosh kx + b sinh kx
Example 6.4
In each case you are given the inhomogeneous term f (x). State the appropriate form
of solution to try when finding a particular integral.
(a) f (x) = 7e2x
(b) f (x) = 5
(c) f (x) = 7x - 3
(d) f (x) = cos 2x
Solution
Use Table 6.1 to select an appropriate trial solution.
(a) y = ae2x
(b) y = C, constant
(c) y = ax + b
Solution
(a) y = ax + b
(b) y = ge2x
(c) This time the inhomogeneous term is a combination of an exponential and a
polynomial, so this is the form the trial solution should take.
y = ge2x + ax + b
Example 6.6
Find a particular integral of the equation
d2y dy
2
- - 6y = e2x (3)
dx dx
Solution
We shall attempt to find a solution of the inhomogeneous problem by trying a
function of the same form as that on the right-hand side. In particular, let us try
y(x) = ae2x, where a is a constant that we shall now determine. If y(x) = ae2x then
dy d2y
= 2ae2x and = 4ae2x
dx dx2
that is
-4ae2x = e2x
1
so that y will be a solution if a is chosen so that - 4a = 1, that is a = - .
4
1
Therefore the particular integral is ypi(x) = - e2x.
4
Example 6.7
By trying a solution of the form y = ae-x find a particular integral of the equation
d2y dy
2
+ - 2y = 3e-x
dx dx
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1038
Solution
dy d2y
If y = ae-x, write down expressions for and 2 .
dx dx
dy d2y
= -ae-x, 2 = ae-x
dx dx
Substitute into the given equation to find a, and hence the particular integral.
3 3
-2a = 3, a = - ; ypi(x) = - e-x
2 2
Example 6.8
Obtain a particular integral of the equation
d2y dy
2
- 6 + 8y = x
dx dx
Solution
In the last example, we found that a fruitful approach was to assume a solution in the
same form as that on the right-hand side. Suppose we assume a solution y(x) = ax
and proceed to determine a. This approach will actually fail, but let us see why. If
dy d2y
y(x) = ax then = a and 2 = 0. Substitution into the differential equation yields
dx dx
0 - 6a + 8ax = x
and a ought now to be chosen so that this expression is true for all x. If we equate the
coefficients of x we find 8a = 1 so that a = 18 , but with this value of a the constant
terms are inconsistent (i.e. - 68 on the left, but zero on the right). Clearly a particular
integral of the form ax is not possible. The problem arises because differentiation of
the term ax produces constant terms that are unbalanced on the right-hand side. So,
we try a solution of the form
y(x) = ax + b
with a and b constants. This is consistent with the recommendation in Table 6.1.
dy d2y
Proceeding as before, = a, 2 = 0. Substitution in the differential equation now
dx dx
gives
0 - 6a + 8(ax + b) = x
Equating coefficients of x we find
8a = 1 (4)
and equating constant terms we find
-6a + 8b = 0 (5)
1
From equation (4), a = and then from equation (5)
8
-6 a b + 8b = 0
1
8
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1039
x 3
ypi(x) = +
8 32
Example 6.9
Find a particular integral for the equation
d2y dy
2
- 6 + 8y = 3cos x
dx dx
Solution
First try to decide on an appropriate form for the trial solution. Refer to Table 6.1 if
necessary.
y = a cos x + b sin x
Differentiating, we find
dy d2y
= -a sin x + b cos x, = -a cos x - b sin x
dx dx2
(-a cos x - b sin x) - 6(-a sin x + b cos x) + 8(a cos x + b sin x) = 3 cos x
which simplifies to
7b + 6a, 7a - 6b
Equating coefficients of sin x,
7b + 6a = 0
7a - 6b = 3
M20_CROF5939_04_SE_C20.QXD 9/27/18 1:57 PM Page 1040
Solve these simultaneously to find a and b , and hence the particular integral.
21 18
a = ,b = -
85 85
21 18
ypi(x) = cos x - sin x
85 85
Exercises
1 Find a particular integral for the equation 2 Find a particular integral for the equation
dx 2
dx d 2x
- 3 + 2x = 5e3t - x = 4e-2t
dt 2 dt dt2
3 Find a particular integral for
y– + y¿ + y = 2 + x + cos x.
Solutions to exercises
Solution
The complementary function has already been found in Example 5.9 to be
ycf = Ae2x + Be-5x
By noting that 3x2 is a polynomial of degree 2, the particular integral is found by
trying a solution of the form
y = ax2 + bx + c
Differentiate this trial solution twice:
dy d2y
= 2ax + b, 2 = 2a
dx dx
Substitute into the inhomogeneous equation and by equating coefficients of x2, x and
constants, write down the equations satisfied by a, b and c.
3 9 57
a = - ,b = - ,c = -
10 50 500
3 2 9 57
ypi (x) = - x - x-
10 50 500
Example 6.11
Find the particular solution of y– + y¿ - 12y = 4e2x that satisfies y(0) = 7 and
y¿(0) = 0.
Solution
The solution must be found in three parts:
1 Solve the homogeneous equation to find the complementary function.
2 Find a particular integral of the inhomogeneous equation, and add this to the
complementary function to find the general solution.
3 Apply the initial conditions to find the arbitrary constants.
First of all we find the complementary function. The homogeneous equation is y– +
y¿ - 12y = 0 and so the auxiliary equation is k2 + k - 12 = (k - 3)(k + 4) = 0.
Therefore k = 3 and k = - 4 and so the complementary function is
y = Ae3x + Be-4x
The particular integral is found by trying a solution of the form y = ae2x.
If y = ae2x, y¿ = 2ae2x and y– = 4ae2x. Substitute these expressions into the
differential equation
4ae2x + 2ae2x - 12ae2x = 4e2x
so that
4a + 2a - 12a = 4
2
from which -6a = 4, that is a = - . The general solution is then
3
2
y = Ae3x + Be-4x - e2x
3
2
7 = A + B -
3
dy 4 2x
= 3Ae3x - 4Be-4x - e
dx 3
4
0 = 3A - 4B -
3
32 65
A = and B =
7 21
M20_CROF5939_04_SE_C20.QXD 9/27/18 2:00 PM Page 1043
L C
Solution
The homogeneous equation is
d2i i
L 2
+ = 0
dt C
1 1
Letting i = ekt we find the auxiliary equation is Lk2 + = 0 so that k2 = -
C LC
j
and so k = ; . Therefore the complementary function is
2LC
t t
icf = A cos + B sin
2LC 2LC
where A and B are arbitrary constants. To find a particular integral, try
i = E cos vt + F sin vt, where E and F are constants. We find
di
= - vE sin vt + vF cos vt
dt
d2i
= - v2E cos vt - v2F sin vt
dt2
Substitution into the inhomogeneous equation yields
1
L (-v2E cos vt - v2F sin vt) + (E cos vt + F sin vt) = vV0 cos vt
C
which is simplified to
F E
-v2 LF + , -v2 LE +
C C
M20_CROF5939_04_SE_C20.QXD 9/27/18 12:45 PM Page 1044
Exercises
1 Find the general solution of the following 2 Obtain the general solution of
equations:
y– - y¿ - 2y = 6
d2x dx
(a) 2 - 2 - 3x = 6
dt dt
3 Obtain the general solution of the equation
d 2y dy
(b) + 5 + 4y = 8 d2y dy
dx2 dx + 3 + 2y = 10 cos 2x
dx2 dx
d 2y dy
(c) 2
+ 5 + 6y = 2t
dt dt Find the particular solution satisfying
d2x dx dy
(d) + 11 + 30x = 8t y(0) = 1, (0) = 0
dt2 dt dx
Solutions to exercises
1 Find the general solution of the following 2 Find a particular integral for the equation
equations:
d2y dy d2y dy
(a) 2 + 2 + 3y = 2 sin 2x 2
+ + y = 1 + x
dx dx dx dx
d2y dy
(b) 2 + + y = 4 cos 3t 3 Find the general solution of
dt dt
d2y d2x dx
(c) 2 + 9y = 4e8x (a) 2
- 6
+ 5x = 3
dx dt dt
d2x d2x dx
(d) 2 - 16x = 9e6t (b) 2 - 2 + x = et
dt dt dt
M20_CROF5939_04_SE_C20.QXD 11/28/18 7:49 PM Page 1046
Solutions to exercises
1 Give one example each of a first-order linear 8 Two tanks containing a liquid are placed in
equation, first-order non-linear equation, series so that the first discharges into the
second-order linear equation, second-order second and the second discharges into a waste
non-linear equation. outlet. Let q1(t) and q2(t) be the flow rates out
of the two tanks respectively, and let the height
2 By integrating twice find the general solution of liquid in each of the tanks be h1(t) and h2(t)
of y– = 12x2. respectively. The two tanks are identical and
each has a constant cross-sectional area A. The
3 Find a first-order equation satisfied by x = Ae-2t. outflow from each tank is proportional to the
height of liquid in the tank. At t = 0 the height
4 Classify the following equations, specifying of liquid in the first tank is h0 and the second
the order and type (linear or non-linear): tank is empty.
(a) Derive and solve the differential equation
d2y dy
(a) 2
- = x2 for h1(t).
dx dx (b) Hence find q1(t).
dy (c) Derive and solve the differential equation
(b) + cos y = 0 for h2(t).
dt
(d) Hence find q2(t).
5 Find a second-order differential equation that
is satisfied by 9 The charge, q, on a capacitor in an LCR series
circuit satisfies the second-order differential
y = A cosh 2x + B sinh 2x
equation
6 Integrate twice the differential equation
d2q dq 1
2 L + R + q = E
dy w 2
= (lx - x2) dt dt C
dx2 2
where w and l are constants, to find a general where L, R, C and E are constants. Show
solution for y. that if 2L = CR2 the general solution of this
equation is
dy
7 Integrate the equation = 3x2 subject to the q =
dx
e-t>(CR) a A cos
condition y(1) = 4 in order to find the particular 1 1
t + B sin tb + CE
solution. CR CR
M20_CROF5939_04_SE_C20.QXD 9/27/18 2:04 PM Page 1047
Solutions to exercises
2 y = x4 + Ax + B 7 y = x3 + 3
d2y 10 T = K + Aemu
A 1 - e-Rt>L B (b)
5 = 4y E E
dx2 11 (a) i =
R R
w lx3 x4
a b + Ax + B
3L
6 y = - (c) about
2 6 12 R
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 11/28/18 9:01 PM Page 1048
Chapter 21
Functions of more than one variable
and partial differentiation
Chapter 21 contents
1.1 Introduction
The block diagram in Figure 1.1 depicts the function f(x, y) = 3x + 4y. This func-
tion has two independent inputs, denoted by x and y. The function rule is ‘multiply
the input x by 3, multiply the input y by 4, and add the results’. There is a single
output 3x + 4y.
The notation f(x, y) = 3x + 4y indicates that, with inputs x and y, the function, f,
produces an output of 3x + 4y. The inputs to the function are placed in brackets,
after the f. The expression f(x, y) is read as ‘f is a function of x and y’. As before, the
inputs to a function are also known as the arguments of the function.
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1051
Key point A function of two variables is a rule that produces a single output when values of two
independent variables are chosen.
Example 1.1
A function f is defined by f(x, y) = 3x + 4y. Calculate the output when the input
values are x = 5 and y = 6.
Solution
Refer to the block diagram in Figure 1.1. When the input x takes the value 5, and the
input y takes the value 6, the output is 3 * 5 + 4 * 6 = 15 + 24 = 39. We could
write this as f(5, 6) = 39.
Example 1.2
A function f is defined by f(x, y) = 11x2 - 7y + 2. Calculate the output when the
inputs are x = -2 and y = 3.
Solution
In this example we are required to find f(-2, 3). This can be calculated directly from
the expression for f(x, y), without reference to a block diagram. Substitution into the
function rule produces
f(-2, 3) = 11 * (-2)2 - 7 * (3) + 2 = 44 - 21 + 2 = 25
Example 1.3
x
A function is defined by f (x, y) = . Calculate the output when the inputs are x = 12
y
and y = 3.
Solution
12
f (12, 3) = = 4
3
Example 1.4
A function is defined by f (x, y) = ex + y.
(a) Calculate the output when the inputs are x = -1 and y = 2.
(b) Show that this function can be written in the equivalent form f (x, y) = exey.
Solution
Note that in the previous examples both x and y are independent variables. We can
choose a value for y quite independently of the value we have chosen for x. This is
quite different from the case of a function of a single variable when, for example, if
we write y = 5x2, choosing x automatically determines y.
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1052
Example 1.5
The volume V of the cylinder shown in Figure 1.2 is given by the formula V = pr2h,
where r is the radius and h is the height of the cylinder. Suppose we choose a value
for the radius, and a value for the height. Note that we can choose these values inde-
pendently. We can then use the formula to determine the volume of the cylinder.
We can regard V as depending upon the two independent variables r and h and write
V = f (r, h) = pr2h. Here, the dependent variable is V since the value of the volume
depends upon the values chosen for the radius and the height.
Figure 1.2
The volume, V,
depends upon the V ⫽ πr2h
two independent
variables r and h, h
and is given by
V = pr2h.
r
By now you will be familiar with the way in which a function of one variable is rep-
resented graphically. For example, you have seen in Chapter 6 how the graph of the
function y = f (x) is drawn by plotting the independent variable x on the horizontal
axis, and the dependent variable y on the vertical axis. Given a value of x, the func-
tion rule enables us to calculate a value for y, and the point with coordinates (x, y) is
then plotted. Joining all such points produces a graph of the function.
When two independent variables are involved, as in z = f (x, y), there are various
ways in which we can represent this graphically. One way is to use a contour plot,
as we shall show in Examples 1.6 and 1.7.
A contour plot is a two-dimensional visualisation of a function of two variables.
You may already be familiar with contour plots in the context of maps. Contours
are drawn on the map to show the location of points that are the same height above
sea level. In the example that follows, contours show the location of points that
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1053
Figure 1.3
y T ⫽ sin p x
A metal plate with 1
temperatures 0.75
imposed on its 0.8
boundaries. 0.5
0.6
T ⫽ 0 °C 0.25 T ⫽ 0 °C
0.4
0.2
x
O
0.2 0.4 0.6 0.8 1
T ⫽ 0 °C
sinh py sin px
T(x, y) =
sinh p
Figure 1.4 y
The streamlines of 3
y⫽0
a flow around a y⫽5
corner are y ⫽ 10
described by a
function of two 2 y ⫽ 20
variables,
c = 4(x2 - y2).
y ⫽ 30
1
O x
0.5 1 1.5 2 2.5 3
–1
–2
–3
Exercises
1 Given z = f (x, y) = 7x + 2y find the output 5 If z = f (x, y) = sin(x + y) find f (20°, 30°)
when x = 8 and y = 2. where the inputs are angles measured in degrees.
2 If z = f (x, y) = -11x + y find (a) f (2, 3), 6 If f (x, t) = e2xt find f (0.5, 3).
(b) f (11, 1).
7 Using the temperature distribution function
3 If z = f (x, y) = 3ex - 2ey + x2y3 find z(1, 1). sinh py sin px
T(x, y) = in Example 1.6,
sinh p
4 If w = g(x, y) = 7 - xy find the value of the evaluate the temperature at the centre of the
dependent variable w when x = -3 and plate.
y = -9.
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1055
Solutions to exercises
1 60 5 0.766 (3 d.p.)
4 -20
1 Matlab code that can be used to generate the 2 Maple code that can be used to generate
contour plot in Figure 1.3 is Figure 1.4 is
Figure 1.5 z
Three
perpendicular axes,
labelled x, y and z.
O y
Example 1.8
Given the function of two variables z = f (x, y) = 3x + 4y calculate the value of the
function when x and y take the following values. Represent each point graphically.
(a) x = 3, y = 2 (b) x = 5, y = 0 (c) x = 0, y = 5
Solution
In each case we use the function rule z = f (x, y) = 3x + 4y to calculate the corre-
sponding value of z.
(a) z = 3(3) + 4(2) = 17 (b) z = 3(5) + 4(0) = 15 (c) z = 3(0) + 4(5) = 20
It is conventional to write the coordinates of the points in the form (x, y, z) so that the
three points in this example are (3, 2, 17), (5, 0, 15) and (0, 5, 20).
Each of the points can then be drawn as shown in Figure 1.6, where they have
been labelled A, B and C respectively. Notice that the z coordinate of point A, which
is 17, gives the height of A above the point (3, 2) in the x– y plane. Similar comments
apply to points B and C.
Figure 1.6 z
Three points in
three-dimensional 20 C
space with
coordinates 17
A(3, 2, 17), 15 A
B(5, 0, 15) and
C(0, 5, 20).
1 2 3 4 5 6 7
y
1
2
3
4
5
x
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1057
Figure 1.7
The plane
z = 3x + 4y.
In the previous example we saw that when we drew a graph of the function of two
variables z = 3x + 4y we obtained a plane. In more general cases the graph of
z = f (x, y) will be a curved surface, and the z coordinate is the height of the surface
above the point (x, y). Some more examples of functions of two variables and their
graphs are shown in Figures 1.8 and 1.9. It would be a useful exercise for you to try
to reproduce these graphs for yourself using computer software.
Figure 1.8 z
The function
z = x2 + y2.
x y
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1058
Figure 1.9 z
The function
z = sin(x2 + y2).
x y
Figure 1.10 z
The function
sinh py sin px
T(x, y) = .
sinh p
x y
1
yⴝ
Exercises
1 Given the function z = 3x - 6y, find the z Plot the points on a three-dimensional graph.
coordinate corresponding to each of the
following points, which lie in the x–y plane:
(a) (4, 4) (b) (0, 3) (c) (5, 0)
Solutions to exercises
1 Find the value of the function to functions of two variables. Suppose u(x, y, z)
f (x, y) = 2x2 + y2 when x = 2 and y = 6. is a function of the three independent variables
x, y and z, and is defined by
2 If f (x, y) = x2 + 3xy find f (2, 3).
1
u =
3 If V = ln(x2 + y2) find the value of V when 2x + y2 + z2
2
x = 3 and y = 7.
Find u when x = 1, y = 2 and z = 3. Can the
4 Functions of three (or more) independent value of u be determined when x = y = z = 0?
variables can be defined in an analogous way
Solutions to exercises
Partial differentiation
BLOCK 2
2.1 Introduction
Before attempting this section it is essential that you have a thorough understanding of
differentiation of functions of one variable, and you should revise Chapters 15 and 16
if necessary. In particular, you may need to refer frequently to Table 2.1 in Chapter 15,
which gives the derivatives of some common functions.
In Chapter 15 we introduced differentiation of a function of a single variable
and showed how the derivative of such a function can be calculated. Recall that
this gives useful information about the gradient of the graph of the function at dif-
ferent points. In this section we explain how functions of two variables are differ-
entiated.
Also in Chapter 15 we differentiated y, which was a function of x, to obtain the
dy
derivative . Note that the dependent variable (in this case y) is differentiated with
dx
respect to the independent variable (in this case x).
Consider now z, which depends upon two variables x and y. Recall that z is then
the dependent variable, and x and y are the independent variables. Hence z can be
differentiated with respect to x to produce a derivative, and it can also be differenti-
ated with respect to y to produce another, different, derivative. So for functions of
two variables there are two derivatives: we can no longer talk about the derivative of z.
This is a fundamental difference between functions of one variable and functions of
two variables.
When differentiating functions of two variables we refer to this process as
dy
partial differentiation, and instead of using a normal letter d as in , we use a
dx
curly d instead and write 0 . Do not be put off by this notation – you will soon get
used to it. When we differentiate z with respect to (w.r.t.) x we denote the resulting
0z
derivative by . An alternative notation in common use is to write this derivative as
0x 0z
zx. When we differentiate z w.r.t. y we denote the derivative produced by . An
0y
alternative notation is to write this derivative as zy.
dz
Suppose we have a function z = 5x + 11. You will recall that its derivative is = 5.
dx
dz
Note that the derivative of the constant 11 is zero. Similarly if z = 6x + 12, = 6.
dx
Here the derivative of the constant 12 is zero. We are now ready to introduce partial
differentiation with respect to x.
Consider the function z = 5x + y. When we differentiate with respect to x we
treat any occurrence of the variable y as though it were a constant. Hence in this case
the derivative of y is zero, and we write
0z
if z = 5x + y then = 5 + 0 = 5
0x
Similarly,
0z
if z = 7x2 - y then = 14x - 0 = 14x
0x
If y is treated as a constant, then so too will be multiples of y, such as 7y and -3y.
Furthermore, any functions of y, such as y2 and ey, will also be regarded as constants.
Example 2.1
0z
Calculate when z = 9x + 2.
0x
Solution
We must differentiate z = 9x + 2 with respect to x. This function is particularly
simple because y does not appear at all. The derivative of 9x is 9, and the derivative
0z
of the constant 2 is zero. Hence = 9.
0x
Example 2.2
0z
Calculate when z = 9x + y.
0x
Solution
0z
To find we treat y as though it is a constant. Imagine it is just a number like
0x
0z
the ‘2’ in the previous example. Then = 9.
0x
Example 2.3
0z
Calculate when z = y - 19x.
0x
Solution
Treat y as though it is a constant.
0z
= -19
0x
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1062
Example 2.4
0z
Calculate when z = 3x + 4y + 11.
0x
Solution
In this case 11 is a constant and we treat y, and hence 4y, as a constant.
0z
= 3
0x
Example 2.5
0z
Calculate when z = 4x2 - 3y.
0x
Solution
0z
= 8x - 0 = 8x. The quantity -3y is treated as a constant.
0x
Example 2.6
0z
Calculate when z = x2 - y2.
0x
Solution
y and hence y2 are treated as a constant. When -y2 is differentiated with respect to x
0z
the result will be zero. Hence if z = x2 - y2 then = 2x.
0x
Example 2.7
0z
Calculate when z = 5y3 - x4.
0x
Solution
y and hence 5y3 are is treated as a constant.
0z
= -4x3
0x
Example 2.8
0z
Calculate when z = 3x - 4y3.
0x
Solution
0z
If z = 3x - 4y3, then = 3.
0x
Recall that:
Example 2.9
0z
Calculate when z = yx2.
0x
Solution
0z
To find imagine that you were trying to differentiate 3x2 say. The result would be
0x
0z
3(2x) = 6x. Hence if z = yx2 then = y(2x) or simply 2xy.
0x
Example 2.10
0z
Calculate when z = 3yx2.
0x
Solution
Treating y as a constant we see that this function is of the form constant * x2 and so
0z
= (3y)(2x) = 6xy.
0x
Example 2.11
0z
(a) Calculate when z = 3x2 + 4xy + 11.
0x
0z
(b) Evaluate at the point (x, y) = (-2, 5).
0x
0z
(c) Evaluate at the point (x, y) = (9, -3).
0x
Solution
0z
(a) = 6x + 4y
0x
0z
(b) When x = -2 and y = 5, = 6(-2) + 4(5) = 8.
0x
(c) When x = 9 and y = -3
0z
= 42
0x
Example 2.12
0z
Calculate when (a) z = x2ey, (b) z = x2 + ey, (c) z = 3x2 cos y,
0x
(d) z = 3x2 + cos y, (e) z = 3x2 + 4x sin y.
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/29/18 9:47 AM Page 1064
Solution
0z
(a) y and hence ey is treated as a constant. Then = 2xey.
0x
0z
(b) = 2x
0x
0z
(c) y and hence cos y is treated as a constant. Then = 6x cos y.
0x
0z
(d) = 6x
0x
0z
(e) = 6x + 4 sin y
0x
Example 2.13
0z
Calculate when (a) z = sin 3x, (b) z = sin yx.
0x
Solution
0z
(a) If z = sin 3x then = 3 cos 3x.
0x
0z
(b) If z = sin yx then = y cos yx because y is treated as a constant. Compare
0x
this result with that in part (a).
0z
Key point The (first) partial derivative with respect to x of a function z = f (x, y) is denoted by
0x
and is calculated by differentiating the function with respect to x and treating y as
though it were a constant.
Example 2.14
dF 0F
Find and given F1x2 = 3x2 + x.
dx 0x
Solution
Note that F is a function of one variable, x. So
dF
= 6x + 1
dx
0F
We now seek . When differentiating partially w.r.t. x we consider other variables
0x
to be constant. In this case, however, there are no other variables and so
0F
= 6x + 1
0x
We see that in this case
0F dF
=
0x dx
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1065
0z
if z = 3y4 + 4x2 + 8 then = 12y3 + 0 + 0 = 12y3
0y
Example 2.16
0z
Find when z = 3x2y.
0y
Solution
Because x is treated as a constant, we are dealing with a function of the form
z = constant * y. The derivative with respect to y will be simply the constant factor.
That is,
0z
if z = 3x2y then = 3x2
0y
Example 2.17
0z
(a) Find when z = 4xy3.
0y
0z
(b) Evaluate when (x, y) = (6, 11).
0y
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1066
Solution
(a) Because 4x is treated as a constant, we are dealing with a function of the form
z = constant * y3.
0z
= 4x * (3y2) = 12xy2
0y
0z
(b) When x = 6 and y = 11, = 12(6)(112) = 8712
0y
0z
Key point The (first) partial derivative with respect to y of a function z = f(x, y) is denoted by
0y
and is calculated by differentiating the function with respect to y and treating x as
though it were a constant.
It will be necessary to work with symbols other than z, x and y. Consider the follow-
ing example.
Example 2.18
0w 0w
Consider the function w = f ( p, t). Find and when w = 3t7 + 4pt + p2.
0p 0t
Solution
When differentiating with respect to p, any occurrence of t is treated as if it were a
0w
constant. So = 4t + 2p.
0p
When differentiating with respect to t, any occurrence of p is treated as if it were a
0w
constant. So = 21t6 + 4p.
0t
Exercises
0z 0z 0z 0z
1 In each case, given z = f (x, y), find and . 3 If z = 9x + y2 evaluate and at the point
0x 0y (4, -2). 0x 0y
(a) z = 5x + 11y (b) z = -7y - 14x
(c) z = 8x (d) z = -5y 0z 0z
4 Find and when
(e) z = 3x + 8y - 2 (f) z = 17 - 3x + 2y 0x 0y
(g) z = 8 (h) z = 8 - 3y (a) z = e2x (b) z = e5y (c) z = exy
(i) z = 2x2 - 7y (j) z = 9 - 3y3 + 7x (d) z = 4e2y
(k) z = 9 - 9(x - y) (l) z = 9(x + y + 3)
0y 0y
5 If y = x sin t find and .
2 In each case, given z = f (x, y) find zx and zy. 0x 0t
(a) z = xy (b) z = 3xy (c) z = -9yx
(d) z = x2y (e) z = 9x2y (f) z = 8xy2
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1067
2.4 Partial derivatives requiring the product, quotient and chain rules 1067 21
Solutions to exercises
0z 0z
1 (a) = 5, = 11 (b) -14, -7 3 9, -4
0x 0y
0z 0z
(c) 8, 0 (d) 0, -5 (e) 3, 8 (f) -3, 2 4 (a) = 2e2x, = 0 (b) 0, 5e5y
(g) 0, 0 (h) 0, -3 (i) 4x, -7 0x 0y
(j) 7, -9y2 (k) -9, 9 (l) 9, 9 (c) yexy, xexy (d) 0, 8e2y
2.4 Partial derivatives requiring the product, quotient and chain rules
Consider the following more demanding examples, which use the rules developed in
Chapter 16.
Example 2.19
0z 0z
Find and when z = yxe2x.
0x 0y
Solution
0z
To find we treat y as constant. We are dealing with a function of the form constant
0x
* xe2x. Note that this function itself contains a product of the functions x and e2x
and so we must use the product rule for differentiation. The derivative of xe2x is
e2x(1) + x(2e2x) = e2x(1 + 2x). Hence
0z
if z = yxe2x then = y(e2x(1 + 2x)) = ye2x(1 + 2x)
0x
0z
To find we treat x as constant. In turn, this means that xe2x is constant too. This
0y
time the calculation is much simpler because we are dealing with a function of the
form z = constant * y. So,
0z
if z = yxe2x then = xe2x
0y
Example 2.20
0z 0z yex
Find and when z = .
0x 0y x
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:52 AM Page 1068
Solution
0z
To find we treat y as constant. We are dealing with a function of the form constant
0x
ex
* . Note that this function itself contains a quotient of the functions ex and x and
x
ex
so we must use the quotient rule for differentiation. The derivative of is
x
exx - ex(1) ex(x - 1)
=
x2 x2
Hence
yex 0z yex (x - 1)
if z = then =
x 0x x2
0z ex
To find we treat x as constant. In turn, this means that is constant too. This
0y x
calculation is simple because we are dealing with a function of the form
z = constant * y. So,
yex 0z ex
if z = then =
x 0y x
Example 2.21
0z 0z
Find (a) and (b) given z = sin (3x - y2).
0x 0y
Solution
We use the chain rule. Let V = 3x - y2 so that z = sin V
(a) Now
0z dz 0V
= = cos V (3) = 3 cos(3x - y 2)
0x dV 0x
(b)
0z d z 0V
= = cos V (-2y) = -2y cos(3x - y2)
0y dV 0y
Exercises
0z 0z 1
1 Find and when 2 Find the first partial derivatives of u = .
0x 0y x2 + y2
(a) z = yxex (b) z = xyey (c) z = xexy x
(d) z = yexy (e) z = x2 sin(xy) 3 Find the first partial derivatives of u = .
x + y2
2
(f) z = y cos(xy) (g) z = x ln(xy)
(h) z = 3xy3ex
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:53 AM Page 1069
2.4 Partial derivatives requiring the product, quotient and chain rules 1069 21
Solutions to exercises
2x 2y
1 (a) yex(x + 1), xex (b) ye y, xe y(y + 1) 2 - ,-
(c) exy(xy + 1), x2exy (d) y2exy, exy(xy + 1) (x2 + y2)2 (x2 + y2)2
(e) x2y cos(xy) + 2x sin(xy), x3 cos(xy) y2 - x2 -2xy
(f) -y2 sin(xy), -yx sin(xy) + cos(xy) 3 2 2 2
,
(x + y ) (x + y2)2
2
x
(g) 1 + ln(xy), (h) 3exy3(x + 1), 9xy2ex
y
1 The derivative of f (x) with respect to x is Use these definitions to find the first partial
df f (x + dx) - f (x) derivatives of (a) f (x, y) = x2y,
defined as = limdx:0 (b) f (x, y) = x2 + 3xy, from first principles.
dx dx
(see Chapter 15, Block 1). In an analogous 0r 0r
manner we define the partial derivatives of 2 If r = 2x2 + y2 find and .
f (x, y) by 0x 0y
f (x + dx, y) - f (x, y) k
0f 3 The derivative of f (x) = tan-1 kx is .
= lim 1 + k2x2
0x dx : 0 dx
0f f (x, y + dy) - f (x, y) y 0f
= lim If f = tan-1 find .
0y dy : 0 dy x 0y
Solutions to exercises
Higher-order derivatives
BLOCK 3
3.1 Introduction
Just as a function of one variable has a second derivative found by differentiating the
first derivative, so too does a function of two variables. If z = f(x, y) the first partial
0z 0z
derivatives are and . The second partial derivatives are found by differentiating
0x 0y
the first partial derivatives. We can do this in various ways, as we show in the next
section.
We can differentiate first partial derivatives either with respect to x or with respect to
y to obtain various second partial derivatives, as summarised in the next Key point.
0 2z
w.r.t. y produces a b =
0z 0 0z
differentiating
0x 0y 0x 0y0x
0 2z
w.r.t. x produces a b =
0z 0 0z
differentiating
0y 0x 0y 0x0y
0 2z
w.r.t. y produces a b = 2
0z 0 0z
differentiating
0y 0y 0y 0y
0 2z 0 2z 0 2z 0 2z
, , ,
0x2 0y0x 0x0y 0y2
respectively.
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:53 AM Page 1071
0 2z
a b =
0 0z 0
(3y3 - 2y) = 0. Thus 2 = 0.
0x 0x 0x 0x
0 2z
a b =
0 0z 0
(9xy2 - 2x) = 9y2 - 2. Thus = 9y2 - 2.
0x 0y 0x 0x0y
Now, each of the first partial derivatives must be differentiated with respect to y.
0 2z
a b =
0 0z 0
(3y3 - 2y) = 9y2 - 2. Thus = 9y2 - 2.
0y 0x 0y 0y0x
0 2z
a b =
0 0z 0
(9xy2 - 2x) = 18xy. Thus 2 = 18xy.
0y 0y 0y 0y
0 2z 0 2z
Note that = . It is usually the case that the result is the same either way.
0y0x 0x0y
Example 3.2
Find all second partial derivatives of z = sin(xy).
Solution
First of all the first partial derivatives are found.
0z 0z
= y cos(xy), = x cos(xy)
0x 0y
Then each of these is differentiated with respect to x:
0 2z
a b = -y2 sin(xy)
0 0z
=
0x2 0x 0x
0 2z
a b = -xy sin(xy) + cos(xy)
0 0z
=
0x0y 0x 0y
Note here the need to use the product rule to differentiate x cos(xy) with respect to x.
Now, each of the first partial derivatives must be differentiated with respect to y.
0 2z
a b = -xy sin(xy) + cos(xy)
0 0z
=
0y0x 0y 0x
0 2z
a b = -x2 sin(xy)
0 0z
=
0y2 0y 0y
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/29/18 9:58 AM Page 1072
Example 3.3
Consider the function f(x, y) = 2xy.
0f 0f 0 2f 0 2f
(a) Find , , 2 and 2 .
0x 0y 0x 0y
0 2f 0 2f
(b) Using the result of part (a) evaluate + .
0x2 0y2
Solution
0f 0f
(a) = , = 2y 2x
0x 0y
0 2f 0 2f
= , = 0 0
0x2 0y2
0 2f 0 2f
(b) + = 0
0x2 0y2
0 2f 0 2f
Note from the last result that f = 2xy satisfies the equation = 0. This +
0x2 0y2
equation is a partial differential equation. It occurs in the modelling of heat con-
duction, fluid flow and electrostatics problems, and is known as Laplace’s equation.
Example 3.4
d2F 0 2F
Given F1x2 = 3x2 + x, find 2 and 2 .
dx 0x
Solution
Clearly F is a function of one variable, x. So
dF d2F
= 6x + 1, = 6
dx dx2
In Example 2.14 (Section 2.2) we found
0F
= 6x + 1
0x
0F
Noting that is a function of x only and differentiating partially w.r.t. x we have
0x
0 2F
= 6
0x2
Hence, in this case
0 2F d2F
2
=
0x dx2
0 2F d2F
2
=
0x dx2
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:53 AM Page 1073
0u 0u 0 2u 0 2u
(a) find , , ,
0x 0t 0x2 0t2
(b) confirm that
0 2u 0 2u
= F–1x2 G1t2 and = F1x2G–1t2
0x2 0t2
d2F d2G
where F–1x2 = 2
and G–1t2 = .
dx dt2
Solution
(a) Given u1x, t2 = F1x2G1t2 = 13x2 + x21t3 + 5t2 then
= 16x+121t3 +5t2
0u
0x
Exercises
1 Find all the second partial derivatives in each of 3 Find all the second partial derivatives in each
the following cases: of the following cases:
(a) z = xy (b) z = 7xy (a) z = x sin y (b) z = y cos x
(c) z = 8x + 9y + 10 (c) z = ye2x (d) z = ye-x
(d) z = 8y2x + 11 (e) z = -2y3x2
(f) z = x + y 4 Find all the second partial derivatives in each
of the following cases:
2 Find all the second partial derivatives in each of (a) z = 8exy (b) z = -3ex sin y
the following cases: (c) z = 4ey cos x
1 y
(a) z = (b) z = 5 Find all the second partial derivatives in each
x x
x 1 1 of the following cases:
(c) z = (d) z = + (a) z = ln x (b) z = ln y (c) z = ln xy
y x y
(d) z = x ln y (e) z = y ln x
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:53 AM Page 1074
Solutions to exercises
4.1 Introduction
Partial differential equations (p.d.e.s) are used in many areas of engineering to model
phenomena in which a single variable, u say, depends upon two or more independent
variables. The independent variables are often time, t, and space coordinates x, y and
z. The dependent variable could be, for example, temperature, electrostatic potential
or displacement, as we shall illustrate. To solve a p.d.e. means to find the dependent
variable, u, as a function of x, y, z and t, that is u = u(x, y, z, t).
The solution of p.d.e.s forms a vast subject of study in its own right. In practice,
numerical methods implemented with computer software are used to obtain and
provide visualisations of solutions. Here we provide an introduction to three main
types of equation met in engineering applications and one analytical technique –
separation of variables – that can be used to solve them.
Figure 4.1
The heat transfer u(0, t) u(L, t)
along a metal bar,
insulated along its
length, can be
described by a p.d.e. x
O L
Clearly, the temperature can vary with position and with time, and so is described
by a p.d.e. The constant c depends upon the properties of the material. Typically a
boundary condition will be imposed at each end which specifies the temperature
there at all times so that u(0, t) and u(L, t) are known quantities. Other types of
boundary conditions are possible. Sometimes an initial condition is given. This
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/28/18 10:53 AM Page 1076
specifies the solution, that is the heat distribution, when t = 0. For example, we may
be told that u1x, 02 = sin x. Note that the heat equation is also referred to as the dif-
fusion equation.
Figure 4.2
A wave on a
vibrating string u
can be described
by a p.d.e.
O x
L
O x=a x
u = u(x, 0)
Similarly
0 2T 2y2 - 2x2
=
0y2 (x2 + y2)2
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/29/18 9:59 AM Page 1078
So
0 2T 0 2T 2x2 - 2y2 2y2 - 2x2
+ = + = 0
0x2 0y2 (x2 + y2)2 (x2 + y2)2
0u 0 2u
4.3 Separation of variables: the one-dimensional heat equation = c2 2
0t 0x
This method involves seeking a solution, u1x, t2, in which the independent variables
are ‘separated’ by writing u1x, t2 = X1x2 T1t2; that is, we look to see if u can be
written as a product of two functions, one a function of x and the other a function of
t. By doing this, it is possible to generate ordinary differential equations for X1x2 and
T1t2. These are solved using the techniques of Chapter 20, and then the solutions are
combined to give u1x, t2 = X1x2 T1t2.
The study of heat transfer by conduction, convection and radiation forms an essen-
tial component of all chemical engineering degrees. Conduction through metal bars
(see Figure 4.1) can be analysed using the heat equation. In Examples 4.2–4.5 we
illustrate how this equation can be solved subject to specified boundary and initial
conditions. Consider the following example.
Example 4.2 Chemical Engineering – Heat transfer by conduction
0u 0 2u
By seeking a solution of = c2 2 in the form u1x, t2 = X1x2 T1t2, obtain and
0t 0x
solve ordinary differential equations satisfied by X1x2 and T1t2. Hence write down
possible solutions for u1x, t2.
Solution
0u
In order to substitute u1x, t2 = X1x2 T1t2 into the heat equation we need to find
0t
0 2u
and 2 . Differentiating u1x, t2 = X1x2 T1t2 gives
0x
0u 0 2u
= X1x2T¿1t2, = X–1x2T1t2
0t 0x2
dT d2X
where T¿1t2 = and X–1x2 = (see Example 3.5 on page 1073). Substitution
dt dx2
into the heat equation gives
X1x2T¿1t2 = c2 X–1x2T1t2
Rearranging, we can write this as follows:
1 T¿1t2 X–1x2
2 T1t2
=
c X1x2
Now here is the crux of the argument: the left-hand side is a function of t only. The
right-hand side is a function of x only. However, t and x are independent variables, so
the only way this is possible is if each side is equal to a constant. Thus we write
M21_CROF5939_04_SE_C21_pages1048-1079.QXD 9/29/18 9:59 AM Page 1079
p2
1 T¿1t2 X–1x2
= = constant = c -q2 where p, q 7 0
c2 T1t2 X1x2
0
We write it like this because it is possible that the constant could be positive, nega-
tive or zero. The physical situation dictates which choice should be made, as we shall
see. For now, choose the case
1 T¿1t2 X–1x2
2 T1t2
= = - q2
c X1x2
so we end up with two ordinary differential equations:
X– = - q2X and T¿ = -q2c2T
that is
d2X dT
2
= - q2X and = - q2c2T
dx dt
The general solutions of these differential equations are
2 2
X = A cos qx + B sin qx and T = C e-q c t
where A, B and C are constants, and thus we can write the solution of the heat
equation as
2 2
u(x, t) = X(x) T(t) = (A cos qx + B sin qx)C e-q c t
The constant C can be absorbed into the constants A and B, and so can now be dis-
carded and we write
2 2
u(x, t) = X(x) T(t) = (A cos qx + B sin qx)e-q c t (1)
In a similar manner, you should verify that the solutions for the cases when the sep-
aration constant is p2 or zero are
2 2
u(x, t) = X(x) T(t) = (Ae px + Be-px) ep c t (2)
and
u(x, t) = X(x) T(t) = Ax + B (3)
Applying the principle of superposition, further solutions can be obtained by adding
the solutions (1), (2) and (3). Values for the constants A, B, p and q are determined
by the physical situation under consideration and the boundary and initial condi-
tions, as we shall see in the following example.
Figure 4.4
A metal bar, u(0, t) = 0 u(L, t) = 0
insulated along its
length, with zero
temperature
maintained at both O L x
ends.
Solution
Observe that the solution in equation (2) can be discounted at this stage because the
2 2
exponential term ep c t grows without bounds as t increases. The physical situation
tells us that this is impossible. Similarly, the solution in equation (3),
u1x, t2 = Ax + B, can be discounted because, as is easily verified, imposition of the
boundary conditions, u10, t2 = 0, u(L, t) = 0, leads to a solution which is zero for
all time, a so-called trivial solution. So we consider the solution given by equation
(1) and start to impose the boundary conditions.
u1x, t2 = 1A cos qx + B sin qx2e-q c t
2 2
Figure 4.5 πx
The initial u(x, 0) = sin
L 1
temperature
distribution in the
bar, u1x, 02. O L x
Solution q
npx -anpc b2t
Imposing the initial condition on u1x, t2 = a Bn sin e L by setting t = 0
n=1 L
gives
q
px npx
sin = a Bn sin
L n=1 L
By observation, this can be satisfied by choosing B1 = 1 and Bn = 0 when n Z 1 so
only one term in the infinite series is necessary. Thus the final solution satisfying the
p.d.e., the boundary and initial conditions is
px -apc b2t
u1x, t2 = sin e L
L
giving the temperature at any point, x, at any time t 7 0. When the initial condition is
more complicated it can be necessary to use an infinite number of terms in equation (5).
This requires knowledge of Fourier series, which are explored along with further
examples of the solution of p.d.e.s in Chapter 24.
All mechanical systems exhibit vibrations or oscillations, and engineers need to take
these into account, for example when designing components that will safely dissi-
pate energy and avoid unwanted fluctations. A useful starting point is the equation
that models the oscillations of a string that is fixed at both ends. In Examples 4.5 and
4.6 we illustrate how this equation can be solved.
(a) Seek a solution, u1x, t2, of the form u1x, t2 = X1x2 T1t2. Obtain and solve the
ordinary differential equations for X1x2 and T1t2 and so deduce u1x, t2.
(b) Apply the boundary conditions u10, t2 = u1L, t2 = 0 for all t Ú 0.
Solution
(a) We seek a solution in the form u1x, t2 = X1x2 T1t2. Differentiating and
0 2u 2
20 u
substituting into the wave equation, = c , produces
0t2 0x2
X1x2T–1t2 = c2 X–1x2T1t2
Rearranging, we can write this as follows:
1 T–1t2 X–1x2
2 T1t2
=
c X1x2
d2X d2T
where X– = 2
and T– = . As before, t and x are independent variables, so
dx dt2
the only way this is possible is if each side is equal to a constant. Thus we write
p2
1 T–1t2 X–1x2
= = constant = c -q2 p, q 7 0
c2 T1t2 X1x2
0
As in the heat equation, at this stage, it is possible that the constant could be
negative, positive or zero. However, as we show below, we can discount the
possibilities that the constant is zero or positive by looking at the boundary
conditions X102 = X1L2 = 0. Hence we consider just
1 T–1t2 X–1x2
2 T1t2
= = -q2
c X1x2
from which we obtain the two ordinary differential equations
X– = -q2X and T– = -c2q2T
with general solutions
X = A cos qx + B sin qx, T = C cos cqt + D sin cqt
Combining these solutions gives
u1x, t2 = 1A cos qx + B sin qx21C cos cqt + D sin cqt2
(b) With the boundary condition u10, t2 = 0 for all t we find
0 = 1A cos 0 + B sin 021C cos cqt + D sin cqt2 = A1C cos cqt + D sin cqt2
from which A = 0. Imposing the second condition, u1L, t2 = 0 for all t gives
0 = B sin qL1C cos cqt + D sin cqt2
from which B sin qL = 0. To avoid a trivial solution B cannot be zero and hence
sin qL = 0
and thus qL = np for n = 1, 2, . . ., from which
np
q = , n = 1, 2, . . .
L
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1083
In chemical engineering plants, heat exchangers are used to transfer heat, for exam-
ple from a solid to a fluid. This is frequently achieved using fins, which are plates of
metal having a large surface area. The analysis of the steady-state heat distribution
within a cross-section of the plate is a starting point for more complicated analysis.
Example 4.7 Chemical Engineering – Steady-state heat distribution
Figure 4.6 shows a cross-section of a metal plate. The temperature distribution
u1x, y2 satisfies Laplace’s equation
0 2u 0 2u
+ = 0 0 … x … d, 0 … y … b
0x2 0y2
Solve this equation subject to the boundary conditions u1x, y2 = 0, on x = 0, y = 0
and y = b, and u1d, y2 = f1y2 (a given function of y).
Figure 4.6
A cross-section of
y
a metal plate with
temperature u=0
y=b
distribution
u1x, y2.
O u=0 x=d x
M21_CROF5939_04_SE_C21_pages1080-1093.QXD 9/29/18 10:06 AM Page 1085
4.5 Separation of variables: Laplace’s equation and steady-state heat conduction 1085 21
Solution 0 2u 0 2u
We let u1x, y2 = X1x2 Y1y2. Differentiating and substituting into 2 + 2 = 0
gives 0x 0y
X–1x2Y1y2 + X1x2Y–1y2 = 0
2
dX d2Y
where X– = and Y– = . Rearranging we can write this as follows:
dx2 dy2
X–1x2 Y–1y2
= -
X1x2 Y1y2
As before, because x and y are independent variables the only way this is possible is
if each side is equal to a constant. Thus we write
p2
X–1x2 Y–1y2
= - = constant = c -q2 p, q 7 0
X1x2 Y1y2
0
The physical situation dictates which choice should be made, as we shall see. Con-
sider the boundary condition u1x, 02 = u1x, b2 = 0. It is left as an exercise to show
that in order to satisfy these conditions the separation constant must be positive, p2
say. Then
X–1x2 Y–1y2
= p2, = - p2
X1x2 Y1y2
with solution
X = Cepx + De-px, Y = A cos py + B sin py
Combining the solutions for X and Y gives
u1x, y2 = 1Cepx + De-px21A cos py + B sin py2
Application of the condition u10, y2 = 0 gives C + D = 0 so that D = - C. Thus
u1x, y2 = C1epx - e-px21A cos py + B sin py2
Application of the condition u1x, 02 = 0 gives A = 0. Application of u1x, b2 = 0
np
gives B sin pb = 0, so that pb = np, p = , for n = 1, 2, . . .. Combining these
b
results and superposing solutions gives
n=1 b
Finally, we need to impose u1d, y2 = f1y2:
n=1 b
To find the constants Cn requires knowledge of Fourier series (see Chapter 24).
M21_CROF5939_04_SE_C21_pages1080-1093.QXD 9/29/18 10:08 AM Page 1086
1 0u 0 2u 0 2u 0 2u
If u1x, t2 = e-2t cos x find and 2 . Verify 6 Solve Laplace’s equation + = 0 to
0t 0x 0x2 0y2
0u 0 2u determine the steady-state temperature
that u satisfies the heat equation = 2 2. distribution u1x, y2 in the semi-infinite plate
0t 0x
0 … x … 1, y Ú 0. Assume that the left and
2 Verify that u = x2 + 4t2 satisfies the wave right sides are kept at the constant temperature
0 2u 0 2u of 0° and assume that the solution is bounded.
equation 2 = 4 2 . The temperature along the bottom side is given
0t 0x
by f1x2 = 3 sin 2px - sin px.
3 Find the value(s) of k such that u1x, t2 =
sin1x - kt2 is a solution of the 0V 0 2V
7 Solve the diffusion equation = 4 2,
0 2u 0 2u 0t 0x
one-dimensional wave equation 2 = 36 2 .
0t 0x 0 … x … 3, t Ú 0, subject to the conditions
V10, t2 = V(3, t) = 0 and V1x, 02 =
4 Solve the one-dimensional wave equation
x, 0 … x … 3. (Refer to Chapter 24 for details
0 2u 1 0 2u of how to complete the solution using Fourier
2
= for 0 … x … 2, t Ú 0.
0x 16 0t2 series.)
Assume that the boundary conditions are
u10, t2 = u12, t2 = 0 and that the initial 8 A square metal plate 0 … x … 1, 0 … y … 1
conditions are u1x, 02 = 6 sin px - 3 sin 4px, has the edge x = 0 maintained at an
unspecified non-zero temperature. The other
1x, 02 = 0.
0u
0t three edges have temperature 0°. Show that
the steady-state temperature distribution,
which satisfies Laplace’s equation,
5 Use the method of separation of variables to can be expressed in the form
0 2f 0 2f
u1x, y2 = a An sin npy1enpx - e2np e-npx2
q
obtain the solution of 2 + 2 = 0
0x 0y n=1
which is trigonometrical in x, finite as y : q where An are constants.
and gives f = 2 cos 5x when y = 0 for all x.
Solutions to exercises
0u 0 2u 5 f = 2e-5y cos 5x
1 = - 2e-2t cos x; 2 = - e-2t cos x
0t 0x
3 k = ;6 6 u = 3 sin 2px e-2py - sin px e-py
q 61-12n + 1
2 npx
4 u1x, t2 = 6 sin px cos 4pt - 7 V1x, t2 = a e-12np/32 t sin
n=1 np 3
3 sin 4px cos 16pt
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1087
5.1 Introduction
Figure 5.1 shows a graph of the function z = f(x, y) = -x2 - y2. The point labelled
A is called a maximum point. If we were to move away from the maximum point in
any direction but remain on the surface, the value of the function would decrease.
Figure 5.1 z
A
0
Point A is a ⫺2
maximum point. It ⫺4
⫺6
is the highest point ⫺8
in its locality. ⫺10
⫺12
⫺14
⫺16
⫺18
3
2 3
1 2
0 1
⫺1 0
⫺1
⫺2 ⫺2
⫺3 ⫺3
Figure 5.2 shows a graph of the function z = f(x, y) = x2 + y2. The point labelled
B is called a minimum point. If we were to move away from the minimum point in
any direction but remain on the surface, the value of the function would increase.
Figure 5.2
Point B is a z
18
minimum point. It 16
is the lowest point 14
12
in its locality. 10
8
6
4
2
0
3
2 3
1
0 B 1
2
⫺1 0
⫺1
⫺2 ⫺2
⫺3 ⫺3
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1088
Figure 5.3 shows a graph of the function z = f (x, y) = 3xy + x + y. The point
labelled C is called a saddle point. When leaving a saddle point in one direction, the
value of the function increases; when leaving in the perpendicular direction, the
value of the function decreases.
Figure 5.3 z
40
Point C is a saddle
30
point. 20
10
0 C
⫺10
⫺20
⫺30
3 2
1 3
2
0 1
0
⫺1 ⫺1
⫺2 ⫺2
⫺3 ⫺3
Collectively, maximum points, minimum points and saddle points are known as
stationary points of the function f.
To locate stationary points both first partial derivatives are equated to zero: that is,
we solve
0f 0f
= 0 and = 0
0x 0y
Example 5.1
Find the coordinates of any stationary points of the function f(x, y) = x2 + y2.
Solution 0f 0f
We begin by noting that stationary points are located by solving = 0 and = 0
0x 0f 0y
2 2
and so we find the first partial derivatives of f. If f = x + y then = 2x and
0f 0x
= 2y. Equating these to zero produces two simultaneous equations: 2x = 0 and
0y
2y = 0. Solving these we find x = 0 and y = 0. These are the x and y coordinates of
the stationary point. The z coordinate is obtained using z = x2 + y2 and so z = 0
also. The graph of this function is shown in Figure 5.2, from which we note that the
stationary point is a minimum.
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1089
Example 5.3
Find the coordinates of any stationary points of f(x, y) = 2x2 + 3xy - y2 - 2x.
Solution
First of all find the partial derivatives of f and equate these to zero.
0f
= 0 4x + 3y - 2 = 0
0x
0f
= 0 3x - 2y = 0
0y
Solving the simultaneous equations gives
4 6
x = ,y = 17 , 17
Therefore a stationary point occurs at A 174 , 176 B . The z coordinate is found from
z = 2x2 + 3xy - y2 - 2x.
z = -4冫17
Exercises
1 f (x, y) = x2 + y3 - 3y 3 f (x, y) = -x - y3
x3 y2
2 f (x, y) = 4xy - 2x2y 4 f (x, y) = + 3x2 + xy + + 6y
3 2
M21_CROF5939_04_SE_C21_pages1080-1093.QXD 10/16/18 7:47 AM Page 1090
Solutions to exercises
Equating the first partial derivatives to zero locates the stationary points but does not
identify them as maximum points, minimum points or saddle points. To distinguish
between such points we can make use of a test that involves second partial deriva-
tives.
We consider the expression
02f 02 f 02 f 2
- a b
0x2 0y2 0x0y
We evaluate this expression at each of the stationary points:
• If the result is negative the stationary point is a saddle point.
0 2f
• If the result is positive and if 2 is positive we have a minimum point.
0x
0 2f
• If the result is positive and if 2 is negative we have a maximum point.
0x
• If the result is zero, this test fails and further tests are required that are beyond the
scope of this book.
In summary:
Key point The nature of a stationary point is determined using the following test:
0 2f 0 2f 0 2f 2
- a b 6 0 saddle point
0x2 0y2 0x0y
2 2
0 2f 2 0 2f
- a b 7 0 and
0f 0f
7 0 minimum point
0x2 0y2 0x0y 0x2
0 2f 0 2f 0 2f 2 0 2f
- a b 7 0 and 6 0 maximum point
0x2 0y2 0x0y 0x2
Example 5.4
Locate and identify the nature of the stationary values of
f (x, y) = x2 + xy - 7y
Solution
This function has been discussed already in Example 5.2. We found that a stationary
point was located at (7, -14).
We now determine its nature. For this we need to calculate the second derivatives.
0f 0f
Recall that = 2x + y and = x - 7.
0x 0y
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1091
0 2f
= 2
0x2
0 2f
= 0
0y2
0 2f
= 1
0x0y
Then, from the Key point immediately above we deduce that this stationary point is a
saddle point
Exercises
1 f (x, y) = 3xy + x + y 1 1 3
4 f (x, y) = + -
x y xy
2 f (x, y) = x2 + y2 - 3y
5 f (x, y) = exy
3 f (x, y) = x2 + y2 - 3xy
Solutions to exercises
3 Saddle at (0, 0)
Solutions to exercises
3 Saddle at ( - 28, 7)
0z 0z 0z y x
1 If z = 14x - 13y state and . 11 Calculate when (a) z = 2 - 2 ,
0x 0y 0x x y
2
(b) z = ex - 4xy
.
0 2w 0 2w
2 If w = 5y - 2x state 2
and .
0x 0y2 0z x2 - 3y2
12 Calculate when z = 2 .
0y x + y2
0 2z 0 2z
3 If z = 3x2 + 7xy - y2 find and . pmÆhD3 0T 0T
0y0x 0x0y 13 If T = find and .
4c 0D 0c
0z 0z 02f 02f
4 If z = 14 - 4xy evaluate and at the 14 Given f(x, y) = sin 4x cos 3y find , and
0x 0y 0x2 0y2
point (1, 2). 02f
.
0x0y
0z 0z
5 If z = 4e5xy find and . 15 Determine the stationary points of f (x, y) =
0x 0y
2x2 + 3y2 + 5x + 12y + 19.
0y 0y
6 If y = x cos t find and . 16 Consider the function f (x, y) = 5x2y .
0x 0t
(a) Evaluate this function and its first
7 If w = 3xy2 + 2yz2 find all first partial partial derivatives at the point A(2, 3).
derivatives of w at the point with coordinates (b) Suppose we consider point A. Suppose
(1, 2, 3). small changes, dx, dy, are made in the
values of x and y so that we move to a
0V 0V nearby point B. It is possible to show that
8 If V = D1>4T -5>6 find and . the corresponding change in f is given
0T 0D 0f 0f
approximately by df L dx + dy,
0x 0y
RT 0p
9 If p = where R is a constant, find and where the partial derivatives are evaluated
V 0V at the original point A. Use this result to find
0p
. the approximate change in the value of f if
0T x is increased to 2.1 and y is increased to 3.2.
0f 0f 0 2 f 0 2 f 02f (c) Compare your answer in (b) to the value of
10 Find , , 2 , 2 and if f = (x - y)2. f at (2.1, 3.2).
0x 0y 0x 0y 0x0y
M21_CROF5939_04_SE_C#5952 #3019 9/28/18 11:17 AM Page 1093
Solutions to exercises
2y 1 2
1 14, -13 11 (a) - - (b) (2x - 4y)ex - 4xy
x3 y2
2 0, 0
8yx2
12 -
3 7, 7 (x + y2)2
2
3pmÆhD2 pmÆhD3
4 -8, -4 13 ,-
4c 4c2
5 20ye5xy, 20xe5xy 14 -16 sin 4x cos 3y, -9 sin 4x cos 3y,
-12 cos 4x sin 3y
6 cos t, -x sin t
15 Minimum at ( -5>4, -2)
7 12, 30, 24
16 (a) 60, 60, 20
8 - 56 D1>4 T -11>6, 14 D-3>4 T -5>6 (b) df = (60)(0.1) + (20)(0.2) = 10
(c) From part (b) the approximate value of f at
RT R the new point is 60 + 10 = 70. The exact
9 - ,
V2 V value is f (2.1, 3.2) = 70.56.
1 Investigate how to find the first partial From your results show that u is a solution of
derivatives of the function f (x, y) = tan-1xy the equation
using a computer algebra package.
0 2u 0 2u 0u
+ =
2 Use a computer algebra package to find 0x2 0y2 0z
0 2u 0 2u 0u 1 1- x + y 2
2 2
2
, 2, when u(x, y, z) = e 4z
0x 0y 0z z
Solutions to exercises
1- x 4z 2 1- x 4z 2
y x 2 2 2 2
1x2 + y22e
+y +y
1 2 2
, 2 2 e
1 + x y 1 + x y 0u
= - +
1- x 4z 2 2
x2e1- 4z
2
+ y2 x2 + y2 0z z2 4z3
2
0 u e
2 = - + ,
0 x2 2z2 4z3
1- x 4z 2 1 x +y 2
2 2
+y 2 2
2
0 u e y2e - 4z
= - + ,
0y2 2z2 4z3
M22_CROF5939_04_SE_C22.QXD 11/28/18 9:07 PM Page 1094
Chapter 22
The Laplace transform
冮
q
F(s) = e-st f (t) dt
0
The original function, f (t), has been transformed into a new function,
F(s).
Chapter 22 contents
1.1 Introduction
In mathematics the word ‘transform’ has the same meaning as in everyday language.
The Laplace transform is one of a number of integral transforms used by engineers.
The Laplace transform can be used to solve a linear constant-coefficient differen-
tial equation by transforming it into an algebraic equation. The resulting algebraic
equation is solved and then the transform is reversed to find the solution of the
differential equation in terms of the original variable.
The Laplace transform can also be used to calculate transfer functions. These
functions describe the elements of an engineering system and are particularly
important in the design of control systems.
Let f(t) be a function of time, t. In many engineering problems t has only non-negative
values, that is t Ú 0. Hence f(t) will be given for t Ú 0, and for t 6 0, f(t) is assumed
to be zero.
q
F(s) = 冮
0
e-st f (t) dt
So, to find the Laplace transform of a function f(t), we multiply it by e-st and then
integrate between the limits 0 and q . Because of the infinite limit of integration,
restrictions sometimes need to be placed on s to ensure that the integral exists.
Throughout this chapter it is assumed that s has a value such that this condition is
satisfied.
Note that although f is a function of t, the Laplace transform is a function of a new
variable, s. It is conventional to use a lowercase letter for the function of t, as in f(t),
but an uppercase letter for the function of s, as in F(s). In addition, we often write
L5 f 1t26 to denote the Laplace transform of the function f(t).
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1097
q
F(s) = 冮 0
e-st 3 dt
q
= 3 冮 0
e-st dt
= 3c d
q
e-st
-s 0
= 3 c0 + d
1
s
3
=
s
3
Hence we may write L{3} = .
s
Exercises
1 Write down the definition of the Laplace 5 Use integration by parts to show that the
transform of a function f(t). 1
Laplace transform of f (t) = t is 2 .
s
2 Given a function f(t), write two ways in which
its Laplace transform might be expressed. 1
6 Show that L{et} = .
s - 1
3 If x is a function of t, that is x(t), how would (Hint: write ete-st as e(1-s)t.)
you write its Laplace transform?
Solutions to exercises
3 L{x(t)} or X(s)
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1098
Although the Laplace transforms of most functions can be calculated from the defi-
nition, most engineers use a table. Table 1.1 lists some common functions and their
Laplace transforms.
Table 1.1
Laplace transform, Laplace transform,
Function, f(t) L{f (t)} = F(s) Function, f(t) L{f (t)} = F(s)
1 b
1 sinh bt
s s - b2
2
1 s
t cosh bt
s2 s2 - b2
2 b
t2 3
e-at sinh bt
s (s + a)2 - b2
n! s + a
tn e-at cosh bt
sn + 1 (s + a)2 - b2
1 2bs
eat t sin bt
s - a (s2 + b2)2
1 s2 - b2
e-at t cos bt
s + a (s2 + b2)2
n! 1
tne-at u(t), unit step
(s + a)n + 1 s
b e-sd
sin bt u(t - d)
s2 + b2 s
s
cos bt d(t) 1
s2 + b2
b
e-at sin bt d(t - d) e-sd
(s + a)2 + b2
s + a
e-at cos bt
(s + a)2 + b2
Example 1.2
Use Table 1.1 to find the Laplace transform of each of the following functions:
(a) t4 (b) e2t (c) e-3t (d) t2e3t (e) sin 2t (f) cos 5t (g) e-t sin t
Solution
(a) We use the result for f (t) = tn and put n = 4. The required Laplace transform
is then
4!
F(s) = 4+1
s
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1099
1
L{e2t} =
s - 2
(c) Using the result for e-at with a = 3 we have
1
L{e - 3t} =
s + 3
2! 2
L{t2e3t} = 3
=
(s - 3) (s - 3)3
2
(e) L{sin 2t} = 2
s + 4
s
(f) L{cos 5t} = 2
s + 25
1
(g) L{e - t sin t} =
(s + 1)2 + 1
Example 1.3
Find the Laplace transform of each of the following functions:
(a) et>2 (b) e2t cos t (c) t3e2t
Solution
1
(a) We use the result for eat and take a = 2.
1
L{et>2} = s - 1
2
a = , b = -2 , 1
M22_CROF5939_04_SE_C22.QXD 9/29/18 11:15 AM Page 1100
so
s-2
L{e2t cos t} =
(s - 2)2 + 1
Maple and Matlab have built-in commands for finding the Laplace, and other, trans-
forms.
Example 1.4
Use software to define and plot a graph of the pulse function f (t) = e
1 0 … t 6 1
and find its Laplace transform, F(s). 0 otherwise
Solution
Maple
The pulse function can be constructed using the unit step function as was shown in
Chapter 6, Section 8.5. The Maple function Heaviside is the unit step function. The
required pulse function can be constructed by taking the unit step function and subtract-
ing a unit step function translated 1 unit to the right. The following Maple commands
construct this function and plot a graph.
> f:=t-> Heaviside(t) - Heaviside(t-1);
plot(f(t),t=-3..3);
The graph is shown in Figure 1.1. In order to find the Laplace transform, the ‘integral
transform’ package must first be loaded. The following commands do this and calculate
the required transform.
> with(inttrans):
laplace(f(t),t,s);
The output is
1 - e-s
s
1 - e-s
Thus L{f(t)} = F(s) = .
s
M22_CROF5939_04_SE_C22.QXD 11/15/18 3:55 PM Page 1101
t
−3 −2 −1 O 1 2 3
Matlab
In Matlab the required pulse function can be defined in terms of Heaviside functions
(heaviside( )) and plotted.
>> syms t s
fplot(heaviside(t)-heaviside(t-1),[-3,3])
In the next block we study the inverse Laplace transform: that is, how to find the
original time-domain function if we know its Laplace transform. The inverse Laplace
transform can be found using the Maple command invlaplace(F(s),s,t), or
the Matlab command ilaplace(F(s),s,t). You should check this out using the
software to which you have access.
Exercises
1 Use Table 1.1 to find the Laplace transform of 3 Find the Laplace transform of each of the
the following: following:
(a) t5 (b) cos 4t (c) e9t (d) e-6t (e) sin 5t t2 sin 5t t
(a) e2t>3 (b) 4t (c) 6t (d) et>2 cos
e e 2
2 Find the Laplace transform of each of the 4t 2t
following: (e) e sin
3
(a) e-3t sin 5t (b) e3t cos 2t
t
(c) t sin 4t (d) t cos (e) t2e-5t
2
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1102
Solutions to exercises
5! s 1 1 3 2 5
1 (a) (b) (c) (d) 3 (a) (b) (c)
s6 s2 + 16 s - 9 s + 6 3s - 2 (s + 4)3 (s + 6)2 + 25
s - 0.5 6
5 (d) (e)
(e) 2 (s - 0.5)2 + 0.25 9(s - 4)2 + 4
s + 25
5 s - 3
2 (a) 2
(b)
(s + 3) + 25 (s - 3)2 + 4
8s s2 - 0.25
(c) 2 2
(d)
(s + 16) (s2 + 0.25)2
2!
(e)
(s + 5)3
The first property states that to find the Laplace transform of two functions added
together we simply find the transform of each individual function and then add
together these transforms.
The second property states that when a function, f, is multiplied by a constant, k,
the corresponding transform is also multiplied by the same constant.
Together, these properties mean that the Laplace transform is what is known as a
linear transform.
Example 1.5
Find the Laplace transform of each of the following functions:
(a) 3 (b) 3 + 2t (c) 3 + 2t - 5t2
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1103
L{3} = 3a b
1
s
3
=
s
(b) We note that
1
L{t} =
s2
and so, using the second property,
2
L{2t} =
s2
Finally, using the first property,
L{3 + 2t} = L{3} + L{2t}
3 2
= + 2
s s
3 2 10
= + 2 - 3
s s s
Example 1.6
e3t 1
Find the Laplace transform of (a) - 6 sin 2t, (b) cos 6t - 2e-t sin t.
2 3
Solution
(a) From Table 1.1
1
L{e3t} =
s - 3
and so
e3t
f =
1
Le
2 2(s - 3)
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1104
Similarly
2
L{sin 2t} = 2
s + 4
and so
12
L{6 sin 2t} = 2
s + 4
Finally
e3t
- 6 sin 2t f =
1 12
Le - 2
2 2(s - 3) s + 4
cos 6t f =
1 s
Le
3 3(s2 + 36)
Similarly
1
L{e-t sin t} =
(s + 1)2 + 1
and so
2
L{2e-t sin t} =
(s + 1)2 + 1
So
Exercises
2 Find the Laplace transform of 4 Find the Laplace transform of each of the
t2 following:
(a) 2 + 3t (b) 2t2 - 3 (c) - 6 (a) 3 sin 2t - 4t sin 3t
2
(b) 5 cos 3t + 3 sin 3t
(d) 2t - 3t + 5t - 6 (e) 2 - 4t3 + 5t5
3 2
2t
(c) 2 - 3 cos + 2t cos 2t
3 Find the Laplace transform of 3
(d) 2e cos 2t - 4et sin 2t
t
e3t
(a) 4e2t + 3e-2t (b) + 4et - 5e-t (e) 3e-2t sin 3t - 2e-2t cos 3t
2
Solutions to exercises
2 6
1 L{f + g} = L{f} + L{g}, L{kf} = kL{f} (d) -
2
if k is a constant. (s - 1) (s + 1)3
2 3 4 3 1 6 2 3 4
2 (a) + 2 (b) 3 - (c) 3 - (e) - +
s s s s s s 2 2 s
s (s + 1)
12 6 5
6 2 24 600 6 24s 5s 9
(d) 4 - 3 + 2 - (e) - 4 + 6 4 (a) - (b) +
s s s s s s s 2
s + 4 2
(s + 9) 2 2
s + 9 2
s + 9
2
2 3s 2(s - 4)
4 3 (c) - 4
+
3 (a) + s 2
s + (s2 + 4)2
s - 2 s + 2 9
2(s - 1) 8
1 4 5 (d) -
(b) + - (s - 1)2 + 4 (s - 1)2 + 4
2(s - 3) s - 1 s + 1
1 3 2 9 2(s + 2)
(c) - + (e) 2
-
s s + 1 3(s - 1) (s + 2) + 9 (s + 2)2 + 9
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1106
1 Find the Laplace transform of each of the 3 Find the Laplace transform of the following:
following: (a) 2 - 3t2e-3t (b) t(2 - 3t + 4et)
2 2t - 1 (c) 2t(sin 3t - 2 cos 3t) (d) 3e2t(1 - t + et)
(a) 7 (b) (c) -0.25 (d) t - 2 (e)
3 3 (e) cos 2t(e-t + t - 2)
Solutions to exercises
7 2 1 1 2 2 6 2 6 4
1 (a) (b) (c) - (d) 2 - 3 (a) - 3
(b) 2 - 3 +
s 3s 4s s s s (s + 3) s s (s - 1)2
2 1 (s2 - 9)
b
(e) 2 - 6s
3s 3s (c) 2a - 2
(s2 + 9)2 (s2 + 9)2
- 2 (c) 2 a 2 + b
0.6 6 6 1 1
2 (a) (b)
(d) 3 a b
2 s s 1 1 1
s s s - +
s - 2 (s - 2)2 s - 3
2 1 72 2
(d) 3 - (e) 5 - s + 1 s2 - 4 2s
s s s s (e) + 2 - 2
2
(s + 1) + 4 (s + 4)2 s + 4
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1107
2.1 Introduction
In Block 1 we saw how to use Table 1.1 to find the Laplace transform of a variety of
functions. Often, however, we know the Laplace transform of a function without
knowing the actual function. In such cases we need to calculate the original function
from knowledge of its Laplace transform: that is, we seek the inverse Laplace
transform. This is the subject of this block.
To find the inverse Laplace transform we use Table 1.1 in Block 1. We write any
given Laplace transform as the sum of standard expressions given in Table 1.1 and
then find the inverse from the table. We use the notation L-1 to denote an inverse
Laplace transform, so that
The first property states that to find the inverse Laplace transform of two functions
added together we simply find the inverse transform of each individual function and
then add together these inverse transforms.
The second property states that when a function, F(s), is multiplied by a constant,
k, the corresponding inverse transform is also multiplied by the same constant.
The technique is illustrated by examples.
Example 2.1
Find the inverse Laplace transform of
1 4 1
(a) (b) (c)
s s 2s
Solution
(a) From Table 1.1 we note that
1
L{1} =
s
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1108
1
Hence the inverse Laplace transform of is 1. We may write this compactly as
s
L-1 e f = 1
1
s
1
Thus the function, f(t), whose Laplace transform is , is f(t) = 1.
s
(b) We write as 4a b. From (a) we know L e f = 1 and so
4 1 -1 1
s s s
L-1 e f = 4L-1 e f
4 1
s s
= 4(1)
= 4
Here we have made use of the second linearity property.
as a b and so
1 1 1
(c) We write
2s 2 s
L-1 e f =
1 1
2s 2
Example 2.2
Find the inverse Laplace transform of
1 3 3 7
(a) 2 (b) 2 (c) 2 -
s s s s
Solution 1
(a) From Table 1.1 we note that L{t} = 2 and so
s
L-1 e f = t
1
s2
1
The inverse Laplace transform of is t.
s2
L-1 e f = 3L-1 e 2 f
3 1
(b) 2
s s
= 3t
(c) First note that L-1 e f = 7. Then using the first linearity property we can
7
s
write
L-1 e f = e-t
1
s + 1
and so
L-1 e f =
2
2e-t
s + 1
Similarly
L-1 e f =
4
4e2t
s - 2
Hence
L-1 e f =
2 4
- 2e-t - 4e2t
s + 1 s - 2
(b) We note that
L-1 e f =
5!
t 5e-t
(s + 1)6
Noting that 5! = 120, then
t 5e-t
L-1 e f =
3
(s + 1)6 40
Solution
(a) From Table 1.1 we see that
3
L{e-2t sin 3t} = (s + 2)2 + 9
so that
Hence
L-1 e f =
5 5 -2t
e sin 3t
(s + 2)2 + 9 3
(b) L-1 e f =
s + 2
e-2t cos 3t
(s + 2)2 + 9
s + 7
(c) We think of as
(s + 2)2 + 9
5 s + 2
+
(s + 2)2 + 9 (s + 2)2 + 9
So
L-1 e f =
s + 7 5 -2t
e sin 3t + e-2t cos 3t
(s + 2)2 + 9 3
Exercises
1 Find the inverse Laplace transform of each of 3 Find the inverse Laplace transform of
the following: 1 1 3s
4 3 5 3 2 (a) (b) (c) 2
(a) 2 (b) - (c) 3 (d) 5 - 4 2(s + 3) 2s + 3 s + 1
s s s s s -6 s + 2
1 2 (d) 2
(e)
(e) 5 - 2 s + 9 s2 + 4
3s 3s
4 Find the inverse Laplace transform of
2 Find the inverse Laplace transform of
s - 1 3
3 -2 2 (a) (b)
(a) (b) (c) (s - 1)2 + 36 (s + 2)2 + 9
s + 2 s - 1 (s + 2)3
-1 s + 5
1 1 1 1 (c) (d)
(d) + (e) 2
+ (s - 1) + 42
(s + 2)2 + 9
s s + 1 (s - 3) (s - 3)3
s + 5
(e)
(s + 3)2 + 4
Solutions to exercises
The technique of completing the square, which was described in Chapter 7, Block 2,
is often used to rewrite Laplace transforms in alternative forms so that they can be
inverted. Consider the following examples.
Example 2.5 1
Find the inverse Laplace transform of 2
.
s - 2s + 5
Solution
By completing the square we write s2 - 2s + 5 as (s - 1)2 + 4, which is the same
as (s - 1)2 + 22. From Table 1.1
2
L{et sin 2t} =
(s - 1)2 + 22
and so
L-1 e f = et sin 2t
1 1
(s - 1)2 + 22 2
Example 2.6
2s - 1
Find the inverse Laplace transform of 2
.
s + 6s + 10
Solution
By completing the square we see that
s2 + 6s + 10 = (s + 3)2 + 12
From Table 1.1, the results with (s + 3)2 + 12 in the denominator are
1 s + 3
L{e-3t sin t} = , L{e-3t cos t} =
(s + 3)2 + 12 (s + 3)2 + 12
2s - 1 2s - 1
2
=
s + 6s + 10 (s + 3)2 + 12
2s + 6 - 7
=
(s + 3)2 + 12
2s + 6 7
= 2 2
-
(s + 3) + 1 (s + 3)2 + 12
s + 3 1
= 2 -7
(s + 3)2 + 12 (s + 3)2 + 12
Now
and so
Example 2.7
9 - 4s
Find the inverse Laplace transform of 2
.
2s + 8s + 40
Solution
We write 2s2 + 8s + 40 as 2(s2 + 4s + 20) and then complete the square to obtain
4
L{e-2t sin 4t} =
(s + 2)2 + 42
s + 2
L{e-2t cos 4t} =
(s + 2)2 + 42
9 - 4s 9 - 4s
=
2s2 + 8s + 40 2[(s + 2)2 + 42]
17 - 4(s + 2)
=
2[(s + 2)2 + 42]
8.5 - 2(s + 2)
=
(s + 2)2 + 42
8.5 s + 2
= 2 2
- 2
(s + 2) + 4 (s + 2)2 + 42
Now
L-1 e f =
8.5
2.125e-2t sin 4t
(s + 2)2 + 42
and
L-1 e 2 f =
s + 2
2e-2t cos 4t
(s + 2)2 + 42
Hence
Exercises
1 Find the inverse Laplace transform of each of 2 Find the inverse Laplace transform of
the following: 6 + s s 1 + s
1 3s - 5 3 - 2s (a) 2 (b) 2 (c)
(a) 2 (b) 2 (c) 2 2s - 4s + 4 2s + 0.5 s2
s + 4s + 5 s + 1 s - 4s + 8
3s + 7 2s - 5
1 - 2s 1 (d) (e)
(d) 2 (e) 2 9 + 3s2 s2 + 4s + 13
s + 4 s - 6s + 9
Solutions to exercises
1 7 1 t
1 (a) e - 2t sin t (b) 3 cos t - 5 sin t 2 (a) 2 et cos t + 2 et sin t (b) 2 cos (c) t + 1
2
1 2t 7
(c) -2e2t cos 2t - e sin 2t (d) cos23t + sin 23t
2 323
1
(d) sin 2t - 2 cos 2t (e) te3t (e) 2e - 2t cos 3t - 3e - 2t sin 3t
2
The method of partial fractions was met in Chapter 7. It is a technique for expressing
an algebraic fraction as a sum of simpler fractions. It is also used as an intermediate
step when finding the inverse Laplace transform.
Example 2.8
5s + 4
Find the inverse Laplace transform of .
s2 + 2s
Solution
The algebraic fraction is expressed as a sum of partial fractions.
5s + 4 2 3
2
= +
s + 2s s s + 2
and so
L-1 e f = 2 + 3e-2t
5s + 4
s2 + 2s
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1114
Example 2.9
Find the inverse Laplace transform of
s + 7
s2 + 4s + 3
Solution
The algebraic fraction is expressed as its partial fractions.
s + 7 3 2
2
= -
s + 4s + 3 s + 1 s + 3
The inverse Laplace transform of each partial fraction can now be found.
Example 2.10
Find the inverse Laplace transform of
s2 + 6s + 1
s3 + 2s2 + s
Solution
The fraction is expressed as its partial fractions.
s2 + 6s + 1 1 4
= +
s3 + 2s2 + s s (s + 1)2
The inverse Laplace transform of each partial fraction is found.
L-1 e f = L-1 e f =
1 4
, , 1, 4te-t
s (s + 1)2
and so
s2 + 6s + 1
L-1 e f = 1 + 4te-t
s3 + 2s2 + s
Exercises
1 Find the inverse Laplace transform of the 2 Find the inverse Laplace transform of each of
following: the following:
3s + 1 7s + 11 3s + 2 2s2 - 3s + 1 -(s + 6)
(a) 2 (b) 2 (c) (a) (b)
s - 1 s + s - 6 s2 2
(s - 3)(s + 1) 2
2(s + 6s + 8)
2
s + 4 3s + 2s + 5 -8s - 2 s2 + 3s + 2
(d) 2 (e) (c) 3 (d) 3
s + 4s + 4 (s + 1)(s2 + 1) s - s2 - 2s s + 2s2 + 2s
2
5s - 1
(e) 4
s - 1
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1115
Solutions to exercises
1 (a) 2et + e-t (b) 5e2t + 2e-3t (c) 3 + 2t 2 (a) e3t + cos t (b) 12e-4t - e-2t
(d) e-2t + 2te-2t (e) 2 sin t + 3e - t (c) 1 + 2e - t - 3e2t (d) 1 + e - t sin t
(e) 2 sinh t + 3 sin t
1 Find the inverse Laplace transform of the 3 Find the inverse Laplace transform of the
following: following:
3 4 2 1 2 12 6 6 s 2
(a) 2 - (b) 3 + 2 - (c) 4 - 3 (a) 2 - (b)
s s s s s s s s + 9 2(s2 + 9) (s + 4)2 + 4
(d) a 4 - 3 + b
1 18 8 2 2(s + 1)
3
5 s s s (c) 2
-
(s + 1) + 9 (s + 1)2 + 9
6a 2b g
(e) - 3 + 2, a, b, g constants 1 2
s4 s s (d) 2
+
23(s + 2) + 0.254 s3
2 Find the inverse Laplace transform of the
following: s - 2
(e)
3 5 (s - 2)2 + 16
(a) + 4 Find the inverse Laplace transform of the
s + 1 s + 2
1 1 1 following:
(b) + - 3s - 3 5s + 6 3s + 5
s - 1 s - 2 s - 3 (a) 2 (b) 2 (c) 2
4 1 s - s - 2 s + 9 s + 2s + 5
(c) +
(s + 1)3 (s + 2)2 4s2 + 7s + 6 4s + 5
(d) 3 2
(e) 2
2 1 2s + 4s 2s + 5s + 2
(d) 4
+ 3
(s - 2) (s + 2)
1 1 2
(e) + -
s s + 1 s + 2
Solutions to exercises
t
1 (a) 3t - 4 (b) t 2 + t - 2 (c) 2t 3 - 3t 2 (c) e - t sin 3t - 2e - t cos 3t (d) e - 2t sin + t2
2
3t 3 - 4t 2 + 2
(d) (e) at 3 - bt 2 + gt (e) e2t cos 4t
5
2 (a) 3e-t + 5e-2t (b) et + e2t - e3t 4 (a) e2t + 2e - t (b) 2 sin 3t + 5 cos 3t
t 3e2t t 2e-2t (c) e - t(sin 2t + 3 cos 2t)
(c) 2t 2e-t + te-2t (d) +
3 2 3t
(e) 1 + e-t - 2e-2t (d) 1 + + e-2t
2
cos 3t
3 (a) 2 sin 3t - (b) e - 4t sin 2t (e) e-t>2 + e-2t
2
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1116
3.1 Introduction
In Blocks 1 and 2 we have seen how to find the Laplace transform and its inverse.
These techniques are now applied to finding the solution to differential equations.
Linear constant-coefficient differential equations may be solved using the Laplace
transform. By applying the transform, the differential equation is converted into an
algebraic equation. This algebraic equation is solved and then the inverse Laplace
transform is applied to yield the solution to the differential equation. One advantage
of using the Laplace transform is that initial conditions are automatically incorpor-
ated into the solution.
Let f (t) be a function of t and let F(s) be the Laplace transform of f. The value of f
and its derivatives when t = 0 are denoted by f (0), f ¿(0), f –(0), and so on. The nth
derivative of f is denoted by f (n)(t). Then it can be shown that the Laplace transform
of f (n)(t) is given by
Example 3.1
The Laplace transform of f(t) is F(s). Given f(0) = 3 and f ¿(0) = -2 write expres-
sions for the Laplace transform of
(a) f ¿(t) (b) f –(t) (c) 2f – - 3f ¿ + f
Solution
(a) L{f ¿(t)} = sF(s) - f (0)
= sF(s) - 3
(b) L{f ¿¿(t)} = s2 F(s) - sf(0) - f ¿(0)
= s2 F(s) - 3s + 2
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1117
L{x–(t)} = s2X(s) + 4s - 3
so
L{3x– + 2x¿ - 2x} = 3L{x–} + 2L{x¿} - 2L{x}
= 3(s2X + 4s - 3) + 2(sX + 4) - 2X
Exercises
Solutions to exercises
Example 3.3
Solve
dx
- 2x = 2e3t, x(0) = 2
dt
Solution
The Laplace transform of every term is found, noting that the transform of x(t) is X(s).
In what follows we write X(s) as simply X in the knowledge that X is a function of s.
f = sX - x(0)
dx
Le
dt
= sX - 2
L{2x} = 2X
2
L{2e3t} =
s - 3
So, by taking the Laplace transform of each term, the differential equation becomes
2
sX - 2 - 2X =
s - 3
Note that this is no longer a differential equation but an algebraic equation for X.
This equation is rearranged so that X is made the subject.
2
(s - 2)X - 2 =
s - 3
2
(s - 2)X = + 2
s - 3
2 2
X = +
(s - 3)(s - 2) s - 2
2 + 2(s - 3)
=
(s - 3)(s - 2)
2s - 4
=
(s - 3)(s - 2)
2
=
s - 3
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1119
L-1 e f = 2e3t
2
s - 3
so
x(t) = 2e3t
Thus x(t) = 2e3t is the solution to the given differential equation. Note that the
initial condition, x(0) = 2, is automatically incorporated into the solution.
Example 3.4 Dynamics – Change in pressure
The pressure, p, of a gas varies with altitude, x, according to
dp
= -Kp
dx
where K is a constant. The pressure at ground level (i.e. x = 0) is known to be p0.
Solve the equation to find p in terms of x.
Note that, in this example, the independent variable is x; the dependent variable is p.
Solution
We are given
dp
= -Kp, p(0) = p0
dx
Let the Laplace transform of p be P(s).
dp
Taking the Laplace transform of :
dx
La b = sP - p(0)
dp
dx
= sP - p0
Taking the Laplace transform of Kp:
L(Kp) = KL(p) = KP
So taking the Laplace transform of the entire equation gives
sP - p0 = -KP
This equation is rearranged to make P the subject.
sP + KP = p0
P(s + K ) = p0
p0
P =
s + K
We now apply the inverse Laplace transform to find p(x).
L - 1(P) = L - 1 a b
p0
s + K
p(x) = p0L a b
1
s + K
= p0e -Kx
M22_CROF5939_04_SE_C22.QXD 10/3/18 7:55 AM Page 1120
Example 3.5
Solve
d2 y
- y = 2, y(0) = y¿(0) = 0
dt 2
Solution
Write L{y} = Y(s) and take the Laplace transform of each term. We write Y(s)
concisely as Y.
d2y
Le f = s2Y
dt2
L{y} = Y
2
L{2} =
s
2
(s2 - 1)Y =
s
from which
2 2
Y = =
s(s2 - 1) s(s + 1)(s - 1)
1 1 2
Y = + -
s - 1 s + 1 s
y(t) = et + e-t - 2
Example 3.6
Solve
y– - y¿ + y = t, y(0) = y¿(0) = 1
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:31 AM Page 1121
L5y¿6 = sY - 1
L5y–6 = s2Y - s - 1
1
L5t6 =
s2
Hence the equation becomes
1
s2Y - s - 1 - (sY - 1) + Y =
s2
1
Y(s2 - s + 1) = s +
s2
3
s + 1
=
s2
(s + 1)(s2 - s + 1)
Y(s2 - s + 1) =
s2
So, cancelling (s2 - s + 1) from both sides we obtain
s + 1
Y =
s2
Written as partial fractions we have
1 1
Y = + 2
s s
from which
y(t) = 1 + t
b = 2
1 E
L{E sin t} = EL{sin t} = Ea 2
s + 1 s + 1
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:32 AM Page 1122
So
E
LsI + RI = 2
s + 1
Rearranging for I yields
E
I(Ls + R) = 2
s + 1
E
I = 2
(s + 1)(Ls + R)
The right-hand side of this equation must now be written, using partial fractions, in a
form suitable for taking the inverse Laplace transform.
a 2 b
E E 1
2
=
(s + 1)(Ls + R) L (s + 1)(s + R>L)
a b
E As + B C
= +
L s2 + 1 s + R>L
The constants A, B and C can be found to be
-L2 RL L2
A = , B = , C =
R2 + L2 R + L2
2
R2 + L2
The expression is further written in a form suitable for inversion.
a b
E As + B C
I = +
L s2 + 1 s + R>L
a b
E As B C
= + 2 +
L s2 + 1 s + 1 s + R>L
a 2 b + a 2 b + a b
EA s EB 1 EC 1
=
L s + 1 L s + 1 L s + R>L
Note that the inverse Laplace transform of each expression in brackets can be found
using Table 1.1 in Block 1. Taking the inverse Laplace transform yields
EA EB EC -Rt>L
i(t) = cost + sin t + e
L L L
With the previously calculated values of A, B and C, i(t) could also be written as
Example 3.8
Solve
d2x dx
2
- + 2x = cos 3t - 17 sin 3t, x (0) = -1, x¿(0) = 6
dt dt
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:32 AM Page 1123
f =
dx
Le sX + 1
dt
d2x
Le f = s2X + s - 6
dt2
d2x
+ 2x f =
dx
Le 2
- (s2 - s + 2)X + s - 7
dt dt
s 51
L{cos 3t - 17 sin 3t} = 2
- 2
s + 9 s + 9
s - 51
=
s2 + 9
Hence on taking the Laplace transform of the differential equation we have
s - 51
(s2 - s + 2)X + s - 7 =
s2 + 9
s - 51
(s2 - s + 2)X = 2 - s + 7
s + 9
(s2 - s + 2)(6 - s)
=
s2 + 9
So, on cancelling (s2 - s + 2) we obtain
6 - s
X =
s2 + 9
6 s
= 2
- 2
s + 9 s + 9
Hence
x(t) = 2 sin 3t - cos 3t
Figure 3.1
A mass–spring–damper
system.
Spring Damper
Mass
Displacement
x
The force FS in the spring obeys Hooke’s law: that is, the force is proportional to
the spring extension. Note that this is an assumption about the spring. For many
springs which operate within their limits of elasticity this assumption is accepted as
being reasonable.
When the mass is at rest let the spring extension be e. This position is known as
the equilibrium position. Then the force in the spring is ke (where k is a constant of
proportionality known as the spring stiffness) and this exactly equals the force on the
mass due to gravity, Mg, that is
ke = Mg
O t
Exercises
1 Solve the following differential equations 2 Solve the following equations using the
using the Laplace transform technique: Laplace transform method:
(a) y¿ - y = 0, y(0) = 3 (a) x– + 3x¿ - 4x = 5et, x(0) = 0, x¿(0) = 1
(b) y¿ + y = 2et, y(0) = 2 (b) x– - 4x¿ + 5x = 0, x(0) = 0, x¿(0) = 1
(c) y¿ + 4y = 3e2t, y(0) = 0.5 (c) y– + y¿ + 4y = 4t2 + 2t + 2 + 2 cos 2t,
(d) y¿ + y = 2 cos t, y(0) = 1 y(0) = 0, y¿(0) = 2
(e) y¿ - y = 2 - t 2, y(0) = 0 (d) y– + 2y¿ + 9y = 2(3 cos 3t + sin 3t
+ 3t cos 3t), y(0) = y¿(0) = 0
(e) x– + 2x¿ + x = 2e-t, x(0) = x¿(0) = 0
M22_CROF5939_04_SE_C22.QXD 9/29/18 10:32 AM Page 1126
Solutions to exercises
1 (a) y = 3et (b) y = et + e-t (c) y = 0.5e2t 2 (a) x = tet (b) x = e2t sin t (c) y = t 2 + sin 2t
(d) y = sin t + cos t (e) y = 2t + t 2 (d) y = t sin 3t (e) x = t 2e-t
2 Given L {x} = X, x(0) = x¿(0) = 2, x–(0) = -1 4 Solve using the Laplace transform method:
write down the Laplace transform of the (a) y– + y = 2 cos t, y(0) = 0, y¿(0) = 1
following expressions: (b) y– - 2y¿ = 2e2t, y(0) = 0, y¿(0) = 1
(a) x¿ (b) x– (c) x‡ (d) 2x‡ + 3x– - x¿ + 2x (c) y–¿ + y– + y¿ + y = 1 + t, y(0) = 1,
(e) -x‡ - 2x– + 3x¿ + 7x y¿(0) = 0, y–(0) = 1
(d) y– + y = 2 (cos t - sin t), y(0) = 0,
3 Use the Laplace transform technique to solve y¿(0) = 1
(a) x¿ - 2x = 1 - 2t2, x(0) = (0) (e) y– + 2y¿ + 5y = 0, y(0) = 1, y¿(0) = -1
Solutions to exercises
2 (a) sX - 2 (b) s2X - 2s - 2 4 (a) sin t + t sin t (b) te2t (c) e-t + t
(c) s3X - 2s2 - 2s + 1 (d) t cos t + t sin t (e) e-t cos 2t
1 Find the Laplace transform of each of the 2 Find the Laplace transform of each of the
following expressions: following expressions:
(a) t - 3 (b) 2t 3 + 5t (c) 7 - 3t 4 (a) 2te2t (b) 1 - t 3e3t
(d) sin 2t + 2 sin t (e) cos t + t (c) et(1 + sin t) (d) e-2t(sin 3t + 2 cos 3t)
(e) t(cos 2t - 3 sin 2t)
M22_CROF5939_04_SE_C22.QXD 9/29/18 11:21 AM Page 1127
3 Find the Laplace transform of each of the 8 Find the inverse Laplace transform of each of
following expressions: the following expressions:
sin 4t 4 s + 5
(a) (t + 1)2 (b) (et + t)2 (c) (a) 2 (b) 2
2e3t s + 4s + 5 s + 10s + 29
2t2
(d) 2 sin t cos t (e) 2t 2s - 3 s2 + 6s - 4
1s2 + 422
3e (c) 2 (d)
s + 6s + 10
1
4 The first shift theorem states that if (e) 2
L{f(t)} = F(s), then 4s + 4s + 1
Solutions to exercises
1 3 12 5 7 72 e - 3s 5!
1 (a) 2
-(b) 4 + 2 (c) - 5 6 (b) (c) u(t - 4)(t - 4)4
s s s s s s s6
2 2 s 1 8t 3
(d) 2 + 2 (e) 2 + 2 7 (a) 3 - 2t (b) (c) 3 cos 3t (d) e-3t cos t
s + 4 s + 1 s + 1 s 3
2 1 6 (e) 5t2e - 2t
2 (a) 2
(b) -
(s - 2) s (s - 3)4 8 (a) 4e-2t sin t (b) e-5t cos 2t
1 1 2s + 7 (c) 2e-3t cos t - 9e-3t sin t
(c) + 2
(d)
s - 1 (s - 1) + 1 (s + 2)2 + 9 (d) t cos 2t + 1.5t sin 2t (e) 0.25te-0.5t
Chapter 23
Statistics and probability
Chapter 23 contents
Block 1 Data
Data
BLOCK 1
1.1 Introduction
Sometimes a variable must take on a value from a set of individually specified values
and no other values are possible. Such a variable is then called a discrete variable.
Consider a quality control engineer who selects five silicon chips at random and tests
each one to see whether it works or not. The engineer is interested in the number of
chips that work. Let this variable be n. Then n must be a number from the set {0, 1,
2, 3, 4, 5}. It is impossible for n to have any other values.
As another example, consider the number of people living in a household. This
could be 0, 1, 2, 3, . . ., and so on. It is impossible to have 2.3 or 1.7 people living in
a household.
These are just two examples of variables that are discrete. When a discrete variable
is measured several times, the data so generated are called discrete data. Discrete
data can have only a limited number of values. Other examples of discrete data are
• the number of cars produced in a factory in a week;
• the shoe sizes of people in an office block;
• the number of times a machine breaks down in 1 year.
Sometimes a variable can take on any value within a specified range. Such a variable
is called continuous. For example, consider the weight of a pack of butter produced
in a factory. A pack could have any weight between, say, 230 g and 270 g. The
weight will be recorded to a particular accuracy, which depends upon the measuring
device and the use to which the data will be put. However, the actual weight could be
any value in the given range. When a continuous variable is measured several times
the data generated are continuous data.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1132
Exercises
1 Explain what is meant by (a) discrete data, (b) the time between breakdowns of a machine
(b) continuous data. (c) the capacitance of a capacitor
(d) the amount of money in your pocket
2 Give two examples of (a) discrete data, (e) the number of hairs on your head.
(b) continuous data.
Solutions to exercises
2 (a) number of employees of a firm, the number 3 (a) discrete (b) continuous (c) continuous
of cars passing a given point in 12 hours (d) discrete (e) discrete
(b) the length of a metal bar, the volume of
petrol used on a journey
1 Classify the following variables as discrete or 2 Classify each of the following as discrete or
continuous: continuous:
(a) the distance travelled before a set of tyres (a) the number of pages in a book
needs replacing (b) the weight of a book
(b) the intensity of light in a room (c) the area of paper needed to make the pages
(c) the force needed to extend a spring by a set of a book
amount (d) the price of a book
(d) the number of bearings in a machine (e) the number of copies of a book that are
(e) the percentage mark obtained in an sold.
examination.
Solutions to exercises
1 (a) continuous (b) continuous 2 (a) discrete (b) continuous (c) continuous
(c) continuous (d) discrete (e) discrete (d) discrete (e) discrete
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1133
Data averages
BLOCK 2
2.1 Introduction
We are often presented with a large amount of data. It may be useful if we can look
at a single number that typifies the data. For example, we measure the force at which
a certain gauge of wire breaks. If this experiment is repeated many times the force
required for breaking will vary: some values will be low, some will be high, and of
course there will be some in between. We aim to find a single force that in some way
summarises or typifies the measurements that we have made.
A value that typifies a set of data is called an average. In statistics there are three
important averages: the arithmetic mean, the median and the mode.
The arithmetic mean is also referred to simply as the mean. The mean is found by
adding up all the data values and then dividing this total by the number of values:
Example 2.2
The temperature, in °C, at which a liquid boils is measured several times. The results
are
93.7 91.4 95.3 94.9 92.3 95.8
Find the mean temperature.
Solution
Number of values = 6
563.4
Mean temperature = = 93.9
6
A special notation is often used when calculating a mean. Suppose we have nn values
and we label these x1, x2, x3, . . . , xn. The sum of these values is denoted by a i = 1xi, or
more simply as a x. The mean is denoted by x, pronounced ‘x bar’. Hence
Key point n
a i = 1 xi
mean = x =
n
Exercises
1 The diameters in mm of some ball bearings 3 The temperature, in °C, at which a liquid froze
were measured; the results are was recorded several times. The results are
5.1 4.9 5.0 5.2 5.1 4.8 5.2 -7 -4 -1 -6 -3 -2 -3 -4
Calculate the mean diameter, giving your Calculate the mean temperature at which the
answer to 1 d.p. liquid freezes. Give your answer to the nearest
integer.
2 The current, in amps, in a wire was measured
several times and the results noted as follows:
13.1 12.9 13.1 12.8 12.7 12.6 13.2 13.1
Calculate the mean current, giving your
answer to 1 d.p.
Solutions to exercises
1 5.0 mm 3 -4 °C
2 12.9 amps
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1135
The frequency of a value is the number of times it occurs. A set of numbers, together
with their frequency, is called a frequency distribution. For example, suppose the
force, in newtons, needed to break a wire is measured and the experiment repeated
several times. The results are recorded in Table 2.1.
Table 2.1
Force (N) Frequency, f
17 3
18 4
19 9
20 11
21 6
22 2
Thus a force of 17 N was recorded three times, a force of 18 N was recorded four
times, and so on. Table 2.1 is an example of a frequency distribution. Note that the
sum of the frequencies gives the total number of measurements made.
When data are presented in the form of a frequency distribution, the mean can still
be calculated. Example 2.3 illustrates the method.
Example 2.3
Table 2.2 is a frequency distribution for the variable x.
Table 2.2
x Frequency, f
5 2
6 3
7 4
8 2
9 1
Solution
The value 5 occurs twice and so contributes 5 * 2 to the sum of the x values. The
value 6 occurs three times and so this contributes 6 * 3 to the sum of the x values.
The remaining contributions are 7 * 4, 8 * 2 and 9 * 1. Hence
sum of values = (5 * 2) + (6 * 3) + (7 * 4) + (8 * 2) + (9 * 1)
= 10 + 18 + 28 + 16 + 9
= 81
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:06 PM Page 1136
By referring to Example 2.3 we see that the sum of the values is found by adding the
products x * f. The number of values is found by adding up all the frequencies.
If the values are denoted by x1, x2, . . . , xn and the corresponding frequencies
by f1, f2, . . . , fn then we see that
n
sum of values = a i = 1 xi fi
n
number of values = a i = 1 fi
These are often written respectively in the more compact form as gxf and gf, where
the limits are assumed.
The mean can now be stated:
Key point n
a i = 1 xi fi
mean = n
a i = 1 fi
a xf
=
af
When calculating the mean of the frequency distribution as given in Table 2.2
usually we would extend the table as follows:
x f xf
5 2 10
6 3 18
7 4 28
8 2 16
9 1 9
g f = 12 gxf = 81
Example 2.4
Find the mean of the data given in Table 2.1.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1137
17 3 51
18 4 72
19 9 171
20 11 220
21 6 126
22 2 44
gf = 35 gxf = 684
©xf
mean = x =
©f
684
=
35
= 19.54
Exercises
1 Calculate the mean of the frequency Calculate the mean value of the resistance,
distribution giving your answer to 1 d.p.
4.7 6
4.8 11 Calculate the mean lifetime.
4.9 4
5.0 8
5.1 3
5.2 7
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1138
Solutions to exercises
1 19 3 425 hours
The median of a set of numbers is found by listing all the numbers in ascending
order and selecting the number that is half-way along the list.
Example 2.5
Find the median of the numbers
6 8 3 11 10 12 7 9 7
Solution
The numbers are arranged in ascending order.
3 6 7 7 8 9 10 11 12
There are nine numbers in the list. The middle number is the fifth one, that is 8.
Therefore, the median is 8.
When there is an even number of values in the list, the median is the mean of the two
middle values.
Example 2.6
Find the median of the following temperatures:
49 50 40 38 41 57 56 52
Solution
The numbers are arranged in ascending order:
38 40 41 49 50 52 56 57
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1139
Exercises
Solutions to exercises
The mode of a set of values is the value that occurs most often.
Example 2.7
Find the mode of the set of numbers
2 3 3 4 5 5 6 6 6 8 11
Solution
The number 6 occurs three times; this is more than any other number. Hence the
mode is 6.
Example 2.8
Find the mode of the set of numbers
2 2 2 3 3 5 6 11 14 14 14 16
Solution
In this example there is no single number that occurs most frequently. The numbers
2 and 14 both occur three times. There are two modes. The data are said to be
bimodal.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1140
Exercises
Solutions to exercises
1 Find the mean, median and mode of each of 4 Find the mean of the data set
the following sets of values:
2 2 2 2 2 2 20
(a) 6 9 5 7 6 8 10
(b) 0 -3 0 -2 1 2 -2 -1 -2 0 Explain why the mean does not represent the
(c) 2 3 1 5 2 5 1 4 3 1 6 data adequately. Which average would have
been more appropriate to use?
2 The resistance of several resistors was
measured. The results are 5 The force needed to buckle a support beam is
measured several times. The results are
Resistance ( Æ ) Frequency tabulated thus
5.0 3
5.5 4 Force (*103 N) Frequency
6.0 9
6.5 17 2.00 4
7.0 11 2.25 1
7.5 1 2.50 2
2.75 5
(a) Calculate the mean resistance. 3.00 2
(b) Calculate the median. 3.25 2
(c) Calculate the mode.
3 The mean of the set of values Calculate the mean buckling force.
5 3 X 10 2 11
is 8.3. Find X.
Solutions to exercises
1 (a) 7.29, 7, 6 (b) -0.7, -0.5, -2 and 0 4 Mean = 4.57. Mode would be more
(bimodal) (c) 3, 3, 1 appropriate.
3 18.8
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1141
Variation of data
BLOCK 3
3.1 Introduction
Block 2 illustrated different ways of describing the central location of a data set. We
now look at the variation in a data set.
Consider the mean of the two sets of data: 4 4 4 and 1 3 8. The means are
4 + 4 + 4 1 + 3 + 8
= 4 and = 4
3 3
Both data sets have the same mean although the values in the first data set are all the
same whereas those in the second set are spread widely. Clearly the mean value does
not reflect the variability of the values in a data set. We need additional parameters to
describe variability of data. These additional parameters are the variance and the
standard deviation.
Both the variance and the standard deviation quantify the variation of a set of data
values.
Suppose we have a set of n values: x1, x2, x3, . . . , xn. The mean of these values is
found and labelled as x. Then the variance is given by
Key point n 2
a i = 1 (xi - x )
variance =
n
Example 3.1
Find the variance of
(a) 4 4 4
(b) 1 3 8
Solution
(a) We have x1 = 4, x2 = 4, x3 = 4. The mean, x, is calculated to be 4. So
x1 - x = 0, x2 - x = 0, x3 - x = 0
and so
3 2
a i = 1 (xi - x )
variance =
3
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:13 PM Page 1142
02 + 02 + 02
=
3
= 0
The variance is zero. Since there is no variation in the data values it is not
surprising that the variance is zero.
(b) Here we have x1 = 1, x2 = 3, x3 = 8 and x = 4. Then
x1 - x = - 3, x2 - x = - 1, x3 - x = 4
and so
3 2
a i = 1(xi - x)
variance =
3
(- 3)2 + (-1)2 + 42
=
3
26
=
3
= 8.67
The variance is 8.67.
Note that the standard deviation has the same units as the given data, and as such is a
useful measure of variation.
From Example 3.1 we see that the standard deviation of 4, 4, 4 is 20 = 0. The
standard deviation of 1, 3, 8 is 28.67 = 2.94.
Example 3.2
Calculate the variance and standard deviation of
11 6 9.6 10.2
Solution
11 + 6 + 9.6 + 10.2
mean =
4
= 9.2
The calculation of the variance is given in Table 3.1.
Table 3.1
xi xi - x (xi - x )2
2
a (xi - x)
variance =
n
14.64
=
4
= 3.66
Example 3.3
Calculate the variance and standard deviation of
0 2 3 6 6 10
Solution
mean = 4.5
Complete the calculation started in Table 3.2.
Table 3.2
xi xi - x (xi - x )2
0 -4.5, 20.25
2 -2.5, 6.25
3 -1.5, 2.25
6 1.5, 2.25
6 1.5, 2.25
10 5.5, 30.25
2
a (xi - x) = 63.5
63.5
variance = = 10.58
6
When data are presented in the form of a frequency distribution the variance and
standard deviation can still be found. Example 3.4 illustrates this.
Example 3.4
The number of hardware faults for each computer in a laboratory containing 30 com-
puters is recorded over a 12-month period. The results, in the form of a frequency
distribution, are given in Table 3.3.
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:33 PM Page 1144
Table 3.3
Number of faults, x Frequency, f
0 11
1 4
2 3
3 7
4 5
So 11 of the computers had no faults during the 12-month period, 4 had one fault,
3 had two faults, and so on. Note that the sum of the frequencies gives the total
number of computers, that is 30.
Calculate the variance and standard deviation.
Solution
The mean, x, is found to be 1.7. The remainder of the calculation is set out in Table 3.4.
Table 3.4
xi fi xi - x (xi - x)2 fi (xi - x )2
Then
2
a fi (xi - x)
variance =
n
72.3
=
30
= 2.41
and
standard deviation = 2variance
= 1.55
Example 3.4 illustrates the formula for calculating the variance of a frequency
distribution.
2
Key point a fi (xi - x)
variance =
n
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:35 PM Page 1145
1 Find the variance and standard deviation of the 3 The resistances of 50 resistors are measured
following sets of data: and the results recorded as follows:
(a) 6 11 10 9 7 8 9
(b) 5.3 7.2 9.1 8.6 5.9 7.3
Resistance (Æ) Frequency
(c) - 6 - 6 - 5 -1 0 2 1 0 - 2
Which set has the greatest variation? 5.0 17
5.5 12
2 Find the variance and standard deviation of the 6.0 10
following frequency distribution: 6.5 6
7.0 5
x f
Calculate the standard deviation of the
6 7 measurements.
7 3
8 2 4 The standard deviation of the values
9 4 x1, x2, x3, . . . , xn is s. Calculate the standard
10 2 deviation of the values kx1, kx2, kx3, . . . , kxn
where k is a constant.
Solutions to exercises
Elementary probability
BLOCK 4
4.1 Introduction
When an event is impossible we say the probability of its happening is 0. When an event
is certain, we say the probability of its happening is 1. For example, it is impossible for
us to live without oxygen and so the probability of doing this is 0. It is certain that a
metal bar will sink when placed in water and so the probability of this happening is 1.
Most events are neither impossible nor certain. They have varying degrees of
likelihood. The probability of such events lies between 0 and 1. Events that are likely
to happen have probabilities close to 1; events that are unlikely to happen have
probabilities close to 0. An event that is as likely to happen as not has a probability
of 0.5. For example, the probability of throwing a head with a fair coin is 0.5.
There are two ways in which we ascertain the probability of a particular event:
theoretically and experimentally.
To calculate a theoretical probability we need to have knowledge of the event. For
example, suppose we toss a fair coin and let H be the event that it lands with the head
facing uppermost. Clearly P(H) = 0.5. Similarly suppose we roll a fair die and E is
the event that a 4 is obtained; then P(E) = 16 . These probabilities have been calcu-
lated from knowledge of the physical situation. When any experiment is carried out
there are usually several possible outcomes, or events as we call them. For example,
when throwing a coin there are two possible events: the coin lands with the tail
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1147
Example 4.1
A die is rolled. Calculate the probability that a 4 is uppermost.
Solution
When a die is rolled there are six possible events: a 1 is uppermost, a 2 is uppermost,
and so on. Each of the six events is equally likely to happen and so the probability of
each event is 61 . In particular, the probability that a 4 is uppermost is 16 .
Example 4.2
A biased die is thrown 1000 times and a 6 is obtained on 330 occasions. Calculate
the probability of obtaining a 6 on a single throw of the die.
Solution
330
probability of throwing a 6 =
1000
= 0.33
Exercises
3 A television manufacturer sold 36000 TV sets (b) A store buys 500 TV sets from the
of which 297 were returned within 12 months manufacturer. How many can be expected
with faults. to develop faults within 12 months?
(a) Calculate the probability that a TV set,
chosen at random, is returned within
12 months.
Solutions to exercises
1
2
52
Suppose we roll a fair die and we wish to calculate the probability that the number
showing is 3 or higher. To obtain a score of 3 or more, we could throw a 3, 4, 5 or 6:
that is, there are four ways of obtaining such a score. When the die is rolled there are
six possible outcomes, of which four result in a score of 3 or more. So
4
P(obtaining a score of 3 or more) =
6
2
=
3
An event such as ‘score 3 or higher’ is an example of a compound event. When all
the outcomes of an experiment are equally likely then we can calculate the probabil-
ity of a compound event, E, using
Example 4.3
A fair die is rolled. Calculate the probability of obtaining an odd score.
Solution
The chosen event is throwing an odd score: that is, a 1, 3 or 5. Thus there are three
ways in which the chosen event can occur out of a total of six equally likely
outcomes. So
3
P(odd score) =
6
1
=
2
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:57 AM Page 1149
3
probability of obtaining one or more heads =
4
Exercises
1 A pack of 52 cards is shuffled and a card is 3 A fair die is rolled. Calculate the probability
selected. Calculate the probability that the that the number showing is
card is (a) odd
(a) black (b) 2 or more
(b) red (c) less than 4
(c) a club
(d) a jack 4 Two fair dice are thrown. Calculate the
(e) a red queen probability that the total is
(a) 6 (b) 8 (c) more than 10
2 Three fair coins are tossed.
(a) List the eight possible outcomes.
(b) Calculate the probability of obtaining
(i) exactly two heads, (ii) at least two
heads, (iii) no heads.
Solutions to exercises
1 1 1 1 1 1 5 1
1 (a) (b) (c) (d) (e) 3 (a) (b) (c)
2 2 4 13 26 2 6 2
Example 4.5
The events A and B are defined by
Exercises
Solutions to exercises
Solution
(a) Since machine A makes 70% of the components then machine B makes the
remaining 30%. Hence the probability that a component is made by machine B
is 0.3.
To answer (b), (c) and (d) we introduce the tree diagram.
Consider 100 components: 70 are made by machine A and 30 are made by
machine B. This is represented as in Figure 4.1.
Consider the 70 components made by machine A: 95% of these are reliable
and so 5% are unreliable. Now 95% of 70 = 66.5, 5% of 70 = 3.5, and this
information is represented by Figure 4.2.
Similarly, of the 30 components made by machine B, 92% are reliable and
so 8% are unreliable. We know that 92% of 30 = 27.6 and 8% of 30 = 2.4.
This information is represented by Figure 4.3.
Putting together Figures 4.1, 4.2 and 4.3 we obtain the tree diagram shown
in Figure 4.4.
We use Figure 4.4 to answer (b), (c) and (d).
A 70 66.5 (reliable)
100 70
B 30 3.5 (unreliable)
Figure 4.1 Figure 4.2
66.5 (reliable)
A 70
3.5 (unreliable)
27.6 (reliable) 100
27.6 (reliable)
30 B 30
2.4 (unreliable) 2.4 (unreliable)
(b) We see that there are 66.5 components made by machine A that are reliable
from the original 100 components. So
66.5
P(component is made by A and is reliable) =
100
= 0.665
(c) We see from Figure 4.4 that there are 2.4 components made by machine B that
are unreliable. So
2.4
P(component made by B and is unreliable) =
100
= 0.024
(d) There are 66.5 + 27.6 = 94.1 reliable components from the original 100. So
94.1
P(component is reliable) =
100
= 0.941
(a) Machine A makes 30% of the components, machine B makes 50% of the
components and so machine C makes (100 - 30 - 50)% = 20% of the
components. So
P(component is made by machine C) = 0.20
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1153
30 + 50
P(component is made by either A or B) = = 0.8
100
Exercises
Solutions to exercises
1 (a) 0.3333 (b) 0.02 (c) 0.3167 (d) 0.0367 3 (a) 0.917 (b) 166
1 Which of the following numbers cannot 4 The probability of throwing a ‘6’ with a fair
represent probabilities? die is 16 . A student makes the following
argument.
2 1 2 3 9 7
, ,- , , , , If I throw the die once, the probability of
3 11 3 7 7 9 obtaining a ‘6’ is 16 . So if I throw the die twice,
0.000, 1.010, 1 then the probability of throwing a ‘6’ must be
2 * 16 = 13 . If I throw the die three times then
2 A company manufactures resistors. During a the probability of throwing a ‘6’ must be
quality control check, 36 out of 2500 resistors 3 * 16 = 12 , and so on.
failed to perform to the required standard. Is the argument sound? If not, why not?
(a) Calculate the probability that a resistor
picked at random will fail to perform to the 5 Components are made by machines A, B and
required standard. C. Machines A and B each make 36% of the
(b) In a batch of 700 resistors how many components with machine C making the rest.
would you expect to fail? For machine A, 2% of the components made
are faulty, for machine B, 6% are faulty, and
3 Resistors are manufactured by machines A and for machine C, 7% are faulty.
B. Machine A makes 60% of the resistors with A component is picked at random.
machine B making the rest. When made by Calculate the probability that it is
machine A, 3% of the resistors are faulty; (a) faulty and made by machine C
when made by machine B, 7% are faulty. (b) not faulty.
A resistor is picked at random. Calculate
the probability it is 6 State the complement of the events:
(a) made by machine B (a) the machine is ready
(b) made by machine A and is not faulty (b) the assignment was delivered on time
(c) made by machine B and is faulty (c) both printers are working
(d) faulty. (d) at least one person is absent today.
Solutions to exercises
2 9
1 - , , 1.010 5 (a) 0.0196 (b) 0.9516
3 7
6 (a) the machine is not ready
2 (a) 0.0144 (b) 10 (b) the assignment was not delivered on time
(c) at least one of the printers is not working
3 (a) 0.4 (b) 0.582 (c) 0.028 (d) 0.046 (d) no one is absent today.
Laws of probability
BLOCK 5
5.1 Introduction
In this block we extend the knowledge of probability gained in Block 4. The concept
of mutually exclusive events leads naturally to the addition law of probability.
The probability of an event happening depends upon the conditions that prevail at
the time. This gives rise to the idea of conditional probability. Finally, once we
understand the meaning of independent events we can see when to apply the
multiplication law of probability.
Example 5.1
A fair die is rolled. Events E1, E2, E3, E4, E5 are defined by
E1: the score is even
E2: the score is more than 3
E3: the score is odd
E4: the score is 1
E5: the score is 3
Which events are mutually exclusive?
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1156
Solution
E1 and E3 are mutually exclusive.
E1, E4 and E5 are mutually exclusive.
E2, E4 and E5 are mutually exclusive.
Exercises
1 Two fair coins are tossed. State the events that E1: the score is less than 2
are mutually exclusive. E2: the score is divisible by 3
E3: the score is even
E1: both show heads E4: the score is 5
E2: both show tails
E3: there is one head and one tail State which events are mutually exclusive.
E4: there is at least one tail
Solutions to exercises
1 E1, E2 and E3 are mutually exclusive. E1 and E4 2 E1, E2 and E4 are mutually exclusive. E1, E3
are mutually exclusive. and E4 are also mutually exclusive.
Suppose E1 and E2 are mutually exclusive events with probabilities P(E1) and P(E2).
We consider the event ‘E1 or E2’.
Key point Suppose E1 and E2 are two mutually exclusive events. The addition law of probability states
P(E1 or E2) = P(E1) + P(E2)
Key point Suppose E1, E2, . . . , En are n mutually exclusive events. Then the addition law of
probability states
P(E1 or E2 or Á or En) = P(E1) + P(E2) + . . . + P(En)
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1157
240
(ii) probability chip is standard quality = P(E2) =
3000
= 0.08
60
(iii) probability chip is substandard = P(E3) =
3000
= 0.02
(b) The events are mutually exclusive and so the addition law of probability can be
applied.
probability chip is top or standard quality = P(E1 or E2)
= P(E1) + P(E2)
= 0.90 + 0.08
= 0.98
Table 5.1
The lifespan of Lifespan of motor (h) Number
4000 motors.
L … 1000 20
1000 6 L … 2000 75
2000 6 L … 3000 100
3000 6 L … 4000 420
4000 6 L … 5000 585
L 7 5000 2800
Solution
Let E1 and E2 be the events:
75
(a) P(E1) = = 0.01875
4000
100
(b) P(E2) = = 0.025
4000
(c) The events E1 and E2 are mutually exclusive and so the addition law of
probability can be applied.
P(1000 6 L … 3000) = P(E1 or E2)
(d) If the lifespan, L, is less than or equal to 4000 hours then L lies between 3000
and 4000 hours, or between 2000 and 3000 hours, or between 1000 and 2000
hours, or is less than 1000 hours. So
420 100 75 20
+ + +
4000 4000 4000 4000
= 0.1538
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1159
Exercises
Solutions to exercises
1 (a) 0.47 (b) 0.49 (c) 0.79 2 (a) 0.0525 (b) 0.0175 (c) 0.07 (d) 0.9475
Consider components that are manufactured by two machines X and Y. When made
by machine X, 93% of the components are acceptable; when made by machine Y,
89% are acceptable. Let the event E be
E: a component is acceptable
If all the components are made by machine X then P(E) = 0.93. If all the
components are made by machine Y then P(E) = 0.89. Clearly the probability of
the event depends upon the prevailing conditions. This is intuitive and leads to the
idea of conditional probability.
Let the events A and B be
A: the component is manufactured by machine X
B: the component is manufactured by machine Y
There is a notation for writing conditional probabilities. The probability that the
component is acceptable given it is manufactured by machine X is written P(E | A).
Similarly, P(E | B) is the probability that the component is acceptable given it is
manufactured by machine Y: that is, the probability of event E happening given that
event B has already happened.
In general
Key point P(R | S) is the probability of event R happening given that event S has already happened.
P(R | S) is the conditional probability of R given S.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1160
Table 5.2
Lifespan of 1000 Lifespan (h) Number of components
components
L 6 1000 69
(hours).
1000 … L 6 2000 113
2000 … L 6 3000 516
3000 … L 6 4000 201
L Ú 4000 101
Figure 5.2 69
Tree diagram L ⬍ 1000
representing the
information of 1000 113
1000 ⭐ L ⬍ 2000
Example 5.5.
L ⭓ 1000
931 516
2000 ⭐ L ⬍ 3000
L ⭓ 2000
818 201
3000 ⭐ L ⬍ 4000
L ⭓ 3000
302
L ⭓ 4000
101
(a) Out of 1000 components, 516 have a lifespan of between 2000 and 3000 hours.
So
516
P(2000 … L 6 3000) = = 0.516
1000
The probability that the lifespan is between 3000 and 4000 hours, given that the
201
component is still working after 2000 hours, is = 0.2457
818
Exercises
Solutions to exercises
1 (a) 0.1102 (b) 0.5750 (c) 0.5892 (d) 0.4401 3 (a) 0.9317 (b) 0.8633 (c) 0.504 (d) 0.4733
(e) 0.1888 (f) 0.4992 (e) 0.0432
2 (a) 0.4 (b) 0.72 (c) 0.033 (d) 0.045 4 (a) 0.015 (b) 0.0275 (c) 0.1818 (d) 0.025
(e) 0.3818 (f) 0.3210 (g) 0.7235 (e) 0.2494
Key point Two events are independent if the occurrence of either event does not change the
probability of the other event occurring.
The multiplication law states that when E1 and E2 are independent, then the probability
of both events happening is the product of the individual probabilities.
The law can be extended to three or more independent events. For example, if E1,
E2 and E3 are independent events then
P(E1 and E2 and E3) = P(E1) P(E2) P(E3)
probability of E2 happening and vice versa. Hence the multiplication law can
be applied.
P (both components are not faulty) = P(E1 and E2)
= P(E1) P(E2)
= (0.9)(0.9)
= 0.81
(b) The events that are complementary to E1 and E2 are
E1: the first component is faulty
E2: the second component is faulty
Note that P(E1) = P(E2) = 0.1.
Solution
We define events E1 and E2 to be
E1: the first component is faulty
E2: the second component is faulty
The events are independent and P(E1) = P(E2) = 0.05.
The complementary events, E1 and E2, are given by
E1: the first component is not faulty
E2: the second component is not faulty
Now the events ‘E1 and E2’ and ‘E1 and E2’ are mutually exclusive and so the
addition law of probability can be used.
P(‘E1 and E2’ or ‘E1 and E2’) = P(‘E1 and E2’) + P(‘E1 and E2’)
= 0.0475 + 0.0475
= 0.095
and so
(d) ‘At least one component is faulty’ means that either ‘one component is faulty’
or ‘both components are faulty’. Now
Example 5.8
Three coins are tossed. Calculate the probability that all the coins show heads.
Solution
Let the events E1, E2 and E3 be
Clearly, P(E1) = P(E2) = P(E3) = 0.5 and all the events are independent. So
P(E1 and E2 and E3) = P(E1) P(E2) P(E3)
= (0.5) (0.5) (0.5)
= 0.125
Exercises
1 A and B are independent events with P(A) = machine B makes 25% and machine C makes
0.75 and P(B) = 0 .9. The compound event ‘A the rest. Two components are picked at
occurs, then A occurs, then B occurs’ is random. Calculate the probability that
denoted by AAB. Other compound events are (a) both are made by machine C
denoted in a similar way. Calculate the (b) one is made by machine A and one is
probability of the following compound events made by machine B
occurring: (c) exactly one is made by machine A
(a) AAB (b) BBA (c) AABB (d) at least one is made by machine B
(e) both are made by the same machine.
2 A fair die is thrown three times. Calculate the
probability of obtaining 4 A machine makes resistors of which 96% are
(a) three 6s acceptable and 4% are unacceptable. Three
(b) three 1s resistors are picked at random. Calculate the
(c) two 6s given the first number is a 1 probability that
(d) two 6s given the first number is a 6. (a) all are acceptable
(b) all are unacceptable
3 Components are made by machines A, B and (c) at least one is unacceptable.
C. Machine A makes 35% of the components,
Solutions to exercises
1 (a) 0.5063 (b) 0.6075 (c) 0.4556 3 (a) 0.16 (b) 0.175 (c) 0.455 (d) 0.4375
(e) 0.345
2 (a) 0.0046 (b) 0.0046 (c) 0.0278
(d) 0.2778 4 (a) 0.8847 (b) 0.000064 (c) 0.1153
1 The probability that a component is reliable is 2 A machine makes three components, A, B and
0.89. Four components are picked at random. C. For every 1000 components made, 400 are
Calculate the probability that component A, 250 are component B and the
(a) all are reliable rest are component C. Three components are
(b) all are unreliable picked at random. Calculate the probability that
(c) at least one is unreliable (a) all are component B
(d) at least one is reliable. (b) all are of the same type
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1167
Solutions to exercises
1 (a) 0.6274 (b) 0.0001 (c) 0.3726 (d) 0.9999 5 (a) 0.4 (b) (i) 0.0711 (ii) 0.1778 (iii) 0.3422
(iv) 0.6578
2 (a) 0.0156 (b) 0.1225 (c) 0.21 (d) 0.288
6 (a) 0.7826 (b) 0.9348
3 (a) 0.65 (b) 0.3972 (c) 0.6517 (d) 0.42
(e) 0.2205 (f) 0.8979 7 (a) 0.6311 (b) 0.8817 (c) 0.495
Probability distributions
BLOCK 6
6.1 Introduction
There are usually several possible outcomes for any given experiment. For example,
when a component is tested it may be classified as substandard, satisfactory or first
class. Here there are three possible outcomes. The outcome is a discrete variable. As
another example, consider measuring the diameter of a piston. It may be 10.101 cm,
10.093 cm, 10.102 cm, and so on. Here the outcome is a continuous variable, which
can have any value within a specified range.
Probability distributions are used to assign probabilities to the various possible
outcomes of an experiment. If the variable is discrete we use a probability distribu-
tion; if the variable is continuous we use a modified form of a distribution, called a
probability density function (p.d.f.).
Key point The probability distribution of a discrete variable, X, gives the probabilities of all the
possible values of X.
Example 6.1
Components produced in a factory are graded as substandard, satisfactory or first
class. The percentage of each is 10%, 85% and 5% respectively. Thus the probability
distribution is as follows:
Substandard 0.10
Satisfactory 0.85
First class 0.05
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1170
Example 6.2
A service engineer records the number of calls received in an 8-hour period for 300
similar periods. The results are given as
0 2
1 7
2 26
3 97
4 101
5 53
6 14
Solution
Let X be the number of calls received. Note that X is a discrete variable that takes on
values 0, 1, 2, . . . , 6. The probability of each different value of X occurring is
calculated.
2
P(X = 0) =
300
= 0.0067
7
P(X = 1) =
300
= 0.0233
26
P(X = 2) = = 0.0867
300
97
P(X = 3) = = 0.3233
300
101
P(X = 4) = = 0.3367
300
53
P(X = 5) = = 0.1767
300
14
P(X = 6) = = 0.0467
300
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1171
0 0.0067
1 0.0233
2 0.0867
3 0.3233
4 0.3367
5 0.1767
6 0.0467
0.2
0.1
O 0 1 2 3 4 5 6 X
Note that when all the possible values of a variable have been considered, then the
sum of the probabilities is 1.
To find the probability of several outcomes, the individual probabilities are added.
Example 6.3 illustrates this.
Example 6.3
Using the data from Example 6.2, calculate the probability that the service engineer
receives five or six calls in an 8-hour period.
Solution
The individual probabilities are noted: P(X = 5) = 0.1767, P(X = 6) = 0.0467.
So adding the probabilities we find the probability of receiving five or six calls.
P(X = 5 or 6) = P(X = 5) + P(X = 6)
= 0.1767 + 0.0467
= 0.2234
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1172
Exercises
2 12
3 36
4 81
5 10
6 15
7 46
Solutions to exercises
Consider a continuous variable, X, which can take on any value between some pre-
scribed limits. The probability that X lies somewhere between values, say, a and b is
found from a probability density function (p.d.f.), f (x).
Key point The probability that the continuous variable, X, lies between a and b, that is
P(a 6 X 6 b), is given by
b
P(a 6 X 6 b) = 冮 f (x) dx
a
兰 f (x) dx
a
a b x
Example 6.4
Given that X is a continuous variable, interpret the following expressions.
(a) P(15 6 X 6 20)
(b) P(X 6 1.7)
(c) P(X 7 9.6)
(d) P(X = 2.6)
Solution
(a) This represents the probability that X lies between 15 and 20.
(b) This is the probability that X is less than 1.7.
(c) This is the probability that X is greater that 9.6.
(d) P(X = 2.6) is not a valid statement for a continuous variable. Probability
statements for continuous variables must always be in terms of intervals. We
could calculate P(2.59 6 X 6 2.61) for example, but not P(X = 2.6).
Example 6.5
A p.d.f. for the continuous variable X is given by
f(x) = 2x, 0 6 x 6 1
(a) Check that f(x) is a valid p.d.f.
(b) Calculate P(0.1 6 X 6 0.7).
Solution
(a) The function, f(x), is defined only on the interval 0 6 x 6 1 and on this
interval it is never negative. Also
1 1
冮0
f(x) dx = 冮
0
2x dx
= 3x2410
= 1
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1174
and so the total area under f(x) is 1. Hence f(x) is a valid p.d.f.
冮
0.7
(b) P(0.1 6 X 6 0.7) = 2x dx
0.1
= 3x240.7
0.1
= 0.48
The probability that X lies between 0.1 and 0.7 is 0.48.
Example 6.6
A p.d.f., f(x), for a continuous variable X is given by
3
f(x) = (4 - x2), 0 6 x 6 2
16
Calculate
(a) P(0.5 6 X 6 1.5) (b) P(X 6 1) (c) P(X = 1.6)
Solution
1.5
冮
3
4 - x2 dx = 0.5469
16 0.5
冮 4 - x dx = 0.6875
3 2
(b) P(X 6 1) =
16 0
Exercises
1 Explain what is meant by a probability density (a) Verify that f(x) can be a p.d.f.
function. (b) Find P(1.7 6 X 6 2).
(c) Find P(X 6 1.5).
2 State two properties that a function must have (d) Find P(X 7 1.25).
in order to be a probability density function.
4 A p.d.f. for a continuous variable X is given by
3 A p.d.f., f(x), for a continuous variable X is
given by f (x) = ex, x 6 0
3 2
f (x) = (x + 1), 1 6 x 6 2
10
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1175
Solutions to exercises
6.0 0.13
6.5 0.10 4 A p.d.f. for the continuous variable X is given
7.0 0.09 by
7.5 0.02
x2
8.0 0.23 f (x) = , 1 6 x 6 4
8.5 0.43 21
Calculate
(a) P(2 6 X 6 3) (b) P(X 7 2.5)
Find (c) P(X 6 3.5)
(a) P(x Ú 7.0) (b) P(x 7 7.5)
5 A p.d.f. for the continuous variable X is given
(c) P(x … 8.0) (d) P(x 6 7.5)
by
(e) P(6.5 6 x … 8.0)
f (x) = 2e-2x, x 7 0
3 The number of reject components in each of
700 boxes is counted and recorded in Table 6.2. Calculate
(a) Construct a frequency distribution from (a) P(1 6 X 6 5)
the given data. (b) P(X 7 1)
(b) Calculate the probability that the number (c) P(X 6 2)
of reject components is between 1 and 4 (d) the value of a such that 90% of the X
inclusive. values are less than a.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1176
Solutions to exercises
2
1 3 4 (a) 0.3016 (b) 0.7679 (c) 0.6647
2 (a) 0.77 (b) 0.66 (c) 0.57 (d) 0.32 (e) 0.34 5 (a) 0.1353 (b) 0.1353 (c) 0.9871 (d) 1.1513
3 (a)
Number of rejects per box P(x)
0 0.1671
1 0.1757
2 0.3371
3 0.2100
4 0.0900
5 0.0200
(b) 0.813
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1177
7.1 Introduction
Consider an experiment in which a particular result may or may not occur. For exam-
ple, a component is tested and it may be acceptable or not be acceptable, a circuit
may work or not work. Such outcomes are complementary, and so their probabilities
sum to 1. In general, we consider an experiment with possible outcomes of A and its
complement A. We let P(A) = p and P(A) = q where clearly p + q = 1.
Suppose the experiment is repeated n times. We wish to calculate the probability
of A occurring k times and A occurring n - k times. For example, in testing a sample
of 10 components, a quality control engineer may wish to know the probability of
finding eight working components and two non-working components. The calcula-
tion of probabilities such as these uses the binomial distribution.
Solution
We define A and A by
(a) If there are no acceptable components then all three components are not
acceptable. We denote this by A A A . Since the events are independent the
multiplication law can be applied.
P(A A A) = P(A) P(A) P(A)
= (0.1)(0.1)(0.1)
= 0.001
(b) Here one of the three components is acceptable. We denote by AA A the event:
the first component is acceptable, the second is not acceptable, the third is not
acceptable. Events AAA and A AA have obvious meanings.
If one component is acceptable, then AA A or AAA or A AA occurs. These
compound events are mutually exclusive and so the addition law can be applied.
P(one component is acceptable) = P(AA A or A AA or A A A)
= P(AA A) + P(AAA) + P(A A A)
= (0.9)(0.1)(0.1) + (0.1)(0.9)(0.1)
+ (0.1)(0.1)(0.9)
= 0.027
(c) Two of the three components are acceptable. The various possibilities are
AAA, AAA, AAA
These compound events are mutually exclusive.
P(AAA or AAA or A AA) = P(AAA) + P(AAA) + P(A AA)
= (0.9)(0.9)(0.1) + (0.9)(0.1)(0.9)
+ (0.1)(0.9)(0.9)
= 0.243
(d) All three components are acceptable. In this case there is only one possibility,
AAA.
P(AAA) = (0.9)3
= 0.729
0 0.001
1 0.027
2 0.243
3 0.729
1.000
Since all possibilities have been covered the probabilities sum to 1. Let the num-
ber of acceptable components be x. Clearly x is a variable that can have values 0, 1,
2 and 3 with varying likelihood. Table 7.1 shows how the total probability, 1, is
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1179
Exercises
1 The probability that a component is acceptable 2 The probability that a silicon chip works is
is 0.95. Four components are picked at 0.97. Five such chips are tested. Calculate the
random. Calculate the probability that probability that
(a) all four are acceptable (a) all five chips work
(b) exactly three are acceptable (b) one chip does not work.
(c) all four are unacceptable.
Solutions to exercises
1 (a) 0.8145 (b) 0.1715 (c) 6.25 * 10-6 2 (a) 0.8587 (b) 0.1328
Before we can make progress and study a general binomial distribution we need to
introduce combination notation.
Recall the factorial notation: 2! = 2 * 1, 3! = 3 * 2 * 1, 4! = 4 * 3 * 2 * 1,
and so on. We define the combination notation as follows:
Key point
a b =
n n!
r r!(n - r)!
a b =
5 5!
3 3!(5 - 3)!
5!
=
3!2!
= 10
The quantity a b is the number of ways of selecting r objects from n distinct objects,
n
r
with the order of selection being unimportant.
Example 7.2
Calculate the number of ways of selecting 3 digits from 10 digits.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1180
Solution
Exercises
Solutions to exercises
2 657800
a bpkqn - k
n
k
Solution
Let A and A be defined:
Then P(A) = p = 0.97, P(A) = q = 1 - 0.97 = 0.03. Ten components are exam-
ined, that is n = 10.
= a b(0.97)9(0.03)1
10
9
= 10(0.97)9(0.03)
= 0.2281
a b(0.91)10(0.09)2
12
P(10 acceptable components) =
10
= 0.2082
a b(0.91)11(0.09)
12
P(11 acceptable components) =
11
= 0.3827
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1182
a b(0.91)12(0.09)0
12
P(12 acceptable components) =
12
= 0.3225
Since the events are mutually exclusive, the addition law is used.
P(10 or more acceptable components) =
Exercises
1 The probability that a car will not develop a probability that a micro-chip works is 0.99.
major fault within the first 3 years of its life is Calculate the probability that the machine
0.997. Calculate the probability that of 20 cars works.
selected at random
(a) 19 will not develop any major faults in the 4 The probability that a bearing meets a
first 3 years specification is 0.92. Six bearings are picked at
(b) 19 or more will not develop any major random. Calculate the probability that
faults in the first 3 years. (a) all six meet the specification
(b) more than four meet the specification
2 The probability that a machine has a lifespan of (c) one or none meets the specification
more than 7 years is 0.85. Twelve machines are (d) exactly four meet the specification.
chosen at random. Calculate the probability
that 5 The probability of passing a module on the
(a) 10 have a lifespan of more than 7 years first attempt is 0.9. A student takes six
(b) 11 have a lifespan of more than 7 years modules. Calculate the probability that the
(c) 10 or more have a lifespan of more than 7 student
years. (a) passes five modules
(b) passes all modules
3 A machine needs all five of its micro-chips to (c) is required to take two or more resits.
be functional in order to work correctly. The
Solutions to exercises
1 (a) 0.0567 (b) 0.9984 4 (a) 0.6064 (b) 0.9227 (c) 1.835 ⫻ 10⫺5
(d) 6.877 ⫻ 10⫺2
2 (a) 0.2924 (b) 0.3012 (c) 0.7358
5 (a) 0.3543 (b) 0.5314 (c) 0.1143
3 0.9510
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1183
Key point The mean and variance of a binomial random variable, X, are given by
mean = m = np
variance = s 2 = np(1 - p)
where n is the number of trials and p is the probability of an occurrence of X in a single
trial.
components to be at least 95% certain that 9 The probability that a component is acceptable
there are at least seven components that are is 0.93. An engineer picks 200 components at
reliable. Calculate the number of components random. If X is the number of acceptable
the engineer should collect. components calculate (a) the mean, (b) the
variance of X.
Solutions to exercises
1 (a) 120 (b) 10 (c) 220 (d) 100 6 (a) 0.03125 (b) 0.15625 (c) 0.3125
(d) 0.3125 (e) 0.15625
2 (a) n (b) 1 (c) n
7 (a) 0.7365 (b) 0.2323 (c) 0.0293
3 (a) 0.4344 (b) 0.1478 (c) 0.3777 (d) 0.9599
8 9
4 (a) 0.3474 (b) 0.2759
9 (a) 186 (b) 13.02
5 (a) 4.1676 * 10-4 (b) 0.2326 (c) 0.4805
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:42 PM Page 1185
8.1 Introduction
e-l lr
P(X = r) = , r = 0, 1, 2, 3, . . .
r!
Example 8.1
In a particular Poisson distribution l = 2. Calculate the probability that (a) X = 1,
(b) X = 2, (c) X = 3.
Solution
We are given l = 2 and so the distribution is
e-2 2r
P(X = r) =
r!
e-2 21
P(X = 1) =
1!
= 0.2707
e-2 22
(b) P(X = 2) =
2!
= 0.2707
e-2 23
(c) P(X = 3) =
3!
= 0.1804
Solution
The average number of calls per day is four, that is l = 4. Let X be the number of
emergency calls received in 1 day. Then X is a variable with a Poisson distribution
given by
e-44r
P(X = r) =
r!
e-440
(a) P(X = 0) =
0!
= 0.0183
Thus there will be no calls on less than 2 days in 100.
e-441
(b) P(X = 1) =
1!
= 0.0733
There will be one call per day in just over 7 days in a 100.
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:46 PM Page 1187
e-442
(c) P(X = 2) =
2!
= 0.1465
(d) ‘Two or fewer calls’ means that the engineer receives two calls, one call or no
calls. These events are mutually exclusive and so the addition law can be used.
P(X = 0 or X = 1 or X = 2) = P(X = 0) + P(X = 1) + P(X = 2)
= 0.0183 + 0.0733 + 0.1465
= 0.2381
(e) Let E be the event
E: the engineer receives more than four calls in a day
Then the complement of E is E given by
E: the engineer receives four or fewer calls in a day
We calculate P(E).
P(E) = P(X … 4)
= P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4)
e-440 e-441 e-442 e-443 e-444
= + + + +
0! 1! 2! 3! 4!
= 0.6288
Since E and E are complementary events then
P(E) + P(E) = 1
and so
P(E) = 1 - P(E )
= 1 - 0.6288
= 0.3712
e-55r
P(X = r) =
r!
e-553
(a) P(X = 3) =
3!
= 0.1404
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:58 AM Page 1188
e-556
(b) P(X = 6) =
6!
= 0.1462
(c) ‘Fewer than three breakdowns’ means that X = 0 or X = 1 or X = 2. Since
these events are mutually exclusive we can use the addition law of probability.
Hence
P(X 6 3) = P(X = 0 or X = 1 or X = 2)
E =
P(E) = P(X … 3)
= P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3)
= 0.1247 + P(X = 3) using (c)
= 0.2651
Now
P(E) = 1 - P(E)
= 0.7349
e-33r
P(X = r) =
r!
-3 0
e 3
(a) P(X = 0) =
0!
= 0.0498
e-333
(b) P(X = 3) =
3!
= 0.2240
Exercises
Solutions to exercises
1 (a) 0.2240 (b) 0.1494 (c) 0.3528 3 (a) 0.2240 (b) 0.1991 (c) 0.8009
2 (a) 0.1277 (b) 0.1304 (c) 0.9182 4 (a) 0.1755 (b) 0.1247 (c) 0.5595
The Poisson and binomial distributions are related. Consider a binomial distribution
in which n trials take place. Note that n is fixed. Suppose the probability of an event
A occurring on a single trial is p. Let X be the number of occurrences of A in n trials.
Also consider a Poisson distribution with mean l.
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:54 PM Page 1190
If n is large and p is small and l = np then the Poisson and binomial distributions
are very similar. Table 8.1 lists the probabilities for both distributions where n = 20,
p = 0.05 and l = 20(0.05) = 1.
Table 8.1
Probabilities Binomial Poisson
for binomial P(X = r); n = 20, p = 0.05 P(X = r), l = 1
and Poisson
distributions. r = 0 0.3585 0.3679
r = 1 0.3774 0.3679
r = 2 0.1887 0.1839
r = 3 0.0596 0.0613
r = 4 0.0133 0.0153
r = 5 0.0022 0.0031
Solution
We solve the problem with both the binomial and the Poisson distribution.
Binomial distribution
Poisson distribution
Strictly speaking, to calculate the probabilities we should use the binomial distribu-
tion because the number of occurrences is finite. However, since n, the number of
trials, is large, 100, and the probability of breakdown small, 0.005, then a Poisson
M23_CROF5939_04_SE_C23.QXD 9/28/18 12:56 PM Page 1191
e-0.5(0.5)r
P(X = r) =
r!
e-0.5(0.5)1
(a) P(X = 1) =
1!
= 0.3033
e-0.5(0.5)0
(b) P(X = 0) =
0!
= 0.6065
Solution
Number of drives = n = 500
Probability of failure = p = 0.004
l = np = 2
e-22r
P(X = r) =
r!
e-220
(a) P(X = 0) =
0!
= 0.1353
e-221
(b) P(X = 1) =
1!
= 0.2707
= 0.3233
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1192
Exercises
1 On any day, the probability that a person is 3 A machine manufactures 350 micro-chips per
absent due to illness is 0.001. In a workforce of hour. The probability that a chip is faulty is
600 people, calculate the probability that on any 0.012. Calculate the probability that in a
day the number of people absent is (a) none, particular hour there are (a) one, (b) three,
(b) one, (c) more than one, (d) less than three. (c) more than three faulty chips manufactured.
Solutions to exercises
1 (a) 0.5488 (b) 0.3293 (c) 0.1219 3 (a) 0.0630 (b) 0.1852 (c) 0.6046
(d) 0.9769
6 A workforce comprises 750 people. During 7 The probability that a component fails within
any week the probability that a person is 2 weeks is 0.0075. If 500 components are
absent is 0.01. Use the Poisson approximation examined calculate the probability that the
to the binomial distribution to calculate the number failing within 2 weeks is (a) three,
probability that there are (b) four, (c) less than three.
(a) seven absent people
(b) five absent people
(c) more than four absent people.
Solutions to exercises
1 (a) 4 (b) 0.1563 (c) 0.1465 (d) 0.9084 5 (a) 0.2381 (b) 0.4335 (c) 0.7619
2 (a) 0.1954 (b) 0.3712 (c) 0.4335 6 (a) 0.1465 (b) 0.1094 (c) 0.8679
3 (a) 0.1339 (b) 0.1377 (c) 0.3837 7 (a) 0.2067 (b) 0.1938 (c) 0.2771
9.1 Introduction
A variable that can take on any value within a given range is called a continuous
variable. Examples of continuous variables include the weights of packets of
sugar produced in a factory, the diameter of ball bearings and the heights of people.
The normal distribution allows us to calculate the probability of a continuous
variable falling within a particular range of values. Many variables such as weight,
volume and density have been found to be modelled by a normal distribution, which
is the reason why it has become one of the most important distributions needed by
engineers.
In this block we describe the normal distribution and show how it is used to calcu-
late probabilities. An understanding of probability density functions is essential;
these were introduced in Block 6 of this chapter.
Suppose a factory produces pistons for a particular model of car. The diameters of
the pistons must lie within a given range of values to be acceptable. The quality con-
trol manager measures the diameter of several hundred pistons. From these measure-
ments the mean and standard deviation can be calculated.
For a normal distribution we denote the mean by m and the standard deviation by
s. It is these two values that characterise a normal distribution. Suppose x is a vari-
able, such as length or weight. Then the normal probability density function, N(x),
is a bell-shaped curve, illustrated in Figure 9.1. Note that N(x) is symmetrical about
µ x
M23_CROF5939_04_SE_C23.QXD 9/28/18 1:02 PM Page 1195
e-(x - m) >2s , - q 6 x 6 q
1 2 2
N(x) =
s 22p
μ1 μ2 x
x
M23_CROF5939_04_SE_C23.QXD 9/28/18 1:08 PM Page 1196
Exercises
1 Figure 9.4 shows two normal distributions, 2 Figure 9.5 shows two normal distributions,
A and B. A and B.
N(x) N(x)
B A
A
B
x x
(a) Which distribution has the higher mean? (a) Which distribution has the higher mean?
(b) Which distribution has the higher standard (b) Which distribution has the higher standard
deviation? deviation?
Solutions to exercises
We have seen how a normal distribution, N(x), depends upon the mean, m, and the
standard deviation, s. We now look at a particular normal distribution with mean 0
and standard deviation 1. Such a distribution is called a standard normal distribu-
e-x >2.
1 2
tion. Its probability density function is N(x) =
22p
Key point The standard normal distribution has a mean of 0 and a standard deviation of 1.
Key point If x has a standard normal distribution, N(x), then the probability that x lies within the
interval (a, b) is
b
P (a 6 x 6 b) = 冮a
N(x) dx
b
The quantity 1a N(x) dx is illustrated in Figure 9.6.
a O b x
Because N(x) is a probability density function it can be shown that the total area
under N(x) is 1, that is
q
冮
-q
N(x) dx = 1
The shaded area in Figure 9.7 represents A(z), so it will be helpful to think of A(z) as
the area under the graph of N(x) up to the point where x = z.
O z x
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1198
O x
Values of A(z) for other values of z cannot be found by simply inspecting the graph.
z
A(z) must be found by evaluating the integral 1- q N(x) dx. This is difficult and must
be done numerically. Fortunately tables of A(z) are commonly available so that inte-
gration is not necessary. Values of A(z) for various values of z are given in Table 9.1
below.
Using Table 9.1 we are able to calculate the probability that x lies within a given
interval.
Table 9.1 can be used to calculate the probability that x lies within a given interval.
Recall that x follows a standard normal distribution: that is, it has a mean of 0 and a
standard deviation of 1. The values of A(z) in Table 9.1 give the probability that x is
less than z, that is
A(z) = P(x 6 z)
Example 9.1
The continuous variable, x, has a standard normal distribution. Calculate the prob-
ability that
(a) x 6 0.86 (b) x 7 0.86 (c) x 6 -0.86 (d) x 7 -0.86
Solution
(a) This case is illustrated in Figure 9.9.
P(x 6 0.86) = A(0.86)
From Table 9.1, A(0.86) = 0.8051. Hence
P(x 6 0.86) = 0.8051
There is a probability of 0.8051 that the variable x is less than 0.86.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1199
O 0.86 x
(b) This case is illustrated in Figure 9.10. Since the total area under the curve is 1,
we have
P(x 7 0.86) = 1 - P(x 6 0.86)
= 1 - 0.8051
= 0.1949
O 0.86 x
⫺0.86 O x
0.00 0.5000000 0.30 0.6179114 0.60 0.7257469 0.90 0.8159399 1.20 0.8849303 1.50 0.9331928
M23_CROF5939_04_SE_C23.QXD
0.01 0.5039894 0.31 0.6217195 0.61 0.7290691 0.91 0.8185887 1.21 0.8868606 1.51 0.9344783
0.02 0.5079783 0.32 0.6255158 0.62 0.7323711 0.92 0.8212136 1.22 0.8887676 1.52 0.9357445
0.03 0.5119665 0.33 0.6293000 0.63 0.7356527 0.93 0.8238145 1.23 0.8906514 1.53 0.9369916
0.04 0.5159534 0.34 0.6330717 0.64 0.7389137 0.94 0.8263912 1.24 0.8925123 1.54 0.9382198
11/14/18
0.05 0.5199388 0.35 0.6368307 0.65 0.7421539 0.95 0.8289439 1.25 0.8943502 1.55 0.9394292
0.06 0.5239222 0.36 0.6405764 0.66 0.7453731 0.96 0.8314724 1.26 0.8961653 1.56 0.9406201
Block 9 The normal distribution
0.07 0.5279032 0.37 0.6443088 0.67 0.7485711 0.97 0.8339768 1.27 0.8979577 1.57 0.9417924
0.08 0.5318814 0.38 0.6480273 0.68 0.7517478 0.98 0.8364569 1.28 0.8997274 1.58 0.9429466
8:05 PM
0.09 0.5358564 0.39 0.6517317 0.69 0.7549029 0.99 0.8389129 1.29 0.9014747 1.59 0.9440826
0.10 0.5398278 0.40 0.6554217 0.70 0.7580363 1.00 0.8413447 1.30 0.9031995 1.60 0.9452007
0.11 0.5437953 0.41 0.6590970 0.71 0.7611479 1.01 0.8437524 1.31 0.9049021 1.61 0.9463011
0.12 0.5477584 0.42 0.6627573 0.72 0.7642375 1.02 0.8461358 1.32 0.9065825 1.62 0.9473839
Page 1200
0.13 0.5517168 0.43 0.6664022 0.73 0.7673049 1.03 0.8484950 1.33 0.9082409 1.63 0.9484493
0.14 0.5556700 0.44 0.6700314 0.74 0.7703500 1.04 0.8508300 1.34 0.9098773 1.64 0.9494974
0.15 0.5596177 0.45 0.6736448 0.75 0.7733726 1.05 0.8531409 1.35 0.9114920 1.65 0.9505285
0.16 0.5635595 0.46 0.6772419 0.76 0.7763727 1.06 0.8554277 1.36 0.9130850 1.66 0.9515428
0.17 0.5674949 0.47 0.6808225 0.77 0.7793501 1.07 0.8576903 1.37 0.9146565 1.67 0.9525403
0.18 0.5714237 0.48 0.6843863 0.78 0.7823046 1.08 0.8599289 1.38 0.9162067 1.68 0.9535213
0.19 0.5753454 0.49 0.6879331 0.79 0.7852361 1.09 0.8621434 1.39 0.9177356 1.69 0.9544860
0.20 0.5792597 0.50 0.6914625 0.80 0.7881446 1.10 0.8643339 1.40 0.9192433 1.70 0.9554345
0.21 0.5831662 0.51 0.6949743 0.81 0.7910299 1.11 0.8665005 1.41 0.9207302 1.71 0.9563671
0.22 0.5870644 0.52 0.6984682 0.82 0.7938919 1.12 0.8686431 1.42 0.9221962 1.72 0.9572838
0.23 0.5909541 0.53 0.7019440 0.83 0.7967306 1.13 0.8707619 1.43 0.9236415 1.73 0.9581849
0.24 0.5948349 0.54 0.7054015 0.84 0.7995458 1.14 0.8728568 1.44 0.9250663 1.74 0.9590705
0.25 0.5987063 0.55 0.7088403 0.85 0.8023375 1.15 0.8749281 1.45 0.9264707 1.75 0.9599408
0.26 0.6025681 0.56 0.7122603 0.86 0.8051055 1.16 0.8769756 1.46 0.9278550 1.76 0.9607961
0.27 0.6064199 0.57 0.7156612 0.87 0.8078498 1.17 0.8789995 1.47 0.9292191 1.77 0.9616364
0.28 0.6102612 0.58 0.7190427 0.88 0.8105703 1.18 0.8809999 1.48 0.9305634 1.78 0.9624620
0.29 0.6140919 0.59 0.7224047 0.89 0.8132671 1.19 0.8829768 1.49 0.9318879 1.79 0.9632730
1.80 0.9640697 1.95 0.9744119 2.10 0.9821356 2.25 0.9877755 2.40 0.9918025 2.55 0.9946139
1.81 0.9648521 1.96 0.9750021 2.11 0.9825708 2.26 0.9880894 2.41 0.9920237 2.56 0.9947664
1.82 0.9656205 1.97 0.9755808 2.12 0.9829970 2.27 0.9883962 2.42 0.9922397 2.57 0.9949151
1.83 0.9663750 1.98 0.9761482 2.13 0.9834142 2.28 0.9886962 2.43 0.9924506 2.58 0.9950600
1.84 0.9671159 1.99 0.9767045 2.14 0.9838226 2.29 0.9889893 2.44 0.9926564 2.59 0.9952012
1.85 0.9678432 2.00 0.9772499 2.15 0.9842224 2.30 0.9892759 2.45 0.9928572 2.60 0.9953388
M23_CROF5939_04_SE_C23.QXD
1.86 0.9685572 2.01 0.9777844 2.16 0.9846137 2.31 0.9895559 2.46 0.9930531 2.70 0.9965330
1.87 0.9692581 2.02 0.9783083 2.17 0.9849966 2.32 0.9898296 2.47 0.9932443 2.80 0.9974449
1.88 0.9699460 2.03 0.9788217 2.18 0.9853713 2.33 0.9900969 2.48 0.9934309 2.90 0.9981342
1.89 0.9706210 2.04 0.9793248 2.19 0.9857379 2.34 0.9903581 2.49 0.9936128 3.00 0.9986501
10/26/18
1.90 0.9712834 2.05 0.9798178 2.20 0.9860966 2.35 0.9906133 2.50 0.9937903 3.20 0.9993129
1.91 0.9719334 2.06 0.9803007 2.21 0.9864474 2.36 0.9908625 2.51 0.9939634 3.40 0.9996631
1.92 0.9725711 2.07 0.9807738 2.22 0.9867906 2.37 0.9911060 2.52 0.9941323 3.60 0.9998409
2:05 PM
1.93 0.9731966 2.08 0.9812372 2.23 0.9871263 2.38 0.9913437 2.53 0.9942969 3.80 0.9999277
1.94 0.9738102 2.09 0.9816911 2.24 0.9874545 2.39 0.9915758 2.54 0.9944574 4.00 0.9999683
4.50 0.9999966
5.00 0.9999997
Page 1201
5.50 0.9999999
z
1 2
This table has been calculated numerically from A(z) = 冮 e - x /2 d x
22p
-q
9.4 Calculating probabilities using Table 9.1 1201
23
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1202
⫺0.86 O x
Example 9.2
The variable x has a standard normal distribution. Calculate the probability that
(a) x 6 2.06 (b) x 6 -1.17 (c) x 7 0.5 (d) x 7 -0.75
Solution
(a) Figure 9.13 illustrates the area.
O 2.06 x
⫺1.17 O x
= 1 - P(x 6 1.17)
= 1 - 0.8790 = 0.1210
(c) Figure 9.15 illustrates the area.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1203
O 0.5 x
= 1 - 0.6915 = 0.3085
(d) Figure 9.16 illustrates the required area.
⫺0.75 O x
= 0.7734
Example 9.3
A variable, x, has a normal distribution with a mean of 0 and a standard deviation of
1: that is, it has a standard normal distribution. Calculate
(a) P(0.6 6 x 6 1.9) (b) P(-0.86 6 x 6 0.3) (c) P(-1.5 6 x 6 -0.7)
Solution
(a) Figure 9.17 illustrates the required area.
Recall that Table 9.1 gives values of A(z) where
A(z) = P(x 6 z)
O 0.6 1.9 x
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1204
that is, the probability that x is less than some specified value, z. We can view
the shaded area in Figure 9.17 as A(1.9) - A(0.6). Figure 9.18 illustrates this.
So
P(0.6 6 x 6 1.9) = P(x 6 1.9) - P(x 6 0.6)
= A(1.9) - A(0.6)
= 0.9713 - 0.7257
= 0.2456
Now
P(x 6 -0.86) = P(x 7 0.86)
= 1 - P(x 6 0.86)
= 0.1949
So
P(-0.86 6 x 6 0.3) = P(x 6 0.3) - P(x 6 -0.86)
= 0.6179 - 0.1949
= 0.4230
Example 9.4
Given that x has a standard normal distribution calculate
(a) P(1 6 x 6 2) (b) P(-1.5 6 x 6 1) (c) P(-1.2 6 x 6 -0.5)
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1205
= - 0.9772, 0.8413
= 0.1359
= 0.8413 - 0.0668
= 0.7745
= a1 - b - a1 - b
= - 0.3085, 0.1151
= 0.1934
Exercises
1 Given that y has a standard normal distribution (b) z lies more than one standard deviation
calculate from the mean.
(a) P( y 6 1.36) (b) P(y 7 1.36)
(c) P(y 6 -0.9) (d) P(y 7 -0.57) 4 The temperature in a fridge follows a normal
(e) P(0.56 6 y 6 1.82) distribution with a mean of 0° and a standard
(f) P(-0.15 6 y 6 0) deviation of 1°. Calculate the probability that
(g) P(-2.1 6 y 6 -1.7) the temperature is (a) more than 2°, (b) less
than 1°, (c) between -2° and 1°.
2 Given that x has a standard normal distribution
calculate
(a) P(1 6 x 6 2) (b) P(-1.2 6 x 6 1.2)
(c) P(x 6 0) (d) P(-1.75 6 x 6 -0.75)
(e) P(x 7 0) (f) P(|x| 6 1)
(g) P( ƒ x ƒ 7 1.5)
Solutions to exercises
1 (a) 0.9131 (b) 0.0869 (c) 0.1841 (d) 0.7157 3 (a) 0.9545 (b) 0.3173
(e) 0.2534 (f) 0.0596 (g) 0.0267
4 (a) 0.02275 (b) 0.8413 (c) 0.8186
2 (a) 0.1359 (b) 0.7699 (c) 0.5 (d) 0.1866
(e) 0.5 (f) 0.6827 (g) 0.1336
Key point Suppose a variable, x, has a normal distribution with mean m and standard deviation s .
We standardise x to Z using the formula
x - m
Z =
s
x - m
The variable Z = now has a standard normal distribution and so Table 9.1
s
can be used.
Example 9.5
A variable, x, has a normal distribution with mean 5 and standard deviation 2.
Calculate the probability that
(a) x 6 7 (b) x 7 4 (c) 2 6 x 6 6
Solution
(a) We standardise 7 to
7 - m
Z =
s
7 - 5
=
2
= 1
4 - 5
Z =
2
= -0.5
2 - 5 6 - 5
Z = = -1.5, Z = = 0.5
2 2
So
Example 9.6
The number of miles travelled on 5 litres of petrol by a particular model of car
follows a normal distribution with mean 47 and standard deviation 4.3. Calculate the
probability that on 5 litres of petrol a car can travel
(a) more than 50 miles
(b) between 45 and 55 miles.
Solution
We let M be the number of miles travelled on 5 litres of petrol. Then M has a normal
distribution with mean 47 miles and standard deviation 4.3 miles.
(a) We require the probability that M 7 50. Using the standardisation we have
50 - 47
Z = = 0.70
4.3
So
P(M 7 50) = P(Z 7 0.70) =
Z = ,Z = -0.47, 1.86
So
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1208
= 0.6494
Exercises
1 A variable, x, has a normal distribution with legally follows a normal distribution with
mean 6 and standard deviation 1.5. Calculate mean 38000 miles and standard deviation
the probability that 2500 miles. The manufacturers claim that
(a) x 6 7.5 (b) x 6 5 (c) x 7 7 (d) x 7 5 .5 ‘9 out of 10 of our tyres last more than
(e) 5 6 x 6 8 35000 miles’. Is the claim justified?
(f) x lies within one standard deviation of the
mean 4 The diameters of ball bearings produced in
(g) x lies more than two standard deviations a factory follow a normal distribution with
from the mean. mean 6 mm and standard deviation 0.04 mm.
Calculate the probability that a diameter is
2 The temperature, T °C, of a freezer follows a (a) more than 6.05 mm, (b) less than 5.96 mm,
normal distribution with mean -6 °C and (c) between 5.98 and 6.01 mm.
standard deviation of 2 °C. Calculate the
probability that 5 A normally distributed variable has mean 2
(a) T 7 -5 (b) T 6 -7 (c) -6 6 T 6 -3 and standard deviation 2.5. Calculate the
probability that the variable is negative.
3 Studies of a particular type of car tyre show
that the mileage for which it can be used
Solutions to exercises
1 (a) 0.8413 (b) 0.2514 (c) 0.2514 (d) 0.6293 4 (a) 0.1056 (b) 0.1587 (c) 0.2902
(e) 0.6568 (f) 0.6829 (g) 0.0455
5 0.2119
2 (a) 0.3085 (b) 0.3085 (c) 0.4332
1 The variable, z, has a standard normal 2 The variable, x, has a standard normal
distribution. Calculate the probability that distribution. Calculate the probability that
(a) z 6 1.42 (b) z 6 -0.75 (c) z 7 0.55 (a) x is within 1.5 standard deviations of the
(d) z 7 -1.36 (e) 0.52 6 z 6 1.42 mean
(f) -1.38 6 z 6 0.75 (b) x is more than 1.75 standard deviations
(g) -1.06 6 z 6 0.08 from the mean.
M23_CROF5939_04_SE_C23.QXD 9/28/18 11:59 AM Page 1209
3 The variable, X, has a normal distribution with 9 The random variable, x, has a normal
a mean of 5 and a standard deviation of 3. distribution. How many standard deviations
Calculate the probability that above the mean must the point P be placed if
(a) X 7 10 (b) X 7 0 (c) X 6 2 the tail-end is to represent (a) 10%, (b) 5%,
(d) X 6 1.75 (e) 1 6 X 6 9 (c) 1% of the total area? (See Figure 9.19.)
Solutions to exercises
1 (a) 0.9222 (b) 0.2266 (c) 0.2912 (d) 0.9131 6 (a) 0.0918 (b) 0.0228 (c) 119
(e) 0.2237 (f) 0.6896 (g) 0.3873
7 47.72%
2 (a) 0.8664 (b) 0.0801
8 (a) 0.3446 (b) 0.3264 (c) 0.2956 (d) 0.2956
3 (a) 0.0475 (b) 0.9525 (c) 0.1587 (d) 0.1401 (e) 0.2113
(e) 0.8165
9 (a) 1.28 (b) 1.64 (c) 2.33
4 (a) 20.33% (b) 0.7493 (c) 4.75%
10 (a) 1.64 (b) 1.96 (c) 2.57
5 (a) 11.51% (b) 0.82%
1 Calculate (a) the mean and (b) the standard 6 The data set A = {x1, x2, x3, . . ., xn} has a
deviation of the data set mean of x and a standard deviation of s . The
data set B is {kx1, kx2, kx3, . . ., kxn}, the data
17, 26, 31, 19, 25, 20, 19, 29, 11, 27
set C is {x1 + k, x2 + k, x3 + k, . . ., xn + k}
where k is a constant.
2 State (a) the median and (b) the mode of the
(a) State the mean of set B.
data in question 1.
(b) State the mean of set C.
(c) State the standard deviation of set B.
3 Two identical data points are added to the data
(d) State the standard deviation of set C.
set of question 1. The mean of the new data set
is 29. Calculate the value of the additional data
7 Out of 6000 components, 39 fail within
points.
12 months of manufacture.
(a) Calculate the probability that a component
4 Table 1 shows the results of measuring the
picked at random fails within 12 months of
petrol consumption of a car over 90 trials.
manufacture.
(b) A batch contains 2000 components. How
many of these would you expect to fail
Table 1 within 12 months?
Miles per gallon Frequency
8 A fair die is rolled. Calculate the probability
42 17 that the score is
43 18 (a) 4 (b) 4 or more (c) more than 4 (d) not 4
44 12
45 20 9 Two fair dice are thrown. Calculate the
46 23 probability that the total is
(a) 9 (b) 13 (c) more than 9
11 Components are manufactured by machines (c) of more than 10000 hours given that it has
A and B. Machine A makes 55% of the already lasted for at least 8000 hours
components. Of those components made by (d) of between 11000 and 12000 hours given
machine A, 7% are unacceptable; of those that it has already lasted for at least 9000
made by machine B, 5% are unacceptable. A hours.
component is picked at random. Calculate the
probability that it is 14 The probability that a component is acceptable
(a) made by machine B is 0.91. Ten components are picked at random.
(b) acceptable Calculate the probability that
(c) acceptable and made by machine A (a) eight are acceptable
(d) unacceptable given it is made by machine B (b) more than eight are acceptable
(e) made by machine A given it is unacceptable. (c) three are not acceptable.
12 Components are manufactured by three 15 The probability that a motor will malfunction
machines, A, B and C. Machine A makes 30% within 5 years of manufacture is 0.03. Out of
of the components, machine B makes 25% of eight motors calculate the probability that
the components and machine C makes the rest. within 5 years of manufacture
Of those components made by machine A, 6% (a) all eight will malfunction
are substandard; when made by machine B, (b) six will malfunction
3% are substandard; and when made by (c) none will malfunction.
machine C, 5% are substandard. A component
is picked at random. Calculate the probability 16 The probability that a component works is
that it is 0.92. An engineer wants to be at least 99%
(a) substandard certain of carrying six working components.
(b) made by machine B given it is substandard Calculate the minimum number of components
(c) made by either machine A or machine B that the engineer needs to carry.
(d) substandard and made by machine B
(e) substandard, given it is made by machine A 17 A service engineer receives on average seven
(f) made by machine A or is substandard. calls in a 24-hour period. Calculate the
probability that in a 24-hour period the
13 The lifespans, L, of 2500 components were engineer receives
monitored and recorded in Table 2. (a) seven calls (b) eight calls (c) six calls
(d) fewer than three calls
Table 2
18 A firm has 1400 employees. The probability
Lifespan, L (hours) Frequency that an employee is absent on any day is 0.006.
Use the Poisson approximation to the binomial
0 … L … 5000 16 distribution to calculate the probability that the
5000 6 L … 8000 132 number of absent employees is
8000 6 L … 9000 219 (a) eight (b) nine
9000 6 L … 10000 496
10000 6 L … 11000 1012 19 The lengths of components have a normal
11000 6 L … 12000 480 distribution, with a mean of 7 cm and a
L 7 12000 145 standard deviation of 0.03 cm. Calculate the
probability that a component chosen at random
has a length
Calculate the probability that a component (a) between 6.95 cm and 7.02 cm
picked at random has a lifespan (b) more than 7.05 cm
(a) of between 8000 and 11000 hours (c) less than 6.96 cm
(b) of more than 11000 hours (d) between 6.95 cm and 6.99 cm.
M23_CROF5939_04_SE_C23.QXD 11/28/18 8:48 PM Page 1212
20 The diameters of bearings have a normal (c) between 8.01 mm and 8.06 mm
distribution with a mean of 8 mm and a (d) more than 2.5 standard deviations from the
standard deviation of 0.04 mm. In a batch of mean?
6000 bearings how many would you expect to
have a diameter of
(a) more than 8.03 mm
(b) less than 7.95 mm
Solutions to exercises
1 (a) 22.4 (b) 5.886 11 (a) 0.45 (b) 0.939 (c) 0.5115 (d) 0.05
(e) 0.6311
2 (a) 22.5 (b) 19
12 (a) 0.048 (b) 0.1563 (c) 0.55 (d) 0.0075
3 62 (e) 0.06 (f) 0.33
4 (a) 44.2 (b) 1.475 13 (a) 0.6908 (b) 0.25 (c) 0.6960 (d) 0.2250
6 (a) kx (b) x + k (c) ks (d) s 15 (a) 6.561 * 10-13 (b) 1.921 * 10-8
(c) 0.7837
7 (a) 0.0065 (b) 13
1 1 1 5 16 12
8 (a) (b) (c) (d)
6 2 3 6 17 (a) 0.1490 (b) 0.1304 (c) 0.1490 (d) 0.0296
1 1
9 (a) (b) 0 (c) 18 (a) 0.1382 (b) 0.1290
9 6
10 (a) the score is 4 or less 19 (a) 0.7011 (b) 0.0475 (c) 0.0918 (d) 0.3232
(b) at least one of the components is not
working 20 (a) 1360 (b) 634 (c) 2007 (d) 75
(c) fewer than two of the machines are not
working
(d) some of the machines are switched on.
M24_CROF5939_04_SE_C24.QXD 10/8/18 7:35 PM Page 1213
Chapter 24
An introduction to Fourier series and the
Fourier transform
Chapter 24 contents
1.1 Introduction
Suppose we have a periodic function f(t). Under certain conditions, which will be given
at the end of Section 1.2 of this block, it can be expressed as the sum of an infinite num-
ber of sine and/or cosine functions. This infinite sum is known as a Fourier series.
For example, Figure 1.1(a) shows a graph of the function 2 sin t. Figure 1.1(b)
shows a graph of 2 sin t - sin 2t. Notice that we have now included a second sine
function that has twice the frequency of the first and a different amplitude. Figures 1.1(c)
and 1.1(d) are generated by adding still more sine functions, again with decreasing
amplitude and increasing frequency.
t t
(a) (b)
t t
(c) (d)
Figure 1.1
2
Figures 1.1(c) and 1.1(d) show graphs of 2 sin t - sin 2t + 3 sin 3t
2 1
and 2 sin t - sin 2t + 3 sin 3t - 2 sin 4t.
As more and more sine terms are included the graph appears to resemble more and
more closely the periodic sawtooth waveform shown in Figure 1.2.
By using an infinite series of sine functions it can be shown that the sawtooth
waveform of Figure 1.2 can be represented exactly.
Figure 1.2 π
A periodic
sawtooth
waveform. O
π 3π t
⫺π
The infinite series of sine functions is the Fourier series of the sawtooth wave-
form. You will notice that the Fourier series is built up of sine functions of increasing
frequencies, and with decreasing amplitudes. In this block you will learn how to
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:40 AM Page 1216
calculate the appropriate frequencies and amplitudes for yourself, so that, given any
periodic function, you will be able to calculate its corresponding Fourier series.
In the example above it was necessary only to include sine functions to construct
the Fourier series, but in general you will need both sine and cosine functions, unless
the periodic function under consideration takes rather special forms.
Exercises
Solutions to exercises
1 2 2 2
1 f (t) = 2 sin t - sin 2t 2 + sin t + sin 3t + sin 5t + Á
2 p 3p 5p
+ 23 sin 3t - 12 sin 4t + Á
To find a Fourier series for yourself you will make use of several formulae that
involve the integration of trigonometrical functions. You will also need the technique
of integration by parts. You may wish to revise these topics before proceeding.
Given a periodic function f(t), with period T, calculate the quantities a0, an and bn
from the following formulae. These quantities are known as Fourier coefficients:
冮 f (t) dt
2
a0 =
T 0
T
冮 f (t) cos
2 2npt
an = dt, n = 1, 2, 3, Á
T 0 T
T
冮 f (t) sin
2 2npt
bn = dt, n = 1, 2, 3, Á
T 0 T
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:40 AM Page 1217
+ a a an cos b
q
a0 2npt 2npt
f (t) = + bn sin
2 n=1 T T
If we write out the first few terms of the infinite series explicitly we find
a0 2pt 2pt 4pt 4pt Á
f (t) = + a1 cos + b1 sin + a2 cos + b2 sin +
2 T T T T
In this form we see that the Fourier coefficients an are the amplitudes of the cosine
terms in the series, and the bn are the amplitudes of the sine terms in the series.
These formulae can look quite intimidating when first met, but we shall lead
you carefully through the various stages of the calculation in order that you develop
confidence in their use. However, you should always sketch a graph of the periodic
function before doing anything else.
Example 1.1
Sketch a graph of the periodic function
f (t) = e
0 -5 6 t 6 0
1 0 6 t 6 5
of period T = 10, from t = -10 to t = 15.
Solution
Sketch the function for yourself.
f (t)
1
⫺10 ⫺5 5 10 15 t
Example 1.2
For the function
f (t) = e
-5 6 t 6 0
0
0 6 t 6 5
1
2 T
of period T = 10, in Example 1.1, evaluate
coefficient a0.
T 0 冮
f (t) dt: that is, calculate the Fourier
Solution
First identify the period, T.
T = 10
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:40 AM Page 1218
2 10
We need to find 10 10 f (t) dt. We are required to integrate f (t) between t = 0 and
t = 10. However, by studying the graph of f (t) you will see that f (t) is zero for t
between 5 and 10, and so we only need integrate between 0 and 5, and over this
interval the function takes the value 1. Now write down the required integral:
冮 1 dt
2
a0 =
10 0
3t4 = 1
1 5
5 0
We conclude that the Fourier coefficient, a0, is equal to 1.
Example 1.3
For the function
f (t) = e
0 -5 6 t 6 0
1 0 6 t 6 5
T
冮 f (t) cos
2 2npt
of period T = 10, in Example 1.1, evaluate dt: that is, calculate
T 0 T
the Fourier coefficients an.
Solution
As in Example 1.2, because f (t) is zero between t = 5 and t = 10 we need only
perform the integration over the interval t = 0 to t = 5.
Write down the required integral:
5
冮 1 cos
2 2npt
an = dt
10 0 10
npt 5
sin
1 5
an = D T
5 np
5 0
If you substitute the limits of integration you will find that all terms are zero since
sin np = 0 for all integers n. Hence an = 0. You have found that all the Fourier coef-
ficients, an, are zero. This means that there will be no cosine terms in the Fourier series.
Example 1.4
For the function
f (t) = e
0 -5 6 t 6 0
1 0 6 t 6 5
T
冮 f (t) sin
2 2npt
of period T = 10, in Example 1.1, evaluate dt: that is, calculate the
T 0 T
Fourier coefficients bn.
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:40 AM Page 1219
冮 1 sin
2 2npt
bn = dt
10 0 10
npt 5
cos
1 5
bn = D- T
5 np
5 0
1
When n = 2, b2 = - (cos 2p - 1) = 0
2p
2
When n = 3, b3 =
3p
2
Continuing in this way you will find b4 = 0, b5 = , and so on. These are the
5p
Fourier coefficients, bn.
Example 1.5
Combine the results of Examples 1.2, 1.3 and 1.4 to write down the Fourier series for
f (t) = e
0 -5 6 t 6 0
1 0 6 t 6 5
of period 10.
Solution
Using the Key point above for the Fourier series,
+ a aan cos b
q
a0 2npt 2npt
f (t) = + bn sin
2 n=1 T T
where the numbers a0 and bn are those obtained in Examples 1.2 and 1.4. If we write
the series out explicitly we find
1 2 pt 2 3pt 2 5pt Á
f (t) = + sin + sin + sin +
2 p 5 3p 5 5p 5
A graph of the first four terms in this series is shown in Figure 1.3. Notice how
closely, even with only four terms, it resembles the original graph obtained in
Example 1.1.
Figure 1.3
The first four
terms in the
Fourier series
of f (t). ⫺10 ⫺5 5 10 15 t
f (t) = e
-t -p 6 t 6 0
0 0 6 t 6 p
of period 2p, over the interval from -3p to 3p.
(b) Find the Fourier series for f (t).
Solution
(a) First draw the required graph over the interval stated.
t
⫺3π Ο 3π
冮
1
a0 = -t dt
p -p
冮
1
an = -t cos nt dt
p -p
冮
1
bn = -t sin nt dt
p -p
To find an we note that the integrand is a product and we use integration by parts:
0 0
sin nt 0
冮 e c -t d + 冮 dt f
1 1 sin nt
an = -t cos nt dt =
p -p p n -p -p n
cos nt 0
c- 2 d
1
=
p n -p
a - 2b
1 cos np 1
=
p n 2
n
To achieve this result we have made use of the following facts: sin 0 = 0, sin (-np) = 0
for all n, and cos (-np) = cos np since the cosine function is even.
Use this result to find a1, a2 and a3 explicitly:
2
a1 = -
p
a2 = 0
2
a3 = -
9p
To find bn note that the integrand is a product and use integration by parts in the
same way as we did when finding an:
bn =
0 0 0
冮 e c(-t)a - bd - 冮 (-1) dt f
1 1 cos nt cos nt
-t sin nt dt = -
p -p p n -p -p n
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:40 AM Page 1222
Simplify this.
0
t cos nt 0
ec d - 冮 dt f
1 cos nt
bn =
p n -p -p n
0 0
冮 dt = c d , which vanishes.
cos nt sin nt
The remaining integral is
-p
n n2 -p
Complete the calculation:
e0 - f = cos np
1 -p cos(-np) 1
bn =
p n n
p 2 1 2 1
f (t) = - cos t - sin t + sin 2t - cos 3t - sin 3t + Á
4 p 2 9p 3
A graph of these first few terms is shown in Figure 1.4.
Figure 1.4 π
t
⫺3π Ο 3π
Maple and Matlab can be used to calculate Fourier series. In fact, there are built-in
packages for doing this and you should explore what is available. In the following
example we demonstrate one way in which a Fourier series can be found using more
basic commands.
Example 1.7
p/2 -p 6 t 6 -p/2
Consider the function f (t) = μ ƒ t ƒ -p/2 6 t 6 p/2 period = 2p.
p/2 p/2 6 t 6 p
(a) Use software to plot a graph of this function in the interval (-p, p).
(b) Use software to calculate the coefficients in the Fourier series expansion of f (t).
(c) Plot the Fourier series expansion in the interval (-4p, 4p) using a finite
number of terms, N, and by increasing N observe the convergence of the series
towards the original function f (t).
M24_CROF5939_04_SE_C24.QXD 10/17/18 9:21 PM Page 1223
Maple
(a) This piecewise function can be defined in Maple using the piecewise function and
plotted as follows:
> f:=t->piecewise(-Pi<t and t<-Pi/2,Pi/2,-Pi/2<t and t<Pi/2,
abs(t), Pi/2<t and t<Pi,Pi/2); plot(f(t),t=-Pi..Pi);
The graph is shown in Figure 1.5.
π
2
−π π t
−π
2 O 2
π
Figure 1.5
A graph of the piecewise function f (t).
(b) The Fourier coefficients can be calculated using the integration command int in con-
junction with the formulae in the Key point on page 1216.
T:=2*Pi; # the period of the function
a0:=(2/T)*int(f(t),t=-Pi..Pi);
a:=n->(2/T)*int(f(t)*cos(2*n*Pi*t/T),t=-Pi..Pi);
b:=n->(2/T)*int(f(t)*sin(2*n*Pi*t/T),t=-Pi..Pi);
a0
(c) The sum function is then used to add to the first N terms in the series and the result
2
is plotted over the interval (- 4p, 4p). (Here N = 10.)
Figure 1.6
A graph of the Fourier series,
generated by Maple and calculated
with 10 terms. t
−4π − 2π O 2π 4π
M24_CROF5939_04_SE_C24.QXD 9/29/18 11:28 AM Page 1224
Matlab
There are numerous ways of finding Fourier series in Matlab, some numerical and some
symbolic. The following code will find the Fourier series of f (t), having period T. It then
displays N terms of the series and plots a graph of the approximation together with the
original function for comparison. Rather than typing all this code into the Matlab Com-
mand Window, it is preferable to store it in a text file, known as an m-file, which can then
be reused and amended easily. You should refer to the Matlab on-line help for more
details and alternatives.
Here, by way of example, we have defined the given function in terms of unit step
functions, which in Matlab are referred to as heaviside() functions (see Section 8.5,
page 202).
syms t n T N % creates these as symbolic variables as
opposed to numbers.
evalin(symengine, 'assume(n,Type::Integer)'); % informs
Matlab that n is an integer;
% this enables simplification.
%
a = @(f,t,n,T) (2/T)* int(f*cos(2*n*pi*t/T),t,-T/2,T/2);%
calculates coefficients a_n for function f(t).
b = @(f,t,n,T) (2/T)*int(f*sin(2*n*pi*t/T),t,-T/2,T/2); %
calculates coefficients b_n for function f(t).
% Here T is the period.
%
% The following calculates the Fourier series of f(t) with
N terms:
fourierseries = @(f,t,N,T) a(f,t,0,T)/2 + symsum(a(f,t,n,T)*
cos(2*n*pi*t/T) +
b(f,t,n,T)*sin(2*n*pi*t/T), n, 1, N)
%
% now define the function whose Fourier series we are inter-
ested in:
f = (heaviside(t+pi)-heaviside(t+pi/2))*pi/2 + (heaviside(t+pi/2)-
heaviside(t-pi/2))*abs(t)
+ (heaviside(t-pi/2)-heaviside(t-pi))*pi/2
% display the Fourier series nicely, showing 5 terms
% set precision to 4dp to avoid clumsy display
digits(4)
vpa(fourierseries(f,t,5,2*pi))
%
% plot a graph using 5 terms and the original function for
comparison
%
fplot(f,[-pi,pi])
hold on
fplot(fourierseries(f,t,5,2*pi),[-pi,pi])
This yields the following series as output:
1.178 - 0.02546*cos(5.0*t) - 0.07074*cos(3.0*t) -
0.6366*cos(t) - 0.3183*cos(2.0*t)
and the graph shown in Figure 1.7.
M24_CROF5939_04_SE_C24.QXD 10/17/18 9:21 PM Page 1225
π
2
−π π π π
− O
2 2
Figure 1.7
Graphs of f (t) and its Fourier series, generated by Matlab,
calculated with five terms.
Exercises
1 (a) Sketch a graph of the function with period 3 Find the Fourier series representation of the
2p defined by function
-p 6 t 6 - p2 f (t) = e
0 2(1 + t) -1 … t … 0
f (t) = c 4 - p2 … t … p2 0 0 6 t 6 1
p
0 2 6 t 6 p of period 2.
(b) Find the Fourier series for this function.
f (t) = e
-4 -p 6 t … 0
4 0 6 t 6 p
of period 2p.
Solutions to exercises
8 np
a2 sin t + sin 3t + sin 5t + . . . b
8 2 2
1 (b) a0 = 4, an = sin , bn = 0 2
np 2 p 3 5
8 8
a cos pt - sin pt - sin 2pt
f (t) = 2 + cos t - cos 3t 1 2 2 1
p 3p 3 +
2 p p 2
8
cos 5t . . . cos 3pt - sin 3pt . . . b
+ 2 1
5p +
9p 3
T
When a function is not periodic but is defined only over a finite interval, 0 6 t 6
say, as shown in Figure 1.8, a Fourier series can still be calculated. 2
(b) f(t)
t
− T2 O T
2
T
Key point For f (t) defined on the interval 0 6 t 6 :
2
Half-range sine series
q T/2
2npt 4 2npt
f (t) = a bn sin where bn = f (t) sin dt
n=1 T T L0 T
Example 1.8
0 6 t 6 12
L 2 - 2t
2t
Consider the function defined by f (t) = 1
2 6 t 6 1.
Figure 1.10
(a) f(t)
(a) The function 1
f(t). (b) The odd
periodic extension, O 1 t
period 2.
(b)
−1 O 1 t
T =2
b
2 sin(np/2) 2 sin np 2 sin(np/2)
= 2a 2
- 2
+
(np) (np) (np)2
8 sin(np/2)
=
n2p2
Then the half-range Fourier sine series is
q
8 sin(np/2)
f (t) = a sin npt
n=1 n2p2
The first few coefficients are calculated as
8 8 8
b1 = , b2 = 0, b3 = - , b4 = 0, b5 = , ...
p2 9p2 25p2
and so the half-range sine series can be written as
8 8 8
f (t) = sin pt - sin 3pt + sin 5pt - . . .
p2 9p2 25p2
For 0 … t … 1, the Fourier series returns the value of f (t). For values of t outside of
this range, the Fourier series returns the value of the odd extension of f (t).
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1229
Exercises
1 Find the half-range cosine series of the 3 Find the half-range sine series representation
function defined in Example 1.8. of f (t) = 2 - t, 0 6 t 6 2.
Solutions to exercises
8 cos(np/2) - 4 - 4 cos np
+ aa b cos nt
q
3p 6 cos np - 1
1 a0 = 1, an = , 2
n2p2 2 pn=1 n2
q
a0
f (t) = + a an cos npt 4
q
sin npt/2
2
p na
n=1 3
=1 n
An important application of Fourier series arises in the solution of partial differential equations.
In Examples 4.2–4.3 (pages 1078, 1079) we obtained the solution of the heat equation,
0u 0 2u
= c2 2 , subject to the boundary conditions u(0, t) = 0, u(L, t) = 0 in the form
npx - 1npc 22 t
0t 0x
q
u(x, t) = a Bn sin e L (1)
n=1 L
This arises in the modelling of the heat distribution in a metal bar, length L, when
both ends are maintained at temperature 0º. In order to determine the constants Bn we
need to impose a condition that prescribes the initial temperature distribution in the
bar. Suppose the initial temperature, u0(x), is given by
2 L
x 0 6 x …
u0(x) = u(x, 0) = μ
L 2
2 L
2 - x 6 x 6 L
L 2
as shown in Figure 1.11.
Figure 1.11
The metal bar and
its initial O L x
temperature u0 (x) = u(x, 0)
distribution, u0(x). 1
O L L x
2
M24_CROF5939_04_SE_C24.QXD 9/29/18 11:35 AM Page 1230
Exercises
1 In Examples 4.5 and 4.6 (Chapter 21, Block 4) 2 In the End of block Exercises on page 1086
we obtained the solution of the wave (Chapter 21, block 4) the steady-state
0 2u 0 2u temperature distribution in a square plate of
equation, 2
= c2 , subject to the boundary side 1 was shown to be
0t 0x2
u(x, y) = a An sin npy 1enpx - e2npe - npx2
q
conditions u(0, t) = 0, u(L, t) = 0 in the form
q n=1
npct npx
u(x, t) = a Cn cos sin . Here u(x, t),
n=1 L L
Given that the temperature on the edge x = 0
0 … x … L, represents the displacement of a is maintained at
string of length L that is fixed at both ends. We
have assumed the string is released from rest.
u10, y2 = e
y 0 6 y 6 1/2
In order to determine the constants Cn we need
1 - y 1/2 6 y 6 1
to impose a condition describing the initial
position of the string. Show that if we impose with the temperature on the other three edges 0°,
4 L 1 4 np
x 0 6 x 6 show that An = 2np 2 2
sin .
2
u(x, 0) = μ
L 4 1 - e np
4 L
(L - x) 6 x 6 L
3L 4
32 np
then Cn = sin .
3n2p2 4
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1231
1 Find the Fourier series representation of the 5 (a) Find the Fourier series expansion of
function f (t) = t2, 0 6 t … 2p, of period 2p.
f (t) = e
0 -p 6 t 6 0
2 Find the Fourier series representation of t2 0 6 t 6 p
t
f (t) = , 0 6 t 6 2p, of period 2p. of period 2p.
2 (b) Use the series to show that
3 Find the first four non-zero terms in the p2
q
1
Fourier series representation of a 2
=
6
n=1 n
0 -p 6 t 6 - p2 (Hint: let t = p and read the comments
f (t) = c 1 - p2 6 t 6 p2 concerning convergence at the end of
p
0 2 6 t 6 p
Section 1.2 of this block.)
(c) Use the series to show that
of period 2p.
p2
q
n+1 1
4 Show that the Fourier series representation of a (-1) =
f (x) = x, -p 6 x 6 p, of period 2p, can be n=1 n2 12
written (Hint: let t = 0.)
q 1-12n + 1
2a sin nx
n=1 n
Solutions to exercises
8p2 4 4p p2 2 cos np
1 a0 = , an = 2 , bn = - 5 (a) a0 = , an = ,
3 n n 3 n2
-1
2 a0 = p, an = 0, n Ú 1, bn = p 2
n bn = - cos np + (cos np - 1)
n pn3
acos t - cos 3t
1 2 1
3 f (t) = +
2 p 3
cos 5t - . . . b
1
+
5
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1232
2.1 Introduction
Many practical signals are not periodic. Examples are pulse signals, such as that shown
in Figure 2.1, and noise signals. Under certain conditions it can be shown that a non-
periodic function f(t) can be expressed not as a sum of sine and cosine waves but as an
integral. This idea gives rise to the Fourier transform, which is described in this block.
Some authors use alternative definitions of the Fourier transform, but the one used
here is widely accepted. However, when consulting other texts be aware of possible
variations.
It is frequently the case that when a Fourier transform is calculated the result is a
complex function, as you will see in the examples below.
Example 2.1
Find the Fourier transform of the function defined by
f (t) = e
3 -1 6 t 6 1
0 otherwise
Solution
A graph of f(t) is shown in Figure 2.2.
M24_CROF5939_04_SE_C24.QXD 10/16/18 11:02 AM Page 1233
t
⫺1 1
Note that in this example f (t) is defined to be zero outside the interval -1 6 t 6 1,
and so the integral reduces to
1
F{ f (t)} = F(v) = 冮 3e
-1
-jvt
dt
3e-jvt 1
= c d
-jv -1
3e-jv 3e jv
= -
-jv -jv
3e jv - 3e-jv
=
jv
sin v
This can be written as F(v) = 6 , by making use of Euler’s relations (Chapter 11,
v sin v
Block 3). Its graph is shown in Figure 2.3. The function occurs frequently and
v
is often referred to as the sinc function.
Example 2.2
Find the Fourier transform of the function f (t) = u(t)e-t where u(t) is the unit step
function.
Solution
A graph of this function is shown in Figure 2.4. Notice that it is zero when t is
negative.
t
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1234
Because u(t)e-t is zero when t is negative, the limits of integration can be altered as
follows:
q
F(v) = 冮 0
u(t)e-t e-jvt dt
Carry out this integration by combining the two exponential terms into a single term:
q
e-(1 + jv)t
冮 e-(1 + jv)t dt = c d
q
F(v) =
0 -(1 + jv) 0
Complete the integration by noting that the contribution from the upper limit is zero,
because e-t tends to zero as t tends to infinity.
1
F(v) =
1 + jv
This is the required Fourier transform. Unlike the function in Example 2.1 this is
complex.
ω
⫺10 ⫺5 5 10
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1235
Table 2.1
Table of common Fourier transforms.
f(t) F(v)
A
Au(t)e-at, a 7 0
a + jv
e
1 -a … t … a 2 sin va
0 otherwise v
A, constant 2pAd(v)
b
j
Au(t) Aapd(v) -
v
d(t) 1
d(t - a) e-jva
cos at p3d(v + a) + d(v - a)4
3d(v - a) - d(v + a)4
p
sin at
j
2a
e-a|t|, a 7 0
a2 + v2
Maple and Matlab have built-in commands for finding Fourier, and other, trans-
forms.
Example 2.3
Use software to define and plot a graph of the two-sided decaying exponential
function f (t) = e - ƒtƒ and find its Fourier transform, F(v).
Solution
Maple
The function f (t) can be defined and plotted (here for - 4 … t … 4) using the following
command. Note that the modulus function in Maple is abs, for absolute value.
t
−4 −3 −2 −1 O 1 2 3 4
Matlab
>> syms t w
fplot(exp(-abs(t)),[-4,4])
then the command
f=exp(-abs(t))
fourier(f,t,w)
calculates the transform producing
2/(w^2+1)
2
Thus F{ f (t)} = F(v) = as before.
v2 + 1
Exercises
1 Find, using Table 2.1, the Fourier transform of 3 Find, using Table 2.1, the Fourier transform of
f (t) = 4.
f (t) = e
1 -1 … t … 1
0 otherwise 4 Find, using Table 2.1, the Fourier transform of
f (t) = e-3t if t 7 0 and 0 otherwise.
2 Find, by direct integration, the Fourier
transform of
f (t) = e
e-t tÚ0
et t … 0
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1238
Solutions to exercises
2 sin v
1 3 8pd(v)
v
2 1
2 4
1 + v2 3 + jv
Under certain conditions a non-periodic function f (t) can be expressed in the following
form:
q
冮
1
f (t) = F(v) e jvt dv
2p -q
where F(v) is the Fourier transform of f (t). Such a representation is called a Fourier
integral representation.
Example 2.5
Find the Fourier integral representation of the function f (t) given in Example 2.1.
Solution
In Example 2.1 the pulse function was shown to have Fourier transform
6 sin v
F(v) = . Hence the Fourier integral representation of the pulse is
v
q
冮
1 6 sin v jvt
f (t) = e dv
2p -q v
The Fourier transform possesses a property known as linearity, which can be used to
find transforms of a wider range of functions than those already discussed.
Key point The Fourier transform is a linear transform. This means that if k is a constant:
F{ f (t) + g(t)} = F{ f (t)} + F{g(t)}
F{kf (t)} = kF{ f (t)}
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1239
1
F{u(t)e-2t} =
2 + jv
Now write down the required Fourier transform:
1 1
+
1 + jv 2 + jv
Exercises
Solutions to exercises
3 apd(v) - b -
j 7
1
v 3 + jv
1 Find the Fourier transform of 6u(t)e-3t. where a is a constant. Use this theorem to find
the Fourier transform of
2 Find the Fourier transform of f (t) = 5 for
e2jt
g(t) = e
-3 … t … 3
-2 … t … 2, and 0 otherwise.
0 otherwise
3 Find the function f (t) that has Fourier
transform 5 The second shift theorem states that if F(v) is
the Fourier transform of f (t) then
3 7
F(v) = - F{ f (t - a)} = e-jav F(v)
2 + jv 1 + jv
(a) Prove this theorem from the definition of
the Fourier transform.
4 The first shift theorem states that if F(v) is (b) Given that
the Fourier transform of f (t) then
1
F{e jat f (t)} = F(v - a) F{u(t)e-t} =
1 + jv
M24_CROF5939_04_SE_C24.QXD 9/29/18 10:41 AM Page 1240
use the second shift theorem to find 6 Find the Fourier transform of f (t) = 7 for
F{u(t + 4)e -(t + 4)
} -3 … t … 3, and 0 otherwise.
Solutions to exercises
6 2 sin 3(v - 2)
1 4
3 + jv v - 2
e4jv
10 sin 2v 5 (b)
2 1 + jv
v
14 sin 3v
3 3u(t)e-2t - 7u(t)e-t 6
v
1 (a) Sketch a graph of the function f (t) = e-|t|. 5 (a) Sketch a graph of three cycles of the
(b) Show from the definition of the Fourier function with period 2p given by
transform that
ƒtƒ
2 f (t) = 1 - , -p … t 6 p
p
F{f (t)} = F(v) = 2
1 + v (b) Find its Fourier series representation.
(c) Show that the Fourier transform of f (t) is
6 Find the Fourier series representation of the
an even function of v.
function with period 2 given by
f (t) = e
2 Sketch a graph of f (t) = e-|3t| and find its 3t 0 6 t 6 1
Fourier transform. 3 1 6 t 6 2
Solutions to exercises
6 3 3
2 6 a0 = 92, an = (cos np - 1), bn = -
9 + v2 n2p2 np
31 - (-1)n]
-2jv 1
3 (b) 7 a0 = 1, an = 0, for n Ú 1, bn =
np
4 + v2
(-1)n + 1
3(-1)n - 1], bn =
1
7 8 a0 = 14, an =
4 (c) 2p2n2 2pn
2 - jv
1
9
4 (3 + jv)2
5 (b) bn = 0, a0 = 1, an = 2 2
if n is odd and
np
zero if n is even.
Z01_CROF5939_04_SE_Z01.QXD 10/3/18 7:45 AM Page 1242
Paper 1
x - 8
2x2 + 3x - 2
(b) Solve the equation
2v2 - v + 6 = 0
(c) Simplify the following expression as much as possible:
2x
f(x) =
x2 - x - 2
(i) State any poles of f.
(ii) Sketch f.
(iii) State the equations of any asymptotes of f.
(b) The function g is defined by
g(t) = 5(3 - 2e-t ), t Ú 0
(i) State the domain of g.
(ii) State the range of g.
(iii) Calculate the maximum possible value of g.
(iv) Calculate the value of t at which g = 10.
3 (a) Given
A = a b, B = a b, C = a b
1 -2 0 4 2 3 1
4 3 -3 2 -1 0 4
find, if possible,
(i) AB (ii) CB (iii) ƒ B ƒ (iv) B-1 (v) the transpose of C
If a calculation is not possible then state this clearly.
(b) Consider the system
4x - 3y = 7
x + 6y = -32
冮 冮 ae b dx
-2x 2
(i) (cos 3x - 1) dx (ii) +
0 1 x
冮
0
x2 2x3 + 9 dx
(c) Evaluate
2
冮 3xe
1
2x
dx
Paper 2
1 (a) Solve the following trigonometrical equation, stating all the solutions
between 0° and 360°:
4 sin u = 3 cos u
(b) Express 4 sin 2t - 3 cos 2t in the form R cos(2t + a), a Ú 0°. Hence find
the smallest positive value of t for which
4 sin 2t - 3 cos 2t = 4
(c) Figure Q1 shows three forces acting at the origin. Find the resultant force.
Figure Q1 y
7N
5N
50° 40°
30° x
9N
2 (a) If
1 0 1
(7A) -1
= £1 1 0≥
1 0 0
find A.
(b) Determine the eigenvalues and corresponding eigenvectors of the system
9x + 4y = lx
-2x + 3y = ly
3 (a) Find all values of z such that
z3 = j
(c) Describe the path traced out by a point represented by the complex number
z = 2e ju
as u varies from 0 to p.
4 A uniform lamina is enclosed by the curve y = 2x2 + 1, x = 1, x = 2 and the
x axis.
(a) Sketch the lamina.
(b) Calculate the volume generated when the lamina is rotated about the x axis.
(c) Show that the moment of inertia of the lamina about the y axis is 13M
5 where
M is the mass of the lamina.
5 (a) The sequence x3k4 is defined by
2k + 1
x[k] = , k = 2, 3, 4, . . .
3k + 1
dy
x = x + y, y(1) = 2
dx
dy
+ Py = Q
dx
d2y dy
- - 2y = x + e2x, y(0) = 0, y¿(0) = 0
dx2 dx
7 (a) State the Laplace transform of (i) t sin 3t, (ii) e-2tt sin 3t. [Hint: Use the first
shift theorem.]
1 s
(b) Calculate the inverse Laplace transform of (i) 2 , (ii) 2 .
s + 4s + 5 s + 4s + 5
(c) Solve the following differential equation using Laplace transforms:
dx
+ 3x = 1 + t, x(0) = 0
dt
Z01_CROF5939_04_SE_Z01.QXD 10/3/18 7:45 AM Page 1247
Paper 2 1247
40 13
50 12
60 9
70 13
80 2
90 1
f (t) = e
t 0 … t … p
0 p 6 t 6 2p
Calculate the Fourier series of f (t). State the first four non-zero terms.
(b) Calculate the Fourier transform of f (t) defined by
0 t 6 0
f (t) = μ
t 0… t … 1
2 - t 16 t … 2
0 t 7 2
Z02_CROF5939_04_SE_Z02.QXD 10/3/18 8:29 PM Page 1248
Appendix 1
SI units and prefixes
Throughout the book SI units have been used. Below is a list of these units together
with their symbols.
Index
1250 Index
Index 1251
1252 Index
double roots 233, 235–6 exponentiation 72–4 for vector product of vectors 719–20
dynamic systems 978 exponents 72–4, 291 Fourier coefficients 1216–17
extension Fourier integral representation 1238
of metal wires 30 Fourier series 973, 1215–25
of springs 49, 189, 213, 282–3 half-range 1226–8
E in solution of partial differential
equations 1229–30
eigenvalues 632–6 waveform synthesis using 974
eigenvectors 637–43 F Fourier transform 1232–9
elementary row operations on matrices discrete (DFT) 1237
622–5 factorials 61–3 Fourier’s law of heat conduction 753
elevation, angles of 425–6, 427–9 factorisation 10, 99–104 fractional indices 80–3
elimination methods 252–7 by equating coefficients 244–5 fractions 4, 20
Gaussian 623–5 prime 10–16 algebraic 66, 106
energy 120, 673 solving quadratic equations 231–3 addition 114–16
engineering constants 84 factors 99 cancelling common factors 106–9
engineering waves common 100 division 110–13
adding 394–7 cancelling 106–9 multiplication 110–13
amplitude of 387 highest 13–14 reciprocals of 66–8
angular frequency of 387–8, 394–7 integrating 1003, 1005–9 subtraction 114–16
frequency of 391–2 linear 271–5 equivalent 21–3
oscilloscope traces 389–90 quadratic 271, 276–8 improper 20, 270–1
period of 368–9, 388–90 finite sequences 947 partial fractions of 278–80
phase of 393–4 first-derivative test 810–16 inverted 31
rectified half sine waves 368–9 first derivatives 764 mixed 27
time displacement of 392–4 first-order differential equations 981 operations on 25–32
time-varying waves 386 solving partial 270
see also periodic waveforms with integrating factors 1003, 1005–9 finding inverse Laplace transform
equals sign 68 by separation of 995–1001 1113–14
equating coefficients 244–5 writing in standard form 1003–4 of improper fractions 278–80
equations 68 first shift theorem integration using 885–6
characteristic 634–6 Fourier transform 1239 of proper fractions 271–8
curve, normal to 805–6 Laplace transform 1127 percentages 47–9
involving logarithms and fluids proper 20, 270–1
exponentials 316–19 composition of 56 partial fractions of 271–8
linear 218–26 discharge from tanks 151, 983–4 simplest form of 21–3
of straight lines 187–9 flow rate 284 see also ratios
of tangents 799–801 flow round corners 1054 free variables 256, 617
trigonometrical 377–84 head of tank 1000 free vectors 676
vector equations of lines 726–30 heat flow in insulated pipes 130–1 frequency 391–2
vector equations of planes 731–2 temperature of cooling liquids 22–3, 34 angular 387–8, 394–7
see also differential equations; temperature, in pipe 1077–8 of sound wave 1236
polynomial equations; quadratic see also gases frequency distributions 1135–7
equations; simultaneous equations forces 435, 673, 674–5 functions 138
equilibrium position 1124 on bars 22 arguments of 143–4
equivalent fractions 21–3 breaking forces 1133 average values of 842, 935–8
Euler’s method 1014–17 moments of 722 Bessel 973
Euler’s relations 491–2 in pulley systems 611–12 complementary 1021–32
even functions 172–4, 1225 resolution of 435–8, 679–80 composition of 155–6
examination papers 1242–7 resolution of forces 435–8 continuous 168–70
experimental probability 1147 resolution on inclined plane 438–40 delta 207
exponential constant 291, 293 resultant of forces 440–4, 678–9 dependent and independent variables
exponential decay 294 shear forces in beams 182–3 148, 149, 980–1
exponential expressions 291–2 on tank walls 843 discontinuous 168–70
simplifying 292 in trusses 346–7 domains of 148–50
solving equations involving 316–19 formulae 68, 119 maximal 212
exponential form of complex numbers integration by parts 867–71 even 172–4, 1225
492–4 rearranging 125–31 exponential 291, 293–8
exponential functions 291, 293–8 reduction 873 power series expansions 490–2, 968
power series expansions 490–2, 968 for scalar product of vectors 708–9 two-sided decaying 1235
two-sided decaying 1235 solving quadratic equations 234–7 Fourier integral representation 1238
exponential growth 294 substitution in 119–23 Fourier series 1215–25
Z03_CROF5939_04_SE_Z03.QXD 10/3/18 8:34 PM Page 1253
Index 1253
1254 Index
Index 1255
lower limit of integral 840 and minors of elements 548 parallel axis theorem 927
lowest common denominator 114–16 properties of 555–9 perpendicular axis theorem 927
lowest common multiples 14–16 diagonal dominance 653 MP3 technology 1237
eigenvalues 632–6 multiplication 3–4, 65–6
eigenvectors 637–43 of algebraic fractions 110–13
electrical networks 655–60 associativity of 4, 65–6
M elementary row operations 622–5 of matrices 535
elements 523 commutativity of 4, 65
Maclaurin polynomials 968–9 cofactors 549 of complex numbers 458–9,
Maclaurin series 967–70 minors 548–9 477–80
magnitude place signs 549 of fractions 28–30
of complex numbers 467–8 identity 525, 538, 563–4 of matrices 534–40
of vectors 671, 675 inverse 544, 563–8, 609–12 by numbers 528–30
main diagonals of square matrices 525 modal 645 of polynomial expressions 243–4
many-to-one functions 159–61 multiplication of 534–40 of vectors by scalars 682–3, 689
Maple software 70 by numbers 528–30 see also scalar product of vectors;
complex numbers 461, 462 orthogonal 597 vector product of vectors
differential equations 1012, 1013, singular 546, 564 multiplication law of probability
1018 skew symmetric 597 1163–6
differentiation, higher derivatives solving simultaneous equations music technology 86, 1236–7
766–7 Cramer’s rule 603–5 mutually exclusive events 1155–6
eigenvectors 641, 643 Gauss–Seidel method 650–3 mutually perpendicular axes 695
integration 858, 859, 860, 864 Gaussian elimination 623–5
for matrix calculations 530–1, 540 inverse matrix method 609–12
partial fractions 280 Jacobi’s iterative method 646–9
plotting graphs of functions 152–3 square 525, 538 N
prime numbers 11, 12 subtraction 526–7
mass 672, 673 symmetric 597 n-dimensional vectors 700–1
centres of transpose of 525–6, 527, 539 natural logarithms 307
of collections of point masses see also computer graphics and negative indices 79–80
910–15 matrices negative numbers 3
of plane lamina 915–22 matrix form of simultaneous equations and inequalities 262
law of conservation of 984 607–9 square roots of 452–4
per unit area 916–18 augmented matrices 615, 617–19 negative vectors 676
mass–spring–damper systems 1123–4 maximal domains of functions 212 Newton–Raphson method 801–4
mathematical modelling 138–40 maximum points see stationary points Newton’s law of cooling 297–8
mathematical notation 59–69 maximum power transfer 815–16 newtons (N) 435
Matlab software 70 mean 1133–4 nodes, in electrical circuits 224
complex numbers 461, 462 of binomial random variables 1183 non-commutativity
differential equations 1011, 1012, of frequency distributions 1135–7 of matrix multiplication 535
1013, 1014, 1018 mean values of functions 842, 935–8 of vector product of vectors 718
differentiation, higher derivatives 767 mean-square values 939 non-linear differential equations 982–3
eigenvectors 643 median 1138–9 non-standard normal distribution
integration 858, 859, 860, 865 mesh currents 655–60 1206–8
for matrix calculations 530–1, 540 method of sections 346–7 non-trivial solutions 628
partial fractions 280 minimum points see stationary points normal distribution 1194–5
plotting graphs of functions 153 minors of matrix elements 548–9 non-standard 1206–8
prime numbers 12 minutes (angles) 424–5 standard 1196–205
matrices 523–4 mixed fractions 27 tables of probabilities 1198–205
addition 526–7 modal matrices 645 normal probability density function
adjoint 566–8 mode 1139 1194–5
augmented 615, 617–19 modulus 61, 263 normalised vectors 713
row-echelon form of 620–1, 617–19 of complex numbers 467–9 see also unit vectors
determinants 544 of vectors 673 675, 682–3 normals to curves 799, 805–6
of 2 x 2 matrices 544–7 in n dimensions 700–1 norms of vector 700–1
of 3 x 3 matrices 550–2 in three dimensions 697 not equals sign 68
of 4 x 4 matrices 553–4 in two dimensions 691–2 notation 59–63
Cramer’s rule 603–5 modulus functions 201–2 combination 1179–80
evaluating vector products 721–3 moments 910, 911–12 (delta) notation 68–9, 746–7
expanding along rows or columns bending 194–6, 232–3, 837–8 differentiation 748–9
550–2 of forces 722 higher derivatives 764–6
of inertia 124, 923–6
Z03_CROF5939_04_SE_Z03.QXD 10/3/18 8:34 PM Page 1256
1256 Index
Index 1257
1258 Index
signal modulation 375–6 square, completing the 238–40, angles of elevation and depression
signal ratio 321–2 1113–14 425–9
significant figures 42–3 square matrices 525, 538 bearings 429–32
signum functions 212 square roots 81–3 Symbolic Math Toolbox 1011, 1012
simple harmonic motion 999, 1031–2 of negative numbers 452–4 symbols 60, 64–9
simply supported beams 182–3 squares, difference of two 103–4 symmetric matrices 597
Simpson’s rule 863–5 stability of systems 493–4, 546 system poles 546
simultaneous equations 188, 252 standard deviation 1141–4 systems of linear equations see
with infinite number of solutions standard normal distribution 1196–205 simultaneous equations
255–6, 617, 619 state matrices 546
matrix form of 607–9 stationary points 809–10
augmented matrices 615, 617–19 first-derivative test 810–16
with no solution 255, 617–18 of functions of two variables 1087–91 T
solving nature of 1090–1
Cramer’s rule 603–5 second-derivative test 816–18 tail of a vector 674
elimination methods 252–7 statistics taking logs 316–19
Gauss–Seidel method 650–3 continuous data 1131–2 tangent (trigonometry)
Gaussian elimination 623–5 discrete data 1131 definitions 342, 354–6
graphical methods 257–9 mean 1133–4 hyperbolic 299–301
inverse matrix method 609–12 of frequency distributions 1135–7 inverse 349–50, 377
Jacobi’s iterative method 646–9 median 1138–9 properties 342–7
trivial and non-trivial solutions mode 1139 see also trigonometry
628–31 standard deviation 1141–4 tangents
types of solution 255–6, 617–19 variance 1141–4 equations of 799–801
sinc function 1233 stiffness coefficient 182 gradients of 745–8, 755
sine straight lines 177 Newton–Raphson method 801–4
definitions 341, 354–6 angle between plane and 735–6 Taylor polynomials 972
hyperbolic 299–303, 837 distance between two points 189–90 Taylor series 971–2
inverse 349–50, 377 equations of 187–9 temperature 673
power series expansion 490, 491, gradients of 179–81, 184–6, 187–8 converting centigrade to kelvin 141
492, 969 intersection of plane and 733 of cooling liquids 22–3, 34
properties 342–7 linear functions 177–83 distribution in metal plates 1053,
see also trigonometry transformations of 575–6 1058
sine rule 413–18 vector equations of 726–30 expansion of metal with 50
sine series, half-range 1227 strain 39, 54–5 of fluid in pipe 1077–8
sine waves 360, 389–90 streamfunction 1054 gradients as derivatives 751–2
rectified half 368–9 stroke, piston 121 heat flow in insulated pipes 130–1
see also engineering waves subscripts 64 heat transfer during quenching
singular matrices 546, 564 substitution 1000–1
skew symmetric matrices 597 back 618 of metal bars 23
small-angle approximations 969–70 in formulae 119–23 Newton’s law of cooling 297–8
software see Maple software; Matlap integration by 874–83 tensile strength 39
software; symbolic algebra subtraction 3, 65 tension
packages of algebraic fractions 114–16 in cables 345–6
solids of revolution 903–8 of complex numbers 456–7 in springs 186
volumes generated by rotating areas of fractions 25–6 theoretical probability 1146–7
about y axis 906–8 of like terms 88–9 theoretical pump delivery 121–2, 128
solutions 68 of logarithms 309–10 thermal conductivity 753
of partial differential equation 1077–8 of matrices 526–7 third derivatives 764
sound wave, frequency of 1236 of vectors 680–1, 696 three-dimensional graphs 1055–8
surd form 222, 236 sums 3, 65 three-dimensional vectors 695–9
spectral matrices 645 of infinite series 949–51 thrust 225
speed 672 sequences of partial sums 949–51 thyristors 937–8
spheres, volumes of 145 sigma notation 69, 946 time displacement of waves 392–4
spring constant 641 to infinity of geometric series 955 time-varying waves 386
spring stiffness 225, 1124 see also addition; series towers, heights of 426, 427–9
springs superposition 1077 transfer functions 68
extension of 49, 189, 213, 282–3 superscripts 64 poles of 248–9
mass–spring–damper systems surd form 222, 236 transformation matrices 575
1123–4 surfaces of revolution, areas of 932–3 translation, in computer graphics 586–8
tension in 186 surveying 424–32 transpose, of a matrix 525–6, 527, 539
Z03_CROF5939_04_SE_Z03.QXD 10/3/18 8:34 PM Page 1259
Index 1259
ENGINEERS
MATHEMATICS FOR
Understanding key mathematical concepts and applying them successfully to solve problems are vital skills
FOR ENGINEERS
that all engineering students must acquire. Mathematics for Engineers introduces, teaches, develops and
nurtures those skills. Practical, informal and accessible, it begins with the foundations and gradually builds
upon this knowledge as it introduces more complex concepts. Learn everything you will need for your first year
engineering mathematics course, together with a wealth of introductory material for even more advanced
topics such as Laplace and Fourier transforms and partial differential equations.
Key features
• Applications of mathematics are drawn from a wide range of engineering areas: aeronautical, automotive,
FIFTH EDITION
chemical, civil, computer, electrical and electronic, manufacturing, materials, mechanical, production,
reliability, and systems engineering.
• Hundreds of interactive examples are provided in the context of various engineering disciplines, so you
are able to both engage with the problems and also see the relevance of the maths to your wider studies.
• A wealth of practice and revision exercises with solutions help test your knowledge.
• Key points and important results are highlighted throughout.
• Computer and calculator examples and exercises are incorporated in relevant sections.
• Specimen examination papers give further opportunity to practise.
• A foundation section gives you a firm base in arithmetic, the building block of many high-level
mathematical topics.