Adding, subtracting, and scaling
A matrix is a rectangular grid of numbers. A 2x2 matrix has two rows and two columns. To add or subtract two matrices of the same size, work on each position separately, just like with column vectors.
To multiply a matrix by a scalar, multiply every entry by that number.
With \(A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\) and \(B = \begin{pmatrix} 5 & 0 \\ -1 & 2 \end{pmatrix}\), find \(A + B\) and \(3A\).
Multiplying two matrices
Matrix multiplication is the one that surprises people. You take each row of the left matrix and pair it with each column of the right matrix, multiplying term by term and adding, exactly like a dot product.
Find \(AB\) where \(A = \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\) and \(B = \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix}\).
Order matters
Matrix multiplication is not commutative: in general \(AB \neq BA\). Always keep the matrices in the order the question gives them, and go row of the left, column of the right.
The determinant
The determinant of a 2x2 matrix is a single number that tells you, among other things, whether the matrix can be inverted. For \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\) it is defined as follows.
Find the determinant of \(A = \begin{pmatrix} 4 & 3 \\ 2 & 1 \end{pmatrix}\).
If the determinant is zero, the matrix is singular and has no inverse. Keep an eye on that value before trying to invert.
The inverse of a 2x2 matrix
The inverse \(A^{-1}\) undoes \(A\): multiplying them gives the identity matrix \(I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\). To find it, swap the leading diagonal, negate the other diagonal, and divide everything by the determinant.
Find the inverse of \(A = \begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}\).
Where this is assessed
Determinant and inverse are core Criterion A skills. You can always check your inverse under Criterion C by multiplying \(A A^{-1}\) and confirming you get the identity matrix \(\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\). Here \(\begin{pmatrix} 2 & 1 \\ 3 & 4 \end{pmatrix}\begin{pmatrix} \frac{4}{5} & -\frac{1}{5} \\ -\frac{3}{5} & \frac{2}{5} \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\).
Check yourself
1. Find the determinant of \(\begin{pmatrix} 3 & 5 \\ 1 & 2 \end{pmatrix}\). +
Use \(ad - bc\): \((3)(2) - (5)(1) = 6 - 5 = \mathbf{1}\).
2. Find the inverse of \(\begin{pmatrix} 1 & 2 \\ 3 & 7 \end{pmatrix}\). +
Determinant: \((1)(7) - (2)(3) = 7 - 6 = 1\). Swap the leading diagonal and negate the other: \(\begin{pmatrix} 7 & -2 \\ -3 & 1 \end{pmatrix}\). Dividing by \(1\) leaves it unchanged, so the inverse is \(\mathbf{\begin{pmatrix} 7 & -2 \\ -3 & 1 \end{pmatrix}}\).
3. Work out \(\begin{pmatrix} 1 & 0 \\ 2 & 3 \end{pmatrix}\begin{pmatrix} 4 & 5 \\ 6 & 7 \end{pmatrix}\). +
Top-left: \((1)(4)+(0)(6)=4\). Top-right: \((1)(5)+(0)(7)=5\). Bottom-left: \((2)(4)+(3)(6)=8+18=26\). Bottom-right: \((2)(5)+(3)(7)=10+21=31\). Result: \(\mathbf{\begin{pmatrix} 4 & 5 \\ 26 & 31 \end{pmatrix}}\).
Part of the Extended Maths library. Spotted an error or want a topic added? That feedback makes the notes better.