Ever wondered why a 3x3 grid of numbers can tell you if a system of equations has a unique solution? That magic lives in matrices and their determinants.
In simple words: a matrix is just a rectangular table of numbers, like a spreadsheet. The determinant is a single number you can pull out of a square table that tells you whether the table can be “undone” (has an inverse) or not.
What is a Matrix?
A matrix (first time: a rectangular array of numbers arranged in rows and columns) is written inside brackets. For example,
A = \[\begin{bmatrix}1 & 2\\3 & 4\\5 & 6\end{bmatrix}\]
has 3 rows and 2 columns, so we say its order (size) is 3×2. Each entry is called an element (the number at a specific row and column). Think of a matrix like a chocolate bar: each piece (element) sits in a row and a column.
Adding and Subtracting Matrices
You can only add or subtract matrices that share the same order. Just line them up and add the matching pieces.
Example:
A = \[\begin{bmatrix}1 & 2\\3 & 4\end{bmatrix}\], B = \[\begin{bmatrix}5 & 6\\7 & 8\end{bmatrix}\]
Then
A + B = \[\begin{bmatrix}1+5 & 2+6\\3+7 & 4+8\end{bmatrix}\] = \[\begin{bmatrix}6 & 8\\10 & 12\end{bmatrix}\]
Multiplying Matrices
Multiplication is a bit trickier. The number of columns in the first matrix must equal the number of rows in the second. The result’s order is (rows of first) × (columns of second).
Example:
C = \[\begin{bmatrix}1 & 2\\3 & 4\end{bmatrix}\], D = \[\begin{bmatrix}0 & 1\\1 & 0\end{bmatrix}\]
Then
C·D = \[\begin{bmatrix}(1·0+2·1) & (1·1+2·0)\\(3·0+4·1) & (3·1+4·0)\end{bmatrix}\] = \[\begin{bmatrix}2 & 1\\4 & 3\end{bmatrix}\]
Determinant – The Number that Summarizes a Square Matrix
A determinant (first time: a single number calculated from a square matrix that reveals properties like invertibility) exists only for square matrices (same number of rows and columns). We write it as |A| or det(A).
Determinant of a 2×2 Matrix
For
A = \[\begin{bmatrix}a & b\\c & d\end{bmatrix}\], the determinant is
det(A) = ad - bc.
Example:
A = \[\begin{bmatrix}3 & 5\\2 & 7\end{bmatrix}\] → det(A) = (3·7) - (5·2) = 21 - 10 = 11.
Determinant of a 3×3 Matrix
For a 3×3 matrix we can use the cofactor expansion (first time: breaking the determinant into smaller 2×2 determinants). Choose any row or column – the first row is common.
If
A = \[\begin{bmatrix}a&b&c\\d&e&f\\g&h&i\end{bmatrix}\], then
det(A) = a·C_{11} - b·C_{12} + c·C_{13}, where each C is the determinant of the 2×2 matrix left after removing the row and column of that element (called a minor), and the signs follow a + – + pattern.
Example:
A = \[\begin{bmatrix}1&2&3\\0&4&5\\1&0&6\end{bmatrix}\]
Compute:
- Minor of 1: \[\begin{bmatrix}4&5\\0&6\end{bmatrix}\] → 4·6 - 5·0 = 24
- Minor of 2: \[\begin{bmatrix}0&5\\1&6\end{bmatrix}\] → 0·6 - 5·1 = -5
- Minor of 3: \[\begin{bmatrix}0&4\\1&0\end{bmatrix}\] → 0·0 - 4·1 = -4
Apply signs (+ – +): det(A) = 1·24 - 2·(-5) + 3·(-4) = 24 + 10 - 12 = 22.
Quick Comparison – Matrices vs Determinants
| Aspect | Matrix | Determinant |
|---|---|---|
| Shape | Any rectangular array (e.g., 2×3) | Only square (n×n) |
| Result | Another matrix (or single number after addition) | Single scalar number |
| Purpose | Store data, perform linear transformations | Test invertibility, compute area/volume scaling |
| Key operation | Add, subtract, multiply | Expansion by minors, row‑operations |
Common Mistakes to Avoid
- Adding matrices of different orders – you’ll get a mismatch error.
- Using the 2×2 formula on a 3×3 matrix – always expand by minors.
- Forgetting the alternating sign (+ – + – …) in cofactor expansion.
- Assuming a zero determinant means all entries are zero – it only means the matrix is singular (non‑invertible).
📝 Likely Exam Questions
- Find the determinant of \[\begin{bmatrix}2&1&3\\0&-1&4\\5&2&0\end{bmatrix}\].
Solution: Expand along first row → 2·| -1 4; 2 0| - 1·|0 4;5 0| + 3·|0 -1;5 2| = 2·((-1·0)-(4·2)) - 1·((0·0)-(4·5)) + 3·((0·2)-(-1·5)) = 2·(-8) - 1·(-20) + 3·5 = -16 + 20 + 15 = 19. - Given A = \[\begin{bmatrix}1&2\\3&4\end{bmatrix}\], compute A⁻¹ (inverse) if it exists.
det(A)=1·4-2·3= -2 ≠0, so inverse exists. A⁻¹ = (1/det)·\[\begin{bmatrix}d&-b\\-c&a\end{bmatrix}\] = (-1/2)·\[\begin{bmatrix}4&-2\\-3&1\end{bmatrix}\] = \[\begin{bmatrix}-2&1\\1.5&-0.5\end{bmatrix}\]. - State whether the matrix \[\begin{bmatrix}1&2&3\\4&5&6\end{bmatrix}\] has a determinant and explain why.
It is a 2×3 matrix, not square, so a determinant is not defined. - Explain in one line why a zero determinant means the matrix cannot be inverted.
A zero determinant indicates the matrix compresses space to a lower dimension, losing information needed for a unique reversal.