I can
- write the order of a matrix as (rows, columns)
- find the entry in a given row and column
- add and subtract matrices of the same order
Key idea
A matrix is a rectangle of numbers in rows and columns. The order of a matrix is (rows, columns). A matrix with 3 rows and 2 columns has order 3 × 2. Say the rows first.
Each number in a matrix is an entry. "Row 2, column 3" means go down to row 2, then across to column 3.
To add or subtract two matrices, they must have the same order. Add or subtract the entries in the same place. The answer is written row by row, like (a, b, c, d) for a 2 × 2 matrix.
Worked examples
Example 1: order and entry
Watch it: A = [[4, 8], [7, 7], [−4, −1]]: order and entry, step by step:
- A is a matrix. Count its rows (across) and its columns (down).
- A has 3 rows. Each row goes across.
- A has 2 columns. Each column goes down.
- The order is rows first, then columns: (3, 2).
- The entry in row 3, column 1 is −4.
A = [[4, 8], [7, 7], [−4, −1]] has 3 rows and 2 columns.
- The order is (3, 2).
- The entry in row 3, column 1 is −4.
Order (3, 2), entry −4
Example 2: add
Watch it: A = [[1, 2], [3, 4]] and B = [[5, 0], [−1, 2]]: A + B, step by step:
- A and B have the same size, so we can add them. Work entry by entry.
- Top row: 1 + 5 = 6 and 2 + 0 = 2.
- Bottom row: 3 + (−1) = 2 and 4 + 2 = 6.
- So A + B = (6, 2, 2, 6), row by row.
A = [[1, 2], [3, 4]] and B = [[5, 0], [−1, 2]]. Find A + B.
- Top row: 1 + 5 = 6 and 2 + 0 = 2.
- Bottom row: 3 + (−1) = 2 and 4 + 2 = 6.
A + B = [[6, 2], [2, 6]], answer (6, 2, 2, 6)
Example 3: subtract
Watch it: A = [[5, 2], [−1, 4]] and B = [[2, −3], [1, 6]]: A − B, step by step:
- A and B have the same size, so we can subtract them. Work entry by entry.
- Top row: 5 − 2 = 3 and 2 − (−3) = 5.
- Bottom row: (−1) − 1 = −2 and 4 − 6 = −2.
- So A − B = (3, 5, −2, −2), row by row.
A = [[5, 2], [−1, 4]] and B = [[2, −3], [1, 6]]. Find A − B.
- Top row: 5 − 2 = 3 and 2 − (−3) = 5.
- Bottom row: −1 − 1 = −2 and 4 − 6 = −2.
A − B = [[3, 5], [−2, −2]], answer (3, 5, -2, -2)
Try it
Show answer
(1, 3)Show answer
-4Show answer
(4, 1, 0, -4)Show answer
(3, 0, -3, -7)Common mistakes
- Giving the order as (columns, rows). Rows come first.
- Sign slips when subtracting a negative. 2 − (−3) = 5, not −1.
Remember
- Order means (rows, columns).
- Add or subtract entry by entry, in the same place.
Practise this
Worksheets 1 to 9 of Matrices practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.
Open Mathhh