IB Mathematics: Applications and Interpretation · Topic 1 · Number and algebra
1.14 Matrices
Add, subtract and multiply matrices, find determinants and inverses, solve linear systems with matrices, and describe two-dimensional transformations.
1/5A matrix organises numbers into rows and columns
Part 1 of 5: A matrix organises numbers into rows and columns
A shop records the stock of three items in two branches. Each row can be one branch, and each column one item. A table like this is a matrix.
The order of a matrix is its number of rows followed by its number of columns. A matrix with 3 rows and 2 columns has order . Each number inside it is an entry, named by its row first, then its column.
Matrices of the same order can be added or subtracted. Combine the entries in matching positions. A scalar multiple multiplies every entry by the same number.
Worked example
Add, subtract and scale
- Scale : .
- Subtract entry by entry: .
Answer:
Key terms · tap one for its definition
matrix
A matrix is a rectangular array of numbers, called entries, arranged in rows and columns.
order
The order of a matrix is the number of rows followed by the number of columns, written .
Part 2 of 5: Matrix multiplication combines rows with columns
Multiplying two matrices is less direct. The product exists only when the number of columns of equals the number of rows of . If is and is , then is . The product has the same number of rows as and the same number of columns as .
Each entry of comes from one row of and one column of . For row and column , multiply matching entries. Then add the products.
Worked example
Multiply two matrices
- Row 1 of with column 1 of : .
- Row 1 of with column 2 of : .
- Row 2 of : and .
- For , row 1 of : and . Row 2 of : and .
Answer: and

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: B · Worked explanation
Part 3 of 5: The determinant tells you whether an inverse exists
Division by a matrix is not defined, but an inverse plays the same role. The identity matrix has 1s on the leading diagonal, from top left to bottom right, and 0s elsewhere. The inverse matrix satisfies . The identity matrix plays the role of the number 1.
For , the determinant is . If , then .
Worked example
Find an inverse
- Determinant: .
- Swap the diagonal entries and change the sign of the others: .
- Divide by the determinant: .
Answer:
A matrix with determinant zero has no inverse. For a matrix, use technology to find the determinant and the inverse. Always check an inverse by multiplying. If , the inverse is correct.
Key terms · tap one for its definition
identity matrix
The identity matrix is the square matrix with 1s on its leading diagonal and 0s elsewhere, so that .
inverse matrix
The inverse matrix of a square matrix is the matrix for which .
determinant
The determinant of is the number , which is non-zero exactly when the matrix has an inverse.
Part 4 of 5: Inverse matrices solve systems of linear equations
Systems of equations are the most common use of an inverse. A pair of linear equations can be written as . Here holds the coefficients, holds the unknowns and holds the constants.
Multiply both sides on the left by . This gives . The order matters, because is not defined.
The unknowns sit in the column vector , so the solution is a column too. Read and from its entries.
Worked example
Solve a system
- Write .
- Use the inverse found earlier: .
- Multiply: and .
- Check in the first equation: .
Answer: and

Quick check
One question on the part you just read
Easy
Show answer and explanation
Answer: A · Worked explanation
Part 5 of 5: A matrix can transform every point in the plane
Matrices also move points. Write a point as a column vector . Multiplying it by a matrix gives its image. A matrix used this way is a transformation matrix.
The first column of the matrix is the image of . The second column is the image of .
Common transformation matrices
- Transformation
- Reflection in the -axis
- Matrix
- Transformation
- Reflection in the -axis
- Matrix
- Transformation
- Reflection in
- Matrix
- Transformation
- Enlargement, scale factor
- Matrix
- Transformation
- Rotation anticlockwise by about the origin
- Matrix
Enlargement multiplies every coordinate by . Reflections flip a point to the other side of the mirror line. Rotations and reflections keep lengths unchanged, but an enlargement does not.
To apply first and then , use the matrix . The matrix nearest the point acts first.
Worked example
Rotate a point
- Substitute , so and : .
- Multiply: .
Answer: The image is .
Key term
transformation matrix
A transformation matrix is a matrix that maps each point to its image under matrix multiplication.
Check your recall[15 marks]
6 written questions. Answer each one in your head or on paper, then open the mark scheme.
- 1.Calculate[3 marks]
Calculate for and .
Show mark schemeHide mark scheme
Model answer
.
- 1 mark for multiplying rows of A by columns of B
- 1 mark for obtaining the first row 4 and 8
- 1 mark for obtaining the second row 6 and 0
- 2.State[1 mark]
State the condition on the orders of and for the product to exist.
Show mark schemeHide mark scheme
Model answer
The number of columns of must equal the number of rows of .
- 1 mark for stating that the columns of A must equal the rows of B
- 3.Determine[3 marks]
Determine the inverse of .
Show mark schemeHide mark scheme
Model answer
. So .
- 1 mark for finding
- 1 mark for swapping the diagonal entries and changing the signs of the other two
- 1 mark for obtaining
- 4.Determine[4 marks]
Determine the solution of and using a matrix inverse.
Show mark schemeHide mark scheme
Model answer
. The determinant is 1, so the inverse is . Then , so and .
- 1 mark for writing the system as
- 1 mark for finding
- 1 mark for calculating
- 1 mark for stating and
- 5.Describe[2 marks]
Describe the transformation given by the matrix .
Show mark schemeHide mark scheme
Model answer
It is a reflection in the -axis.
- 1 mark for identifying the transformation as a reflection
- 1 mark for stating that the mirror line is the -axis
- 6.Explain[2 marks]
Explain why a matrix with determinant zero has no inverse.
Show mark schemeHide mark scheme
Model answer
The inverse formula divides by the determinant. Division by zero is not defined, so no inverse exists.
- 1 mark for stating that the inverse formula divides by the determinant
- 1 mark for explaining that division by zero is undefined

Practice this topic
10 quick-fire multiple-choice questions, easy to hard. Tap an answer to see if you're right and the worked explanation. (The written questions with mark schemes are under “Check your recall” above.)
0 right0 of 10 answered
Includes the 2 quick checks in the note above.
EasyIdentify[1 mark]
Show answer and explanation
Answer: D · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: C · Worked explanation
MediumIdentify[1 mark]
Show answer and explanation
Answer: B · Worked explanation
MediumDetermine[2 marks]
Show answer and explanation
Answer: A · Worked explanation
MediumCalculate[2 marks]
Show answer and explanation
Answer: D · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: C · Worked explanation
HardDetermine[2 marks]
Show answer and explanation
Answer: B · Worked explanation
HardDeduce[2 marks]
Show answer and explanation
Answer: A · Worked explanation