The big idea
A matrix is a rectangular grid of numbers. Matrices can store data, solve simultaneous equations, and describe transformations such as rotations and stretches. Matrix multiplication has its own rule, and the order matters.
Key ideas
- Add matrices of the same size by adding matching entries.
- To multiply, take each row of the first with each column of the second: multiply in pairs and add.
- AB is usually not the same as BA.
- The determinant of [[a, b], [c, d]] is ad − bc. If it is zero the matrix has no inverse.
- For a transformation, the determinant is the area scale factor.
Equations
| det [[a, b], [c, d]] = ad − bc | determinant |
| A−1 = (1/det) [[d, −b], [−c, a]] | inverse of a 2 × 2 matrix |
| AX = B ⇒ X = A−1B | solving equations |
| AB ≠ BA in general | order matters |
Worked questions: easy, medium, hard
Three questions that climb in difficulty, each solved one step at a time. Try each one before you read the steps.
Work out [[1, 2], [3, 4]] + [[5, 0], [−1, 2]].
- Add matching entries.
- Top row: 1 + 5 = 6 and 2 + 0 = 2. Bottom row: 3 − 1 = 2 and 4 + 2 = 6.
- [[6, 2], [2, 6]].
Work out [[1, 2], [3, 4]] × [[2, 0], [1, 3]].
- Top-left: 1 × 2 + 2 × 1 = 4. Top-right: 1 × 0 + 2 × 3 = 6.
- Bottom-left: 3 × 2 + 4 × 1 = 10. Bottom-right: 3 × 0 + 4 × 3 = 12.
- [[4, 6], [10, 12]].
Find the inverse of A = [[2, 1], [5, 3]] and use it to solve 2x + y = 4, 5x + 3y = 11.
- det A = 2 × 3 − 1 × 5 = 1.
- Swap the diagonal, change the signs of the others, divide by the determinant: A−1 = [[3, −1], [−5, 2]].
- Multiply by the column (4, 11): x = 3 × 4 − 1 × 11 = 1 and y = −5 × 4 + 2 × 11 = 2.
- x = 1, y = 2. Check: 2 + 2 = 4 and 5 + 6 = 11.
Common mistakes
- Multiplying matching entries instead of rows by columns.
- Assuming AB = BA.
- Forgetting to divide by the determinant in the inverse.
Now you try: easy to hard
Six more questions, two at each level. These are the questions on the worksheet; each solution opens when you are ready.
Easy 1. Work out 3 × [[2, −1], [0, 4]].
Show the step-by-step solution
Multiply every entry by 3: [[6, −3], [0, 12]].
Easy 2. Find the determinant of [[4, 3], [2, 5]].
Show the step-by-step solution
4 × 5 − 3 × 2 = 14.
Medium 3. Work out [[2, 1], [0, 3]] times the column vector (4, −1).
Show the step-by-step solution
Top: 2 × 4 + 1 × (−1) = 7. Bottom: 0 + 3 × (−1) = −3. (7, −3).
Medium 4. A = [[1, 1], [0, 1]] and B = [[1, 0], [1, 1]]. Find AB and BA.
Show the step-by-step solution
AB = [[2, 1], [1, 1]] and BA = [[1, 1], [1, 2]]. They are different.
Hard 5. Find the inverse of [[3, 2], [1, 1]].
Show the step-by-step solution
det = 3 − 2 = 1, so the inverse is [[1, −2], [−1, 3]].
Hard 6. The matrix [[0, −1], [1, 0]] is applied to the point (3, 1). Find the image and describe the transformation.
Show the step-by-step solution
Image: (0 × 3 − 1 × 1, 1 × 3 + 0) = (−1, 3). This is a rotation of 90° anticlockwise about the origin; the determinant is 1, so areas are unchanged.
6 questions to print or save, with full step-by-step answers at the end.
Open the Pre-Calculus Lab simulation and test every idea on this page yourself.
Open the simulation →