Ever wondered why a Sudoku puzzle can be solved with a grid of numbers? That's a real‑life taste of matrices!
Think of a matrix as a chocolate box: each row is a layer and each column is a chocolate slot. The determinant is the special number that tells you how the whole box changes size when you stretch or flip it.
What is a Matrix?
A matrix (plural: matrices) is just a rectangular arrangement of numbers, symbols, or expressions, organized in rows (horizontal lines) and columns (vertical lines). Imagine a spreadsheet or a chessboard where each square holds a value—that's a matrix.
Common types of matrices
- Row matrix: only one row.
- Column matrix: only one column.
- Square matrix: same number of rows and columns; this is the only kind that has a determinant.
- Zero matrix: every entry is 0.
- Identity matrix: a square matrix with 1’s on the main diagonal (top‑left to bottom‑right) and 0’s elsewhere; it works like the number 1 for matrix multiplication.
Determinant: The Magic Number
The determinant is a single number you can calculate from a square matrix. It tells you things like whether the matrix can be “undone” (has an inverse) and how areas or volumes change when the matrix acts like a transformation.
For a 2 × 2 matrix [[a, b], [c, d]], the determinant is simply ad − bc. Think of it as the net “area” scaling when you stretch a tiny square using that matrix.
How to find the determinant of a 3 × 3 matrix
When the matrix gets bigger, we use cofactor expansion (also called Laplace expansion). It’s like breaking a big puzzle into smaller 2 × 2 pieces you already know how to solve.
Step‑by‑step example:
| 1 2 3 | | 0 4 5 | | 1 0 6 |
1. Choose the first row (1, 2, 3).
2. For each element, delete its row and column to get a 2 × 2 “minor”.
3. Multiply the element by its minor’s determinant and by a sign (+ – +…) called the cofactor.
4. Add the three results.
Calculations:
- Element 1 → minor
|4 5; 0 6| = (4·6 − 5·0)=24. Cofactor = +1·24 = 24. - Element 2 → minor
|0 5; 1 6| = (0·6 − 5·1)=‑5. Cofactor = –2·(‑5)=10. - Element 3 → minor
|0 4; 1 0| = (0·0 − 4·1)=‑4. Cofactor = +3·(‑4)=‑12.
Determinant = 24 + 10 ‑ 12 = 22.
Quick properties you must remember for exams
- If you swap two rows, the determinant changes sign.
- If a row is all zeros, the determinant is zero.
- Multiplying a row by a constant multiplies the determinant by the same constant.
- The determinant of a triangular matrix (all zeros either above or below the main diagonal) is the product of the diagonal entries.
Matrix Operations at a Glance
| Operation | Effect on Determinant |
|---|---|
| Swap two rows | Sign flips (multiply by ‑1) |
| Multiply a row by k | Determinant multiplied by k |
| Add multiple of one row to another | Determinant unchanged |
| Transpose (flip over diagonal) | Determinant unchanged |
📝 Likely Exam Questions
- Find the determinant of the matrix \(\begin{bmatrix}2&3\\5&7\end{bmatrix}\).
Answer: \(2·7‑3·5 = 14‑15 = -1\). - Calculate the determinant of \(\begin{bmatrix}1&2&3\\0&4&5\\1&0&6\end{bmatrix}\) using cofactor expansion.
Answer: 22 (as shown above). - State whether the matrix \(\begin{bmatrix}4&2\\6&3\end{bmatrix}\) is invertible.
Answer: Determinant = \(4·3‑2·6 = 12‑12 = 0\); not invertible. - If two rows of a 4×4 matrix are interchanged, how does its determinant change?
Answer: It changes sign (multiplied by ‑1). - Find the determinant of a triangular matrix \(\begin{bmatrix}5&0&0\\2&-3&0\\4&1&2\end{bmatrix}\).
Answer: Product of diagonal = \(5·(-3)·2 = -30\).