Further Maths Matrix Summary PDF

8d ago
1 Views
0 Downloads
748.63 KB
14 Pages
Transcription

Further Maths Matrix SummaryFurther Maths Matrix SummaryA matrix is a rectangular array of numbers arranged in rows and columns. The numbers in a matrixare called the elements of the matrix. The order of a matrix is the number of rows and columns inthe matrix.Example 1[] is a 3 by 2 ormatrix as it has 3 rows and 2 columns. Matrices are oftendenoted by capital letters.Types of Matrices [ ] 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 .] is a 3 by 3 square matrix. A square matrix has the same number of rows andF [columns.A diagonal matrix is a square matrix that has non-zero elements in the leading diagonal only.[] is a diagonal matrix.Elements of a MatrixThe elements of a matrix are often denoted by small letters with subscripts. For example:[]WhereTwo matrices are equal when they have the same order and corresponding elements are equal.If[1] and[]then A B

Further Maths Matrix SummaryAddition and Subtraction of MatricesWhen matrices have the same order they can be added and subtracted by simply adding orsubtracting corresponding elements.Example 2A [] and B [][i)]Calculate[][i)ii)]ii)[[][]][][][][]Note that you can easily do the above calculations on the calculator.Multiplying MatricesTwo matrices can be multiplied if the number of columns in the first matrix is the same as thenumber of rows in the second matrix.If matrix is of orderwill be of orderand matrixis of orderthen the productexists and.Example 3.[Since] and Bis a[] , findif it exists.the product exists and will be aSame so product existsMatrix will be 3 x 22matrix.

Further Maths Matrix Summary [][[][]] which is aNote that the matrix product[].does not exist since.In general, so theorder of matrix multiplication isimportant!unequal so productdoes not existMatrices and EquationsThe Identity Matrix for MultiplicationThe identity matrix for multiplication is a square matrix in which all the elements are zero exceptthose in the leading diagonal which are 1.Examples of identity matrices:[][or]The identity matrix is always denoted byWhen any matrix is multiplied by the identity matrix that matrix will remain unchanged. It is like thenumber 1 in normal multiplication. In normal multiplication 1 is the identity for multiplication of allnumbers as any number multiplied by 1 is not changed.For example:If[Notice that multiplying 21 by 1 leaves 21 unchanged.][[andNote that3][]][[]]. This is an exception to the rule[][]

Further Maths Matrix SummaryThe Inverse of a MatrixWhen you multiplyyou will get the answer 1. ie. We say thatmultiplicative inverse of 4. Also 4 is the multiplicative inverse of[Consider the following product:][]The result is the identity matrix . We say that [[][Also [[[][[[]]]In matrices we use the symbolSo if.] is the multiplicative inverse of]]is theto denote the multiplicative inverse of][]andOnly square matrices have multiplicative inverses.So in general for any square matrix A:Ifthenis called the multiplicative inverse of AFinding the Multiplicative Inverse of a 2 by 2 matrix.In order to find the inverse of a 2 by 2 matrix, you need to find the determinant of the given matrixfirst.The Determinant of a 2 by 2 Matrix[If] then the determinant of matrix A, denoted by matrix. Note that if the determinant of a matrix is zero then that matrix is called a singularExample 1: Find the determinant of( )()(4[)Example 2: Find the determinant of( )( )]([)]Matrix B is singular because its determinant is zero.

Further Maths Matrix SummaryThe multiplicative inverse of any 2 by 2 matrix can be found using the following steps, provided theinverse 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 tothe 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 notexist. This is because5( )which is not defined. You cannot divide by zero!

Further Maths Matrix SummarySolving Matrix EquationsInverses enable us to easily solve matrix equations. We use the following technique:a. IfWe can find the matrixby doing the following:. We can find the matrixby doing the following:Pre multiply both sides of the equation byIn general ifb. IfPost multiply both sides of the equation byIn general ifExample 4[If][]anda. For[So][]The quickest way is to use the calculator which will give the following answers, depending on yoursettings:[]6[]The first answer can be simplified to[]

Further Maths Matrix Summaryb. For[][]The quickest way is to use the calculator which will give the following answers, depending on yoursettings:[][]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.Application of Matrices to Simultaneous EquationsWe can use a similar approach to solve a system of simultaneous equations with two unknowns.Example 5Solve 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 pronumeralsis a column matrix of the values on the right hand side of the equations.We can now useie. [ ][][to solve the simultaneous equations.[]][ ][[ ][[]]][[]][ ]SoOr you can use the calculator to solve forSimply enter [][][ ]SoIt is worth checking your answers by substituting the values in the original equations.7and

Further Maths Matrix SummarySolving Simultaneous Equations with 3 Unknowns.We can solve a system of simultaneous equations with 3 unknowns using matrices.Example 6SolveWrite the equations in matrix form[][ ][]We can now useNotice that 0 is inserted for the missing z value in the second equation.to solve the simultaneous equations.The method for finding the inverse,of a 3 by 3 matrix manually is complex and is not in thecourse. You will need to use the calculator.So [ ][][]Step 1: In calculator view, hit the Cataloguebutton and choose Tab 5. Hit the 3 by 3 matrixtemplateStep 2: Fill the 3 by 3 template with theappropriate values and raise the matrix to thepower of -1 by using the button . Press themultiply button and choose the 3 by 3 templateagain and adjust the number of columns to 1.Press Enter.[ ][]SoCheck the answers by substituting the values in the original equations.8

