Matrices: Nine Chapters On The Mathematical Art, Written During The Han Dynasty in China Between
Matrices: Nine Chapters On The Mathematical Art, Written During The Han Dynasty in China Between
Matrices: Nine Chapters On The Mathematical Art, Written During The Han Dynasty in China Between
The concept of matrices and determinants was probably first understood by the
Babylonians, who were certainly studying systems of linear equations. However, it was
Nine Chapters on the Mathematical Art, written during the Han Dynasty in China between
200 BC and 100 BC, which gave the first known example of matrix methods as set up
in the problem below.
There are three types of corn, of which three bundles of the first, two of the second,
and one of the third make 39 measures. Two of the first, three of the second and one
of the third make 34 measures. One of the first, two of the second and three of the
third make 26 measures. How many measures of corn are contained in one bundle of
each type?
The author of the text sets up the coefficients of the system of three linear equations
in three unknowns as a table on a counting board (see Matrix 1). The author now
instructs the reader to multiply the middle column by 3 and subtract the right
column as many times as possible. The right column is then subtracted as many times as
possible from 3 times the first column (see Matrix 2). The left-most column is then
multiplied by 5 and the middle column is subtracted as many times as possible (see
Matrix 3).
1
2
3
2
3
2
3
1
1
26 34 39
Matrix 1
0
0
3
4
5
2
8
1
1
39 24 39
Matrix 2
0
0
36
99
0
3
5
2
1
1
24 39
Matrix 3
Looking at the left-hand column, the solution can now be found for the third type of
corn. We can now use the middle column and substitution to find the value for the
second type of corn and finally the right-hand column to find the value for the first
type of corn. This is basically the method of Gaussian elimination, which did not
become well known until the early 19th century and is introduced in this chapter.
268
11 Matrices
4
7
1
has six elements, two rows, three columns, and its
1
order is 2 3.
The most elementary form of matrix is simply a collection of data in tabular form like this:
Sales of
Butter
Cheese
Milk
Week
2
70
114
69
1
75
102
70
75
This data can be represented using the matrix 102
70
70
114
69
3
82
100
72
82
100.
72
Operations
Equality
Two matrices are equal if they are of the same order and their corresponding elements
are equal.
Example
2
Find the value of a if
3
5
a
4
3
5
.
4
269
11 Matrices
11 Matrices
Example
2
1
Evaluate
4
3
2
4
3
6
7
4
8
In this case the answer is
3
2
1
7
.
2
10
.
5
We can now return to the example of a matrix given at the beginning of the chapter
where the table
Sales of
Butter
Cheese
Milk
Week
2
70
114
69
1
75
102
70
3
82
100
72
a
The matrices A
d
75
can be represented as the matrix 102
70
70
114
69
82
100.
72
78
101
75
In this case AB
79
109
74
The scalar outside the matrix multiplies every element of the matrix.
4
2 .
5
3
In this case the answer is 9
3
6
3
9
t
q
and D u, then it is not possible to find
s
v
Example
6
4
5
5 2
7
1
.
3
Multiplication of matrices
To multiply two matrices there are a number of issues we need to consider. In matrix
multiplication we multiply each row by each column, and hence the number of columns
in the first matrix must equal the number of rows in the second matrix. Multiplying an
270
aq bs cu
. BA could also be found, and would
dq es fu
3
2
Evaluate
1
3
Example
2
1
3
ap br ct
dp er ft
p
If we consider the case of C
r
161
209.
146
Multiplication by a scalar
1
Evaluate 3 3
1
q
s are 2 3 and 3 2, so they can be
u
be a 3 3 matrix.
represents the sales in another branch of the shop, then adding the matrices together
148
215
144
p
c
and B r
f
t
79
If this were to represent the sales in one shop, and the matrix 97
81
154
would give the total combined sales i.e. 199
151
b
e
3
2
1
3
6
4
5
5 2
7
13 52 16 22
1
12 52 14 22
3
11 52 15 22
13 52 17 22
27
2
5
1
13 12 16 32
12 12 14 32
11 12 15 32
13 12 17 32
15
14
16
24
271
11 Matrices
11 Matrices
possible both ways, the matrices are of different orders. Only in the case of a square
matrix is it possible to multiply both ways and gain an answer of the same order, and
even then the answers are often not the same.
Example
3
If A
4
1
find A2.
5
Example
5
4
3
Hence A2
4
1
13
5
32
1
3
and B
4
3
2
If A
3
8
29
2
, find:
4
a) AB
b) BA
Example
Find the value of x and of y if
1 2
2
y
3
x
6
3
1
4
19
.
32
2
a) AB
3
1 3
4
3
2
3
4
21
8
10
3
3
2 2
4
3
1
0
4
18
11
13
b) BA
19
3
6x 2
4
19
32
Hence if we have a matrix A and multiply it by a matrix X, then we need to state whether
we want XA or AX as they are often not the same thing. To do this we introduce the
terms pre- and post-multiplication. If we pre-multiply a matrix A by X we are finding
XA, but if we post-multiply a matrix A by X we are finding AX.
Equating elements:
6y3
1y3
2x 2y 4
1 2x 6 4
1 x 5
Identity matrix
Under the operation of multiplication, the identity matrix is one that fulfils the following
properties. If A is any matrix and I is the identity matrix, then A I I A A. In
other words, if any square matrix is pre- or post-multiplied by the identity matrix, then
the answer is the original matrix. This is similar to the role that 1 has in multiplication of
real numbers, where 1 x x 1 x for x H .
Example
If A
5
2
9
2
, B
1
1
5
1
and C
2
0
We begin by finding B 2C
5
2
2
0
10
2A
4
and
Hence
2
1
10
2A 1B 2C2
4
18
2
k
, find 2A 1B 2C2.
2
2k
0
4
1
5 2k
6
18
2
18 0
2 1
1
0
is the identity matrix for 2 2 matrices and 0
1
0
0
0 is the identity
1
Zero matrix
5 2k
6
158 20k
8k 8
Under the operation of addition or subtraction, the matrix that has the identity property
is the zero matrix. This is true for a matrix of any size.
0
0
Commutativity
Commutativity is when the result of an operation is independent of the order in which
the elements are taken. Matrix multiplication is not commutative because in general
AB BA. In many cases multiplying two matrices is only possible one way or, if it
272
0
1
0
0
0
0
0
0
and for a 2 3 matrix it is
0
0
.
0
273
11 Matrices
11 Matrices
The role of the zero matrix is similar to the role that 0 has in addition of real numbers,
where 0 x x 0 x for x H . If we multiply by a zero matrix, the answer will be
the zero matrix.
Associativity
Matrix multiplication is associative. This means that 1AB2C A 1BC2.
We will prove this for 2 2 matrices. The method of proof is the same for any three
matrices that will multiply.
a
Let A
c
a
A 1BC2
c
a
c
b
e
, B
d
g
b
e
B
d
g
f
i
and C
h
k
f i
h k
b
ei fk
B
d
gi hk
b e
d g
ae bg
B
ce dg
Alan
Bill
Colin
We will prove this for 2 2 matrices. The method of proof is the same for any three
matrices that will multiply.
a
c
f
i
and C
h
k
f
i
h
k
b
ei
B
d
gk
274
j
.
l
j
R
l
fj
R
hl
ae ai bg bk
ce ci dg dk
1
7
2
6
3
3
6
3
1
1
k
d
6k
2
af aj bh bl
cf cj dh dl
Magazines
3
2
4
Newspapers
1
2
4
Magazines
1
4
0
Newspapers
2
1
1
Magazines
4
1
1
Newspapers
2
0
1
Week 2
b
e
B
d
g
2
b
4
32
Alan
Bill
Colin
Distributivity
af aj bh bl
cf cj dh dl
Week 1
a
A 1B C2
c
aj bl
cj dl
2 Alan, Bill and Colin buy magazines and newspapers each week. The tables
below show their purchases in three consecutive weeks.
i
af bh
R
k
cf dh
b
e
, B
d
g
2
c 3
1
a
Let A
c
b i
d k
af bh
ai bk
cf dh
ci dk
ae ai bg bk
ce ci dg dk
a 11
ae bg
ce dg
f
a
h
c
ej fl
R
gj hl
i
f
R
k
h
b e
d g
Exercise 1
j
R
l
j
.
l
a
AB AC
c
Week 3
Alan
Bill
Colin
Write each of these in matrix form. What operation do you need to perform
on the matrices to find the total number of magazines and the total number
of newspapers bought by each of the men? What are these numbers?
3 Simplify these.
2
a 45
7
3
c k4
12
1
2
4
3
3
1
6
1
4
3
b 61
3
d 1k 12
4
2
4
3
1
275
11 Matrices
11 Matrices
1
2
k
3
4
1
2
b
7
5
2
k
7
k2
2
c 3
1
1
2
7 3
k2
1
k
7
k
3
g
4
1
4
1
2
a
1
3
2
4
1
x
5
y
4
1
6
1
4
8
3, S
1
8
1
,
4
b 12
3
42
8
3
c 2
1
4
5
4
1
7
3
d 2
1
5
5
4
c QR
f PSU
2
e
1
f 11
k 3
k k
1
3
7 If A
2
a AB
e 3BC
276
2
2
1
0
2
7
1
4
3
, B
5
9
b A(BC )
f 1A B 2C
19
11
1
find A2 and A3.
0
0
k
5
2
Men
3
5
Women
2
7
Children
4
2
Absolutes
Brilliants
Charismatics
Defenders
Extras
2
7
3
k2
6
3k 4
1
0
4
13
1
d If C 1, D 11 1 12 , and E 11 12 find:
1
i EAB
ii AC
iii DB
In each case, explain the meaning of the result.
11 The table below shows the numbers of games won, drawn and lost for five
soccer teams.
2
2
2 3
3 4
x
4
3 y
4
Men
Women
Children
1
6
3
1
0
, find, if possible:
1
h P 2S 3U
2
a
4
7
x
4
1
Day 1
Day 2
3
3
4
, Q , R 2
0
1
4
g 2R 3T
4
3
1 y
10 a The table below shows the number of men, women and children dieting
in a school on two consecutive days.
5
6 2k
1
1
3 and U
0
7
b PS
e SU
7 x
7
5 y
5
4
9 If A
3
2
5
1
7
8
T 4
4
a PQ
d RT
y
8
2
5
2
0
3
3
k
k
2
5 For P
1
x 1
2 3
k
6
k2
3
3 9
3
6
3 k 4
2
2
3k
2
2
d 3
1
2
e 1
2 1
2
f
2
k
2
2k
0
2
k1
3
2k
4
1
and C
2
0
k
, find:
1
c (AB)C
g 12A B2 1A C2
d C(AB)
h 31A B2 1A B2
Won
3
6
10
3
8
Drawn
4
2
1
9
3
Lost
7
6
3
2
3
1
2
3
find:
2
b N2 2I
c N2 3N 2I
277
11 Matrices
11 Matrices
2
13 If A
3
1
m
and B
4
n
2
find the values of m and n such that
3
14 If M
2
k
and M2 M 4I
3
0
0
, find the value of k.
k
2
16 Given that A
3
1
17 If A
2
3
0
x
1
4
2
a X
2
3
and Y
2
5
3
b X
x
y
1
and Y
2
2
8
c X
3
y
x
and Y
1
2
d
ad
bc
so A1
c
q
ad bc
1
d
ad bc c
b
ad bc
a
q
ad bc
q
b
1
y
1
20 Find in general form the 2 2 matrix A that commutes with
0
d
ad bc
Example
1
.
1
3
2
1
.
6
matrix B is called the inverse of A and is denoted by A1. If A is any matrix and I is the
a
Consider a 2 2 matrix A
c
a b p q
1 0
.
c d r s
0 1
Equating elements: ap br 1
aq bs 0
cp dr 0
cq ds 1
278
b
p
. Let its inverse be A1
d
r
q
so that
s
Example
1i2
3
Find the inverse of M
2
1iii 2
1v2
M1
1ii2
1iv2
1vi2
7
.
5
1 5
1 2
7
5
3
2
3
279
11 Matrices
11 Matrices
It is not part of this syllabus to find the inverse of a 3 3 matrix by hand, but you need
to be able to do this on a calculator, and you need to be able to verify that a particular
matrix is the inverse of a given matrix.
Example
0
If A 0
1
Example
1
Find the inverse of 3
1
3
1
2
0
0
m
1
1.
1
0
1
0
0
1
0
2m
0
0 and A1 0
0
n
0
1
0
2m 0
0 0
0
n
0
1
0
1
1
0 0
0
0
0
1
0
0
0
1
2mn
1 0
0
0
1
0
0
1
0 0
m
0
0
1
0
0
0
1
1
0, find the values of m and n.
0
so m 1
and 2mn 1 1 n
1
2
Proof
Let AB I.
If we pre-multiply both sides of the equation by A1 then
1A1A2B A1I
1
1 IB A I
Example
4
7
3
Verify that
7
1
7
1BA
6
7
8
7
5
7
11
7
2
10
is the inverse of 2
7
1
8
7
1
4
1.
2
A 1BB1 2 IB1
1 AI IB1
1 A B1
1AB2 1 B1A1
Proof
We begin with B1A1.
Pre-multiplying by AB:
1AB2 1B1A1 2 ABB1A1
1
AIA
Since this is the identity matrix, the matrices are inverses of each other.
280
AA1
I
281
11 Matrices
11 Matrices
Example
1
Find the values of y for which the matrix M 3
y2
Method
3 3 determinants are
particularly important when
we come to work with vector
equations of planes in
Chapter 13.
12
1
0
2
0
9
3
2 42 2
1
y
9
3
2 22 2
1
y
2y
20
1
2
1
0
3
2 3 the 2 2 determinant through 6 is
5
2
2.
5
6
In the same determinant 3 4
3
2
2y
1
3
6
Therefore in the determinant 3 4
3
2
2
9 is singular.
1
If the row and column through a particular entry in the 3 3 determinant are crossed
out, four entries are left that form a 2 2 determinant, and this is known as the
2 2 determinant through that number. However, there is a slight complication. Every
entry in a 3 3 determinant has a sign associated with it, which is not the sign of the
entry itself. These are the signs:
3
4
2y
1
2
1
0
3
2 3, the 2 2 determinant through 4 is
5
3
2.
5
Example
Proof
1
Without using a calculator, evaluate 3 2
8
1
3 2
8
6
2
1
This is a useful result, which can save time, and is proved below for 2 2 matrices.
The proof for 3 3 matrices would be undertaken in exactly the same way.
9
2
5 3 12
1
4
5
2
2 62
4
8
6
2
1
5
2
2 92
4
8
9
5 3.
4
2
2
1
Let A
a
c
b
p
and B
d
r
ap br
AB
cp dr
q
.
s
aq bs
cq ds
282
283
11 Matrices
11 Matrices
Example
Without using a calculator, find the area of the triangle PQR whose vertices
have coordinates (1, 2), 12, 32 and 15, 12.
1
1
Area 3 1
2
2
Example
3
If A 2
6
1AB2 1.
1
4
2
2
1
3 and B 3
4
1
2
7
4
1
5 3
1
1
3 12 152 11 102 13 4 2 4
2
31
1
units2
113 11 72
2
2
4
2 , find Det(AB). If possible find
3
1
2
3
Exercise 2
1 Find the inverse of each of these matrices.
1
1
3 x1
2
y1
1
x2
y2
1
x3 3.
y3
Proof
1
a
3
2
3
d 2
8
8
5
4
k
g
3k
1
3
2
2 If P
y
C (x3, y3)
6
e 9
0
5
2
5
3k
h
2k 1
1
4
, Q
4
2
c
7
6
3
4
9
4
f 2
8
1
6
1
8
6
5
3
k2
1
3
, R
1
2
3
4
, S
4
9
7
,
1
7
2
3
3
c 31
2
2
6
1
a 2
(x1, y1)
A
T
10
1
3
2
2
b
3
U x
If A, B and C lie on a straight line (are collinear), then the area of the triangle is zero, and
this is one possible way to show that three points are collinear.
b 2
1
3 3
4
2
d 37
2
a
0
b
1
a2
b
c
b3
0
1
2
8
6
4
cos u
e 3 tan u
sin u
5
3
1
3
6 3
5
cos u
2
cos u
sin u
cos u
tan u
tan u
sin u 3
cos u
c 2
x1
x
x1
2
x2
f 3
y1
1
y1
0
1
1
y1
1 3
1
1
a2 3
a
5 Using determinants, find the area of the triangle PQR, where P, Q and R are
the points:
a 11, 42, 13, 22, 14, 12
b 13, 7 2, 14, 42, 11, 5 2
c 13, 52, 19, 12, 15, 12
284
285
11 Matrices
11 Matrices
The techniques of solving two simultaneous equations in two unknowns have been met
before, but it is worth looking at the different cases and then examining how we can use
matrices to solve these.
1
a 1
2
1
b 2
6
1
3
0
1
0 and
3
1
7
3
2
1
5
1
0
2
1
c 3
1
2
1
4
2
3
1
3
1
3
When we have two linear equations there are three possible scenarios, which are shown
in the diagrams below.
0
0
1
2
3
5
4 and
4
22
1
4
1
4
1
4
1
4
1
8
1
8
7
16
1
5
2 and
16
1
13
16
3
8
1
8
1
8
5
16
1
16
7
16
y
Solution
0
x
0
0
k2 is singular.
1
2
c
3
4
10 Find the values of c for which the matrix 1
0
0
12 M is the matrix 1
x2
k2
2
1
2
verify that 1AB2 1 B1A1.
k
3
4
and B
1
1
In this case solving the pair of simultaneous equations using a method of elimination or
substitution will give the unique solution.
k2 k 2
8 Find the value of k for which the matrix k 4
1
1
9 If A
k
y
y
2
2y
2 34
1
1
3
2
5
6
9 is singular.
c
1
0 3.
1
1
y
0 and N is the matrix 1
x
y2
0
y
0
1
y. By
0
evaluating the product MN, find the values of x and y for which M is the
inverse of N.
13 If 2A 3BX B, where A, B and X are 2 2 matrices, find
a X in terms of A and B
b X given that B1A 2I, where I is the identity matrix.
x3 x1
.
14 The matrix M
x1 x3
a Show that Det(M) is independent of x.
This occurs when we attempt to eliminate a variable and find we have a constant equal
to zero.
Example
Determine whether the following equations have a solution.
x 5y 7 equation 1i2
b Find M1.
286
287
11 Matrices
11 Matrices
14
x
5
1
y
11
5
So x
0
14
11
,y
5
5
If we are asked to find when equations have no unique solution, then we would need to
show the matrix is singular. However, if we need to distinguish between the two cases
here, i.e. no solution or infinite solutions, then we need to use Gaussian elimination.
In this case, when we try to eliminate a variable we find 0 0, but we can actually give
a solution.
Example
Example
Show that the following system of equations does not have a unique solution.
2x 3y 7
6x 9y 20
This can be represented in matrix form as
2
3 x
7
9 y
20
2
If A
6
3
then Det1A2 18 18 0.
9
Hence the matrix is singular and the system of equations does not have a
unique solution.
We can also write the simultaneous equations as what is called an augmented matrix
and solve from here. This is effectively a neat way of representing elimination, but becomes
very helpful when we deal with three equations in three unknowns. We will demonstrate
this in the same example.
Example
Find the solution to these simultaneous equations.
3x 2y 4
xy5
Example
2
x
4
1 y
5
To solve this we pre-multiply both sides by the inverse matrix. This can be
calculated either by hand or by using a calculator.
1
5
Hence
1
5
2
5
3
3 1
5
1
1
0
288
1
2
x
5
1 y
1
5
2
5
4
3 5
5
1
5
0 x
1
1 y
5
2
5
4
3 5
5
2
1
5
1
11
5
x
11
1 y
5
289
11 Matrices
11 Matrices
a 3x 2y 7
6x 4y 14
c
b 8x 7y 15
3x 8y 13
d 13k 12y x 5
4y 1k 12x 11
y 2x 5
2y 4x 10
Example
Determine whether the following set of equations has no solution or infinite
solutions.
x 3y 7
3x 9y 15
The augmented matrix for these equations is
3
9
3
0
3
0
9
36
15
Exercise 3
1 Use the inverse matrix to solve these equations.
a 3x y 4
b 3p 5q 7
x 2y 7
p 2q 7
c 3y 1 2x 0
4x 3y 4 0
y 3x 4
3y 7x 2
290
b 2y 3x 7
3
14
y x
2
4
c y 2x 3 0
y
6
x
2
4
15
b cx 12c 42y 15
1c 12x 2cy 9
2x 4y 2p 0
px 6y 9 0
x 2y p 0
Had the equation had
infinite solutions we
would have had a whole
line of zeros.
8 Find the value of l for which the equations are consistent and in this case
find the corresponding values of y and x.
4x ly 10
3x y 4
4x 6y 2
Unique solution
The three planes intersect in a point.
In this case solving the three equations simultaneously using any method will give the
unique solution.
291
11 Matrices
11 Matrices
No solution
If there are four zeros in a row of the augmented matrix there are infinite solutions. It
3
does not matter which row it is. Therefore the augmented matrix 4
0
would produce infinite solutions.
2
2
0
1
6
0
4
1
0
If there are three zeros in a row of the augmented matrix there are no solutions. Again it
does not matter which row it is, but the three zeros have to be the first three entries in the
3 2 1 4
row. Therefore the augmented matrix 4 2
6
1 would produce no solution.
0 0
0
4
All other augmented matrices will produce a unique solution. For example
3
4
0
2
2
4
1
6
0
4
1 has a unique solution even though there is one row with three
0
zeros in it. This highlights the fact that the position of the three zeros is important.
Two planes meet in a line and the third plane is parallel to the line of intersection
Elimination
To do this we eliminate one variable using two pairs of equations, leaving us with a pair
of simultaneous equations in two unknowns.
line of
intersection
Two planes are parallel and the third plane cuts the other two.
Infinite solutions
Example
Three planes are coincident. In this case the solution is a plane of solutions.
Two planes are coincident and the third plane cuts the other two in a line. In this case
the solution is a line of solutions.
4x 2y z 0 equation 1i2
3x 7y 2z 20 equation 1ii2
x y 4z 6 equation 1iii2
All three meet in a common line. In this case the solution is a line of solutions.
line of solutions
How do we know which case we have? This works in exactly the same way as a pair of
simultaneous equations in two unknowns when we consider the augmented matrix.
292
Substitution
To do this we make one variable the subject of one equation, substitute this in the other
two equations and then solve the resulting pair in the usual way.
293
11 Matrices
11 Matrices
As with lines, if the matrix is singular, then the system of equations has no solution or
infinite solutions. Further work using one of the other methods is necessary to distinguish
between the two cases.
Example
Solve these equations.
3x 4y z 2 equation 1i2
2x 5y 2z 7 equation 1ii2
x 3y z 1 equation 1iii2
Example
Does the following system of equations have a unique solution?
x 3y 4z 2
2x y 5z 1
3x 5y 14z 7
1
2
3
3 13y
equation (vi)
8
1
If we let A 2
3
Example
Find the unique solution to this system of equations using row operations.
x 3y 2z 3
2x 4y 3z 11
x y 2z 1
294
pre-multiply by A1.
1
2
1
Example
1
1
1
4
5 then Det1A2 140 (using a calculator) and
14
3
1
5
3 13y
7y 3
8
1 6 26y 56y 24
1 y 1
2
2
1
2
4 x
2
5 y 1
14
z
7
3
1
5
1
2
0
3.5
6
3
5.5 19 0
0.5 14
4
3
4
1
2
3
2
3
11
1
1
1 2
0
3
4
2
2
3
7
3
11
9
Change Row 3 to
2 1Row 3 2 Row 2.
1
1 0
0
3
10
2
2
7
7
3
17
9
Change Row 2 to
Row 2 2 1Row 12.
1
1 0
0
3
10
0
2
7
28
3
17
28
Change Row 3 to
5 1Row 32 Row 2.
295
11 Matrices
11 Matrices
We cannot produce any more zeros, so the equation will have a unique solution
and we now solve using the rows.
From Row 3
28z 28
1 z 1
From Row 2
10y 7z 17
1y1
2
The augmented matrix is: 2
6
1
2
3
3
4
9
1
5
3
0
1 2
6
0
2
3
0
4
9
0
5
3
Change Row 1 to
3 1Row 1 2 Row 3.
Hence the system has infinite solutions. We now eliminate one of the other
variables.
From Row 1
x 3y 2z 3
0
1 0
6
x 3 2 3
1x2
0
This can be read as 0
6
However, the strength of row operations is in working with infinite solutions and no
solution.
In the case of no solution, row operations will produce a line of three zeros.
0
1
3
0
1
3
0
1
9
0
7
3
Change Row 2 to
2 1Row 22 Row 3.
By letting y l it is clear
that we can get the solutions
for x and z in terms of l.
0
x
0
1 y 7.
9 z
3
Example
3
1
9
4
3
12
1
1 2
0
3
1
0
4
3
0
5
7
14
5
7
1
Since there is a line of three zeros, the system of equations is inconsistent and
has no solution.
In the case of infinite solutions we will get a line of four zeros, but as we saw previously
there are two possibilities for the solution. In Chapter 13 the format of these solutions
will become clearer, but for the moment, if a line of solutions is given, the answer will be
dependent on one parameter. A plane of solutions can occur only if the three planes are
coincident that is, the three equations are actually the same and in this case the
equation of the plane is actually the solution.
Example
Change Row 3 to
Row 3 3 1Row 12.
Show that the following system of equations has infinite solutions and find the
general form of these solutions.
x y 3z 2
2x 2y 6z 4
4x 4y 12z 8
1
The augmented matrix is: 2
4
1
2
4
3
6
12
2
4
8
0
1 2
4
0
2
4
0
6
12
0
4
8
Change Row 1 to
2 1Row 12 Row 2.
Example
Show that this system of equations has infinite solutions and find the general
form of these solutions.
Hence it is clear that the system has infinite solutions. In this case we cannot
eliminate another variable, because any more row operations will eliminate all
the variables.
2x y 3z 1
2x 2y 4z 5
6x 3y 9z 3
296
297
11 Matrices
11 Matrices
Example
0
This can be read as 2
4
0
2
4
0
x
0
6 y 4.
12 z
8
If we look back at the original equations, we can see that they are in fact the
same equation, and hence we have the case of three coincident planes, which
leads to a plane of solutions. The plane itself is the solution to the equations, i.e.
x y 3z 2.
1
The augmented matrix for this system is 3
1
2
1
4
1
1
2
3
2
4
Example
Determine what type of solutions the following system of equations has, and
explain the arrangement of the three planes represented by these equations.
2x 3y 2z 1
4x 6y 4z 2
6x 9y 6z 4
2
The augmented matrix for this system is 4
6
3
6
9
2
4
6
1
2.
4
1
This can be read as 0
0
0
6
9
0
However, changing Row 1 to 3 1Row 12 Row 3 gives 4
6
which implies the system has no solution.
0
4
6
0
6
9
0
4
6
0
1
0
0 x
2
0 y 1
1 z
3
If we put in a system of equations that has no solution then the line of three zeros will
occur. The line of four zeros will occur if the system has infinite solutions. The calculator
will not find the line or plane of solutions, but it will certainly make it easier.Exercise
1
2 ,
4
11.4
Example
Find the general solution to this system of equations.
If we now look back at the equations we can see that the first and second equations are multiples of each other. In the third equation the coefficients of x, y
and z are multiples of those coefficients in the first and second equations. This
means we have two coincident planes and a parallel plane.
Hence the system actually has no solution. This is also obvious from the initial
equations since we clearly do not have three coincident planes.
x 3y z 4
2x y 2z 3
x 4y z 1
1
The augmented matrix for this system is 2
1
3
1
4
1
2
1
4
3
1
A calculator is capable of doing this, but there are a number of points that need to be
made. Obviously, if the question appears on a non-calculator paper then this is not an
option. However, if a calculator is allowed then it is useful. To find a unique solution we
put the 3 4 augmented matrix into the calculator as usual.
298
299
11 Matrices
11 Matrices
The line of four zeros at the bottom indicates the infinite solutions. If we rewrite
this in the form
1
0
0
0
1
0
1 x
1.85714 p
0 y 0.714285
0 z
0
3x 4y 2z 9
x 2y 5z 2
c x 3y 2z 13
x y 2z 0
d
2x y 2z 8
we can see that y 0.714285, but that x and z cannot be solved uniquely.
Hence if we let x t, then t z 1.85714
1 z t 1.85714
Hence the general solution to the equations is x t, y 0.714285 and
z t 1.85714. This is a case of three planes meeting in a line.
6x y z 3
3x 3y 2z 1
10x 3y 2z 0
6 Using a calculator, solve these systems of equations.
a x 2y 3z 5
b 3x 3y z 8
2x y 2z 7
2x y 2z 5
3x 2y 5z 9
3x 4y z 1
c 3x 3y 6z 2
6x 8y z 8
Exercise 4
1 Using elimination, solve these systems of equations.
a 6x 8y 5z 1
b 4x 7y 3z 2
3x 5y 3z 3
2x 5y 2z 2
2x 3y 2z 1
5x 13y 5z 0
c x 2y 10
4x 8y 3z 6
3x y z 7
3x 5y z 3
2x y z 5
4x y 4z 15
x 3y 8z 27
2x 5y 2z 12
3x 2y z 4
c 3x y 4z 6
2x 3y 4z 1
2x y 2z 7
4x y 6z 9
x 2y 6z 13
x 2y 8z 2
4x y 6z 12
3x 3y 12z 5
2x y 5z 10
c 2x y 2z 4
4x y 3z 9
3x y z 1
2x 3y 5z 3
6x 2y 3z 7
x 2y 5z 6
4 By evaluating the determinant, state whether each system of equations has
a unique solution or not.
a x 2y 5z 15
b 2x y 3z 12
2x 3y 7z 1
x y 7z 15
3x y 2z 12
c xyz4
300
3x y z 7
d
2x y 2z 4
2x 2y 3z 4
4x 2y 4z 8
3x 3y 2z 8
xyz2
2x y 3z 6
3x 2y z 1
6x y 3z 7
x y 3z 0
11x y 2z 8
7 Without using a calculator, solve the following equations where possible.
a x 3y 2z 1
b 2x y 3z 4
x y 2z 4
x 2y z 2
x 7y 10z 5
x 3y 4z 6
c 3x y 4z 1
2x y 3z 4
x 2y 3z 4
4x 2y 6z 8
x 5y 10z 7
6x 3y 9z 12
e x 2y z 1
x y z 4
2x y 3z 4
2x y z 8
5x 5y 5z 9
yz3
g 3x y 2z 4
xyz4
3x y 2z 4
2x y z 10
x 3y 6z 10
x 4y 4z 12
8 Using a calculator, state whether the following equations have a unique solution, no solution or infinite solutions. If the solution is unique, state it, and if
the solution is infinite, give it in terms of one parameter.
a 2x y 2z 4
b 3x 5y 2z 2
x 3y 2z 7
x 7y 4z 1
x 8y 4z 17
3x 3y 2z 2
c x 4y z 4
3x y 2z 4
x 7y 10
xyz4
3x y 2z 7
x 3y 6z 10
e x y 5z 4
xyz6
2x y z 8
2x y z 7
3y 11z 0
x y 5z 18
1 3 3
9 a Find the inverse of 2 1
3 .
3 9
9
b Hence solve this system of equations.
x 3y 3z 2
2x y 3z 1
3x 9y 9z 4
301
11 Matrices
11 Matrices
1 9 5
10 a Find the determinant of the matrix 1 3 2.
1 1 1
b Find the value of c for which this system of equations can be solved.
M+
CE
M+
CE
k
4
1
1
13 a Let M 2
3
1 4 5 x
3
1 3 2 y c
1 1 1 z
2
c Using this value of c, give the general solution to the system of equations.
11 Without finding the solution, show that this system of equations has a
unique solution.
2x 5y z 4
x y 3z 4
4x 4y 3z 1
12 If the following system of equations does not have a unique solution, state
the relationship between a and b.
ax 3y 2z 4
2x 5y z 9
2x by 4z 1
ON
ON
X
x
4 If A
4
M+
ON
CE
3
5. Find Det M.
k
x
Write the system in matrix form AX B where X y.
z
Find the value of k for which the determinant of A is zero.
Find the value of z in terms of k.
Describe the solutions to the system of equations.
1
6 Given the following two matrices, M 1
1
M1
b Find the value of k for which this system of equations does not have a
unique solution.
M
C
7
4
1
M+
CE
3
+
ON
X
x ky 3z 1
b
c
d
y
, find the values of x and y, given that
4
AB BA.
4
2
and B
2
8
b
1
1
2
1
5
1
3
1
1
2
2
2 and
a
4
0, find the values of a and b.
2
7 a Find the relationship between p, q and r such that the following system of
equations has a solution.
2x y 3z p
2x 4y 5z 2
3x y 4z q
3x y kz 3
14 Find the value of a for which this system of equations is consistent.
x 3y z 3
x 5y 2z 1
16x 2z a
3x 6y 21z r
b If p 3 and q 1, find the solution to the system of equations. Is this
solution unique?
M
C
7
4
1
M+
CE
3
+
ON
X
2
k
8 Let A
6
h
and B
1
3
3
, where h and k are integers. Given
7
Review exercise
M
C
M+
CE
ON
X
M
C
M+
CE
ON
X
2
9 If M
3
1
1
, I
1
0
0
and M2 pM qI, find the values of p
1
M+
ON
CE
M
C
M+
CE
ON
X
3
2 Given that A
3
2
1
and I
4
0
0
, find the values of l for
1
M+
ON
CE
kx y 2k
302
k 1
, where k H .
3 a Find the inverse of the matrix A
1
k
b Hence or otherwise, solve the simultaneous equations
x ky 1 k2
and q.
c3
10 a Find the values of c for which M c
1
8 3
b Find A where A 2 2
1 3
c Explain why A is singular.
8 1
2 4
1 2
2
5
1
3
2
3
8
2 is singular.
1
3
6.
1
303
11 Matrices
M+
CE
ON
X
M
C
M+
CE
ON
X
M+
ON
CE
2 1 9 x
7
1
2
3 y 1
2
1
3 z
k
Find the value of k.
[IB May 00 P1 Q6]
12 The variables x, y and z satisfy the simultaneous equations
x 2y z 3
2x 3y 4z 5
x 2y z c
where c is a constant.
a Show that these equations do not have a unique solution.
b Find the value of c that makes these equations consistent.
c For this value of c, find the general solution to these equations.
a
4 6
13 a Find the values of a and b given that the matrix A 8
5
7 is
5
3
4
1
2 2
the inverse of the matrix B 3
b
1 .
1 1 3
b For the values of a and b found in part a, solve the system of linear
equations
x 2y 2z 5
3x by z 0
x y 3z a 1
14 Show that the following system of equations has a solution only when
M
C
M+
CE
ON
X
M
C
M+
CE
ON
X
M+
ON
CE
p 2q r 0.
3a 5b c p
2a b 4c q
a 7b 9c r
15 Find the value of a for which the following system of equations does not
have a unique solution.
4x y 2z 1
2x 3y 6
7
[IB May 99 P1 Q6]
x 2y az
2
2
16 Given that P a
4
3
R 6
0
M
C
7
4
1
M+
CE
304
ON
X
1
9
8
1
2
0
3
0
b, Q 3
0
0
2
0
1
1
0 and
1
1
5 , find the values of a and b such that PQ R.
4