Welcome to the World of Matrices!

Welcome to one of the most powerful tools in Further Mathematics: Matrices. Think of a matrix as a mathematical "spreadsheet" or a grid of numbers. While they might look like just boxes of data, they are actually the secret language behind computer graphics, engineering, and even the way GPS calculates your location!
In this chapter, we will learn how to manipulate these grids and use them to transform shapes in 2D and 3D space. Don't worry if it seems a bit "alien" at first—once you learn the rules of the game, it becomes very logical!

1. Matrix Basics: Addition, Subtraction, and Scalars

Before we can do the fancy stuff, we need to know how to handle the basics. A matrix is defined by its order (size), written as rows \(\times\) columns.

Quick Review: To remember the order, think of "Roman Catholic" or "Remote Control" — Rows first, then Columns.

Addition and Subtraction

You can only add or subtract matrices if they are conformable. This is a fancy way of saying they must be the exact same size.
To add or subtract, you simply match up the numbers in the same positions.
Example: If you add the top-left number of Matrix A to the top-left number of Matrix B, you get the top-left number of your answer.

Scalar Multiplication

A scalar is just a normal number (like 5 or -2). To multiply a matrix by a scalar, you multiply every single number inside the matrix by that scalar.
Common Mistake: Forgetting to multiply the numbers in the bottom row! Make sure you hit every entry.

Special Matrices

  • Zero Matrix (0): A matrix where every entry is 0. It works just like the number zero in normal math.
  • Identity Matrix (I): A square matrix with 1s on the leading diagonal (top-left to bottom-right) and 0s everywhere else. For a \(2 \times 2\) matrix, \(I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}\). This is the "1" of the matrix world. Multiplying any matrix by \(I\) leaves it unchanged!

Key Takeaway: Addition requires the same size; Scalar multiplication affects every entry; the Identity matrix \(I\) is your "mathematical mirror."

2. Matrix Multiplication: The "Across and Down" Rule

Multiplying two matrices is a bit different from normal multiplication. You can only multiply Matrix A and Matrix B if the number of columns in A equals the number of rows in B.

How to Multiply

We use the "Row by Column" method.
1. Take the first row of the left matrix.
2. Take the first column of the right matrix.
3. Multiply the first elements, add the product of the second elements, and so on.
4. This gives you the first entry of your new matrix.

Memory Aid: Use your fingers! Trace across the row of the first matrix with your left hand while tracing down the column of the second matrix with your right hand.

The Golden Rule: Order Matters!

In normal math, \(2 \times 3\) is the same as \(3 \times 2\). In matrices, \(AB\) is NOT usually the same as \(BA\). Always keep them in the order the question asks!

Key Takeaway: Always multiply Rows \(\times\) Columns. The middle numbers of their orders must match (e.g., a \(2 \times \mathbf{3}\) can multiply a \(\mathbf{3} \times 1\)).

3. Determinants and Inverses

Every square matrix has a special number called a determinant, written as \(det(A)\) or \(|A|\).

The \(2 \times 2\) Determinant

For \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\), the determinant is \(ad - bc\).
Think of it as the "Area Scale Factor". If you use a matrix to transform a shape, its area will be multiplied by the determinant.

Singular vs. Non-Singular

  • If \(det(A) = 0\), the matrix is singular. It has no inverse. Geometrically, it squashes a 2D shape into a 1D line (area becomes 0).
  • If \(det(A) \neq 0\), it is non-singular and has an inverse.

The Inverse Matrix \(A^{-1}\)

The inverse is the "undo" button. If Matrix \(A\) moves a point, \(A^{-1}\) moves it back.
\(A \times A^{-1} = I\).
Step-by-step for \(2 \times 2\) Inverse:
1. Calculate the determinant \(1/(ad - bc)\).
2. Swap the numbers on the leading diagonal (\(a\) and \(d\)).
3. Change the signs of the other two numbers (\(b\) and \(c\)).
4. Multiply the whole thing by the \(1/det\).

Note for \(3 \times 3\) Matrices: You are expected to use your calculator to find these in the exam! Make sure you are comfortable using the matrix mode on your Casio Classwiz or CG50.

Key Takeaway: The determinant tells you the scale factor. If it's zero, you can't "undo" the matrix (no inverse).

4. Geometric Transformations in 2D and 3D

Matrices can represent linear transformations like rotations, reflections, and enlargements.

The Unit Square Trick

To find the matrix for any 2D transformation, just look at what happens to the points (1, 0) and (0, 1).
- The first column of the matrix is where (1, 0) lands.
- The second column is where (0, 1) lands.

Common 2D Transformations

  • Rotation: \(\begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}\) for anti-clockwise rotation by \(\theta\) about the origin.
  • Reflection: Be ready to identify reflections in \(x=0\), \(y=0\), and \(y = \pm x\).
  • Enlargement: \(\begin{pmatrix} k & 0 \\ 0 & k \end{pmatrix}\) where \(k\) is the scale factor.

Combined Transformations

If you do transformation \(B\) followed by transformation \(A\), the combined matrix is \(AB\).
Wait! Notice the order? The first transformation goes on the right. Think of it like a function \(f(g(x))\)—you do the inside one first!

3D Transformations

Don't panic! You only need to know:
1. Reflections in planes \(x=0\), \(y=0\), or \(z=0\).
2. Rotations about the \(x\), \(y\), or \(z\) axes.
Hint: If rotating about the \(x\)-axis, the \(x\)-coordinates don't change, so the first row/column will look like the identity matrix \((1, 0, 0)\).

Key Takeaway: Transformations are applied right-to-left. The determinant is the area (2D) or volume (3D) scale factor. If the determinant is negative, the orientation has been reversed (like looking in a mirror).

5. Invariant Points and Lines

Sometimes, a transformation leaves certain things alone!

  • Invariant Point: A point that stays exactly where it is. The origin (0,0) is always invariant in these transformations. To find others, solve \(M \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix}\).
  • Invariant Line: Every point on the line stays on the line (though they might slide to a new position on that same line). To find these, solve \(M \begin{pmatrix} x \\ mx+c \end{pmatrix} = \begin{pmatrix} X \\ mX+c \end{pmatrix}\).

Key Takeaway: Invariant points don't move; invariant lines don't change position, even if the points on them do.

6. Solving Simultaneous Equations

Matrices allow us to solve systems of three equations with three variables (\(x, y, z\)).
We write them as \(M \mathbf{v} = \mathbf{B}\), where \(M\) is the matrix of coefficients.
To solve, we calculate \(\mathbf{v} = M^{-1} \mathbf{B}\).

Geometric Interpretations (The "Three Planes")

Each equation represents a plane in 3D space. There are three main scenarios:
1. Unique Solution: The three planes meet at a single point. (This happens if \(det(M) \neq 0\)).
2. Inconsistent (No Solution): The planes don't have a common meeting point. They might form a triangular prism.
3. Infinitely Many Solutions: The planes meet along a line (called a sheaf) or are all the same plane.

Quick Tip: If your calculator gives an "Error" when solving, the determinant is zero. You then need to check if the equations are consistent or not by looking for patterns between them.

Key Takeaway: Use the inverse matrix to solve equations. If the determinant is 0, look for a "sheaf" (consistent) or a "prism" (inconsistent).