








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









A matrix is a rectangular array of numbers arranged in rows and columns. The numbers in a matrix are called the elements of the matrix. The order of a matrix is the number of rows and columns in the matrix.
Example 1
[ ] is a 3 by 2 or matrix as it has 3 rows and 2 columns. Matrices are often
denoted by capital letters.
= [ ] is a 3 by 1 column matrix and [ ] is a 1 by 4 row matrix.
A null or zero matrix has all elements zero.
[ ] is a 2 by 3 zero matrix.
Note that the null matrix is the identity matrix for addition and is often denoted by.
F =[ ] is a 3 by 3 square matrix. A square matrix has the same number of rows and
columns.
A diagonal matrix is a square matrix that has non-zero elements in the leading diagonal only.
[ ] is a diagonal matrix.
The elements of a matrix are often denoted by small letters with subscripts. For example:
Where
Two matrices are equal when they have the same order and corresponding elements are equal.
If [ ] and [ ] then A = B
When matrices have the same order they can be added and subtracted by simply adding or subtracting corresponding elements.
Example 2
A = [^ ]^ and B = [^ ]^ Calculate i) ii)
i) [ ] [ ] [ ]
ii)
Note that you can easily do the above calculations on the calculator.
Two matrices can be multiplied if the number of columns in the first matrix is the same as the number of rows in the second matrix.
If matrix is of order and matrix is of order then the product exists and will be of order.
Example 3.
[ ] and B [ ] , find if it exists.
Since is a the product exists and will be a matrix.
Same so product exists
Matrix will be 3 x 2
When you multiply you will get the answer 1. ie.. We say that is the
multiplicative inverse of 4. Also 4 is the multiplicative inverse of.
Consider the following product: [ ] [ ] [ ]
The result is the identity matrix. We say that [ ] is the multiplicative inverse of
[ ] [ ] [ ]
Also [ ] [ ] [ ]
In matrices we use the symbol to denote the multiplicative inverse of
So if [ ]
and
Only square matrices have multiplicative inverses.
So in general for any square matrix A:
If then is called the multiplicative inverse of A
In order to find the inverse of a 2 by 2 matrix, you need to find the determinant of the given matrix first.
The Determinant of a 2 by 2 Matrix
If [ ] then the determinant of matrix A, denoted by |^ |^ (^ )
| | (^). Note that if the determinant of a matrix is zero then that matrix is called a singular
matrix.
Example 1 : Find the determinant of [ ]
( ) (^ )^ (^ )^ (^ )
Example 2 : Find the determinant of [ ]
( ) Matrix B is singular because its determinant is zero.
The multiplicative inverse of any 2 by 2 matrix can be found using the following steps, provided the inverse exists.
If [ ]
a. Find the determinant of the matrix.
det(A) =
b. Multiply the matrix by (^) ( )
c. Swap the elements in the main diagonal and change the sign of the elements in the other
diagonal. The inverse matrix [ ]
Note that the inverse of a matrix can be easily found using the calculator. Simply raise the matrix to the power of -1.
Example 3: If [^ ]
First find the determinant of A. ( )
Check that
Note that if the matrix is singular (the determinant is zero) then the inverse of the matrix will not
exist. This is because
which is not defined. You cannot divide by zero!
b. For
The quickest way is to use the calculator which will give the following answers, depending on your settings:
[ ] [ ] The first answer can be simplified to [ ]
Notice that the answers to part a and part b are different. The order of multiplication is important.
We can use a similar approach to solve a system of simultaneous equations with two unknowns.
Example 5
Solve the following simultaneous equations using matrix methods:
We can write the system of equations as a matrix equation as shown below.
[ ] [ ] [ ]
Notice that is the matrix of the coefficients, is a column matrix of the pronumerals and is a column matrix of the values on the right hand side of the equations.
We can now use to solve the simultaneous equations.
ie. [ ] [ ] [ ]
[ ] [ ] [ ] (^) So
Or you can use the calculator to solve for
Simply enter [ ] [ ] [ ] So
It is worth checking your answers by substituting the values in the original equations.
We can solve a system of simultaneous equations with 3 unknowns using matrices.
Example 6
Solve
Write the equations in matrix form
[ ] [ ] [ ] Notice that 0 is inserted for the missing z value in the second equation.
We can now use to solve the simultaneous equations.
The method for finding the inverse, of a 3 by 3 matrix manually is complex and is not in the course. You will need to use the calculator.
So [ ] [ ] [ ]
Step 1: In calculator view, hit the Catalogue button and choose Tab 5. Hit the 3 by 3 matrix template
Step 2: Fill the 3 by 3 template with the appropriate values and raise the matrix to the power of -1 by using the button ^. Press the multiply button and choose the 3 by 3 template again and adjust the number of columns to 1. Press Enter.
[ ] [ ] So
Check the answers by substituting the values in the original equations.
Matrices can be used in probabilities to model situations where there is a transition from one state to the next. The next state's probability is conditional on the result of the preceding outcome.
Example
In Melbourne there are two major daily newspapers, The Age and the Herald Sun. Readers are fairly loyal to the newspaper they intend to buy. Records in a particular country town have shown that of the people who purchase a newspaper every day, 90% of people who buy The Age on one day will buy it the next day and 80% of people who buy the Herald Sun on one day will buy it the next day.
We can represent this information as a transition diagram.
or the information can be represented in a transition matrix
[ ]
The elements contained in transition matrices represent conditional probabilities, each of which tells us the probability of an event occurring given that another event has previously occurred. In this case it is the probability of buying a particular newspaper on the next day given that a particular newspaper had been purchased on the previous day.
Notice that in a transition matrix the sum of the probabilities in each column is 1. This can be used as a quick check to ensure that the probabilities have been entered correctly.
In the example above suppose that on a certain day 600 copies of The Age are sold and 1000 copies of the Herald Sun are sold. Use this information to predict the number of copies of each paper that will be sold on the next three days.
The initial state matrix, , is a 2 by 1 column matrix denoted by:
[ ]
We can form the state matrix, which gives the state on the next day. That is the predicted number of people who buy The Age newspaper and the Herald Sun newspaper the next day.
On the next day it is predicted that 740 copies of The Age will be sold and 860 copies of the Herald Sun will be sold. Notice that 740 + 860 will total 1600. This agrees with the initial total of newspapers sold.
The number of newspapers sold on the second day is can be predicted to be:
Again check that 838 + 762 = 1600
On the second day it is predicted that 838 copies of The Age will be sold and 762 copies of the Herald Sun will be sold.
Similarly on the third day the predicted number of each type of newspaper sold is given by:
= [ ] [ ] = [ ]
Often the values of a state matrix stabilise as n increases. One way to check that in the long term the state matrix remains steady is to test a large value of n such as 50 and then test the next value of n
When there is no noticeable change from one state matrix to the next, the system is said to have reached its steady state.
In the previous example let’s test for steady state by finding the number of each type of newspaper sold on the 50th and the 51st^ day:
Since the number of newspapers is the same for day 50 and day 51, the steady state has been reached.
Time to reach steady state.
Suppose you need to find the minimum number of days for the number of newspapers to reach the steady state values given above.
This is not so straight forward. You will need to use your calculator testing out increasing powers in the transition matrix until the steady state values appear on the calculator. You need to learn to use the calculator efficiently for this type of question. The following steps give one approach.
Step 1: In Calculator View, hit the catalogue button.
Step 2: Ensure tab 5 is selected and select the 2by 2 matrix template.
Step 3: Fill in the 2 by 2 transition matrix and raise it to the power 20 by using the ^ button on the calculator. Hit the multiply button and using the catalogue button enter the column matrix as shown opposite. Press Enter to perform the multiplication. Notice that the resultant values are slightly different from the steady state values found earlier.
Step 4: Copy the matrix calculation. This is easily done by pressing the up arrow button twice so that the whole expression is highlighted and then pressing the Enter key.
You can now easily edit the matrix expression by changing the power to 21. Press Enter to perform the calculation.
Step 5: Repeat this process until the steady state numbers are reached. That is the result:
You will need to test larger powers as shown.
It appears that the steady state is reached after 42 days.