This lesson builds on matrices and determinants↺.
Multiplying matrices
Each entry of a product is a row of the first matrix times a column of the second:
Row times columnMultiply across the row and down the column, then add
Order matters: in general AB=BA. The identity I=(1001) leaves a matrix unchanged: AI=IA=A.
Worked example · WAEC 2018
WAEC 2018 · Paper 2 · Q3
Given that B=(2134) and B2+3B+2I=3N, where I is the 2×2 unit matrix, find the matrix N.
B squared
- B2=(4+32+46+123+16)=(761819).
Think first. Multiply B by itself, row by column.
Add the three matrices
- 3B=(63912) and 2I=(2002).
- 3N=(7+6+26+3+018+9+019+12+2)=(1592733).
Divide by 3
- N=(53911).
The inverse of a 2 × 2 matrix
The inverse A−1 undoes A: AA−1=A−1A=I. It exists only when the determinant ad−bc is not zero.
The inverseA⁻¹ = (1 ÷ (ad − bc)) × (d, −b / −c, a)
Worked example · WAEC 2020
WAEC 2020 · Paper 2 · Q2
Given that P=(3546) and Q=(−2−351), find PQ−1, where Q−1 is the inverse of Q.
The inverse of Q
- ∣Q∣=(−2)(1)−(5)(−3)=−2+15=13.
- Q−1=131(13−5−2).
Think first. ad − bc for Q?
Multiply
- PQ−1=131(3+125+18−15−8−25−12).
- =131(1523−23−37).
Solving simultaneous equations
Two equations ax+by=p and cx+dy=q are the matrix equation A(xy)=(pq). Multiply both sides on the left by A−1:
(xy)=A−1(pq)
Solving with an inverse matrixSet the coefficients and the right-hand sides
5determinant ad − bc(2, 3)solution (x, y)
|A| = (2)(4) − (1)(3) = 5. A⁻¹ = (1/5) × (4, −1 / −3, 2). Then x = (4 × 7 − 1 × 18) ÷ 5 = 2 and y = ((−3) × 7 + 2 × 18) ÷ 5 = 3. Check: 2 × 2 + 1 × 3 = 7 ✓.
Worked example · NECO 2023
NECO 2023 · Paper 1 · Q13
If (31−11)(xy)=(137), find the value of y.
The inverse
- ∣A∣=3(1)−(−1)(1)=4, so A−1=41(1−113).
Multiply
- (xy)=41(13+7−13+21)=41(208)=(52).
- So y=2: option B.
Your turn
- (a)
Given the matrix A=(358−2), find its inverse.
Show the answer
A−1=(231465234−463)
Worked solution (try it first)
(a)
The determinant is
∣A∣=3(−2)−8(5)=−6−40=−46.
Swap the leading diagonal and change the signs of the other two entries:
(−2−5−83).
Divide by the determinant:
A−1=−461(−2−5−83)=(231465234−463).
Report a problem with this question