Lesson 2 of 7 · 10 min
The order and types of matrices
State the order of any matrix and recognise row, column, square, zero and identity matrices.
What you will be able to do
- State the order of a matrix and the number of elements it has.
- Recognise row, column and square matrices from their shape.
- Recognise the zero matrix and the identity matrix, and say what each does.
Matrices come in every rectangular shape. A price list for five items might be one long row; one store's stock of three products might be a single column; a road network always gives a square. Some shapes and some special matrices come up so often that they have names.
| Type | What it looks like | Example | Order |
|---|---|---|---|
| Row matrix | exactly one row | ||
| Column matrix | exactly one column | ||
| Square matrix | as many rows as columns | ||
| Zero matrix, | every element is 0 | ||
| Identity matrix, | square, 1s on the leading diagonal and 0s elsewhere |
Definition
Order
A matrix with rows and columns has order (say " by "). It has elements. A matrix has 3 rows, 4 columns and 12 elements.
State the order of
Worked example
Name the type and order of each matrix
State the order of each matrix, and name every type it belongs to (row, column, square, zero, identity).
Step 1: Matrix A
has 1 row and 3 columns: order . One row makes it a row matrix. It contains a , but not every element is , so it is not a zero matrix.
Step 2: Matrix B
has 2 rows and 1 column: order , a column matrix.
Step 3: Matrix C
has 2 rows and 2 columns: order . Every element is , so it is a zero matrix, and it is also square.
Step 4: Matrix D
is , so it is square. Its leading diagonal is all 1s and every other element is 0, so it is the identity matrix .
An identity matrix must be square, have 1s on the leading diagonal (top left to bottom right) and 0s everywhere else. D meets all three conditions.
Try it yourself first, then check the working one step at a time.
Answer
: , row. : , column. : , square and zero. : , square and identity.
Method
Count the rows, then the columns.
One row: row matrix. One column: column matrix. Rows = columns: square.
All 0s: zero matrix. Square with 1s on the leading diagonal and 0s elsewhere: identity.
Watch out for
Calling a matrix a zero matrix because it contains a 0. Every element must be 0.
Forgetting that a matrix can be more than one type: is square too.
Two special matrices behave like the numbers 0 and 1 do in ordinary arithmetic. Adding to a number changes nothing, and so does adding a zero matrix to a matrix of the same order. Multiplying a number by changes nothing, and you will see in the lesson on multiplication that multiplying by the identity matrix changes nothing either.
starts as the zero matrix, so . Change an element of and is no longer the zero matrix. What happens to ?
Key idea
The identity matrix
The identity matrix is always square. Its leading diagonal (top left to bottom right) is all 1s and every other element is 0:
The subscript gives its size when that is not clear from the context.
Which of these is an identity matrix?
Common mistake
Same number of elements, different order
A matrix and a matrix both have six elements, but they are different shapes and different orders. When a question asks for the order, give both numbers, rows first, not the number of elements.
A school stores the Year 11 enrolments for 6 subjects in each of its 4 terms in a matrix, with a row for each subject. State the order of the matrix.
Summary
The order of a matrix is rows × columns; an matrix has elements.
A row matrix has one row (); a column matrix has one column (); a square matrix has rows and columns.
The zero matrix has every element . Adding it changes nothing.
The identity matrix is square, with 1s on the leading diagonal and 0s elsewhere. Multiplying by it changes nothing.
Finished the lesson?
Try the 3 quick checks above and the lesson completes itself, or mark it complete now.