Year 11 Matrices Notes 2018 v1.1 Pwe
Year 11 Matrices Notes 2018 v1.1 Pwe
Key knowledge
• The concept of a matrix and its use to store, display and manipulate information.
• Types of matrices (row, column, square, zero, identity) and the order of a matrix.
• Matrix arithmetic: the definition of addition, subtraction, multiplication by a scalar, multiplication,
the power of a square matrix, and the conditions for their use.
• Determinant and inverse of a matrix.
Key skills
• Use matrices to store and display information that can be presented in rows and columns.
• Identify row, column, square, zero, and identity matrices and determine their order.
• Add and subtract matrices, multiply a matrix by a scalar or another matrix, raise a matrix to a
power and determine its inverse, using technology as applicable.
• Use matrix sums, difference, products, powers and inverses to model and solve practical problems.
• Use of CAS calculator to do matrix operations
Chapter Sections Questions to be completed
5A The basics of a matrix 1(a,b,c,d), 2(a,b,c), 3 and4(a,b)
5B Using matrices to model(represent practical situations All questions
5C Adding and subtracting matrices All questions
5D Scalar multiplications All questions
5E Matrix multiplication All questions
5F Applications of matrices All questions
5G Communications and connections All questions
5H Identity and inverse matrices All questions
5J Solving simultaneous equations All question
5K Extended application and problem solving tasks All questions
Transition Matrix All questions
Review – All questions
Page 1 of 28
Chapter 5 Matrices
Table of Contents
5A THE BASICS OF A MATRIX 3
ORDER OF A MATRIX 3
ELEMENTS OF A MATRIX 3
ROW MATRICES 4
COLUMN MATRICES 4
5B USING MATRICES TO MODEL/REPRESENT PRACTICAL SITUATIONS 6
Example 2: Using a matrix to represent connections. 6
5C ADDING AND SUBTRACTING MATRICES 7
ADDING MATRICES 7
SUBTRACTING MATRICES 7
Example 3: 7
THE ZERO MATRIX, 0 7
5D SCALAR MULTIPLICATION 8
Example 4: 8
Example 5: Application of scalar multiplication. 8
Example 6: Scalar multiplication and subtraction of matrices. 9
5E MATRIX MULTIPLICATION 10
RULES FOR MATRIX MULTIPLICATION 11
Example 7: 11
5F APPLICATIONS OF MATRICES 13
Example 8: Business application of matrices 13
PROPERTIES OF ROW AND COLUMN MATRICES 14
Example 9: Using row and column matrices to extract information 14
5G COMMUNICATION AND CONNECTIONS 15
Example 10: 15
Example: 17
5H IDENTITY AND INVERSE MATRICES 18
IDENTITY MATRIX 18
Example 11 18
IDENTITY MATRIX 2 X 2 MATRICES 18
THE INVERSE OF A MATRIX AND ITS EVALUATION 19
ALTERNATIVELY, WE CAN USE CAS CALCULATOR TO CALCULATE THE DETERMINANT AND THE INVERSE OF A MATRIX 19
SINGULAR MATRIX 20
Example: 20
USING INVERSE MATRICES TO SOLVE PROBLEMS 20
5J SOLVING SIMULTANEOUS EQUATIONS USING MATRICES 21
Example 15: 21
Using the CAS 21
TRANSITION MATRICES APPLICATIONS 22
SETTING UP A TRANSITION MATRIX 22
Example16: 23
USING RECURSION TO GENERATE STATE MATRICES STEP-BY-STEP 23
CONSTRUCTING A MATRIX RECURRENCE RELATION 23
GENERATING S1 24
GENERATING S2 24
GENERATING S3 24
Example 17: Using a recursion relation to calculate state matrices step-by-step 25
Example 18: 26
TRANSITION MATRICES QUESTIONS 27
Page 2 of 28
Chapter 5 Matrices
A matrix (plural matrices) is an array of numbers set out in rows and columns.
Order of a matrix
Matrices are described by the number of rows and number of columns. This is known as the
order/size/dimension of a matrix.
The above matrix has 2 rows and 3 columns and is called a 2 × 3 matrix.
When writing a matrix, the number of rows is always given first followed by the number of
columns.
Matrices are usually named using capital letters such as A, B, X and Y.
Elements of a matrix
The number within a matrix are called its elements.
For example, in the matrix: • Element a13 is in row 1, column 3 and its value is 4
• Element a22 is in row 2, column 2 and its value is 7
Page 3 of 28
Chapter 5 Matrices
Row Matrices
A row matrix has a single row of elements.
In matrix A, the Friday sales from the market stall can be represented by a 1 x 3 row matrix.
Column Matrices
A column matrix has a single column of elements.
In matrix A, the sales of jeans from the market stall can be represented by a 2 x 1 column matrix.
Page 4 of 28
Chapter 5 Matrices
Square Matrices
In square matrices, the number of rows equals the number of columns. Here are three examples.
Page 5 of 28
Chapter 5 Matrices
TO
A B C D
F A
R B A =
O C
M D
Page 6 of 28
Chapter 5 Matrices
Adding matrices
To add matrices, add the corresponding elements of each matrix together. That is the numbers in
the same position.
Subtracting matrices
To subtract matrices, subtract the corresponding elements of each matrix together. That is the
numbers in the same position.
Example 3:
Complete the following addition and subtraction of matrices if possible.
2 4 9 8
(a) [ ]+[ ]=
5 1 9 −1
7 3 4 2
(b) [2 8] − [−1 9] =
1 0 3 7
7 3
2 4
(c) [ ] + [ 2 8] =
5 1
1 0
Just like arithmetic with ordinary numbers, adding or subtracting a zero matrix does not make any
changes to the original matrix.
Page 7 of 28
Chapter 5 Matrices
5D Scalar multiplication
A scalar is just a number. Multiplying a matrix by a number is called scalar multiplication.
Example 4:
5 1
If 𝐴 = [ ] , find 3A
−3 0
3A = 3 × [ 5 1] =
−3 0
Scalar multiplication has many practical applications. It is particularly useful in scaling up the
elements of a matrix, for example, add the GST to the cost of the prices of all items in a shop by
10%, simply multiplying a matrix of prices by 1.1. (Note 1.1 is 110% where 100% which is the original
price) plus 10% GST).
The manager wishes to double the enrolments in each course. Show this in a matrix.
Page 8 of 28
Chapter 5 Matrices
Page 9 of 28
Chapter 5 Matrices
5E Matrix Multiplication
Matrix multiplication is the multiplication of a matrix by another matrix.
The matrix multiplication of two matrices A and B can be written as A × B or just AB.
Although it is called multiplication and the symbol “×” may be used, matrix multiplication is not as
simple as multiplication of numbers but a routine involving the sum of pairs of numbers that have
been multiplied.
For example, the method of matrix multiplication can be demonstrated by using a practical example.
The numbers of CD’s and DVD’s sold by Fatima and Gaia are recorded in matrix N. The selling prices
of the CD’s and DVD’s are shown in matrix P.
We want to make a matrix, S, that shows the value of the sales made by each person.
The steps used in this example follow the routine for the matrix multiplication of N × P
Page 10 of 28
Chapter 5 Matrices
Notice that the outside numbers give the order of the product matrix (answered matrix). It is made
by multiplying the two matrices. In our case, the order of the answer matrix is 2 x 1.
Example 7:
5 2 8
8
For the following matrices 𝐴 = [4 6] 𝐵 = [ ] 𝐶 = [2 4 7] 𝐷 = [6]
9
1 3 5
(i) decide whether the matrix multiplication in each question below is defined.
(ii) if matrix multiplication is defined, give the order of the answer matrix and then do the
matrix multiplication.
(a) AB
Multiplication of matrix test A B AB
Matrix order
(b) BA
________________________________________________________________________________
Page 11 of 28
Chapter 5 Matrices
(c) CD
Usually, when we reverse the order of the matrices in matrix multiplication, we get a different
answer. That is A × B does NOT equal to B × A.
MENU b
1: Actions 1
1: Define 1
The template for the (2 × 2) can be found by pressing /t
Complete the entry lines as:
3 6
Define M = [ ]
5 2
1 8
Define N = [ ]
5 4
Press ENTER after each entry
Complete the entry lines as:
M×N
N×M
Press ENTER after each entry.
Page 12 of 28
Chapter 5 Matrices
5F Applications of matrices
Data represented in matrix form can be multiplied to produce new useful information.
Example 8: Business application of matrices
Fatima and Gaia’s store has a special sales promotion. One free cinema ticket is given with each DVD
purchased. Two cinema tickets are given with the purchase of each computer game.
The number of DVDs and games sold by Fatima and Gaia are given in matrix S.
The selling price of a DVD and a game, together with the number of free tickets is given by matrix P.
Page 13 of 28
Chapter 5 Matrices
(a) Evaluate S × B
______________________________________________________________________
______________________________________________________________________
(c) Evaluate A × S
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
Page 14 of 28
Chapter 5 Matrices
Example 10:
The diagram shows the communications within a group of friends, where:
a double-headed arrow connecting two names indicates that those two people communicate
with each other.
if there is no arrow directly connecting two people, they do not communicate.
(a) These links are called one-step connections because there is just one direct step in making
contact with the other person. Record the social links in a matrix N, using the first letter of each
name to label the columns and rows. Explain how the matrix should be read.
TO
V S K P
F V
R S N =
O K
M P
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
(b) Explain why there is a symmetry about the leading diagonal of the matrix.
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
Page 15 of 28
Chapter 5 Matrices
(d) N2 gives the number of two-step communications between people. Namely, how many ways
one person can communicate with someone via another person. Find the matrix N2, the square
of matrix N.
N = N2 =
(e) Use the matrix N2 to find the number of two-step ways Kathy can communicate with Steven
and write the connections.
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
_______________________________________________________________________
(f) In the N2 matrix there is a 3 where S column meets the S row. This indicates that there are three
two-step communications Steven can have with himself. Explain how this can be given a sensible
interpretation.
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
______________________________________________________________________
The matrix N3 would give the three-step communications between people. The number of ways of
communicating with someone via two people.
The matrix methods of investigating communications can be applied to friendships, travel between
towns and other types of two-way connections.
Page 16 of 28
Chapter 5 Matrices
Example:
The following adjacency matrix shows the number of pathways between four attractions at the zoo: Lions
(L), Seals (S), Monkeys (M) and Elephants (E).
Using CAS or otherwise, determine how many ways a family can travel from the Lions to the
Monkeys via one of the other two attractions.
Solution
The number of ways a family can travel from the Lions to the Monkeys via one of the other two
attractions indicates that we need to determine a ___________________ path matrix. A simple way
of determining a two-steps path matrix is simply raise the matrix to the power of ______.
2
A2 = =
Reading down the L column to the M row in the two steps matrix, A2, we can say that there are
_____ ways in which a family can travel from the Lions to the Monkeys via one of the other two
attractions.
Page 17 of 28
Chapter 5 Matrices
5 2 1 0
(a) Calculate AI = [ ].[ ]=
8 3 0 1
1 0 5 2
(b) Calculate IA = [ ].[ ]=
0 1 8 3
The identity matrix, I, also has the special property that it is commutative in matrix multiplication.
When I is one of the matrices in the multiplication, the answer is the same when the order of the
matrices is commuted (reversed).
So
AI = IA = A
Remember that matrix multiplication is not usually commutative, except for this special case
Only a square matrices have identity matrices. The identity matrix for any square matrix is a
square matrix of the same order with 1s along the leading diagonal (from the top left to the
bottom right) and 0s in all other positions.
Page 18 of 28
Chapter 5 Matrices
In matrices, if the product matrix is the identity matrix, then one of the matrices is the multiplicative
inverse of the other.
1 4 9 −4 1 0
[ ].[ ]=[ ]=𝐼
2 9 −2 1 0 1
A × A−1 = I = A−1 × A
The inverse matrix A, written as A−1, is a matrix that multiplies A to make the identity matrix I
8 4
Finding the inverse matrices of the matrix A = [ ]
3 2
Step 1: Determine the determinant of matrix A
Det A = |𝐴|= (8 × 2) (4 × 3) = 16 − 12 = 4
Page 19 of 28
Chapter 5 Matrices
Singular Matrix
Example:
4 6
Determine the inverse for the matrix B = [ ]
2 3
Since the determinant of matrix B is equal to ______, therefore the inverse of B does not ________.
Given the matrix equation AX = B, where matrix X is the unknown. We can use the multiplication of the
inverse matrix to find the value of the unknown matrix X as follows:
If the equation was XA = B, where the matrix X is the unknown that is needed to be found. Again we can
apply the principal of inverse multiplication to determine for the value of matrix X:
Page 20 of 28
Chapter 5 Matrices
a-1 × b
2 3 𝑥 6
𝑠𝑜𝑙𝑣𝑒 ([ ] × [𝑦] = [ ] , 𝑥)
4 −6 −4
Page 21 of 28
Chapter 5 Matrices
0.8 (or 80%) of cars rented each week in Bendigo are returned to Bendigo
0.2 (or 20%) of cars rented each week in Bendigo are returned to Colac
0.1 (or 10%) of cars rented each week in Colac are returned to Bendigo
0.9 (or 90%) of cars rented each week in Colac are returned to Colac
The percentages (written as proportions) are summarised in the form of the matrix below.
This matrix is an example of a transition matrix (T). It describes the way in which transitions are made
between two states:
Note: In this situation, where the total number of cars remains constant, the columns in a transitional
matrix will always add to one (100%). For example, if 80% of cars are returned to Bendigo, then 20% must
be returned to Colac.
Page 22 of 28
Chapter 5 Matrices
Example16:
A factory has many different machines. The machines can be in one of two states: operating or
broken. Broken machines are repaired and come back into operation, and vice versa. On a given
day:
50 𝐵𝑒𝑛𝑑𝑖𝑔𝑜
In this case, it is the initial state matrix: 𝑆0 = [ ]
40 𝐶𝑜𝑙𝑎𝑐
Page 23 of 28
Chapter 5 Matrices
Generating S1
To find out the number of cars in Bendigo and Colac after 1 week, we use the transition matrix 𝑇=
0.8 0.1
[ ] to generate the next state matrix in the sequence, S, as follows:
0.2 0.9
𝑆1 = 𝑇𝑆0
0.8 0.1 50
=[ ]×[ ]
0.2 0.9 40
0.8 × 50 + 0.1 × 40
=[ ]
0.2 × 50 + 0.9 × 40
44 𝐵𝑒𝑛𝑑𝑖𝑔𝑜
𝑆1 = [ ]
46 𝐶𝑜𝑙𝑎𝑐
Thus, after 1 week we predict that there will be 44 cars in Bendigo and 46 in Colac.
Generating S2
Following the same pattern, after 2 weeks;
Generating S3
After 3 weeks:
S1 =TS0
S2 =TS1
S3 =TS2
S4 =TS3
S5 =TS4
With this rule as a starting point, we now have a recurrence relation that will enable us to model and
analyse the car rental problem on a step-by-step basis.
Page 24 of 28
Chapter 5 Matrices
80 0.85 0.05
Where 𝑆0 = [ ] and 𝑇 = [ ]
20 0.15 0.95
to determine the number of operational and broken machines after 1 day and after 3 days
Page 25 of 28
Chapter 5 Matrices
Example 18:
In a large country town, there are three major supermarkets. Customers switch from one to
another due to advertising, better service, prices and for other reasons.
A survey of 1000 customers has revealed the following information for the past month.
Best buys started with 40% of the market; 90% of its customers remained loyal to Best Buys
but 5% changed to Great Groceries and 5% to Super Store.
Great Groceries started with a 36% market share: 85% remained loyal, 10% transferred to Best
Buys and 5% to Super Store.
Super Store stared with 24% of the customers: it lost 15% to Best Buys and 5% to Great
Groceries, but 80% remained.
Summarise the information in matrix form and calculate the new market share.
Page 26 of 28
Chapter 5 Matrices
Two politicians, Rob and Anna, are the only candidates for a forthcoming
election. At the beginning of the election campaign, people were asked for
whom they planned to vote. The numbers were as per the table.
During the election campaign, it is expected that people may change the
candidate that they plan to vote for each week according to the transition diagram shown.
(a) The total number of people who are expected to change the candidate that they plan to vote for 1 week
after the election campaign begins is:
A. 828
B. 1423
C. 2251
D. 4269
E. 6891
(b) The election campaign will run for 10 weeks. If people continue to follow this pattern of changing the
candidate they plan to vote for, the expected winner after 10 weeks will be:
Question 2
At a large retail outlet, 60% of people drink coffee and 40% drink tea. The catering company has decided to
introduce a new brand of coffee and market research shows that of those who drink tea 45% will change to
coffee each week and of those who drink coffee only 10% will change to tea each week. The remainder will
continue to drink the same drink as present.
Page 27 of 28
Chapter 5 Matrices
Question 3
At a large retail outlet, 55% of people drink coffee and 45% drink tea. The catering company has
introduced a new brand of tea and market research shows that of those who drink tea 15% will change to
coffee each week and of those who drink coffee 75% will change to tea each week.
(a) Draw a tree diagram to represent this situation for 1 week.
(b) What proportion of people will drink coffee at the end of 1 week?
(c) Set up matrices to represent this situation.
(d) Solve the matrices to show that you get the same answer as in part (b).
Question 4
At a large retail outlet, only two types of milkshake are produced. At the moment, 45% of people drink
chocolate milkshakes and 55% drink strawberry milkshakes. The catering company has decided to
introduce a richer strawberry milkshake in place of the current one, and market research shows that of
those who drink chocolate milkshakes 35% will change to strawberry each month and of those who drink
strawberry only 5% will change to chocolate each month.
(a) What is the initial state matrix?
(b) What is the transition matrix?
(c) What proportion of people will drink each type of milkshake at the end of 1 month?
(d) What proportion of people will drink each type of milkshake at the end of 2 months?
(e) What proportion of people will drink each type of milkshake at the end of 3 months?
(f) What proportion of people will drink each type of milkshake at the end of 100 months?
(g) What proportion of people will drink each type of milkshake at the end of 101 months?
(h) What do you notice about the answers for (f) and (g)?
Question 5
24% of students in a large school own a Warren mobile phone and the rest own an Oval mobile phone. The
company that owns Warren decided to run a series of advertisements to promote Warren and market
research shows that 15% of students who own an Oval mobile phone will change to Warren each month
and 10% of students who own a Warren mobile phone will change to Oval each month. Assume they are all
on monthly plans.
(a) What is the initial state matrix?
(b) What is the transition matrix?
(c) What proportion of the students will use each type of phone at the end of 1 month?
(d) What proportion of the students will use each type of phone at the end of 2 months?
(e) What proportion of the students will use each type of phone at the end of 3 months?
(f) What proportion of the students will use each type of phone at the end of 50 months? (2dp)
(g) What proportion of the students will use each type of phone at the end of 51 months? (2dp)
(h) What do you notice about the answers for (f) and (g)?
Question 6
35% of students travel by train to a certain school and the rest travel by bus. Vic Rail decided to offer a
huge discount to school students to increase their market share. It is known that 20% of students who
travel by bus will switch to travelling by train and only 5% of students who travel by train will switch to
travelling by bus.
(a) What is the initial state matrix?
(b) What is the transition matrix?
(c) What proportion of the students will use each type of transport at the end of 1 month?
(d) What proportion of the students will use each type of transport at the end of 2 months?
(e) What proportion of the students will use each type of transport at the end of 3 months?
(f) What proportion of the students will use each type of transport at the end of 3 years? Give your
answer correct to 2 decimal places.
Page 28 of 28