Sie sind auf Seite 1von 28

A PPENDIX

Matrices and 3  3
determinants

D1 Matrices: introduction
Matrices can be used, among other purposes, to solve simultaneous equations provided we
define their operations (e.g. addition and multiplication) in special ways. The interest in and use
of matrices has increased greatly since the introduction of computers because their operations
are easy to program on a computer. Manually, for example, it is usually quicker to solve
simultaneous equations using determinants. However, with a computer, matrices are much
easier to use, regardless of how many variables are involved.

Definitions
A matrix is a set of numbers (called elements) arranged in a rectangular pattern (or array) of
rows and columns. A determinant, as we have seen in Appendix C, is such an array
distinguished by vertical bars at each side. To distinguish a matrix, the array is enclosed in
parentheses, either round or square.
For example,

23 14 is a determinant, which has the value 5, but 23 14 or 23 14 is a matrix,

which does not have a value. A matrix does not represent a number.
If a matrix has a rows and b columns, it is said to be an a  b matrix or to have an order of
a  b. A matrix of order a  1 is called a column matrix. A matrix of order 1  b is called
a row matrix.

Examples

 

3
A  2
5

D

5
3
1
2

0
4 is a matrix of order 3  2.
3



is a matrix of order 4  1, a column matrix.

Appendix D Matrices and 3  3 Determinants

107

K  (5

P

T

2
is a 2  2 matrix, a square matrix of order 2.
3

0

2) is a matrix of order 1  3, a row matrix.

1
2
4

0
3
3

3
1 is a 3  3 matrix, a square matrix of order 3.
0

We identify a matrix by a capital letter and its order can be shown under this letter. For
example, K is a matrix that we call K and its order is 3  2 (i.e. 3 rows and 2 columns).
32

Exercises D1
Below is a set of matrices that are also referred to in following exercises.
3
1 0 2
2 1
B
C 1
A
3 2 1
3 2
2

2
D
1

G

1
4

3
2

 
2
1
3

1
3
2

1
2
4

3
5
1

1
H
2

3
1

E



4
2
3

F  (3

K

1
3
0
1

2)
1
2
0

2
3
2

Using the above set of matrices, state the order of: a D, b G, c C, d A, e F.

Which of the matrices in the above set is: a a 2  3 matrix, b a 3  2 matrix, c a square
matrix, d a row matrix, e a column matrix?

D2 Some definitions and laws


Equal matrices
Two matrices are said to be equal if, and only if, they are identical in every respectthat is, the
elements of each are the same and in the same positions.

Example
If

108

 c d  1 3, then a  2, b  4, c  1, d  3.
a b

Mathematics for Technicians

The sum or difference of two matrices


These are found by adding or subtracting the corresponding elements of each matrix.

Example
a b c
g h i
ag bh ci


e f
j k l
dj ek fl

d
5

2

 

3
4

1
3

0
5

 

 

3
1

0
2 0

2
3 3

 

1
2

Note: Two matrices can be added or subtracted only when they have the same order (i.e. they
must have the same number of rows and the same number of columns; they must have the
same shape). The resulting sum or difference will also have the same order.

From the definition, it can be seen that A  B  B  A (the commutative law for addition).

The zero matrix


For matrix A the zero matrix, O, is defined to be the matrix such that A  O  O  A  A (the
law of addition of zero). The letter O is used to denote a zero matrix.

Example
The zero matrix of

a b c
0
is
e f
0

d

 

0
0

0
.
0

The zero matrix of

0
2

 

3
0
is
5
0

0
.
0

Note: The matrix O is not the number zero but is the matrix of the same order as A, which has
the number 0 for each of its elements.

Multiplication by a constant
By definition, a matrix is multiplied by a constant by multiplying every element of the matrix
by that constant.
Appendix D Matrices and 3  3 Determinants

109

Example

 

3  2 1 0  6 3 0
0 3 2
0 9 6

Exercises D2
1

Solve the following matrix equations:


x
7
a

y
3

 

2y  3  y  9
x 1

3x

x2

xy

 y 3   6

 x y   5

Write the single matrix equation


3x  2y 5z
8
4x 3y  2z  7
5x  5y 3z
9

 

as three separate simultaneous equations.


3

Using the set of matrices (A, B, C . . . K) in Exercises D1:


a state which pairs of those matrices can be added or subtracted
b write down the matrix K  E
c state the zero matrix of D
d state the zero matrix of E
e write down the matrix 3  A
f
write down the matrix 2E  3K

D3 Multiplication of matrices
Since a matrix is simply an array (arrangement) of numbers in a rectangular pattern and does
not have a value, we can define the product of two matrices in any way we choose.
For the purposes of explanation, the rows and columns of a matrix will be designated as shown
in the matrix below: the rows being called R1, R2, R3 . . . and the columns C1, C2 . . . .
Any particular element of a matrix can be identified by stating its row and its column.
C1 C2 C3

