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 aija_{ij} 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.

Smoothies sold on Saturday
ShopSmallLarge
CBD2418
Toowong1521

Strip away the labels, keep every number in its place, and you have a matrix:

S=[24181521]\bm{S} = \begin{bmatrix} 24 & 18 \\ 15 & 21 \end{bmatrix}

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 mm rows and nn columns has order (or dimension) m×nm \times n, read "mm by nn". Rows always come first.

Matrices are named with bold capital letters, such as A\bm{A}, and written with square brackets. The element in row ii and column jj of A\bm{A} is aija_{ij}. In handwriting, a plain capital letter is fine.

In a21a_{21} the first number is the row and the second is the column.

In A\bm{A} above, a11=3a_{11} = 3, a12=−1a_{12} = -1, a21=5a_{21} = 5 and a22=2a_{22} = 2. Read the subscript as "row, column": a12a_{12} is in row 1, column 2.

Order matters too. A matrix with one row, such as [47]\begin{bmatrix} 4 & 7 \end{bmatrix}, has order 1×21 \times 2. A matrix with one column, such as [47]\begin{bmatrix} 4 \\ 7 \end{bmatrix}, has order 2×12 \times 1. Same numbers, different matrices.

What is the order of [7−2]\begin{bmatrix} 7 \\ -2 \end{bmatrix}?

Choose one answer
Special matrices you will use all topic
NameExampleWhat makes it special
Row matrix[47]\begin{bmatrix} 4 & 7 \end{bmatrix}One row: order 1×n1 \times n
Column matrix[47]\begin{bmatrix} 4 \\ 7 \end{bmatrix}One column: order m×1m \times 1
Square matrix[3−152]\begin{bmatrix} 3 & -1 \\ 5 & 2 \end{bmatrix}As many rows as columns
Zero matrix0=[0000]\bm{0} = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}Every element is 00
Identity matrixI=[1001]\bm{I} = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}Square, with 11s on the leading diagonal and 00s elsewhere

Note

The leading diagonal

The leading diagonal of a square matrix runs from the top left to the bottom right. The identity matrix I\bm{I} will act like the number 1 when you multiply, and the zero matrix 0\bm{0} 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 2×22 \times 2 matrices is really four ordinary equations, one for each position.

Worked example

Find the unknowns in a matrix equation

  • Simple familiar
  • Technology free

Find xx and yy if

[2x−143x+y]=[7431].\begin{bmatrix} 2x - 1 & 4 \\ 3 & x + y \end{bmatrix} = \begin{bmatrix} 7 & 4 \\ 3 & 1 \end{bmatrix}.
4 steps

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

Method

  1. Check the two matrices have the same order.

  2. Equate corresponding elements to get ordinary equations.

  3. 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 aa and bb if

[a+b6−1a−b]=[106−14].\begin{bmatrix} a + b & 6 \\ -1 & a - b \end{bmatrix} = \begin{bmatrix} 10 & 6 \\ -1 & 4 \end{bmatrix}.

Common mistake

Rows before columns

a12a_{12} and a21a_{21} are different elements, and a 1×21 \times 2 matrix is not a 2×12 \times 1 matrix. Say "row, column" to yourself every time. Matrices of different orders are never equal, even when they hold the same numbers: [12]≠[12]\begin{bmatrix} 1 & 2 \end{bmatrix} \neq \begin{bmatrix} 1 \\ 2 \end{bmatrix}.

For B=[4−308]\bm{B} = \begin{bmatrix} 4 & -3 \\ 0 & 8 \end{bmatrix}, what is b12b_{12}?

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

Summary

  • A matrix is a rectangular array of numbers. Its order is rows × columns, m×nm \times n.

  • aija_{ij} is the element of A\bm{A} in row ii and column jj.

  • Row, column and square matrices are named for their shape. 0\bm{0} has every element zero, and I\bm{I} 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.

Lesson 1 of 80% read

Save your progress with a free account