Lesson 1 of 8 · 12 min
What is a matrix?
Read the order and elements of a matrix, recognise row, column, square, zero and identity matrices, and use matrix equality to find unknowns.
What you will be able to do
- State the order of a matrix and name an element by its row and column.
- Recognise row, column, square, zero and identity matrices.
- Use the definition of matrix equality to find unknown elements.
A juice bar has two shops, one in the Brisbane CBD and one in Toowong. On Saturday the CBD shop sold 24 small and 18 large smoothies, and the Toowong shop sold 15 small and 21 large. A table keeps those four numbers organised.
| Shop | Small | Large |
|---|---|---|
| CBD | 24 | 18 |
| Toowong | 15 | 21 |
Strip away the labels, keep every number in its place, and you have a matrix:
The rows still mean shops and the columns still mean sizes. The position of each number carries its meaning, which is what lets you work with the whole table at once.
Definition
Matrix, element and order
A matrix is a rectangular array of numbers arranged in rows and columns. Each number in it is an element (or entry).
A matrix with rows and columns has order (or dimension) , read " by ". Rows always come first.
Matrices are named with bold capital letters, such as , and written with square brackets. The element in row and column of is . In handwriting, a plain capital letter is fine.
In the first number is the row and the second is the column.
In above, , , and . Read the subscript as "row, column": is in row 1, column 2.
Order matters too. A matrix with one row, such as , has order . A matrix with one column, such as , has order . Same numbers, different matrices.
What is the order of ?
| Name | Example | What makes it special |
|---|---|---|
| Row matrix | One row: order | |
| Column matrix | One column: order | |
| Square matrix | As many rows as columns | |
| Zero matrix | Every element is | |
| Identity matrix | Square, with s on the leading diagonal and s elsewhere |
Note
The leading diagonal
The leading diagonal of a square matrix runs from the top left to the bottom right. The identity matrix will act like the number 1 when you multiply, and the zero matrix acts like the number 0 when you add. You'll see both at work in the next few lessons.
Definition
Equal matrices
Two matrices are equal when they have the same order and every pair of corresponding elements is equal.
So one equation between two matrices is really four ordinary equations, one for each position.
Worked example
Find the unknowns in a matrix equation
Find and if
Step 1: Check the orders match
Both matrices are , so they can be equal. Equal matrices have equal corresponding elements.
Step 2: Equate the top-left elements
, so and .
Step 3: Equate the bottom-right elements
. Substituting gives , so .
Step 4: Check the other elements
The top-right elements () and the bottom-left elements () already agree, so there is no contradiction.
If two corresponding constants disagreed, no values of and could make the matrices equal.
Try it yourself first, then check the working one step at a time.
Answer
and .
Method
Check the two matrices have the same order.
Equate corresponding elements to get ordinary equations.
Solve them, then check that every element agrees.
Watch out for
Equating elements in different positions, such as the top-left of one matrix with the top-right of the other.
Find and if
Common mistake
Rows before columns
and are different elements, and a matrix is not a matrix. Say "row, column" to yourself every time. Matrices of different orders are never equal, even when they hold the same numbers: .
For , what is ?
Note
Bigger matrices later
In this unit every matrix has at most two rows and two columns. In Unit 3 you will work with larger matrices, and the same language works for any order .
Summary
A matrix is a rectangular array of numbers. Its order is rows × columns, .
is the element of in row and column .
Row, column and square matrices are named for their shape. has every element zero, and has 1s on the leading diagonal and 0s elsewhere.
Equal matrices have the same order and equal corresponding elements, so a matrix equation gives one ordinary equation per position.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.