1.14 MatricesIB Maths: Applications and Interpretation HL: Revision notes
Section 1
Matrices, order and algebra
A matrix is a rectangular array of numbers. It has rows and columns, so its order is (rows first). Each number is an element; is the element in row , column .
- Equality: two matrices are equal if they have the same order and every pair of corresponding elements is equal.
- Addition and subtraction: only for matrices of the same order, element by element.
- Scalar multiplication: multiply every element by the scalar, e.g. . Your GDC can do all of this, and is the quickest way to handle large matrices.
Adding matrices of different orders. A matrix and a matrix cannot be added.
Section 2
Matrix multiplication and its properties
is defined only when the number of columns of equals the number of rows of . If is and is then is . Each element is a row of times a column of . Example: , but reversing the order gives .
- Associative: .
- Distributive: .
- Not commutative: in general . The identity matrix (ones on the main diagonal, zeros elsewhere) satisfies . The zero matrix satisfies and .
Multiplying element by element. Matrix multiplication is row by column.
Check the orders first: gives .
Section 3
Determinants and inverses
For the determinant is . If the inverse exists: Swap the diagonal elements, change the signs of the other two, then divide by the determinant. If the matrix is singular and has no inverse. Example: has and . For and larger matrices, find the determinant and inverse with your GDC.
Forgetting to divide by the determinant, or changing the wrong signs.
Section 4
Solving systems of equations
A system of linear equations can be written , where holds the coefficients, the unknowns and the right-hand sides. In examinations is invertible, so multiply on the left by : Example: and becomes . Here and the GDC gives , . The same method works for systems with technology.
Writing . Matrix multiplication is not commutative, so must go on the left of .
Section 5
Modelling with matrices
Matrices store and combine data in real problems.
- Costs and profits: a matrix of quantities times a vector of prices gives the total cost for each customer.
- Coding and decoding: write letters as numbers, group them as column vectors and multiply by a coding matrix . To decode, multiply the coded vectors by ; if the inverse has whole-number entries.
- Links: transition matrices in Markov chains (AHL 4.19) and phase portraits (AHL 5.17) are built on the same ideas. Always state what each row, column and answer represents, with units, and check that the orders allow the product.
When decoding, multiply by on the left of the coded matrix, just as the coding was done by on the left.
That's the notes covered.
Carry on to the next subtopic.
Exam questions on 1.14 Matrices
- and .Find and hence state, with a reason, whether .2 marks
- A cafe sells small cups of coffee at EUR each and large cups at EUR each. On Monday, 3 small and 2 large cups cost 13.90 EUR in total. On Tuesday, 2 small and 5 large cups cost 21.00 EUR in total.Use with your GDC, where is the coefficient matrix, to find the price of a small cup and of a large cup.2 marks
- Letters are replaced by numbers (, , ..., ) and a message is coded in pairs of letters. Each pair of numbers forms a column vector, which is multiplied on the left by the matrix to give the coded pair.Show that and find .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).