IB Maths AI HL Matrices Paper 1 & 2 Notation & types ~6 min read

Introduction to Matrices

A matrix is a rectangular array of numbers laid out in rows and columns. Once you know how to read its order, label its elements, and spot a handful of special types, the rest of the chapter — addition, multiplication, inverses, equation-solving — falls into place.

📘 What you need to know

Matrices, order and element notation

A matrix is written inside large brackets, with its entries arranged in a grid. The number of rows tells you m; the number of columns tells you n; together they give the order m × n. The entry in row i and column j of matrix A is denoted ai,j (the comma is optional — aij means the same thing).

Anatomy of a matrix — rows, columns, and the ai, j notation col 1 col 2 col 3 col 4 row 1 row 2 row 3 a1, 1 a1, 2 a1, 3 a1, 4a2, 1 a2, 2 a2, 3 a2, 4a3, 1 a3, 2 a3, 3 a3, 4 a2, 3 row 2, col 3 orderm × n = 3 × 4 3 rows, 4 columns — rows first, always ROW (1×3) COLUMN (3×1) SQUARE (2×2) IDENTITY I2 ( 1   −2   4 ) ( 3 ) ( 0 ) . 2   1 0  −3 1   0 0   1
Each entry is named by its row first, column second. Below the main matrix: four classic types you’ll meet often.
Matrix notation A = (ai,j),   i = 1, 2, …, m;   j = 1, 2, …, n order = rows × columns = m × n

Special types of matrices

A handful of named matrices come up so often that you should recognise them on sight. The simplest ones — row, column and square — are defined by their shape. The zero matrix and identity matrix are defined by their contents and act as the additive and multiplicative identities respectively (you’ll see why in the next note).

Equality: A = B iff they have the same order and every ai,j equals the corresponding bi,j. A 2×3 matrix can never equal a 3×2 matrix, even if every entry is identical.

🧭 Recipe — reading and classifying a matrix

  1. Count rows and columns to find the order m × n.
  2. Check the shape: m = 1 ⇒ row; n = 1 ⇒ column; m = n ⇒ square.
  3. Check for the zero matrix: every entry is 0.
  4. Check for the identity: square, with 1s on the leading diagonal and 0s elsewhere.
  5. To name an entry, use ai,j: i = row, j = column.

Worked examples

WE 1

Order and type

Let A = (4, −2, 7, 1)T (a single column with entries 4, −2, 7, 1). State the order of A and identify the type of matrix.

count rows and columns 4 rows, 1 column n = 1 ⇒ column matrix order 4 × 1 · column matrix also called a column vector — the building block for matrix equations like Ax = b.
WE 2

Naming specific entries

Let B = ((3, −1, 4, 2), (0, 5, −2, 7), (1, −3, 6, −4)) (three rows). (a) State the order of B. (b) Find b1,3 and b3,2.

(a) 3 rows, 4 columns order = 3 × 4 (b) b₁,₃ = row 1, col 3 b₁,₃ = 4 b₃,₂ = row 3, col 2 b₃,₂ = −3 3 × 4 · b₁,₃ = 4, b₃,₂ = −3 row first, column second — b₃,₂ is not the same as b₂,₃.
WE 3

Classifying special matrices

State the order and the type of each: M = ((1,0,0),(0,1,0),(0,0,1)), N = ((0,0,0),(0,0,0)), P = ((−3),(4),(0),(2)).

M: 3 rows, 3 cols; 1s on diagonal, 0s elsewhere 3 × 3 identity matrix I₃ N: 2 rows, 3 cols; every entry zero 2 × 3 zero matrix P: 4 rows, 1 col 4 × 1 column matrix M: identity 3×3 · N: zero 2×3 · P: column 4×1 a zero matrix doesn’t have to be square; only the identity does.
WE 4

Equal matrices: find the unknowns

Given that ((x+1, 2y), (3, z−4)) = ((5, 6), (3, 1)), find x, y and z.

equal matrices: corresponding entries are equal x + 1 = 5 ⇒ x = 4 2y = 6 ⇒ y = 3 z − 4 = 1 ⇒ z = 5 x = 4, y = 3, z = 5 equality of matrices is element-by-element, never a single equation across the whole matrix.
WE 5

Constructing a matrix from a rule

Let A be of order 2 × 3 with ai,j = i + 2j. Write down A.

work through each cell: aᵢ,ⱼ = i + 2j row 1: 1+2, 1+4, 1+6 = 3, 5, 7 row 2: 2+2, 2+4, 2+6 = 4, 6, 8 A = ((3, 5, 7), (4, 6, 8)) build the matrix one cell at a time, keeping i for row and j for column.
WE 6

Full question on a 3×3 matrix

Let A = ((2, −1, 4), (3, 0, −5), (1, 6, 2)). (a) State the order of A. (b) Identify the type of matrix. (c) Find a2,1 and a3,3. (d) Write down the identity matrix of the same order.

(a) 3 rows, 3 cols order = 3 × 3 (b) m = n ⇒ square matrix (c) a₂,₁ = row 2, col 1; a₃,₃ = row 3, col 3 a₂,₁ = 3,   a₃,₃ = 2 (d) I₃ = identity of order 3 I₃ = ((1, 0, 0), (0, 1, 0), (0, 0, 1)) 3×3 square · a₂,₁ = 3, a₃,₃ = 2 · I₃ as above A is square but not the identity — only the diagonal-of-1s-and-rest-zeros qualifies.

💡 Top tips

âš  Common mistakes

Next up: Operations with Matrices — adding, subtracting, scalar-multiplying, and most importantly multiplying two matrices together. Matrix multiplication has rules of its own, including the fact that order matters.

Need help with AI HL Matrices?

Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.

Book Free Session →