R1 3 6 7
, R1C3  7, R1C1  3 and R2C2  5.
For example, in the matrix
R2 2 5 4

By definition, when two matrices are multiplied, the product is another matrix and regardless of
how many rows and columns the matrices may possess, when the elements in Rn of the first
110

Mathematics for Technicians

matrix are multiplied in succession by the elements of Cm of the second matrix and these
products are added, this gives element RnCm of the product matrix.
When put into words this definition seems very complicated but some illustrations and some
practice should enable you to gain facility with this process.
Ignoring all the other rows and columns that may be present:

  
  
R3
5 2 7
  

C2

 4 
 0 




 1

 
 R3






C2



27







In the product matrix, element R3C2  (5  4)  (2  0)  (7  1)  27


2

 3 4   6
1

7
8

9
(1  5)  (2  6) (1  7)  (2  8) (1  9)  (2  10)

10
(3  5)  (4  6) (3  7)  (4  8) (3  9)  (4  10)

 

5  12

15  24

39
17

23
53

7  16 9  20
21  32 27  40

29
67

You are advised to practise this process until it becomes quite familiar to you. Below are some
exercises to enable you to practise the multiplication of two matrices. You will quickly discover
the benefit of using fingers or a pen to obscure the rows and columns not being used to obtain a
particular element of the product matrix.

Example
(2  4)  (3  1) (2  2)  (3  3)
(4  2)  (5  3)

4 5  1 3  (4  4)  (5  1)
2

83

16  5

21 23
11

49
8  15

13

When the elements are small you should be able to obtain the product matrix without needing
to write down the intermediate steps.
e.g.

2 4  1 3  8 12
3

Appendix D Matrices and 3  3 Determinants

111

Exercises D3
1

You are given the following matrices:


3 1
5 1
1 2
A
, B
, C
,
2 4
3 2
4 3

 

 

 

2 1,

Write down the following matrices:


i
AB
ii A  C
v BC
vi B  D
ix C  E
x DE
b

You are given the following matrices:


1 3
3 2
4 3
P
, Q
, R
,
2 4
6 4
2 1

 

 

0 3
2

AD
vii B  E

AE
viii C  D

iii

Write down the following matrices:


i
PQ
ii P  R
v QR
vi Q  S
ix R  T
x ST
2

3 0,
2

iv

6 3
4

PS
vii Q  T

PT
viii R  S

iii

iv

As always in algebra, if there is no operation sign between two terms, multiplication is to be


assumed. AK means A  K, i.e. matrix A  matrix K.
Find the product of the matrices in each case below:

112

1
0
2

3
2
0

0
1
3

2
1
3

1
0
1

0
3
1

1
3

0
2



5
6

4
7

8
9

1
0

2
3

1
3

2
0

(0 3

2
4





1
2
0

2
0
3

3
2
1



0
1
2

1
1
3

2
0
1

  

0 1
1
1 3 3

4
1

3 0
1
0 2 1

 

 

(7

 
5
6

Mathematics for Technicians



2
2
1

1
2) 1
4

1
3

1 2 1
0 0
3
2 0
1

1
1

3 2
1
5

0
2

2
1 (2
3

2

1
0
3
0
0 1



2
1 1
4
3
0
0 1
5



1
4
6

5
2
0

1)

 

6
5) 2
8

 

2 1
1 3

2
1
2

If A 

0
3
4

3
0



1
2

3 1
0
2
1
3

3
1

2
1
1 and B 
2
0

 

0
1) 2
3

5
1
3

0 1
4
2
2
0

