Matrices and
their applications
5
syllabus ref
efer
erence
ence
Core topic:
Matrices and applications
In this cha
chapter
pter
5A Inverse matrices and
systems of linear equations
5B Solving simultaneous
equations — the Gaussian
elimination method
5C Introducing determinants
5D Properties of determinants
5E Inverse of a 3 ¥ 3 matrix
5F Cramer’s Rule for solving
linear equations
MQ Maths C Yr 11 - 05 Page 188 Tuesday, October 9, 2001 4:10 PM
188 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
Input–output analysis
To enable government bodies and companies to plan for future needs, input–output
analysis models are employed. In these models the interaction between major com-
ponents of an economy is analysed so that the effect of an increase in one component
can be measured against the demand for one product in other industries.
Input–output models were first developed by Nobel Prize winner, Wassily
Leontief; they are used to describe economies where demand equals supply, or con-
sumption equals production. These models can be applied to whole economies or to
segments within economies.
The model, as presented here, is based on the idea that there is a finite number of
goods that are produced, consumed or used as input for the same finite number of
industries. Each industry produces only one type of product and can use some of its
own product. Each industry and its products are interdependent. The total demand of
product is the sum of the demands throughout the entire production process as well as
the demand for the product by consumers.
Consider an economy comprising
only 2 industries — coal and steel.
One tonne of steel requires an input of
0.5 tonne of coal as well as 0.4 tonne
of steel (perhaps in the form of
machinery and plant). To produce 1
tonne of coal, 0.3 tonne of steel and
0.4 tonne of coal are required (perhaps
to produce the steel needed for
machinery). Suppose also that the total
demand for steel is 18 tonnes and for
coal 15 tonnes.
Let x1 and x2 denote the total demands for coal and steel respectively. This
information can be presented on an input–output table.
User
Final Total
Producer Coal Steel demand demand
I − A = 1 0 − 0.4 0.3
0 1 0.5 0.4
1
= --------------------------- 0.6 0.3 15
0.36 – 0.15 0.5 0.6 18
1
= ---------- 14.4
0.21 18.3
= 68.57
87.14
Thus, in order to provide the final demand of 18 tonnes of steel and 15 tonnes of coal
in this economy, the steel industry must produce 87.14 tonnes of steel and the coal
industry must produce 68.57 tonnes of coal.
These values can also be regarded as equilibrium values — if these values are met
then the input will match the output — thus eliminating both over- and under-
production.
MQ Maths C Yr 11 - 05 Page 190 Tuesday, October 9, 2001 4:10 PM
190 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
remember
remember
1. Matrices can be used for input–output analysis.
2. An input–output analysis matrix can be written as
X = AX + D where
matrix X contains the variables to be determined and is called the output matrix
matrix A contains information about the input details and is called the
technology matrix
matrix D contains information about the final demand and is called the final
demand matrix.
3. The matrix equation X = AX + D can be rearranged to make X the subject:
X = (I − A)–1D
5 Find the equilibrium values for the supply and demand model
x = 21 − 4y (demand)
x = 15 − 3y (supply).
6 The technology matrix for an economy which produces only 2 commodities is given by
x
A = 0.2 0.6 and the final demand matrix D = 25 . Solve X = 1 .
0.1 0.5 36 x2
MQ Maths C Yr 11 - 05 Page 191 Tuesday, October 9, 2001 4:10 PM
192 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
a b u
We can combine matrices A and B as where this is referred to as an
c d v
augmented matrix, denoted by [A | B].
The following example shows the familiar algebraic process involved in solving
simultaneous equations, only this time it is in matrix form. These steps will work
towards producing the identity matrix I on the left-hand side and then the solution will
be on the right-hand side.
[A | B] → [I | X]
WORKED Example 1
Solve this system of simultaneous linear equations:
x + 2y = 3
2x + 3y = 5
THINK WRITE
X = 1 , that is x = 1 and y = 1
1
7 Verify your answers by substitution into 1 + 2(1) = 3 (true)
the original equations. 2(1) + 3(1) = 5 (true)
All the communication given to the left of each matrix should be included in your own
work as justification for how you have proceeded from one step to the other, and also
for your own reference.
MQ Maths C Yr 11 - 05 Page 193 Tuesday, October 9, 2001 4:10 PM
WORKED Example 2
Solve this system of linear equations.
x + 2y + z = 8
x−y+z=9
x + y + 2z = 4
THINK WRITE
1 2 1 8 x
1 Set the equations in matrix form. A = 1 –1 1 B= 9 X= y
1 1 2 4 z
1 2 1 8
2 Convert to augmented matrix [A | B] = 1 – 1 1 9
form. 1 1 2 4
1 2 1 8
3 The first element to eliminate is R3 – R1: 1 – 1 1 9
a31 (1) so use R3 – R1 (in row 3). 0 –1 1 –4
1 2 1 8
4 Next work on a21(1), directly R2 – R1: 0 – 3 0 1
above a31 so R2 – R1 (in row 2). 0 –1 1 –4
1 2 1 8
5 Next eliminate a32 (1) so use R3 – 1--3- R2: 0 – 3 0 1
R3 – 1--3- R2 (in row 3). 0 0 1 – 4 1--3-
1 2 0 12 1--3-
6 Next roll row 3 back up to R1 – R3: 0 – 3 0 –1
eliminate a13 (in row 1).
0 0 1 – 4 1--3-
194 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
THINK WRITE
1 0 0 11 2--3-
7 Then roll row 2 back up to R1 + 2--3- R2: 0 – 3 0 –1
eliminate a12, then make a22 = 1.
0 0 1 – 4 1--3-
1 0 0 11 2--3-
R2 ÷ −3: 0 1 0 1
---
3
0 0 1 – 4 1--3-
11 2--3-
8 State the value of matrix X. Therefore X = 1
--- where x = 11 2--3- , y = 1--3- , z = −4 1--3- .
3
– 4 1--3-
This method can be quite frustrating if you ‘get lost’. The following recommendations
will help:
1. Work on only one row at a time in any one step, unless the operation is quite
straightforward and the line in question isn’t involved in any other procedures in that
step.
2. Generally speaking, the first element to eliminate is the lower left-hand corner, then
the element directly above it.
3. Work to eliminate all elements below the leading diagonal then roll back lower rows
to eliminate elements above the leading diagonal.
THINK WRITE
A−1 = 2 –1
–1 1
WORKED Example 4
1 2 1
–1
Find A (if it exists) for A = 1 0 1 .
0 1 3
THINK WRITE
1 2 1 1 0 0
1 Set up the augmented [A | I] = 1 0 1 0 1 0
matrix. 0 1 3 0 0 1
1 2 1 1 0 0
Eliminate a21. R2 − R1: 0 – 2 0 – 1 1 0
0 1 3 0 0 1
196 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
THINK WRITE
1 2 1 1 0 0
2 Eliminate a32. R3 + 1--2- R2: 0 – 2 0 – 1 1 0
1
0 0 3 – 1--2- ---
2
1
1 0 1 0 1 0
3 Eliminate a12. R1 + R2: 0 – 2 0 – 1 1 0
1
0 0 3 – 1--2- ---
2
1
1 5
1 0 0 ---
6
---
6
– 1--3-
4 Eliminate a13. R1 − 1--3- R3: 0 – 2 0 – 1 1 0
1
0 0 3 – 1--2- ---
2
1
1 5
1 0 0 ---
6
---
6
– 1--3-
5 Reduce a22 and a33. and R2 ÷ −2 0 1 0 1 1
--- – --- 0
2 2
and R3 ÷ 3: 1 1 1
0 0 1 – --6- ---
6
---
3
1 5
1 0 0 ---
6
---
6
– 1--3-
6 This is now in the 0 1 0 1
--- – --12- 0
2
form [I | A−1]. 1 1
State A−1. 0 0 1 – --16- ---
6
---
3
1 5
---
6
---
6
– 1--3-
A−1 = 1
--- – 1--2- 0
2
1 1
– 1--6- ---
6
---
3
1 5
--- --- – 1--3-
6 6 1 2 1
8 Verify that A−1A = I. A−1A = 1
--- – 1--2- 0 1 0 1
2
1 1 0 1 3
– 1--6- ---
6
---
3
1 0 0
A−1A = 0 1 0
0 0 1
MQ Maths C Yr 11 - 05 Page 197 Monday, October 15, 2001 6:33 AM
History of mathematics
CARL FRIEDRICH GAUSS (1777–1855)
remember
remember
For a set of simultaneous equations represented by matrices A, X, B such that
AX = B, Gaussian elimination can be used to change an augmented matrix [A | X]
to [I | X] and [A | I] to [I | A–1] where I is the identity matrix.
MQ Maths C Yr 11 - 05 Page 198 Tuesday, October 9, 2001 4:10 PM
198 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
Solving simultaneous
5B equations — the Gaussian
elimination method
Use the Gaussian method of elimination to solve the following systems of linear equa-
tions.
WORKED 1 2x − y = 1 2 3a + 2b = −11
HEET
5.1 Example
1
3x + 2y = 5 a + 3b = −6
SkillS
WORKED 3 2y − z = 5 4 3x + 4y − z = 11
Example
2
x + z = −1 x − y + 2z = −1
2x − y − z = 6 5x + y − 3z = 7
5 3x + 4y + z = −10
2x + y + 2z = −5
x − 2y + 2z = 0
6 Use Gaussian elimination to find the inverses of the following matrices, if they exist.
WORKED
Example 1 2 3 1
3 a b
2 3 2 2
WORKED 1 2 2 2 1 0
E xample
c 0 1 3 d 0 2 0
4
1 3 2 2 2 1
7 Write each of the systems of linear equation below in the matrix form AX = B and find
inverses to solve the equations.
a 2x + y = 6 b 3x + 2y = 9 c x + y − z = −6
x + 3y = 4 1--2- x + 4y = 7 2x − y + 2z = 1
2x − z = 5 x + 2y = −7
Introducing determinants
As mentioned in the previous section, Gaussian elimination is just one method used to
solve systems of linear equations. Other methods involving determinants of matrices
were used as early as 1100 BC by the Chinese and more recently by Gabriel Cramer
(1704–52) and Augustine Cauchy (1789–1857).
You were introduced to determinants in chapter 3 on matrices where a quick test to
determine whether a matrix was singular (that is, had no inverse) was to evaluate its
determinant.
1 1
For example, for A = 2 2 A–1 = ------------------------------ 1 – 2 = --- 1 – 2 .
1 1 2 × 1 – 2 × 1 –1 2 0 –1 2
Because the determinant of A = 0, no inverse exists such that A–1A = I.
By definition, if A = [a], then det A = | a | for a 1 × 1 matrix.
MQ Maths C Yr 11 - 05 Page 199 Tuesday, October 9, 2001 4:10 PM
Therefore the determinant can only be found for a square matrix A and is denoted by
straight brackets, | |, not the square brackets [ ] used for a matrix. Its value is a single
numerical answer, not a table of values like a matrix.
WORKED Example 5
Evaluate the determinant of A = 2 1 .
3 2
THINK WRITE
Determinant of a 3 ¥ 3 matrix
As with the inverse of matrices, we need to be able to find determinants of matrices
larger than 2 × 2.
Note that the coefficients of each sub-determinant are the elements of row 1 and the
minor of a11 is formed by using elements not in row 1 or column 1. That is, mentally
cross out the first row and first column.
a b c
d e f and similarly for the other minors.
g h i
The second coefficient is given a negative sign.
MQ Maths C Yr 11 - 05 Page 200 Tuesday, October 9, 2001 4:10 PM
200 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
WORKED Example 6
2 1 3
Evaluate the determinant 1 1 2 .
–1 2 0
THINK WRITE
1 Use elements of row 1 as the
coefficients of the minors. 2 1 3
1 –1 2
–1 2 0
= 2 –1 2 − 1 1 2 + 3 1 –1
2 0 –1 0 –1 2
2 Evaluate minors. = 2(−1 × 0 − 2 × 2) − 1(1 × 0 − 2 × −1) +
3(1 × 2 − −1 × −1)
= 2(0 − 4) − 1(0 + 2) + 3(2 − 1)
= −8 − 2 + 3
= −7
If det A = 0 then the inverse of A does not exist since det A = ad − bc, where
remember
remember
1. By definition, if A = [a], then det A = | a | for a 1 × 1 matrix.
a b c
3. If A = e f −b d f +c d e
d e f , det A = a
h i g i g h
g h i
where the 3 sub-determinants are referred to as minors.
MQ Maths C Yr 11 - 05 Page 201 Tuesday, October 9, 2001 4:10 PM
5C Introducing determinants
Evaluate the determinants of the following matrices:
1
2 3 5 1 0 1 --- 1
1 2 3 1
4 2
5.2
0 1 2 3 ---
2
3 1
--- 2 HEET
4
SkillS
5 Evaluate the following determinants:
6
1 –3 2 –1 –1 0 0 2 –3
a –1 4 3 b –3 4 2 c –3 1 2
0 2 5 2 3 5 6 3 2
1 1 1 2 5 –1 0 0 0
d 2 2 3 e 3 –2 4 f 2 3 –5
0 3 4 –1 –2 –3 6 8 1
1 1 1 1 2 3 2 1 3
g 2 2 2 h 0 4 5 i 4 0 5
3 3 3 0 0 6 0 0 6
4 10 – 2 ET 5.1
SHE
j 3 –2 4
Work
–1 –2 –3
Properties of determinants
In question 5 of the previous exercise, review parts a and b, f, g and h. Do you notice
any patterns that you think could occur in other situations? In fact there are 8 properties
of determinants that can be very useful. We have already used one of them (see prop-
erty 6 given on the next page) in using the Gaussian method to solve systems of linear
equations.
The 8 properties of determinants are given below.
Property 1 Determinant of a transpose
For every square matrix A, det A = det A′ where det A′ is the determinant that results
from the transpose of A as seen in questions 5 a and b above.
Property 2 Identical rows
If 2 or more rows (or columns) of a matrix are identical or in proportion, then det A = 0
(this can be seen in question 5 g).
MQ Maths C Yr 11 - 05 Page 202 Tuesday, October 9, 2001 4:10 PM
202 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
Property 8 Det I
If I is the identity matrix then det I = 1 (this property follows from property 7).
Some of these properties are easier to identify than others. For instance, a matrix
with a zero row or column is readily identified. As well as these properties there are
other short-cut methods that are very convenient for calculating determinants. The
following expansion is one of these.
Note: The initial example (worked example 6) used a (−) in front of the second
coefficient because the first row elements were used as the coefficients of expansion.
MQ Maths C Yr 11 - 05 Page 203 Tuesday, October 9, 2001 4:10 PM
Follow the next worked example to see how this alternative row or column can be
used.
WORKED Example 7
1 2 1
Evaluate 1 3 6 .
1 4 9
THINK WRITE
1 Because we can expand by any row or
column, use column 1 as it will have
(+)
coefficients of 1. 1 2 1
i(i) With a different colour pen write in (–)
1 3 6
the signs of the elements. Don’t get (+)
them confused and think a21 = −1. 1 4 9
(ii) Draw an arrow to indicate the
row/column of expansion.
3 Complete the expansion. Take care with = 1(27 − 24) − 1(18 − 4) + 1(12 − 3)
the minus sign and the brackets. = 3 − 14 + 9
= −2
In the example above any row or column could have been used, but you can see that if
column 1 is used the coefficients will be 1 — a number that is easy to multiply by.
Also, any row or column with mostly zeros allows you to complete the expansion
faster, so it is useful to use that row or column to expand by.
For square determinants greater than 3 × 3, this simple alternating pattern of signs is
continued.
For example a 4 × 4 determinant can be evaluated using alternating signs of the
coefficients. The signs in front of the coefficients can be determined from the matrix
shown below.
+ – + –
– + – +
+ – + –
– + – +
MQ Maths C Yr 11 - 05 Page 204 Tuesday, October 9, 2001 4:10 PM
204 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
remember
remember
All determinants have the following properties:
1. For every square matrix A, det A = det A′ where det A′ is the determinant that
results from the transpose of A.
2. If 2 or more rows (or columns) of a matrix are identical or in proportion, then
det A = 0.
3. If all the elements of a row (or column) are zero, then det A = 0.
4. If 2 rows (or columns) of A are interchanged to give B, then det A = −det B.
5. If a row (or column) of matrix A is multiplied by a constant k (where k ≠ 0), to
give matrix B, then det B = k det A .
6. If a non-zero multiple of a row or column of A is added to another row or
column, then the determinant is unchanged.
7. If all the elements below the leading diagonal are zero, then det A equals the
product of the elements on the leading diagonal.
8. If I = identity matrix then det I = 1.
5D Properties of determinants
Evaluate the following determinants:
1 2 1
2 a 3 6 0 b State the property involved.
7 1 2 1
0 0 4
3 a 2 0 5 b State the property involved.
3 0 –2
2 3 6 3 2 6
4 a 1 –1 1 b –1 1 1 c State the property involved.
2 1 0 1 2 0
2 –1 3
7 a 0 4 7 b State the property involved.
0 0 1
MQ Maths C Yr 11 - 05 Page 205 Tuesday, October 9, 2001 4:10 PM
9 Use any of the properties investigated in earlier sections to evaluate the following
determinants:
2 3 4 4 3 1 1 1 –1
a –1 1 1 b –1 6 1 c 0 1 1
0 1 0 2 5 1 2 1 0
2 1 1 3
1 0 0
d e 1 0 0 1
–1 0 4
–1 0 0 2
3 2 –1
2 0 1 3
Inverse of a 3 × 3 matrix
In chapter 3 on matrices you were introduced to the idea of an inverse matrix A–1 where
AA–1 = I.
a b 1
For A = the inverse matrix A–1 = ------------------ d – b , where ad - bc ≠ 0 and
c d ad – bc – c a
ad - bc = det A.
This rule is limited to 2 × 2 matrices. However, in its most general form it can be used
to find the inverse of any square matrix, if the inverse exists.
The steps below demonstrate how the above formula can be used to find the inverse
of a 3 × 3 matrix.
2 3 1
For matrix A = 4 6 5
9 7 8
1. Matrix C, the cofactor matrix of A, is obtained by replacing each element of A with
its corresponding cofactor or signed minor.
6 5 – 4 5 4 6
7 8 9 8 9 7
13 13 – 26
C= – 3 1 2 1 – 2 3 = – 17 7 13
7 8 9 8 9 7 9 –6 0
3 1 – 2 1 2 3
6 5 4 5 4 6
MQ Maths C Yr 11 - 05 Page 206 Tuesday, October 9, 2001 4:10 PM
206 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
2. The adjoint of A is the transpose of the cofactor matrix and is written adj A.
13 – 17 9
adj A = 13 7 –6
– 26 13 0
WORKED Example 8
1 –1 2
Use the cofactor/adjoint matrices to find the inverse of A = 0 1 2 .
0 1 3
THINK WRITE
1 2 – 0 2 0 1
1 3 0 3 0 1
–1 2 – 1 2 1 –1
1 2 0 2 0 1
1 0 0
C= 5 3 –1
–4 –2 1
1 5 –4
2 Write the adjoint as the transpose of C. adj A = 0 3 – 2
0 –1 1
MQ Maths C Yr 11 - 05 Page 207 Tuesday, October 9, 2001 4:10 PM
1 5 –4
A−1 = 0 3 – 2
0 –1 1
1 –1 2 1 5 –4
4 Verify this matrix is A−1 by testing AA−1 = 0 1 2 0 3 –2
AA−1 = I. 0 1 3 0 –1 1
1 0 0
AA−1 = 0 1 0
0 0 1
This method can now be used to solve systems of linear equations involving a 3 × 3
matrix.
WORKED Example 9
Solve the system of linear equations given below.
x−y−z=0
2x + y = 4
x+y+z=2
THINK WRITE
1 –1 –1
1 Set up the matrices in the form AX = B. AX = B where A = 2 1 0
1 1 1
x 0
X= y and B = 4
z 2
208 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
THINK WRITE
1 0 – 2 0 2 1
1 1 1 1 1 1
–1 –1 – 1 –1 1 –1
1 0 2 0 2 1
1 –2 1
C = 0 2 –2
1 –2 3
1 0 1
4 Find the adjoint and det A. adj A = – 2 2 – 2
1 –2 3
det A = 1(0 − −1) – 1(0 − −2) + 1(1 − −2)
(across row 3)
det A = 1 − 2 + 3
det A = 2
adj A
5 Find the inverse. A−1 = -------------
det A
1 0 1
1
A−1 = --- – 2 2 – 2
2
1 –2 3
1 1
---
2
0 ---
2
A−1 = – 1 1 –1
1
---
2
–1 1 1--2-
1 1
---
2
0 ---
2 0
6 Solve for X and check the values X = –1 1 –1 4
provided. 1 2
---
2
–1 1 1--2-
1
X= 2
–1
So x = 1, y = 2, z = −1.
MQ Maths C Yr 11 - 05 Page 209 Tuesday, October 9, 2001 4:10 PM
5E Inverse of a 3 × 3 matrix
1 Find the i determinant, ii cofactor matrix iii adjoint matrix and iv inverse of each of the 5.3
following. HEET
SkillS
1 2 1 –1 4 0
a 1 1 b 2 5 c d
2 0 4 2 3 –1
2 3 6 9
3 –2 5 –1 4 3
1 2 –1
3 Find the inverse of 0 3 1 and use it to solve the system of linear equations given
2 0 –2
by x + 2y – z = 0
3y + z = 9
2x − 2z = 8
5 Find x if 2+x 1 = 0.
1 2–x
MQ Maths C Yr 11 - 05 Page 210 Tuesday, October 9, 2001 4:10 PM
210 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
Note the pattern of elements in the determinant of the numerators. Mathematics isn’t
referred to as the study of patterns without good reason.
The proof of this statement follows.
Let the system of linear equations be ax + by = u
and cx + dy = v.
1
x = ------------------ d – b u
y ad – bc – c a v
1 du – bv
= ------------------
ad – bc – cu + av
du – bv – cu + av
Therefore, x = ------------------ and y = ---------------------- where ad − bc ≠ 0.
ad – bc ad – bc
The numerators and denominators of both these expressions can be written as determi-
nants:
u b a u
v d c v
x = ----------------------- and y = ----------------------- .
a b a b
c d c d
MQ Maths C Yr 11 - 05 Page 211 Tuesday, October 9, 2001 4:10 PM
u b a u
v d c v
x = ----------------------- and y = -----------------------
a b a b
c d c d
2 2 x 3
2 Substitute the given values for a, b, c, d = 1
and u, v. 1 –1 y ---
2
3 2 2 3
1
---
2
–1 1 1--2-
x = -------------------------- and y = --------------------------
2 2 2 2
1 –1 1 –1
–4 –2
= ------ = ------
–4 –4
1
=1 = ---
2
3 Verify these results by substitution into 2(1) + 2( 1--2- ) = 3 (Verified for the 1st equation)
the original system of equations 1 − 1--2- = 1--2- (Verified for the 2nd equation)
WORKED Example 11
Solve: 2x + y + z = 3
x + 2y − z = −6
5x − 2z = −1.
THINK WRITE
2 1 1 3
1 Write the system in matrix form. A = 1 2 –1 B= –6
5 0 –2 –1
Continued over page
MQ Maths C Yr 11 - 05 Page 212 Tuesday, October 9, 2001 4:10 PM
212 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
THINK WRITE
3 1 1 2 3 1
–6 2 –1 1 –6 –1
–1 0 –2 5 –1 –2
Matrix B is used as column 1 for x, x = -------------------------------------- y = --------------------------------------
column 2 for y and column 3 for z. 2 1 1 2 1 1
1 2 –1 1 2 –1
5 0 –2 5 0 –2
2 1 3
1 2 –6
5 0 –1
z = -----------------------------------
2 1 1
1 2 –1
5 0 –2
– 21
2 Evaluate the determinants, don’t forget x = --------- = 1
– 21
the signed minors.
42
y = --------- = −2
– 21
– 63
z = --------- = 3
– 21
3 Verify these results by substituting into 2(1) + −2 + 3 = 3 (Verifying the 1st equation)
the 3 equations. 1 + 2(−2) – 3 = −6 (Verifying the 2nd equation)
5(1) − 2(3) = −1 (Verifying the 3rd equation)
remember
remember
Cramer’s Rule for solving linear equations: ax + by = u
cx + dy = v
u b a u
v d c v
states that x = ----------------------- and y = -----------------------
a b a b
c d c d
MQ Maths C Yr 11 - 05 Page 213 Tuesday, October 9, 2001 4:10 PM
1 2x + y = 1 2 2x + 4y = 14
3x − 2y = 12 3x − y = −7
3 −x − y = 7 4 3x + 2y = 6
4x − y = −3 −2x + y = 3
5 x+y+z=4 6 −x + 2y + 5z = −1
2x + y − z = 3 −2x + 3y − z = 7
3x + 3y + 2z = 10 x − 2y − 2z = 0
x y z 1 x yz 1 1 1 b a a
a u 1 1 b 1 y x c 1 1–x 1 d a b a
v 1 1 1 z xy 1 1 1–y a a b
a 0 0 x–3 0 0
d =0 e x–1 –3 = 0 f =0
0 a–1 0 0 x 3
2 x–6
0 0 a–2 0 1 x–2
3 0 5
9 If A = 2 4 6 find A–1.
1 2 4
2 1 –1
10 A = 7 – 9 3
2 4 5
a Find det A.
b Find A–1.
c Use the result from b to solve the system:
2x + y − z = 2
7x − 9y + 3z = −4 1--2-
2x + 4y + 5z = 5
MQ Maths C Yr 11 - 05 Page 214 Tuesday, October 9, 2001 4:10 PM
214 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
–1
1 a 0 1 –a 0
11 Show that 0 1 0 = 0 1 0 .
0 b 1 0 –b 1
1 2 1
12 If A–1 = 0 1 2
1 0 1
a find A and A′
b verify that (A′)–1 = (A–1)′.
13 Evaluate for complex i
1 i 0 1–i i 1+i
a 1 i b c
–i i 1 1+i 1–i i
i–1 0
1 i 0 i 1+i 1–i
1 2 1 2 1 0
a A= 0 2 4 B = 3 2 –1
4 3 1 1 4 5
ET 5.2 5 1 –1 3 0 2
SHE
b A = 1 –3 2 B = 4 1 –2
Work
2 0 1 0 –1 1
1 2 3
Use A = 4 5 6
7 8 9
(a) Press ON CLEAR MATRX . Select EDIT and press ENTER then choose 1: [A] and
press ENTER . To enter a 3 × 3 matrix, type 3 ENTER 3 ENTER for the dimen-
sions of matrix A.
(b) Notice that the cursor highlights element a11 and the coordinate at the bottom left
of the screen will display 1, 1 =. Enter each element as the cursor moves across the
row.
MQ Maths C Yr 11 - 05 Page 215 Tuesday, October 9, 2001 4:10 PM
1 2 1
(e) Enter matrix B = 3 – 4 5 by pressing MATRX and selecting EDIT. Then press
2 4 0
the ‘down’ arrow to select 2: [B] and press ENTER . Change the dimensions to a
3 × 3 matrix as before and enter the elements of B as listed. Note that you can
move around inside the matrix using the cursor keys. When you have finished type
2nd MODE (to quit).
216 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
Applications of determinants
Using determinants to find the equation of a line
One of the many applications of determinants is in B(x2, y2)
determining the equation of a straight line.
You are familiar with the equation of a straight line P(x, y)
through two points. Assume that the given line passes
through points A (x1, y1) and B (x2, y2). Let P (x, y) A(x1, y1)
be a point on this line.
As P is a point on the line then the slope of AP
equals the slope of AB.
y–y y2 – y1
-------------1- = ---------------
-
x – x1 x2 – x1
The multipliers of one have been included to display the determinant form more
clearly and can be written as:
1 1 1
x x1 x2 =0
y y1 y2
1 Find the equation of the straight line joining points (2, 4) and (4, −6) using
determinants.
D E F
1 1 1
1
2 Demonstrate that the area of LABC = --- x 1 x 2 x 3 and use this
2
y1 y2 y3
determinant to find the area of a triangle of your design.
MQ Maths C Yr 11 - 05 Page 217 Tuesday, October 9, 2001 4:10 PM
summary
Gaussian elimination method
• An augmented matrix [A | B] can be used to find the solution of a set of
simultaneous equations when Gaussian row reduction changes [A | B] to [I | X].
• An augmented matrix [A | B] can be used to find the inverse of A when Gaussian
row reduction changes [A | B] to [A–1 | I].
Determinants
Adjoint matrix
adj A
• A–1 = ------------- , where adj A is the transpose of the cofactor matrix of A, made up of
det A
the minors of A.
218 M a t h s Q u e s t M a t h s C Ye a r 1 1 f o r Q u e e n s l a n d
CHAPTER
review
1 Use the Gaussian method of elimination to solve the following system of linear equations:
5B 2x − y + z = −1
3x + 2y − z = 4
x − 2 y + 2z = 1
4 Find the i determinant, ii cofactor matrix, iii adjoint matrix and iv inverse of the following:
5E
3 1 1
a 1 2 b 2 1 2
3 4
–1 2 –3
5 Use the cofactor–adjoint method to solve the following system of linear equations:
2x − y + 3z = 4
−x + 2y − z = −5
4x + y − 2z = 0
5
CHAPTER