Welcome to the World of Matrices!
Hello there! Welcome to one of the most exciting and useful chapters in Further Mathematics. If you’ve ever wondered how computer graphics in video games work, or how GPS systems calculate routes, you’re looking at the right topic.
A matrix (plural: matrices) is essentially just a neat way of organizing numbers into rows and columns—like a spreadsheet. In this chapter, we will learn how to add, subtract, and multiply these "data grids," and discover how they can act as "instructions" to move shapes around in 2D and 3D space. Don’t worry if this seems tricky at first; once you master the basic rules, it becomes very logical!
1. Matrix Basics: Addition, Subtraction, and Scalar Multiplication
Before we start "doing" math with matrices, we need to know their order (size). We always list the number of Rows first, then Columns.
Memory Aid: Think of "RC Cola" or a "Remote Control" (Rows then Columns).
Conformable Matrices
To add or subtract matrices, they must be the same size. If they are, we call them conformable for addition. You simply add or subtract the numbers in the matching positions.
Example: \(\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix} + \begin{pmatrix} 5 & 6 \\ 7 & 8 \end{pmatrix} = \begin{pmatrix} 1+5 & 2+6 \\ 3+7 & 4+8 \end{pmatrix} = \begin{pmatrix} 6 & 8 \\ 10 & 12 \end{pmatrix}\)
Scalar Multiplication
Multiplying a matrix by a scalar (just a regular number) is like using a "magnifying glass." You multiply every single number inside the matrix by that scalar.
Example: \(3 \times \begin{pmatrix} 1 & -2 \\ 0 & 4 \end{pmatrix} = \begin{pmatrix} 3 & -6 \\ 0 & 12 \end{pmatrix}\)
Special Matrices
- Zero Matrix (0): A matrix where every entry is 0. Adding this to any matrix \(A\) leaves \(A\) unchanged (\(A + 0 = A\)).
- Identity Matrix (I): A square matrix with 1s on the leading diagonal (top-left to bottom-right) and 0s everywhere else. It acts like the number "1" in normal multiplication.
For a \(2 \times 2\) matrix: \(I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\)
Key Takeaway: Only add or subtract matrices of the same size. Scalar multiplication affects every number inside the brackets.
2. Matrix Multiplication
This is where things get a bit different! Multiplying two matrices is not just multiplying the numbers in the same positions. Instead, we use the "Row by Column" rule.
When can you multiply?
Two matrices can be multiplied only if the number of columns in the first matrix equals the number of rows in the second matrix.
If Matrix A is \(m \times n\) and Matrix B is \(n \times p\), the result \(AB\) will be size \(m \times p\).
Quick Trick: Write the dimensions side-by-side: \((2 \times \mathbf{3}) \times (\mathbf{3} \times 1)\). If the "inner" numbers match, you can multiply!
The "7" Rule
To find an entry in the new matrix, move across the row of the first matrix and down the column of the second matrix, multiplying pairs and adding them up. It looks a bit like drawing the number "7".
Important Note: In matrix algebra, \(AB\) is usually not the same as \(BA\). Order matters!
Did you know? Because the order matters, we use the terms pre-multiply (put it on the left) and post-multiply (put it on the right).
3. Determinants and Inverses (\(2 \times 2\))
Every square matrix has a special value called a determinant. For a \(2 \times 2\) matrix \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\), the determinant is:
\(det A = ad - bc\)
Singular vs Non-Singular
- If \(det A = 0\), the matrix is singular. It has no inverse (it cannot be "undone").
- If \(det A \neq 0\), the matrix is non-singular and has an inverse.
Finding the Inverse (\(A^{-1}\))
The inverse is the matrix that "reverses" the effect of the original. \(A \times A^{-1} = I\).
To find the inverse of \(\begin{pmatrix} a & b \\ c & d \end{pmatrix}\):
- Swap \(a\) and \(d\).
- Change the signs of \(b\) and \(c\) (make them negative).
- Divide the whole thing by the determinant (\(ad - bc\)).
Common Mistake: Forgetting to divide by the determinant is the most common error. Always check \(ad-bc\) first!
Properties of Inverses
One very important rule for exams: \((AB)^{-1} = B^{-1}A^{-1}\).
Analogy: Think of it like putting on socks, then shoes (\(AB\)). To undo it, you must take off your shoes first, then your socks (\(B^{-1}A^{-1}\)).
Key Takeaway: A matrix is singular if its determinant is zero. The inverse "swaps and negates" before dividing by the determinant.
4. Matrices as Transformations
We can use a matrix as a set of instructions to transform a point \((x, y)\). We write the point as a column vector and multiply:
\( \begin{pmatrix} a & b \\ c & d \end{pmatrix} \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x' \\ y' \end{pmatrix}\)
How to find a Transformation Matrix
If you are stuck, just look at what the transformation does to the "unit vectors" \(\begin{pmatrix} 1 \\ 0 \end{pmatrix}\) and \(\begin{pmatrix} 0 \\ 1 \end{pmatrix}\).
- The first column of your matrix is where \(\begin{pmatrix} 1 \\ 0 \end{pmatrix}\) lands.
- The second column of your matrix is where \(\begin{pmatrix} 0 \\ 1 \end{pmatrix}\) lands.
Successive Transformations
If you want to do transformation \(A\) then transformation \(B\), the combined matrix is \(BA\).
Wait, why \(BA\)? Because we apply \(A\) to the vector \(\mathbf{v}\) first: \(B(A\mathbf{v})\). The matrix closest to the vector happens first!
3D Transformations
For AQA AS Level, 3D transformations are restricted to:
- Reflections in the planes \(x=0\), \(y=0\), or \(z=0\).
- Rotations of \(90^\circ, 180^\circ, 270^\circ\) about one of the coordinate axes (\(x\), \(y\), or \(z\)).
5. Invariant Points and Lines
Sometimes, a transformation leaves certain things exactly where they were.
- Invariant Point: A point that doesn't move. To find it, solve \(M \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix}\). The origin \((0,0)\) is always an invariant point for these matrices.
- Invariant Line: A line where every point on the line stays somewhere on that same line. The points might slide along the line, but the line itself doesn't change position.
Quick Review Box:
- Determinant: \(ad - bc\)
- Identity \(I\): \(\begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\)
- Order of ops: Transformation \(M\) then \(N\) is written \(NM\).
- Inverse: Swap leading diagonal, negate the others, divide by determinant.
Summary: Putting it all together
Matrices are powerful tools for handling data and space. Whether you are calculating the inverse of a \(2 \times 2\) matrix or reflecting a shape in the \(z=0\) plane, the steps are always the same: check your conformability, watch your multiplication order, and always keep an eye on that determinant! You've got this!