(4



4
0
3 2
0
1

2
, find a A2, b B3.
0

D4 Compatibility
By now it has probably become clear to you that multiplication of two matrices is only possible
when there are the same number of elements in any row of the first matrix as there are in any
column of the second matrix, i.e. the product mn
A  pq
B  C exists only when n  p, that is,
only when the number of columns in the first matrix equals the number of rows in the second matrix.
When, and only when, this is so, the matrices are said to be compatible for this multiplication. If
n  p, the matrices cannot be multiplied and are said to be incompatible for this operation.

Examples
1

The product M  N does exist


and has order 2  5.

compatible
order of product

The product P  Q does not exist.

P
2

Q
2

incompatible

The product R  T does exist


and has order 4  3.

R
4

T
3

compatible
order of product

It is quite common for a product A  B to exist but for the product B  A not to exist. For
example:
V

W
exists (and has order 2  3), but
23
33
W

V
does not exist.
33
23
Appendix D Matrices and 3  3 Determinants

113

It is easy to show that A  B and B  A both exist only for mn


A  nm
B :


e.g.

and
23

32

both exist.
32

23

Summary
Facts about the product of two matrices:

A  B may not exist.

Even if A  B does exist, it is possible that B  A does not exist.

Even when both products exist, in general, A  B  B  A.

It is possible that, A  B  O even though neither A nor B is the zero matrix O.

Example

 6 4  6
3

2
0

3
0

 

0
O
0

You can verify this after studying the next section.

Exercises D4
1

Using the set of matrices in Exercises D1, state whether the given product exists in each
case (answering yes or no) and, if it does exist, state its order.
a AB
b BA
c AC
d DA
e FE
f
EF
g CF
h AE
i
BD
j
CD
k DC
l
CE

D5 The identity matrix, I


Exercises D5
1

Write down the product matrix:


a b 1 0
a
c d 0 1

  

0 1 c d
1

0
1
0

0
0
1



Write down the product matrix:


a

114



a b c
d e f
g h i

Mathematics for Technicians

1
0
0

0
1
0

0
0
1

1
0
0

a b c
d e f
g h i

The principal diagonal of a square matrix is the diagonal that runs from the top left-hand corner to
the bottom right-hand corner. The square matrix, which has the number 1 for each element on the
principal diagonal and all other elements zero, plays a very special role in the theory of matrices.
1 0
is called the identity matrix of order 2, and is specified as I2.
0 1

 

1
0
0

0
1
0

0
0 is called the identity matrix of order 3, and is specified as I3.
1

For any square matrix An (i.e. of order n  n), An  In  In  An.


In plays the same role in matrix theory as unity does in arithmetic (e.g. 7  1  1  7  7),
and so it is called the unit matrix, Un or the identity matrix, In. We use the latter name and
symbol in this book.
We use capital letters to identify matrices but the capital letter I is reserved for the identity
matrix and the capital letter O is reserved for the zero matrix.
Note: For a matrix A which is not square, A  Im  A (but Im  A does not exist) and
nm

nm

nm

nm

In  A  A (but A  In does not exist).


nm

nm

nm

Remember : I stands for the Identity matrix, not the numeral 1.

Therefore, non-square matrices do not have an identity matrix.

Exercises D5 (continued)
3

For the following, write down the product matrix if it exists. If it does not exist, write
incompatible.
1 0 0
1 0 0
1 2 3
2 1 3
0 1 0 
a
 0 1 0
b
4 5 6
1 3 2
0 0 1
0 0 1

0 1 4

If

34

2
5

3
6

4
1

2
5

3
6

 0 1
1

17 13 19
17 13 19
A
, write down the matrix A.
28 15
34 28 15

Remember: an identity matrix is always square.

If B 

Does

34

 

17 13 19
17 13 19

, write down the matrix B.
28 15
34 28 15

34

17 13 19
have an identity matrix? State the reason for your answer.
28 15
Appendix D Matrices and 3  3 Determinants

115

For each of the following matrices, state whether an identity matrix exists (answering yes
or no) and, if it does exist, write it down.
2 8
3 2
7 3
a
b
7 5
1 0

 

3
6

If M 

4
2
1 5

 10

3 2 5
4
1 6
7
9 8

1
, show that a M2  I, b M3  M.
0

D6 The inverse matrix, A

The numbers 13 and 13 are said to be multiplicative inverses of one another because in
multiplication one undoes what the other does.
1

For example, 957  13  13  957, 7


  13  13  7
.
1

This occurs because 13  13  1 and 13  13  1.


Now we will see how this applies to matrices.

Exercises D6
1

If A 

5 3

1 3

2 1 and B  2 5, write down a the matrix AB, b the matrix BA.

Since both products in the exercise above are the identity matrix, you can probably guess that A
and B are said to be inverses of each other.
The inverse of matrix M is written as M1, so you have proved for the above matrices A and B
that AB  BA  I, that is, that B  A1 and A  B1.
Definition: Two matrices, A and B, are said to be inverses of one another (i.e. A  B1 and
B  A1) if AB  BA  I.

Exercises D6 (continued)
2

Given that C 
a
b
c

116

1
1
1

1
1
2

1
2 and D 
1

3 1 1
1
0
1 :
1
1
0

write down the matrix CD


write down the matrix DC
what have we proved about the matrices C and D?

Mathematics for Technicians

Given that matrix pq


A has an inverse rs
B:
a
b
c

what is the order of matrix AB?


what is the order of matrix BA?
Since these matrices are inverses of each other, by definition AB  BA  nn
I
Therefore, the orders of AB and BA are both n  n. What can you deduce about the
values of p, q, r, s and n?
Hence, if matrices A and B are inverses of each other, what can you deduce about the
shapes of the matrices A and B?

Most square matrices have an inverse, but not all of them. (Actually it can be shown that all
square matrices have an inverse except those for which the determinant A  0.)
A matrix that has an inverse is said to be invertible.

Summary

If A  B  B  A  I, then A and B are inverses of each other (i.e. A  B1 and B  A1).

A non-square matrix cannot have an inverse.

Most, but not all, square matrices have an inverse (i.e. they are invertible).

Note: You are not required to be able to find the inverse A1 of a given matrix A, but you should
be able to determine whether or not two given matrices A and B are inverses of each other by
testing whether AB  BA  I.

Exercises D6 (continued)
4

If A 

D
a
i
v
b







1
1
1

B

1
0
1

2
1
0

0
2
2

3 4 2
1 0 :
E  2
1 1 1

1 2
2 5
3 7

write down the products:


AB
ii AC
iii AD
BC
vi BD
vii BE
hence, write down: (i) matrix A1 (ii) matrix B1

1 1 0
C  1 0 1
0 2 1

1
1
2

1 2 1
Given that J  0 3 2
0 0 1
a




2
4
5

2
1
2

iv

AE

3 2 1
and K  0 1 2 :
0 0 3

write down the matrix JK


write down the matrix J1
Appendix D Matrices and 3  3 Determinants

117

1 2 2
Given that P  1 3 1
3 2 0

2 4 4
and Q  3 6 1 :
7 4 1

write down the matrix PQ


write down the matrix Q1

a
b

Note: Although you are not required to be able to find the inverse of a given matrix, you may be
interested in a quick way to write down the inverse of a 2  2 matrix:
If A 

 

a b
1
, then A1  
A
c d

d b
c
a .

To obtain A1: a interchange the elements on the principal diagonal;


b reverse the signs of the elements on the secondary diagonal;
c divide by the determinant of the original matrix.

Example


If A

4

4

2 1, then A 2 1 


3

 (4)  (6)
A

2
1 3

2
2 4

0.5 1.5
1 2

Note:

This method does not work for 3  3 matrices or higher orders.

If A  0, the matrix A has no inverse (because division by zero is not defined). Therefore,
the matrix is not invertible.

D7 The algebra of matrices


As a result of the definitions of the operations of matrices, the laws for the algebra of matrices
are mostly the same as the laws for the algebra of real numbers.
118

Mathematics for Technicians

Name of law

Real numbers

Matrices

Commutative law for addition

xyyx

ABBA

Associative law for addition

(x  y)  z  x  (y  z)

(A  B)  C  A  (B  C)

Identity law for addition

x00xx

AOOAA

(0 is the identity element


for addition)

(O is the identity matrix for


addition, the zero matrix of A)

x11xx

AIIAA

(1 is the identity element


for multiplication)

(I is the identity matrix for


multiplication for matrix A)

xx x x1

AA A AI

Identity law for multiplication

Law of multiplicative inverse

Distributive law for


multiplication

(x is the multiplicative
inverse of x)

(A1 is the multiplicative


inverse of A)

C(x  y)  Cx  Cy
(x  y)C  xC  yC

k(A  B)  kA  kB
(A  B)k  Ak  Bk

x(y  z)  xy  xz

A(B  C)  AB  AC

(y  z)x  yx  zx

(B  C)A  BA  CA

Remember:

O, the zero matrix for matrix A, has been defined as the matrix with the same order as A
but having all its elements zeros.

I, the identity matrix for matrix A, has been defined for square matrices only, being the
matrix having the same order as A, with all the elements on the principal diagonal being 1
and all the other elements being zero.

A1, the inverse of matrix A, has been defined for square matrices only, being the matrix
such that AA1  A1A  I. The only matrices that have an inverse are square matrices
whose determinant  0.

Hence, most algebraic operations with matrices are already quite familiar to us.

Examples
1

If

3A  4B  5C

then

3A  5C 4B
1

 A  3(5C 4B)
2

(A  B)(C  D)  AC  AD  BC  BD

Appendix D Matrices and 3  3 Determinants

119

(A  B)(A  I)  A2  AI  BA  BI
 A2  A  BA  B

A(A1  I)  AA1  AI
 I  A, or A  I
1

A(A B)  (AA1)B  IB  B

AB  A  AB  AI
 A(B  I), not A(B  1) because we cannot add a real number to a matrix

A (A  I)  A1A  A1I
 I  A1, or A1  I

However, there is a difference between the algebra for matrices and the algebra for real numbers
when we are multiplying because, as we have already noted, in general:
A  B  B  A.
(You are reminded that this statement does not mean that they can never be equal but that we
cannot assume they are equal, because usually they are not equal.)
Hence, care must be taken to maintain the correct order of matrices when multiplying.
For example, A(B  C)  (B  C)A and ABA1  A1AB (which would equal B).
The only occasion when multiplying matrices is commutative is when they are inverses of one
another (AA1  A1A [ I]) or when one of them is the identity matrix (AI  IA [ A]).

Example
Make K the subject of the equation AK  B.
We proceed thus: AK  B
 A1(AK)  A1B (not BA1)
 (A1A)K  A1B
 K  A1B

Note: We cannot add a matrix and a real number (e.g. A  2 makes no sense). But we can
always replace A by AI or by IA.

120

Mathematics for Technicians

Example
Solve the matrix equation AF  2F  B, for F.
AF  2F  B
 AF  2IF  B
(A  2I)F  B
1

 (A  2I) (A  2I)F  (A  2I)1B


 F  (A  2I)1B

Exercises D7
1

Simplify, removing all brackets:


1
a A(A B)
1
1
c A(BA )  A(A B)
2
e I
2
g (A  I)
i
A(I A1)  I2
Solve the following matrix equation for X:
a 2X A  B
c

3(A 2X)  2(3A X)

Solve the following matrix equations for X:


a AX  B
c 2A  AX  B
1
e X A
g AX  X  B
i
X  XA  B

If AB  AC:
a does it follow that B  C (yes or no)?
b and B  C, what is B equal to?

If AB  CA:
a does it follow that B  C (yes or no)?
b and B  C, what is B equal to?

b
d
f
h
j

b
d

b
d
f
h
j

A(A1I)
AB(A1B  B1A)
I2  I3
(A  I)(B  A)
A(A1  I) B1B IA
C 3X  D
XA
X 3B
   
3
2
XA  B
AX  I  B
3X AX  B
AX  B  C X
2X  B  C 2XA

Appendix D Matrices and 3  3 Determinants

121

Note:

The matrix, A  B  C  (A  B)  C  A  (B  C), the associative law, but we must


not change the order of the matrices when they are being multiplied.

The matrices ABC, ACB, BCA, BAC, CAB and CBA are probably all different matrices.

However, consideration will show you that if k is a constant (i.e. a real number), then
k  (A  B)  (k  A)  B  A  (k  B). Which matrix we multiply by k, either A  B
or A or B, makes no difference to the final result. Although we must not change the
positions of the matrices, we may change the position of a constant, k.

Note also that k  A  k  AI  A  kI.

Exercises D7 (continued)
6

Solve the following matrix equations for X:


a 3X  2XA  C B
b

A  2X  B  3XC

D8 Expressing simultaneous
equations in matrix form
Exercises D8
1

Find the following products and state their order:


3
5 2
2 3 x
1
4
3
a
b
5 4 y
2 3
4

3x  4y
2x 5y

Solve for x and y:


2x
8
a

3y
9

   

2x 3y  4z
x  2y 5z
3x y  2z

3a 5b  2c
2a  4b
5a 7c

12 1 y  27


13

29

Express as a system of simultaneous equations:


a

122

 

Express as the product of two matrices:


a



x
y
z

2x  3y

 5x 2y  4
3

3x 2y  4z
6
2x  3y 5z  7
x 4y  2z
8

 

Mathematics for Technicians

2

5
4

 y  7

1
2
0
1
1 2

3
2
0

   
x
4
y  5
z
6

Express each of the following systems of simultaneous equations as a single matrix equation:
5a  7b 3c  17
4x 5y  6z  9
7a 2b 8c  13
7x  3y  5
a
b
3a  5b  5c  19
3x 8z  7

D9 Solving simultaneous linear


equations using matrices
A simple example is probably the best way to demonstrate how to solve simultaneous linear
equations using matrices.

Example
Solve the simultaneous equations

{ 5x3x2yy  65
given that the inverse of

5 2

1

3 1 is 3 5.


2

Steps
1

Express the equations as a single matrix equation:


5 2

3 1 y  5


2

Multiply both sides by the inverse matrix:


1

5 2
1

 3 5  3
3

1

 y   3 5 5
x

Multiply out the matrices on each sidewe know the product on the left-hand side because:
1 0
A1A  I 
.
0 1

 

0 1 y  7
1

y  7
x

 x  4, y  7

1
Warning: The error most often made is in step 3. Remember that
3
6
1 2
because for matrices A  B  B  A.
5
3 5



 5 is not the same as

2
5

This method involves knowing the inverse of the matrix formed by the coefficients in the
equation. You are not expected to be able to find the inverse of a given matrix, so either you
Appendix D Matrices and 3  3 Determinants

123

would be given the required inverse or you would be expected to deduce it by showing that the
product of two given matrices  I.

Example
1
If M  3
2

2
5
1

1
11
1
1 and N   8
2
2
7

5
4
3

3
2 :
1

find the matrix MN


write down the matrix M1
express the given system of linear equations as a single matrix equation and use the
result of b above to solve these simultaneous equations:

a
b
c

x  2y  z  1
3x  5y  z  2
2x  y  2z  9

Solutions
a

2
1
MN   0
2
0

11 5 3
1
M   8
4 2
2
7 3 1

0
2
0

0
1
0  0
2
0

 

0
1
0

0
0
1

Note: So that the matrix M will match the coefficients of the third equation, we write the third
equation as 2x y 2z  9.
1
2 1
x
1
c
3
5 1
y  2
2 1 2
z
9

   
  

x
1
M y  2
z
9

x
11 5 3
1
 M M  y   8
4
2
2
z
7 3 1
1

 

6
1
  2
2
4



x
3
 y  1
z
2

  

 x  3, y  1, z  2

124

Mathematics for Technicians

 
1
2
9

Exercises D9
1

Express the simultaneous equations


2x 3y  9
5x 7y  22
as a single matrix equation.
Solve the above equations using matrices, given that the inverse of the matrix
2 3
7 3
is
5 7
5 2

 

You are given that if A 


a

If P 

c d then A
a

d b
1
  
c a
A

5 4:
3

evaluate P

ii

write down the matrix P

Use the result for P1 above to solve the system of equations


3x  2y  4
5x  4y  10
4
3
2
3
If M 
and N 
:
1 2
1 4
b

find the product MN

write down the matrix M1

use the result of a above to solve the simultaneous equations below, showing each step
of the working:
4x  3y  7
x 2y  10

4 1
1
1 2
3
2 5
7 . Use this result to solve the system
The inverse of 3 2 1 is
1 1 1
1
3 5

 

4a b  c  15
of equations 3a 2b c  13 .
abc3

11 5 3
1
2 1
1
4
2 and Q  
If P  8
3
5 1 :
2
7
3
1
2 1 2

a
b

write down the matrix PQ


write the system of equations below as a single matrix equation:

Appendix D Matrices and 3  3 Determinants

125


c

11x 5y 3z  12
8x  4y  2z  10
7x  3y  z  10

use the result of a above to solve the simultaneous equations in b using matrices.

3 4
If P  2 1
1 1

a
b
c

 

2
0 ,Q
0

1 2
2 5
3 7

2
3 4 2
4 , R  2
1 0 :
5
1 1 1

 

write down the matrices (i) PQ (ii) PR (iii) QR


which two of these three matrices are inverses of each other?
express the simultaneous equations
a  2b 2c  3
2a  5b 4c  7
3a  7b 5c  8
as a single matrix equation
solve the above equations using matrices


d
7

Solve the following systems of simultaneous equations using matrices:


3x  2y 2z  3
3
2 2
2x  2y z  1
2
2 1 is
a
given that the inverse of
4x 3y  2z  0
4 3
2
b

126









2a 4b c  0
5a 10b 3c  1
15a 29b 9c  5

given that if K 

2p  3q  3r  2
3p  5q  5r  4
5p  3q  4r  0

2
given that 3
5

3
5
3

3
5
4

2x  3y  2z  1
3x  4y  3z  1
5x  y  4z  1

2
given that 3
5

3
4
1

2
3
4






2
4 1
3 7
5 10 3 , then K1  0 3
15 29 9
5 2


 



a  2b  3c  2
2a  3b  4c  0
3a  b 2c  17

1 2 3
given that 2 3 4
3 1 2

2a  2b  6
3a  2b  c  0
7a  5b  2c  1

given that if M 

5 3
0
1
13 7 1  0
16
9
1
0

 

 


1
1
1




2
1
0

0
1
0

0
0
1

0
1
0

0
0
1

6
3
2
4 2 , then M1  3
11 5
7

3
2
5

13 10
1
3 2
0

17 13 1

23x  5y 35z  2
7 5 5
13x  3y 20z  1 given that 3
2 5
19x  4y 29z  2
5 3 4

Mathematics for Technicians

 

1 2 2
0
2
1
2 1 2

23
13
19

5
3
4

35
1
20  0
29
0

10
7 1
16 11 2  I
7
5 1

0
1
2

32x 71y 6z  1
38x 84y 7z  1
5x 11y z  0

32 71 6
given that 38 84 7
5 11 1

7p 18q  3r  5
5p 13q  2r  3
11p 29q  5r  8

7
given that 5
11

18
13
29

3
2
5

3k 2n  2t  0
5k 3n  3t  1
7k  5n  4t  2

3
2
given that 41 26
46 29

0
1
1

2x  3y  2z  2
5x  2y  6z  11
3x  5y  3z  4

2
3 2
given that the inverse of 5 2 6 is
3
5 3

2a  3b  2c  0
3a  4b  3c  1
5a  5b 5c  55

2 3
2
3
given that 3 4
5 5 5

3x  2y  6z  1
4x  3y  5z  1
5x  5y  2z  0

3
given that 4
5

4p  5q  7r  21
7p 2q 5r  0
3p  3q  4r  13

4 5 7
given that 7 2 5
3 3 4

2x  3y  2z  1
3x  2y  3z  6
5x  5y  4z  0

2
given that 3
5
















7 5
7
3 2
4
2 3 10

 


2
3
5

3
2
5

2
3
4

 

1
 
10

1
 
7

36 1 22
3
0
2
31 1 19

35 25
1
30 20
0
5
5 1


 


35
5 55
215 25 345 
135 15 215

1
 
10

19 26 8
17 24
9
5 5
1

 

 

6
5
2

0
0
1

3 2
2
5 3
3 I
7
5 4






0
1
0

7 3 3
 3 2 1
2 5
1

 

1

1
 0
0

14
6
10

10 0
0 10
0 0

0
0
10

4 10
4
0
10 10

By now you will have realised that the solution to any system of simultaneous equations is:
U  C1  K
where: U is the matrix formed by the unknowns;
C is the matrix formed by the coefficients;
K is the matrix formed by the constants.

Hence, matrices provide a general method for solving any number, n, of simultaneous equations
with n unknowns. A computer program can easily be designed for this purpose.
Note: Although a solution can be set out very concisely using the above formula, in an
examination a student should show every step of the solution.

Appendix D Matrices and 3  3 Determinants

127

D10 3  3 determinants: definition


and evaluation
a b c
d e f is a square array of elements having three rows and three columns. It is called a
g h i 3  3 determinant or a determinant of third order.

In Appendix C the value of a second order determinant was defined so that it provided a
shorthand method of solving two simultaneous equations in two unknowns. The value of a
third order determinant is defined so that it provides a shorthand method of solving three
simultaneous equations in three unknowns.
The value of the above determinant is defined as aei  bfg  cdh gec hfa idb. There are
several ways of obtaining this result without having the very difficult task of committing it to
memory. We will use the method called the Rule of Sarrus. This method is the simplest but it
applies only to determinants of order three. (Later, when you study determinants of higher
orders, you will learn other methods and ones that are easier to program for a computer.)

The Rule of Sarrus


1

Write down the determinant, repeating the first two columns.

Obtain the products on the diagonals as shown below.

Add the lower products and add the upper products.

Subtract the sum of the upper products from the sum of the lower products.
a b c
Follow the application of this rule as we apply it to the general determinant d e f
g h i
a b c a b
d e f d e
1
g h i g h
4

(Sum  gec  hfa  idb)

2, 3
gec

hfa

idb

aei

bfg

cdh

(Sum  aei  bfg  cdh)


4

128

Value: (aei  bfg  cdh) (gec  hfa  idb)

Mathematics for Technicians

Example
2 0 3
0
Evaluate: 1 4
3 1 2
Method:

(Sum  36)
36

16

(Sum  13)
Value:  (13)  (36)
 23

Hint: When copying down a determinant be very careful to include any negative signs. Check
your copy before working on it. If you copied it row by row, check it column by column. It is
very annoying to work on data that is later discovered to have been copied down incorrectly.

Exercises D10
1

Evaluate: (Note: All the elements are exact numbers.)


a

2
3
5

1 2
0 1
0
1

1
1
1 1
1
1

0
2
2

3
0
2

1
4
3

2
1
2

42
36
37

28
29
30

62
91
47

4
0
4

3
5
5
0
4 5

1
2
3
2 3 8
5 2
1
0
t
t
0
n x

n
x
0

20 24
28
31
47 64
83 51 86

Appendix D Matrices and 3  3 Determinants

129

In each case below, evaluate the pronumeral:


x 2x 3x
1 2 0 9
a
b
0 1 3
c

2
1
1

n
n
n

1
1
k

1
2 5
1
0
2
2

k
1
2 
1
0
2

k
6
0 2
1
k

1
2
3
t
4
2

x
0
1

2
x  10
1
t
1
t

1
0 3
t

D11 Solutions of simultaneous linear


equations using 3  3 determinants
A system of three linear equations in three unknowns may be solved algebraically by the
elimination method.
However, this method is usually very tedious and the equations are more easily solved using
determinants.
a1x  b1y  c1z  d1
The general equations are: a2x  b2y  c2z  d2
a3x  b3y  c3z  d3

If we solve these equations by elimination we obtain the solution:


x
y
z
x  , y  , z  



a1
where:   a2
a3

b1
b2
b3

c1
c2 , which is the determinant formed by using the coefficients on the
c3 left-hand side of the equation;

d1
x  d2
d3

b1
b2
b3

c1
c2 , which is the same determinant but with the coefficients of x
c3 replaced by the constants (i.e. the numbers on the right-hand side);

a1
y  a2
a3

d1
d2
d3

c1
c2 , which is  again but with the coefficients of y replaced by the
c3 constants;

a1
z  a2
a3

b1 d1
b2 d2 , which is  again but with the coefficients of z replaced by the
b3 d3 constants.

130

Mathematics for Technicians

Example

Given:

x  2y  3z  4
3x  y  2z  7
4x  4y  3z  3

12

1 2
3
 (17)  2
  3 1 2
 19
4 4
3

4
3

1
4
3
 (80)  (42)
y  3 7 2
 38
4 3
3

32

Solution


19
x  x    1

19
y
38
y      2

19
z
57
z      3

19

42

(65)

12

12

84

(84)

84

36

(42)

3
32

16

36 (17)

21

1 2
4
 (5)  (62)
1 7
z  3
 57
4 4 3

(2)

4
16

4 2
3
 (84)  (65)
x  7
1 2
 19
3 4
3

18

27 (80)

28

56

18

(62)

48

(5)

Appendix D Matrices and 3  3 Determinants

131

Points to note

After much practice, the value of a determinant can be found on a calculator, using the Rule
of Sarrus, showing no intermediate results. The diagonal products can be summed using the
M and M keys. However, for the time being, you are advised to write down the product of
each diagonal before adding it to the calculator memory, as in the examples given. This
allows you to check your work more easily and also allows for credit to be given in an
examination for knowledge of the method even if an error is made during the computation.

When you have solved a set of simultaneous equations, check your result by substituting
your values back into the original equations. You will be surprised how often careless errors
are made during a long series of calculations.

When using a calculator, always work with all the significant figures in the data. State your
result to the appropriate number of significant figures, that is, the number required or
justified.

Hints:

Before using the Rule of Sarrus to solve a set of simultaneous equations, make sure
that:
i

all the equations have the pronumerals in the same order;

ii

all the pronumerals are on the left-hand sides of the equations and all the
constants are on the right-hand sides;

iii if a pronumeral is absent from an equation, write it in with a zero coefficientfor

example, if there is no y in an equation, write it in as 0y.


b

When copying down an array to work on, be careful to place the elements in a neat
rectangle so that the diagonal elements are approximately in straight lines. An untidy
array leads to errors in computation.

Before working on your arrays, check that you have made no errors, especially by
omitting any negative signs. Discover any errors before you start to multiply.

When multiplying out diagonals, either mentally or with a calculator, ignore any
negative signs present. Decide after the multiplication whether the product should be
positive or negative.

Exercises D11
1

Solve for the pronumerals using determinants (do not use a calculator):
a

132

2x  y  3z  4
3x y 4z  5
4x  3y  2z  1

Mathematics for Technicians

2p 4q  3r  8  0
p  3q 2r  2  0
3p 5q 4r 4  0

3x  2y  4z  7
2y 3z  4x  6
4z 5x 2y  7

4n 3p  5t  3
3n  4p  6
5p 4t  4

Solve for the pronumerals using a calculator:

37x  49y  76z  98


68y 34x 93z  136
82z 36y  29x  72

0.002x  0.003y  0.001z  0.01


0.3x 0.4y  0.2z  0.8
4000x  5000y 3000z  4000

Hint: In b, multiply or divide both sides of each equation by a constant so as to obtain simpler
numbers.
State results correct to 3 significant figures.

2(3.7k 1.4t)  3(4.3t  2.6w)  8.7  0


4(2.3k  1.7w) 5.3w 6.1  0
3(3.9k  4.2t)  0

F2

F3

37

53

F1
1m

1m

1m
2 kN

The equations for equilibrium of this beam are:


Vertical forces:

0.6F2 2  0.8F3  0

Horizontal forces:

F1  0.8F2 0.6F3  0

Moments about point P: 0.6F2 4  2.4F3  0


Using determinants, solve for F1, F2 and F3, stating the results correct to 3 significant
figures. Explain the meaning of any negative values.
4

6V

12 V
I1

I2

I3
12 V

Appendix D Matrices and 3  3 Determinants

133

Applying Kirchhoffs laws to this network:


4I1  2(I1 I2)  12
2(I2 I1)  3(I2 I3)  6
3(I3 I2)  4I3  12
Use determinants to solve for I1, I2 and I3, stating their values correct to 3 significant
figures.
5

A developer receives council permission to divide his land of area 44 ha into 100 blocks,
the only areas allowed for a block being 2 ha, 0.5 ha and 0.2 ha. He prices the 2 ha blocks
at $100 000 each, the 0.5 ha blocks at $40 000 each and the 0.2 ha blocks at $20 000 each.
He sells all the blocks, the total gross income from the sales being $3 200 000. How many
blocks of each size did he sell?

A firm has a stock of three different bronze alloys. Alloy A consists of 95% copper, 3% tin
and 2% zinc. Alloy B consists of 90% copper, 9% tin and 1% zinc. Alloy C consists of 80%
copper, 15% tin and 5% zinc.
How many kilograms of each of these alloys must be melted and mixed in order to produce
100 kg of a new alloy that consists of 87% copper, 9.6% tin and 3.4% zinc?

134

Mathematics for Technicians

Das könnte Ihnen auch gefallen