Matrices
Matrices
Matrices
As for everything else, so for a mathematical theory – beauty can be
perceived but not explained.
Arthur Cayley, 1883
Figure 1.1 shows a pack of cards. Initially the cards are piled up neatly forming a
cuboid, but two other arrangements are shown.
Figure 1.1
●
? Describe what has happened in words. Can you suggest ways of representing this
symbolically?
In this chapter you will learn about matrices, and how they give you the ability to
use algebraic techniques in geometrical and other situations. Matrices are often
used when creating effects on TV – particularly when the picture is rotated,
flipped, enlarged or reduced.
Matrices
Figure 1.2 1
This information can be represented as an array of numbers, called a matrix
1 (plural matrices).
To
Matrices
Z C B
D 1 2 1
From
F ( 0 2 1 )
●
? What information does the zero in the matrix give?
A matrix consists of rows and columns, and the entries in the various cells are
1 2 1
known as elements. The matrix M =
0 2 1 ( )
representing the ferry crossings has
six elements, arranged in two rows and three columns. We describe M as a 2 × 3
matrix, and this is known as the order of the matrix. It is important to note that
you state the number of rows first, then the number of columns.
1 3 –2
(
Matrices such as –7 5 4 and
9 0 6
)
3 2
5 3 ( )
which have the same number of rows
The number of crossings offered per hour by the ferry company is the same for
every hour in the ten-hour period from 9 am until 7 pm.
●
? What matrix represents the total number of ferry crossings offered by this
company between the hours of 9 am and 7 pm?
The number of ferry crossings per hour offered by a second ferry company
between the same ports is shown by the following matrix.
(32 1 1
1 0 )
2
●
? What matrix represents the total number of ferry crossings per hour offered by 1
the two companies?
Exercise 1A
This example shows that matrices can be multiplied by a number or added
together.
To multiply a matrix by a number, multiply each element by that number.
3× ( 12 34 ) = (36 129 )
You can add or subtract matrices of the same order element by element:
But ( 12 34 ) + (10) cannot be evaluated because the matrices are not of the same
order. They are incompatible, or do not conform.
●
? Explain why matrix addition is:
(i) commutative, i.e. A + B = B + A
(ii) associative, i.e. A + (B + C) = (A + B) + C.
Equality of matrices
Two matrices are equal if and only if they have the same order and each element
in one matrix is equal to the corresponding element in the other matrix. If, for
example,
A= ( 12 34 ) B= ( 13 24 ) C= ( 12 3 0
4 0 ) D= ( 12 34 )
then A and D are equal but no other pair of matrices from A, B, C and D is equal.
Matrices
(i) A + B (ii) C – D (iii) A+F
(iv) 3B (v) 3E – 2F (vi) 2D – A
3 The diagram below shows the number of direct flights on one day offered by
an airline between cities P, Q, R and S.
The same information is also given in the partly-completed matrix X.
2
Q
To
P 1
2 P Q R S
1
From P 0 2 1 0
( )
2
1
1 Q 1
X=
R
R
S 1 S
( ) 2
2
1
0
2
0
2
0
3
1
3
0
(ii) Find the matrix Y representing the flights offered by the second airline.
(iii) Draw a diagram similar to the one above, showing the flights offered by
the second airline.
4 Four local football teams took part in a competition in which they each played
each other twice, once at home and once away.
Here is the results matrix after half of the games had been played.
Goals Goals
Win Draw Lose for against
City 2 1 0 6 3
Rangers
Town
United
( 0
2
1
0
0
1
3
1
1
2
4
5
8
3
3
)
4
(i) The results of the next three matches are as follows.
City 2 Rangers 0 1
Town 3 United 3
Exercise 1A
City 2 Town 4
Find the results matrix for these three matches and hence find the
complete results matrix for all the matches so far.
(ii) Here is the complete results matrix for the whole competition.
4 1 1 12 8
( 1
3
1
1
1
3
4 5 12
2 12 10
2 10 9
)
Find the results matrix for the last three matches (City v United, Rangers v
Town and Rangers v United) and deduce the result of each of these three
matches.
5 A mail-order clothing company stocks a jacket in three different sizes and four
different colours.
17 8 10 15
( )
The matrix P = 6 12 19 3 represents the number of jackets in stock at
24 10 11 6
the start of one week.
2 5 3 0
( )
The matrix Q = 1 3 4 6 represents the number of orders for jackets
5 0 2 3
received during the week.
(i) Find the matrix P – Q.
What does this matrix represent?
What does the negative element in the matrix mean?
A delivery of jackets is received from the manufacturers during the week.
( )
5 10 10 5
The matrix R = 10 10 5 15 shows the number of jackets received.
0 0 5 5
(ii) Find the matrix which represents the number of jackets in stock at the end
of the week after all the orders have been dispatched.
(iii) Assuming that this week is typical, find the matrix which represents sales
of jackets over a six-week period.
How realistic is this assumption?
5
Transformations
1
You are probably already familiar with several different types of transformation,
Matrices
including reflections, rotations and enlargements. The original shape or point is
sometimes called the object and the new shape or point, after the transformation,
is called the image.
Some examples of transformations are illustrated in figure 1.3.
Reflection in the
y y
line y = x
A′ B′
B
O A x O x
O A x O x
A′ B′
Enlargement centre O,
y y
scale factor 2 B′
B
O A x O A′ x
Figure 1.3
In this section you will also meet two other types of transformation which may
be new to you: the two-way stretch and the shear. Examples of these are illustrated
in figure 1.4.
6
Two-way stretch, scale factor
y 3 y
horizontally, 2 vertically B′
B
2
1
Transformations
O A x O A′ x
y y
Shear parallel to the x axis
B B′
O A x O A′ x
Figure 1.4
So far you have described transformations using words. You have to include
information about mirror lines for reflections, information about centre, angle
and direction for rotations, and so on. For some transformations, all the
information about the transformation can be given in the form of a matrix.
Figure 1.5 shows a flag rotated 90° anticlockwise about the origin.
y y
4 4
Object
3 3
Image
Q
2 R 2
R′ S′
1 S 1
P
Q′ P′
–3 –2 –1 O 1 2 3 x –3 –2 –1 O 1 2 3 x
Figure 1.5
This table shows the effect of the rotation on the co-ordinates of each point on
the flag.
O (0, 0) O (0, 0)
P (0, 1) P′ (–1, 0)
Q (0, 2) Q′ (–2, 0)
R (1, 2) R′ (–2, 1)
S (1, 1) S′ (–1, 1) 7
You can describe the effect of this rotation by saying that the x and y co-ordinates
1 have been exchanged and the sign of the original y co-ordinate has been changed.
You can express this algebraically as
Matrices
x′ = –y
{y′ = x.
Many other transformations, such as reflections and enlargements, can be
expressed as a pair of equations of the form
x′ = ax + cy A transformation of
{y′ = bx + dy
this type is called a
linear transformation.
●
? What are the values of a, b, c and d for the transformation shown in figure 1.5?
ACTIVITY 1.1 Figure 1.6 shows the effect of two other transformations on the flag OPQRS,
shown in figure 1.5.
3 3
R′ 2 Q′ 2 S′
P′
S′ 1 P′ 1
–3 –2 –1 O 1 2 3 x –3 –2 –1 O 1 2 3 x
Figure 1.6
In each case, find the co-ordinates of the points P′, Q′, R′ and S′ and express the
x′ = ax + cy
transformation in the form {
y′ = bx + dy
.
Hence find the matrix of each transformation.
Straight lines
The diagrams in this chapter so far have shown the images of straight lines as
straight lines. You should assume that this is the case for any transformation
which can be represented by a matrix. So the image of a line through the points A
8 and B is the line through the image points A′ and B′.
EXAMPLE 1.1 A transformation (an example of a shear) maps points as follows:
● each point is moved parallel to the x axis
1
Transformations
● each point is moved twice its distance from the x axis
10
Figure 1.7
(i) Copy the diagram and draw the image of the flag.
(ii) Show that the image of (x, y) is the point (x + 2y, y) and find the matrix
which represents this transformation.
SOLUTION
(i) y
4 B and C are 3 units above the
B′ C′ x axis, so move 6 units to the right;
2 D and E are 1 unit above the x axis,
D′
E′ so move 2 units to the right. A is
1 unit below the x axis, so moves
–2 O 2 4 6 8 10 x 2 units to the left.
A′
–2
Figure 1.8
(ii) The distance of the point (x, y) from the x axis is y units.
The point (x, y) moves 2y units parallel to the x axis so its new position is
(x + 2y, y).
(Notice that if y is negative, then this means moving to the left.)
The transformation can be written as
Draw the image A′B′C′ of the triangle under the transformation represented by
Matrices
0 1
the matrix ( )
1 0
and describe the effect of the transformation.
SOLUTION
y
y=x
4
B′
3 C′
2
C
1 A′
A B
O 1 2 3 4 x
Figure 1.9
●
? Explain why it is not possible to represent translations by matrices in this way.
10
The columns of a matrix
1
It is useful to look at the effect of the transformation represented by the matrix
a c
( )
Transformations
M= on the points I and J with co-ordinates (1, 0) and (0, 1).
b d
x′ = ax + cy
Substituting x = 1, y = 0 in the defining equations
y′ = bx + dy {
you find that I′,
the image of I, has co-ordinates (a, b), which is the first column of matrix M.
Similarly J′, the image of J, has co-ordinates (c, d), the second column of M.
The connection between the co-ordinates of I′ and J′ and the matrix representing
a transformation provides you with a quick and usually easy way of finding
the matrix.
EXAMPLE 1.3 Find the matrix which represents a rotation through angle θ anticlockwise about
the origin.
SOLUTION
Figure 1.10 shows the points I(1, 0) and J(0, 1) and their images I′ and J′ after
rotation through angle θ anticlockwise about the origin.
y
You can see that OI′ = OI = OJ′ = OJ = 1.
O I(1, 0) x
Figure 1.10
a
From Figure 1.10, cos θ = – ⇒ a = cos θ
1
b
sin θ = – ⇒ b = sin θ.
1
Therefore I′ is (cos θ, sin θ) and J′ is (–sin θ, cos θ).
θ –sin θ
The transformation matrix is ( cos
sin θ cos θ )
.
●
? What matrix represents a rotation through angle θ clockwise about the origin?
11
Make sure that you are able to spot a rotation matrix. Remember that either or
1 both of cos θ and sin θ may be negative for values of θ between 90° and 360°.
Matrices
ACTIVITY 1.3 Investigate rotation matrices for
(i) angles between 90° and 180°
(ii) angles between 180° and 270°
(iii) angles between 270° and 360°.
So far your work has applied to transformations of sets of points from a plane
(i.e. two dimensions) to the same plane. Similar procedures apply when you
transform a set of points within three-dimensional space.
{
x′ = x
The shear illustrated in figure 1.11 is defined by the equations y′ = y + z
z′ = z
1 0 0
( )
so you can represent this transformation by the matrix 0 1 1 .
0 0 1
Figure 1.11
Figure 1.12 illustrates a reflection in the plane y = 0 (i.e. the plane containing the
x and z axes).
1 0 0
( )
This transformation is represented by the matrix 0 –1 0 .
0 0 1
Figure 1.12
12
EXERCISE 1B 1 The diagram shows a triangle with y
vertices at O, A(1, 2) and B(0, 2). 3 1
B
2 A
Exercise 1B
1
–3 –2 –1 O 1 2 3 x
( )
1 – ––3
–
2 2
(i)
––3 1
–
(ii) ( 0.574
0.819 0.574 )
–0.819
2 2
1 1 – ––3 1
( ) ( )
– –– –– ––
2 2 2 2
(iii) (iv)
1
– –– 1
– –– 1 – ––3
–
2 2 2 2
Matrices
not been changed by the transformation.
6 A transformation maps P to P′ as follows:
● each point is mapped on to the line y = x
● the line joining a point to its image is parallel to the y axis.
Find the co-ordinates of the image of the point (x, y) and hence show that this
transformation can be represented by means of a matrix.
What is that matrix?
Multiplying matrices
SOLUTION
1 × 5 + 6 × 8 = 53
3 × 5 + 4 × 8 = 47
Figure 1.13
A similar technique applies to all matrix multiplications. You use each row of the
first (i.e. left) matrix with each column, in turn, of the second matrix. Figure 1.14
shows the steps used when multiplying a 2 × 2 matrix by a 2 × 3 matrix. The
product is another 2 × 3 matrix.
3 × 6 + 5 × 1 = 23
3 × 7 + 5 × 8 = 61
3 × 9 + 5 × 0 = 27
( 32 54 )( 61 7 9
8 0 ) = (2316 61 27
46 18 )
2 × 6 + 4 × 1 = 16
2 × 7 + 4 × 8 = 46
2 × 9 + 4 × 0 = 18
Figure 1.14
If you multiply a 3 × 4 matrix (on the left) by a 4 × 2 matrix (on the right) similar
rules apply: the product is a 3 × 2 matrix. For example:
5 1
)( )(
1 2 4 7 39 59
( –3 5 0 1
4 2 3 5
–6 4
8 9
2 2
= –43 19 .
42 49
)
15
Matrix products and transformations
1 Figure 1.15 shows the flag ABCD and its image A′B′C′D′ after applying the
0.8 –0.6
rotation matrix ( .)
Matrices
0.6 0.8
Figure 1.15
EXAMPLE 1.5 A pizza company wants to set up a computer program to keep track of orders.
Pizzas are available in three sizes: Regular, Large and Family, and four
combinations of toppings: Hawaiian, Seafood, Meat Feast and Vegetarian.
The number of pizzas of each type is entered in the form of a 4 × 3 matrix P.
One day the matrix P, representing the orders, is as follows.
Toppings
H S M V
R 2 3 0 1
Sizes L
F
( 5 7 8 4
6 4 3 3
)
(i) Find a matrix A so that the product PA gives the number of each size of base
required, and hence find the matrix representing the number of each size of
16
base required on this day.
(ii) A regular pizza requires 1 quantity of topping, a large pizza requires 1.5
quantities of topping and a family-size pizza requires 2 quantities of topping. 1
Find a matrix B so that the product BP gives the quantities of each type of
Multiplying matrices
topping required, and hence find the matrix representing the quantities of
each type of topping required on this day.
(iii) The cost of each size of pizza, in pounds, whatever the topping, is given by
the matrix C = (2.5 3.5 4).
What matrix product will give the total cost of the pizzas?
Find the total cost of this day’s pizzas.
SOLUTION
1
1
1
1
().
)( ) ( )
2 3 0 1 6
(
5 7 8 4
6 4 3 3
1
1
1
= 24
16
( )( )
2 3 0 1
1
CPA = (2.5 3.5 4) 5 7 8 4
1
6 4 3 3
1
6
= (163)
()
= (2.5 3.5 4) 24
16
17
The total cost is £163.
Properties of matrix multiplication
1
Matrices must be conformable for multiplication
Matrices
To be able to multiply two matrices together, the number of columns in the first
(left) matrix must equal the number of rows in the second matrix. For example, if
the first matrix is 3 × 4, the second must be 4 × something. You say that the
matrices need to conform.
Generally, if M is of order p × q, and N is of order q × r, the product MN exists
and is of order p × r. It may be helpful to think of the rules for joining dominoes
end to end.
p q q r gives p r
●
? If A =
a c
b d( )
e h
( )
, B = f i and C =
g j
k m o
l n p ( )
, which of the products AB, BA, AC,
18
ACTIVITY 1.5 Using P = ( ba dc ), Q =( ef hg ) and R = ( ij kl ), find 1
(i) PQ (ii) (PQ)R (iii) QR (iv) P(QR)
Note
Since (PQ)R = P(QR), the brackets are not needed and the product can be written
simply as PQR.
You will see how transformations justify the associativity of matrix multiplication
on page 25.
Provided the matrices P, Q and R conform so that the sums and products exist,
P(Q + R) = PQ + PR
and (P + Q)R = PR + QR.
These two properties are what we mean when we say that matrix multiplication is
distributive over matrix addition.
Matrices
ACTIVITY 1.7 Show that I3M = MI3 = M for a 3 × 3 matrix of your choice.
●
? Why is there no such thing as a 2 × 3 identity matrix?
ACTIVITY 1.8 Find out how to input matrices into your calculator. Particularly notice whether
the calculator encourages you to input by rows or columns.
Find out how to add and multiply matrices on your calculator.
Historical note
The multiplication of matrices was first fully defined by Arthur Cayley (1821–95) in 1858. Cayley’s
mathematical talent was noticed while he was at school (in London), and his first mathematical paper
was published in 1841, while he was an undergraduate at Cambridge. He worked as a lawyer for some
14 years, refusing more cases than he accepted as he only wanted to earn sufficient to enable him to
get on with ‘his work’; during this period he published nearly 200 mathematical papers. In 1863 he
returned to Cambridge as a professor. As well as his work on matrices, he developed the geometry
of n-dimensional spaces and is known for his work on the theory of invariants, much of this in
collaboration with his life-long friend, James Joseph Sylvester (1814–97). It was Sylvester who, in
1850, coined the word ‘matrix’, Latin for ‘womb’; in geology a matrix is a mass of rock enclosing
gems, so in mathematics a matrix is a container of (valuable) information. It was at about this time that
Florence Nightingale was one of Sylvester’s students.
Exercise 1C
y
O 1 2 x
(i) Write down the co-ordinates of the five points of the flag.
Hence write down a 2 × 5 matrix to describe the flag.
–0.6 0.8
(ii) The flag is to be transformed using the matrix (
0.8 0.6 )
.
Use matrix multiplication to find a 2 × 5 matrix to describe the image of
the flag.
(iii) Draw the original flag and its image on one diagram, and describe the
transformation in words.
5 The diagram shows a rectangle.
–2 –1 O 1 2 x
(i) Write down the co-ordinates of the four points of the rectangle.
Hence write down a 2 × 4 matrix to describe the flag.
1 0
(ii) The rectangle is to be transformed using the matrix
2 1 ( )
.
Use matrix multiplication to find a 2 × 4 matrix to describe the image of
the rectangle.
(iii) Draw the original rectangle and its image on one diagram, and describe
the transformation in words.
6 (i) Choose a shape of your own. Call it S. Write down a matrix to describe S.
2 1
(ii) Transform S using the matrix M =
diagram to show S and S′.
(
1 –2 )
to form the image S′. Draw a
21
1 7 The matrix S = ( 57
0 1 6 2
8 4 3 9 )contains the numbers of first and second class
stamps used in an office each day last week. (Top row denotes first class.)
Matrices
(i) Find a matrix D such that DS gives the total number of stamps used each day.
(ii) Find a matrix N such that SN gives the total number of each type of stamp
used in the week.
(iii) First class stamps cost 28 pence and second class stamps cost 21 pence.
Find a way of calculating the total cost of last week’s stamps using only
matrix multiplication.
8 The stylised map below shows the bus routes in a holiday area. Lines
represent routes that run each way between the resorts. Arrows indicate
one-way scenic routes.
M is the partly completed 4 × 4 matrix which shows the number of direct
routes between the various resorts.
To
A B C D
From A 1 1 2 0
M=
B
C
D
( )
(i) Copy and complete M.
(ii) Calculate M2 and explain what information it contains.
(iii) What information would M3 contain?
9 The diagram shows the start of the plaiting process, using three strands a, b
and c.
22
The process has only two steps, repeated alternately:
A: cross the top strand over the middle strand 1
B: cross the middle strand under the bottom strand.
Exercise 1C
a
()
At Stage 0 the order of the strands is given by s0 = b .
c
0 1 0
(i)
( )
Show that pre-multiplying s0 by the matrix A = 1 0 0 gives s1, the matrix
0 0 1
which represents the order of the strands at Stage 1.
(ii) Find the 3 × 3 matrix B which represents the transition from Stage 1 to
Stage 2.
(iii) Find matrix M = BA and show that Ms0 gives s2, the matrix which
represents the order of the strands at Stage 2.
(iv) Find M2 and hence find the order of the strands at Stage 4.
(v) Calculate M3. What does this tell you?
Composition of transformations
Notation
Figure 1.16 shows the effect of two successive transformations on a triangle. The
transformation X represents a reflection in the x axis. X maps the point P to the
point X(P). The transformation Q represents a rotation of 90° anticlockwise
about O. When you apply Q to the image formed by X, the point X(P) is mapped
to the point Q(X(P)). This is abbreviated to QX(P).
X Q
y y y
QX(P)
P(x, y)
x x x
X(P)
Figure 1.16 23
The composite transformation ‘reflection in the x axis followed by rotation of 90°
1 anticlockwise about O’ is represented by QX. Notice the order: QX means ‘carry
out X, then carry out Q’.
Matrices
●
? Look at figure 1.16 and compare the original triangle with the final image after
both transformations.
What single transformation is represented by QX?
Figure 1.17
Exercise 1D
● Proving results in trigonometry
ACTIVITY 1.10 (i) Write down the matrix A representing a rotation about the origin through
angle α, and the matrix B representing a rotation about the origin through
angle β.
(ii) Find the matrix BA, representing a rotation about the origin through angle α,
followed by a rotation about the origin through angle β.
(iii) Write down the matrix C representing a rotation through the origin through
angle α + β.
(iv) By equating C to BA, write down expressions for sin(α + β) and cos (α + β).
(v) Explain why BA = AB in this case.
(vi) Write down the matrix D representing a rotation about the origin through
angle –β.
Use the matrix product AD to find expressions for sin (α – β) and cos (α – β).
25
2 (i) Write down the matrices R and T.
1 (ii) Find the matrix RT and describe the transformation RT as simply as you can.
(iii) Draw diagrams to show the effect of applying T followed by R, and check
Matrices
that the result agrees with your answer to part (ii).
(iv) Find the matrix TR and describe the transformation TR as simply as you can.
(v) Draw diagrams to show the effect of applying R followed by T, and check
that the result agrees with your answer to part (iv).
3 (i) Write down the matrices X and Y.
(ii) Find the matrix XY and describe the transformation XY as simply as you can.
(iii) Find the matrix YX.
(iv) Explain why XY = YX in this case.
4 (i) Write down the matrices S and U.
(ii) Find the matrix SU and describe the transformation SU as simply as you can.
(iii) Find the matrix US.
(iv) Explain why SU = US in this case.
2 –1
5 The transformations R and S are represented by the matrices R =
3 0
(
1 3 )
and
S= (
–2 4
.)
(i) Find the matrix which represents the transformation RS.
(ii) Find the image of the point (2, –1) under the transformation RS.
6 R1 and R2 are rotations of the plane anticlockwise about the origin through
angles 25° and 40° respectively. The corresponding matrices are R1 and R2.
(i) By considering the effects of the rotations, explain why R1R2 = R2R1.
(ii) Write down R1 and R2 and calculate R1R2.
(iii) What single transformation is represented by R1R2?
7 There are two basic types of four-terminal electrical network, as shown in the
diagram.
(i) In Type A the output voltage V2 and current I2 are related to the input
voltage V1 and current I1 by the simultaneous equations
V2 = V1 –I1R1
I2 = I1.
V V
( ) ( )
You can write I 2 = A I 1 .
2 1
Exercise 1D
I2 = I1 – ––1 .
R2
Write down the matrix B which represents the effect of a Type B network.
(iii) Find the matrix which represents the effect of Type A followed by Type B.
(iv) Is the effect of Type B followed by Type A the same as the effect of
Type A followed by Type B?
In questions 8 to 10 you will need to use the matrix which represents reflection in
1 1 – m2 2m
the line y = mx. This can be written as ––––––2
1+ m (
2m m2 – 1
. )
1
8 (i) Find the matrix P which represents reflection in the line y = –– x, and the
3
matrix Q which represents reflection in the line y = 3x.
(ii) Use matrix multiplication to find the single transformation equivalent to
1 x followed by reflection in the line y = 3x.
reflection in the line y = ––
3
Describe this transformation fully.
(iii) Use matrix multiplication to find the single transformation equivalent to
reflection in the line y = 3x followed by reflection in the line y = ––1 x.
3
Describe this transformation fully.
9 (i) Find the matrix R which
represents rotation through 30°
anticlockwise about the origin. 2 2
(Use exact values. You may find
the diagram helpful.)
1 1
(ii) Find the matrix M which represents reflection in the line y = 3x.
(iii) Calculate MR.
What single transformation does this matrix represent?
10 The matrix T represents a reflection in the line y = mx.
Show that T2 = I, and explain geometrically why this is the case.
11 The one-way stretch S, ×5 parallel to the line y = –12 x, can be accomplished by
A rotating the plane clockwise about O through the angle α, where
tan α = –12 , and then
B doing a one-way stretch, ×5 parallel to the x axis, and then
C rotating the plane anticlockwise about O through the angle α.
Matrices
0 –1
The corresponding matrix Q =
1 0 ( . )
To undo the effect of Q, you need to carry out a rotation of 90° clockwise about
the origin. This is known as the inverse of Q, and is denoted by Q–1. The matrix
0 1
Q–1 which represents this inverse transformation is (
–1 0
. )
●
? Find the matrix product QQ–1.
Is Q–1Q equal to QQ–1?
Explain your answers.
ACTIVITY 1.11 Find several pairs of transformations and their inverses, together with the
matrices that represent the transformations.
Find the product of each matrix with its inverse.
What do you notice?
1 0
If the product of two square matrices, M and N, is the identity matrix I =
–1
then N is the inverse of M. We write N = M .
0 1
, ( )
For simple transformation matrices such as the ones you looked at above, it is
easy to find the inverse matrix by considering the inverse transformation.
However, a method is needed to find the inverse of any 2 × 2 matrix.
4 2 w y 1 0
=( )( ) =(
0 1)
MM–1 .
5 3 x z
Show that 4w + 2x = 1
and 5w + 3x = 0
Solve these equations to find w and x.
Now form and solve two equations in y and z.
Hence find M–1.
Now generalise this method to find the inverse of the matrix N = (ab dc ).
w y
Let N–1 =
and z.
( )
x z
, and again find two equations in w and x, and two equations in y
Inverse matrices
interchanged, and the signs of
the other two elements
are changed.
ACTIVITY 1.13 (i) Example 1.6 showed that the inverse of the matrix (73 84 ) is (–e1®- –2®-u ).
Show that(73 84 )(–e1®- –2®-u ) = I and (–e1®- –2®-u )(73 84 ) = I.
a c
The matrix M = (
b d)
(ii) .
Write down the inverse matrix M–1, and show that MM–1 = M–1M = I.
Matrices
How would you write down the inverse of a matrix product MN in terms of
M–1 and N–1?
Suppose you want to find the inverse of the product AB, where A and B are
non-singular matrices. This means that you need to find a matrix X such that
X(AB) = I.
X(AB) = I ⇒ XABB–1 = IB–1 Post-multiply by B–1.
⇒ XA = B–1
⇒ XAA–1 = B–1A–1 Post-multiply by A–1.
⇒ X = B–1A–1
Thus (AB)–1 = B–1A–1, where A and B are non-singular matrices of the same
order. To undo two transformations, you must undo the second transformation
before undoing the first. You put your socks on before your shoes, but
presumably you take your shoes off before your socks!
ACTIVITY 1.14 As often happens, it is easier to prove a result when you know the answer!
Use the associative property of matrix multiplication to show that (AB)(B–1A–1)
simplifies to I and so provide an alternative proof that (AB)–1 = B–1A–1.
Exercise 1E
diagram.
(ii) Find the ratio of the area of T′ to the area of T, and the value of the
determinant of M.
(ii) Find M–1, and verify that this matrix maps the vertices of T′ to the vertices
of T.
a c
5 A 2 × 2 singular matrix M is given as ( )
b d
.
Find M 2 and give your answer as a multiple of M.
Hence find a formula which gives Mn in terms of M.
6 (i) Two square matrices M and N (of the same size) have inverses M–1 and N–1
respectively. Show that the inverse of MN is N–1M–1.
1 7 4 1 0 0
(ii)
( ) (
0 0 1 –1 –4 1
)
A = 0 1 2 , B = 3 1 0 and C = AB.
ACTIVITY 1.15 (i) Figure 1.18 shows the unit square OIPJ and its image OI′P′J′ under a
3 1
transformation T, defined by the matrix T = ( )
1 2
.
Find the area of the image and evaluate det T.
31
1
Matrices P(1, 1)
J(0, 1)
I(1, 0)
Figure 1.18
Ignoring for the moment the sign of the determinant, you will have found that
the determinant is the area scale factor of the transformation.
The sign of the determinant also has significance. If you move anticlockwise
around the original shape, the unit square, you come to the vertices O, I, P, J, in
that order. Moving anticlockwise around the image in figure 1.18 you come to the
vertices in the same order. However, when you apply R to the unit square, the
order of the vertices is reversed. It is this reversal of sense that is indicated by the
negative sign of det R.
a c
In the next activity you will prove that when a general matrix M = ( )
b d
is
applied to the unit square, then the area of its image is equal to det M.
ACTIVITY 1.16 Figure 1.19 shows the unit square OIPJ and its image OI′P′J′ under the
a c
transformation M defined by the matrix M = ( )
b d
.
You may assume that det M is positive.
y y
P′
J′
P(1, 1) I′
J(0, 1)
O I(1, 0) x O x
Figure 1.19
So ad – bc is the area scale factor of the transformation. Strictly you should say
that det T = ad – bc is the signed scale factor, as it can be negative, signifying that
the sense (clockwise or anticlockwise) has been reversed.
ACTIVITY 1.17 Show that the matrices which represent reflections in the x axis, the y axis, the
line y = x and the line y = –x all have a determinant of –1.
In each case, draw diagrams to demonstrate that vertices labelled clockwise around
a shape are transformed to vertices labelled anticlockwise around the image.
6 4
ACTIVITY 1.18 (i) The transformation T is defined by T =
Find det T.
3 2 ( )
.
(ii) Draw the rectangle with vertices (0, 0), (4, 0), (4, 3), (0, 3).
Draw the image of this rectangle under T.
(iii) Find some more 2 × 2 matrices with determinant zero.
Find the image of the rectangle in part (ii) under the transformations defined
by your matrices.
(iv) What do you notice?
Figure 1.20
33
Each point on the image line P′Q′ is the image of infinitely many points. All the
1 points which map to P′ fall on a straight line, labelled AB in figure 1.20, and every
point on AB maps to P′. Similarly, I′ is the image of all points on a line through I
Matrices
parallel to AB and each point on a line through Q parallel to AB maps to Q′.
●
? What happens when you map any shape using the zero matrix ( 00 00 )?
How is the plane transformed?
SOLUTION
{4x – 6y = x′
2x – 3y = y′
x′ = 2(2x – 3y) = 2y′
The plane is mapped to the line x = 2y.
ACTIVITY 1.19 The plane is transformed using the matrix (ab dc ), where ad – bc = 0.
Prove that the general point P(x, y) maps to P′ on the line bx – ay = 0.
34
EXERCISE 1F 1 Find the value of the determinant of each of the following matrices and decide
whether each matrix is singular or non-singular. 1
6 4 4 8 5 3 1 –2
( )
(i) ( (ii) ) (iii) ( ) (iv) ( )
Exercise 1F
2 3 –1 –2 1 †-e 2 3
5 3 3 2
M=(
4 2)
and N = (
–2 1 )
2 .
(i) Find the determinants of M and N.
(ii) Find MN and det (MN). What do you notice?
(iii) By considering the geometrical significance of the determinant, explain
why det (MN) = det M × det N.
3 The two-way stretch with matrix (a0 0d ) preserves area (i.e. the area of the
image is equal to the area of the original shape).
What is the relationship connecting a and d?
4 A shear moves each point parallel to the x axis by a distance k times its distance
from the x axis.
Find the matrix for this transformation and hence show that whatever the
value of k, the shear preserves area.
7 –3
5 The matrix M = (
–4 6 )
defines a transformation in the (x, y) plane.
A triangle S, with area 5 square units, is transformed by M into triangle T.
(i) Find the area of triangle T.
(ii) Find the matrix which transforms triangle T into triangle S.
35
8 The point P is mapped to P′ on the line 3y = x, so that PP′ is parallel to y = 3x.
1 (i) Find the equation of the line parallel to y = 3x passing through the point P
with co-ordinates (s, t).
Matrices
(ii) Find the co-ordinates of P′, the point where this line meets the line 3y = x.
(iii) Find the matrix of the transformation which maps P to P′, and show that
the determinant of this matrix is zero.
9 A shear moves each point parallel to the line y = mx.
Each point is moved k times its distance from the line y = mx.
(Points to the right of the line are moved upwards, points to the left of the line
are moved downwards).
(i) Find the images of the points I(1, 0) and J(0, 1).
(ii) Hence write down the matrix which represents the shear.
(iii) Show that whatever the value of m, the shear preserves area.
You are already able to solve a pair of simultaneous linear equations such as
{3x4x ++ 2y5y == 95
by the method of elimination.
An alternative method, which can be used to solve any number of simultaneous
linear equations, involves the use of matrices.
The equations above can be written as a single matrix equation
( 34 25)(xy ) = ( 95).
The inverse of the matrix ( 34 25 ) is ( –45 –23 ).
1
–
7
(
1 5 –2
–
).
(xy ) = ( –2135 ) = ( –35 )
1
–
7
7 –4 3
3 2 x 9
( )( ) ( )
4 5 y
=
5
has the form Mp = p′, where M and p′ are known and you are trying to find p.
This is equivalent to finding the co-ordinates of the unknown point P which is
transformed on to the known point P′ by the given matrix M.
36
An alternative geometrical interpretation of solving a pair of simultaneous equations,
which may already be familiar to you, is to think of the two equations as the equations 1
of two lines in a plane. You are looking for any points which lie on both lines.
Case 1
The lines cross at a single point, as shown in figure 1.21. This is the case when
det M ≠ 0, so the inverse matrix M–1 exists and there is a unique position for P, as
shown in figure 1.22.
Both interpretations show that there is a unique solution to the equations.
Case 2
The lines are distinct parallel lines, as shown in figure 1.23. In this case det M = 0,
so the inverse matrix M–1 does not exist, and the transformation maps all points
on to a single line l through the origin. In this case P′ is not on l, so P′ is not the
image of any point (see figure 1.24).
Both interpretations show that the equations have no solution. We say that the
equations are inconsistent.
M
l
P(x, y)
Case 3
The lines are coincident lines, i.e. they are the same line, as shown in figure 1.25.
In this case det M = 0 again, so the inverse matrix M–1 does not exist and the
transformation maps all points on to a single line l through the origin. In this
case, P′ is on l, so there are infinitely many positions for P, all the points on a
particular line (see figure 1.26). 37
Both interpretations show that the equations have infinitely many solutions,
1 which may be expressed in terms of a single parameter (see Example 1.8 part (iii)).
Matrices l
EXAMPLE 1.8 Find, if possible, the solution of the equations {2x4x –+ 3ymy == 4k
(i) when m = 1 and k = 1
(ii) when m = –6 and k = 3
(iii) when m = –6 and k = 8.
SOLUTION
( 24 –3m )(xy ) = ( 4k )
(i) When m = 1,
| |
2 –3
4 1
1 1 3
––
=14, so the inverse matrix exists and is equal to 14 (
–4 2
. )
( xy ) = ( –41 32 )( 41 ) = ( –147 ) = ( –1∑-q )
1
––
14
1
––
14
Exercise 1G
where n = 2 unless you are given help with finding the inverse of a larger matrix,
such as 3 × 3.
(i) Use the matrix facility on your calculator to find the inverse of the
3 2 1
2 1 1
( )
matrix 1 4 –2 .
3x + 2y + z = 5
{
Hence find the solution of the equations x + 4y – 2z = 3 .
2x + y + z = 3
x + 3y – 2z = 7
(ii)
●
? ● Geometrical interpretation of three simultaneous equations
What is the geometrical interpretation of each of the three situations in
Activity 1.20?
2 3 x 1
(ii) Hence solve the equation ( )( ) = ( ).
–1 1 y –3
2 Use matrices to solve the following pairs of simultaneous equations.
(i)
{3x2x –+ y3y==2 5 (ii)
{3xx –+2y2y==4 4
(iii)
{x2x+–3yy == 111 (iv)
{3xx ––4y2y==–29
39
3 For each of the following pairs of equations, decide whether the equations are
1 consistent or inconsistent.
If they are consistent, solve them, in terms of a parameter if necessary.
Matrices
In each case, describe the configuration of the corresponding pair of lines.
(i)
{3x2x ++ 5y4y == 1711 {3x2x ++ 6y4y == 1215
(ii)
(iii)
{6x2x –– 3yy ==412 {8xy =–2x4y–=411
(iv)
5 –2 k –1 3k + 8 4k + 10
5 (i) Find AB, where A =
( –2 3 4
) 1
(
3 –4 –5 and B = –2 2k + 20 3k + 25 .
–11 –14
)
Hence write down the inverse matrix A–1, stating a necessary condition on
k for this inverse to exist.
(ii) Using the result from part (i), or otherwise, solve the equation
5 –2 k x 28
( 3 –4 –5
–2 3 4
)( ) ( )
y = 0
z m
in each of these cases.
(a) k = 8, giving x, y and z in terms of m
(b) k = 1 and m = 4
(c) k = 1 and m = 2
[MEI, part, adapted]
Exercise 1G
–1 21 –13 5 8 –2
(i) Calculate the matrix product PQ.
(ii) For the case k = 3, write down the inverse matrix Q–1 and hence solve the
following equation.
x 19
z
() ( )
Q y = 4
5
(iii) For the case k = 5, you are given that Q has no inverse. Solve the equation
x 19
z
() ( )
Q y = 4 ,
5
giving x, y and z in terms of a parameter t.
[MEI, part]
Invariant points
●
? In a reflection, which points map to themselves?
In a rotation, are there any points which map to themselves?
The product ( 62 53 )( –22 ) = (–22 ). This means that the transformation (62 53 )
maps the point (2, –2) to itself. This is an example of an invariant point.
●
? Explain why the origin is always an invariant point in any transformation that
can be represented by a matrix.
41
1 EXAMPLE 1.9 Find the invariant points under the transformation given by the matrix (21 –10 ).
SOLUTION
Matrices
x
()
Suppose y maps to itself. Then
2 –1 x x
Notice that in Example 1.9, the matrix equation
equations which turned out to be equivalent.
(
1 0 y )( ) ( )
= y led to two
Clearly any matrix equation of this form will lead to two equations of the form
ax + by = 0, which represent straight lines through the origin. Either these two
equations are equivalent, representing the same straight line, which means that
all the invariant points lie on this line, or they are not, in which case the origin is
the only point which satisfies both equations, and so is the only invariant point.
● Invariant lines
A line AB is known as an invariant line under a transformation T if the image of
each point on AB is also on AB. It is important to note that it is not necessary for
points on AB to map on to themselves (as in Example 1.9) but merely that each
point on AB maps to a point on AB.
Sometimes it is easy to spot which lines are invariant, for example, in a reflection,
as well as the mirror line being invariant (because it is a line of invariant points),
each line perpendicular to the mirror line is invariant, as shown in figure 1.27.
Figure 1.27
42
●
? What lines, if any, are invariant in the following transformations? 1
(i) Enlargement, centre the origin
Exercise 1H
(ii) Rotation through 180° about the origin
(iii) Rotation through 90° about the origin
(iv) Reflection in the line y = x
EXERCISE 1H 1 Find the invariant points for the transformations with the following matrices.
0 –1 3 4 0.6 0.8
(i) (
1 2 ) (ii)
1 2 ( ) (iii)
0.8 –0.6 ( )
1 – ––
1
(iv)
( ) ––
1
2
– –– ––
2
1
2
2
x
(v)
a c x
(46 13 ) (vi) (73 –4–1 )
2 The transformation T maps y to ( ) ( )( )
b d y
.
Show that invariant points other than the origin exist if det T = a + d – 1.
– m2 –––––
1––––– 2m
3 The matrix
( 1 + m 1 + m2
2m
–––––2
2
m 2–1
–––––
1 + m 1 + m2
) represents reflection in the line y = mx.
Find a point, other than the origin, that is invariant under this reflection.
Hence find the equation of the mirror line.
a
(ii) T is a translation of the plane by the vector
b
. ()
The point (X, Y) is the image of the point (x, y) under the combined
transformation TM (that is M followed by T) where
–0.6 0.8 a x
() (X
Y = 0.8 0.6 b y .
1 0 0 1 1 )( )
(a) Show that if a = –4 and b = 2 then (0, 5) is an invariant point of TM.
(b) Show that if a = 2 and b = 1 then TM has no invariant point.
(c) Find a relation between a and b that must be satisfied if TM is to have
any invariant points.
[SMP]
43
INVESTIGATIONS
1 1 Investigate the sequence of matrices I, M, M 2, M 3, ... where M = (11 10 ).
Matrices
2 Mendel’s genetic theory states that offspring inherit characteristics from their
parents through their genes. Each characteristic is controlled by a pair of
genes, which may be of two types: G or g. The three possible combinations are
GG known as homozygous dominant, and denoted by D
Gg or gG known as heterozygous, and denoted by H
gg known as homozygous recessive, and denoted by R.
Offspring inherit one gene from each parent, randomly and independently.
In a controlled study of a population of fruit flies, the only females allowed to
mate are those known to be heterozygous.
(i) The unfinished matrix shows the probability that the offspring has
combination D, H or R given the combination of genes of the male parent.
Male parent
D H R
Offspring D ∑-q ®-q 0
( )
H ... ... ...
R ... ... ...
(iii) Investigate what happens if the study continues over many generations.
44
KEY POINTS
1 The matrix M = (ab dc ) represents the transformation which maps the point with 1
x x′
position vector ( y ) to the point with position vector ( y ), where {
x′= ax + cy
Key points
.
′ y′ = bx + dy
1 0
2 The image of ( ) is the first column of M, the image of ( ) is the second
0 1
column of M.
3 Matrix mulitplication
Row from left matrix with
column from right matrix.
The determinant of the matrix M gives the area scale factor of the associated
transformation M.
a c 1 d –c
9 The inverse of M = ( )
b d
is M–1 = ––––––
ad – bc –b a ( )
, provided ad – bc ≠ 0.
MM–1 = M–1M = I.
10 When solving n simultaneous equations in n unknowns, the equations can
be written as a matrix equation.
x1 a1
M
()()
x2
...
xn
a
= 2
...
an
If det M ≠ 0, there is a unique solution which can be found by
pre-multiplying by the inverse matrix M–1.
If det M = 0, then there is either no solution or infinitely many solutions.
11 The point P is known as an invariant point under T if the image of P under
T is P. 45
2
Complex numbers
2 Complex numbers
The number system we use today has taken thousands of years to develop. In
primitive societies all that are needed are the counting numbers, 1, 2, 3,… (or even
just the first few of these).
The concept of a fraction was first recorded in a systematic way in an Egyptian
papyrus of about 1650 BC. By 500 BC the Greeks had developed ways of
calculating with whole numbers and their ratios (which accounts for calling
fractions rational numbers). The followers of Pythagoras believed that everything
in geometry and in applications of mathematics could be explained in terms of
rational numbers.
It came as a great shock, therefore, when one of them proved that 2 was not a
rational number. However, Greek thinkers gradually came to terms with the
existence of such irrational numbers, and by 370 BC Eudoxus had devised a very
careful theory of proportion which included both rational and irrational numbers.
It took about another thousand years for the next major development, when the
Hindu mathematician Brahmagupta (in about AD 630) described negative
numbers and gave the rules for dealing with negative signs. Surprisingly, the first
use of a symbol for zero came even later, in AD 876. This was the final element
needed to complete the set of real numbers, consisting of positive and negative
rational and irrational numbers and zero.
Figure 2.1 shows the relationships between the different types of numbers.
46