Welcome to the World of Matrices!

In this chapter, we are going to learn about Matrices. Think of a matrix simply as a mathematical "box" or grid used to store numbers. While they might look like just a list of numbers at first, they are incredibly powerful tools used in computer graphics, engineering, and even to solve complex sets of equations. By the end of this guide, you'll be able to manipulate these grids and use them to transform shapes in 2-D and 3-D space!

1. Matrix Basics: Adding, Subtracting, and Multiplying

Before we can do the cool stuff, we need to know how to handle the basics. A matrix is defined by its order (size), written as \(m \times n\), where \(m\) is the number of rows and \(n\) is the number of columns.

Addition and Subtraction

To add or subtract matrices, they must be conformable. This is just a fancy way of saying they must be the exact same size. You simply add or subtract the numbers in the same positions.

Example: If you have two \(2 \times 2\) matrices, you add the top-left number of the first to the top-left number of the second.

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.

Matrix Multiplication (The "Row by Column" Rule)

Multiplying two matrices together is a bit different from normal multiplication. You multiply the rows of the first matrix by the columns of the second matrix.

Important Rule: To multiply matrix \(A\) and \(B\), the number of columns in A must equal the number of rows in B. If they don't match, you can't multiply them!

Memory Aid: RC Cola
Always remember: Rows first, then Columns. You go across the row of the first matrix and down the column of the second.

Common Mistake: In normal math, \(2 \times 3\) is the same as \(3 \times 2\). In matrices, order matters! Usually, \(AB\) does not equal \(BA\).

Special Matrices

  • Zero Matrix (\(O\)): A matrix where every entry is 0. Adding this to any matrix changes nothing.
  • Identity Matrix (\(I\)): A square matrix with 1s on the main diagonal (top-left to bottom-right) and 0s everywhere else. Multiplying any matrix by \(I\) is like multiplying a number by 1; it stays exactly the same! \(AI = A\).

Key Takeaway: Check the sizes first! Only add/subtract if sizes match. Multiply Rows by Columns.

2. Determinants: The Scaling Factor

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

The 2x2 Determinant

For a matrix \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\), the determinant is calculated as:
\(det A = ad - bc\)

The 3x3 Determinant

For a \(3 \times 3\) matrix, the process is more involved. You pick a row (usually the top one) and multiply each element by the determinant of the \(2 \times 2\) matrix that remains when you cross out its row and column. Don't forget the sign pattern: \(+ - +\).

Did you know? The determinant tells us the area scale factor of a transformation. If the determinant is 5, the area of the shape after the transformation will be 5 times larger. If the determinant is negative, it means the orientation of the shape has been reversed (like looking at it in a mirror).

Singular vs. Non-Singular

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

Key Takeaway: \(det A\) is the area/volume scale factor. If it's zero, the matrix is "broken" (singular) and can't be reversed.

3. Inverse Matrices: The "Undo" Button

The inverse of matrix \(A\), written as \(A^{-1}\), is the matrix that "undoes" what \(A\) did.
\(AA^{-1} = I\) and \(A^{-1}A = I\).

Finding the 2x2 Inverse

To find the inverse of \(A = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\):
1. Find the determinant: \(det A = ad - bc\).
2. Swap \(a\) and \(d\).
3. Make \(b\) and \(c\) negative.
4. Divide the whole thing by the determinant: \(A^{-1} = \frac{1}{det A} \begin{pmatrix} d & -b \\ -c & a \end{pmatrix}\).

3x3 Inverses

Finding a \(3 \times 3\) inverse by hand involves finding minors, cofactors, and the adjugate matrix. Don't worry if this seems overwhelming—the Edexcel syllabus encourages you to use your calculator to find inverses for \(3 \times 3\) matrices! Just make sure you show the steps if the question asks for "algebraic methods."

Quick Review: You can only find an inverse if the matrix is square and the determinant is not zero.

4. Matrices as Transformations

This is where matrices get exciting! We can use matrices to move points around a graph.

2-D Transformations

To see what a matrix does, look at where it sends the "unit vectors" \(\begin{pmatrix} 1 \\ 0 \end{pmatrix}\) and \(\begin{pmatrix} 0 \\ 1 \end{pmatrix}\).
Common transformations you need to know:

  • Reflections: In the x-axis, y-axis, or the lines \(y = x\) and \(y = -x\).
  • Rotations: Always centered at the origin \((0,0)\). Positive angles are anti-clockwise.
  • Enlargements: Centered at the origin with scale factor \(k\).
  • Stretches: Parallel to the x-axis or y-axis.

Successive Transformations

If you want to apply transformation \(B\) and then transformation \(A\), the combined matrix is \(AB\).

Analogy: Shoes and Socks
Think of it like getting dressed. You put on socks (\(B\)), then shoes (\(A\)). In math, we write the first action on the right: \(A \times B \times (\text{Object})\). The transformation closest to the object happens first!

3-D Transformations

For AS Level, 3-D transformations are limited to:

  • Reflections in the planes \(x=0, y=0,\) or \(z=0\).
  • Rotations about the x, y, or z axes.

Key Takeaway: The matrix \(AB\) means "do \(B\) first, then \(A\)".

5. Invariant Points and Lines

Sometimes, a transformation doesn't move everything.

  • An invariant point is a point that stays exactly where it was after the transformation. The origin \((0,0)\) is always invariant for these linear transformations.
  • An invariant line is a line where every point on the line stays on the same line (though the points themselves might slide along it).

Quick Tip: To find invariant points, solve the equation \(M \begin{pmatrix} x \\ y \end{pmatrix} = \begin{pmatrix} x \\ y \end{pmatrix}\).

6. Solving Simultaneous Equations

We can write a system of three equations like this:
\(ax + by + cz = p\)
\(dx + ey + fz = q\)
\(gx + hy + iz = r\)
As a matrix equation: \(AX = B\), where \(A\) is the matrix of coefficients, \(X = \begin{pmatrix} x \\ y \\ z \end{pmatrix}\), and \(B = \begin{pmatrix} p \\ q \\ r \end{pmatrix}\).

To solve for \(X\), we use the inverse: \(X = A^{-1}B\).

Geometrical Interpretations (The Three Planes)

Each equation in 3 variables represents a plane (a flat 2-D sheet in 3-D space). There are three main things that can happen:

  1. A Single Solution: The three planes meet at one single point. (This happens if \(det A \neq 0\)).
  2. No Solutions: The planes might form a "prism" where they never all meet at once, or some planes might be parallel.
  3. Infinite Solutions: The planes meet along a line (called a sheaf) or they are actually all the same plane.

Analogy for a Sheaf: Think of the pages of a book meeting at the spine. The spine is the line where all the "planes" meet!

Key Takeaway: Use \(X = A^{-1}B\) to solve equations. If the determinant is zero, the system is either inconsistent (no solutions) or dependent (infinite solutions).

Summary Review

  • Matrices are grids of numbers; order matters for multiplication!
  • Determinant = area scale factor. If it's 0, there's no inverse.
  • Inverse = the "undo" button.
  • Transformations are written \(AB\) for "B then A".
  • Simultaneous Equations can be solved using the inverse matrix \(A^{-1}\).