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 m×nm \times n 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.

The types of matrices you need to know
TypeWhat it looks likeExampleOrder
Row matrixexactly one row[3−146]\begin{bmatrix} 3 & -1 & 4 & 6 \end{bmatrix}1×41 \times 4
Column matrixexactly one column[1279]\begin{bmatrix} 12 \\ 7 \\ 9 \end{bmatrix}3×13 \times 1
Square matrixas many rows as columns[2508]\begin{bmatrix} 2 & 5 \\ 0 & 8 \end{bmatrix}2×22 \times 2
Zero matrix, OOevery element is 0[000000]\begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}2×32 \times 3
Identity matrix, IIsquare, 1s on the leading diagonal and 0s elsewhere[100010001]\begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}3×33 \times 3

Definition

Order

A matrix with mm rows and nn columns has order m×nm \times n (say "mm by nn"). It has m×nm \times n elements. A 3×43 \times 4 matrix has 3 rows, 4 columns and 12 elements.

State the order of

P=[4.503.206.805.102.907.40]P = \begin{bmatrix} 4.50 & 3.20 & 6.80 \\ 5.10 & 2.90 & 7.40 \end{bmatrix}

Worked example

Name the type and order of each matrix

  • Foundation
  • Technology free

State the order of each matrix, and name every type it belongs to (row, column, square, zero, identity).

A=[50−2]B=[38]C=[0000]D=[100010001]A = \begin{bmatrix} 5 & 0 & -2 \end{bmatrix} \qquad B = \begin{bmatrix} 3 \\ 8 \end{bmatrix} \qquad C = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix} \qquad D = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}
4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Count the rows, then the columns.

  2. One row: row matrix. One column: column matrix. Rows = columns: square.

  3. 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: I3I_3 is square too.

Two special matrices behave like the numbers 0 and 1 do in ordinary arithmetic. Adding 00 to a number changes nothing, and so does adding a zero matrix OO to a matrix of the same order. Multiplying a number by 11 changes nothing, and you will see in the lesson on multiplication that multiplying by the identity matrix II changes nothing either.

Interactive

Adding the zero matrix

BB starts as the 2×32 \times 3 zero matrix, so A+B=AA + B = A. Change an element of BB and BB is no longer the zero matrix. What happens to A+BA + B?

Key idea

The identity matrix

The identity matrix II is always square. Its leading diagonal (top left to bottom right) is all 1s and every other element is 0:

I2=[1001]I3=[100010001]I_2 = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \qquad I_3 = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}

The subscript gives its size when that is not clear from the context.

Which of these is an identity matrix?

Choose one answer

Common mistake

Same number of elements, different order

A 2×32 \times 3 matrix and a 3×23 \times 2 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 m×nm \times n matrix has mnmn elements.

  • A row matrix has one row (1×n1 \times n); a column matrix has one column (m×1m \times 1); a square matrix has nn rows and nn columns.

  • The zero matrix OO has every element 00. Adding it changes nothing.

  • The identity matrix II 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.

Lesson 2 of 70% read

Save your progress with a free account