Further Maths Matrix SummarySometimes simultaneous equations cannot be solved. This occurs when the determinant is zero andthe inverse does not exist. We say that the equations do not have a unique solution.Example 7SolveWe can write the system of equations as a matrix equation[][ ][ ][[]as shown below.][] However the inverse does not exist, because the determinant of [] is 0.There is no solution to the equations. This is because they are parallel lines and do not meet.The Determinant of a 3 by 3 MatrixThe calculation of the determinant of a 3 X 3 matrix manually is not in the course. It can easily befound using a calculator.Example 8If A [],find the det(A)Step 1: In calculator view, hit Menu, Matrix andVector, Determinant.Hit the Catalogue button and choose Tab 5. Hitthe 3 by 3 matrix templateStep 2:Enter the values.Hit the right arrow button to ensure the pointeris to the right of the matrix and press Enter.The determinant is 54.9

Further Maths Matrix SummaryTransition MatricesMatrices can be used in probabilities to model situations where there is a transition from one stateto the next. The next state's probability is conditional on the result of the preceding outcome.ExampleIn Melbourne there are two major daily newspapers, The Age and the Herald Sun. Readers are fairlyloyal to the newspaper they intend to buy. Records in a particular country town have shown that ofthe people who purchase a newspaper every day, 90% of people who buy The Age on one day willbuy 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 tellsus the probability of an event occurring given that another event has previously occurred. In thiscase it is the probability of buying a particular newspaper on the next day given that a particularnewspaper 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 usedas a quick check to ensure that the probabilities have been entered correctly.Initial State Matrix denoted byIn the example above suppose that on a certain day 600 copies of The Age are sold and 1000 copiesof the Herald Sun are sold. Use this information to predict the number of copies of each paper thatwill be sold on the next three days.10

Further Maths Matrix SummaryThe 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 numberof 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 HeraldSun will be sold. Notice that 740 860 will total 1600. This agrees with the initial total of newspaperssold.The number of newspapers sold on the second day is can be predicted to be:Again check that 838 762 1600On the second day it is predicted that 838 copies of The Age will be sold and 762 copies of theHerald Sun will be sold.Similarly on the third day the predicted number of each type of newspaper sold is given by: [11][] []

Further Maths Matrix SummaryOn the third day it is predicted that 907 copies of The Age will be sold and 693 copies of the HeraldSun will be sold. Again check that 906.6 693.4 1600Similarly for the fourth day the predicted number of newspapers sold is given by:[][][]In general the next state matrix can be calculated in terms of the previous state matrix by using theformula:There is an alternative formula for finding the predicted number of each type of newspaper sold ona particular day. Suppose we need to find , the number of each type of newspaper sold on thefourth day.A more direct way of findingUsing the calculatoris to calculate [] [][](This gives same result as above)On the fourth day 955 copies of The Age will be sold and 645 copies of the Herald Sun will be sold.In generalThis formula is very important as it gives a direct way of calculating thestate using the productof thepower of the transition matrix and the initial state matrix. You will need to use thecalculator to find . Remember to raise the transition matrix to the required power!To calculate the number of each type of newspaper sold on the 10th day use: [][] []On the 10th day 1053 copies of The Age will be sold and 547 copies of the Herald Sun will be sold.(Note that if we use the other formula, we would need to calculatefirst. This would be extremely time consuming!)12

Further Maths Matrix SummarySteady StateOften the values of a state matrix stabilise as n increases. One way to check that in the long term thestate matrix remains steady is to test a large value of n such as 50 and then test the next value of n51. If the elements in the matrix have not changed then a steady state has been reached.When there is no noticeable change from one state matrix to the next, the system is said to havereached its steady state.In the previous example let’s test for steady state by finding the number of each type of newspapersold 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 beenreached.Time to reach steady state.Suppose you need to find the minimum number of days for the number of newspapers to reach thesteady state values given above.This is not so straight forward. You will need to use your calculator testing out increasing powers inthe transition matrix until the steady state values appear on the calculator. You need to learn to usethe calculator efficiently for this type of question. The following steps give one approach.Step 1: In Calculator View, hit the cataloguebutton.Step 2: Ensure tab 5 is selected and select the2by 2 matrix template.Step 3: Fill in the 2 by 2 transition matrix andraise it to the power 20 by using the button onthe calculator. Hit the multiply button and usingthe catalogue button enter the column matrix asshown opposite.Press Enter to perform the multiplication.Notice that the resultant values are slightlydifferent from the steady state values foundearlier.13

Further Maths Matrix SummaryStep 4: Copy the matrix calculation. This is easilydone by pressing the up arrow button twice sothat the whole expression is highlighted andthen pressing the Enter key.You can now easily edit the matrix expression bychanging the power to 21. Press Enter toperform the calculation.Step 5: Repeat this process until the steady statenumbers are reached. That is the result:[]You will need to test larger powers as shown.It appears that the steady state is reached after42 days.14

Further Maths Matrix Summary 1 Further Maths Matrix Summary 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 ...