1.14 Matrices
Studying this course? Keep your progress in one place.
Key facts
- A matrix has order (rows first). Add and subtract only matrices of the same order.
- exists only if columns of = rows of . Multiplication is not commutative: usually .
- The identity satisfies .
- ; the inverse exists only if .
- A system has solution (multiply on the left).
Order and matrix algebra
Matrices of the same order are added element by element, and a scalar multiplies every element.
A matrix is a rectangular array with rows and columns, so its order is . Each number is an element; is in row , column .
- Equal matrices have the same order and equal elements.
- Add or subtract only matrices of the same order.
- Scalar multiplication multiplies every element.
The GDC handles large matrices quickly.
- 1
Check the orders match
for addition and subtraction
- 2
Add or subtract matching elements
- 3
Scalar multiple
multiply every element by the scalar
Defined when
- Same order
- Always
- Any order
Operation
- Addition and subtraction
- Scalar multiplication
- Equality
Worked example
Given and , find .
- 1
.
- 2
Both are , so add element by element.
Which pair can be added?
Matrix multiplication
exists only when the columns of equal the rows of , and the order of is rows of by columns of .
If is and is then is . Each element is a row of times a column of .
- Associative: .
- Distributive: .
- Not commutative: usually .
The identity matrix (ones on the diagonal) has ; the zero matrix has .
- 1
Check the orders
columns of A must equal rows of B
- 2
Predict the order of AB
rows of A by columns of B
- 3
Each element
row of A times column of B, then add
- times
Worked example
Given and , find and .
- 1
: row 1 of gives and .
- 2
Row 2 of gives and .
- 3
: rows give and .
is and is . What is the order of ?
Determinants and inverses
The inverse of a matrix swaps the diagonal, changes the other two signs and divides by the determinant.
For the determinant is . If :
If the matrix is singular and has no inverse. For and larger, use the GDC.
- 1
Find the determinant, ad − bc
- 2
If it is 0, stop
the matrix is singular
- 3
Swap a and d; change the signs of b and c
- 4
Divide every element by the determinant
- no inverse (singular)
Worked example
Find the inverse of .
- 1
, so the inverse exists.
- 2
Swap the diagonal, change the other signs: .
- 3
Divide by .
For which value of is singular?
Systems and modelling
Write the system as and multiply on the left by .
A system of linear equations is , with coefficients in , unknowns in and right-hand sides in . If is invertible,
Multiply on the left. The same works for systems with technology.
Matrices also store data: quantities times prices gives costs; a coding matrix encodes message vectors and decodes them. Always state what each row and column represents.
- 1
Write
Coefficients, unknowns, constants
- 2
Check
So the inverse exists
- 3
Find
By formula or GDC
- 4
Multiply on the left
Worked example
A small and large drink cost and . and . Find and .
- 1
.
- 2
.
- 3
Multiply on the left by (or use the GDC).
Which is correct for ?
Try an exam question
Solve the simultaneous equations and using a matrix inverse.
[4 marks]
- [1].
- [1], so .
- [1].
- [1], .
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme