With every square matrix $A$ we associate a scalar $\det(A)$ — one number encoding whether $A$ is invertible, how it scales volumes, and whether its columns are dependent. Determinants appear in the characteristic equation that unlocks eigenvalues, in Cramer's Rule, and throughout geometry.
Section 2.1
The Determinant of a Matrix
The 2×2 and 3×3 Cases
Definition — 2×2
$$\det\begin{pmatrix}a&b\\c&d\end{pmatrix} = ad - bc$$
$A$ is invertible iff $\det(A) \neq 0$.
Geometric meaning: $|\det(A)|$ = area of the parallelogram spanned by the columns. Sign encodes orientation (positive = counterclockwise). Drag the arrowheads to explore.
For a $3\times3$ matrix, expanding equation (3) from the book gives:
The $(i,j)$-minor $M_{ij}$ = $\det$ of the $(n-1)\times(n-1)$ submatrix obtained by deleting row $i$, column $j$.
The $(i,j)$-cofactor: $A_{ij} = (-1)^{i+j} M_{ij}$
Cofactor expansion along row $i$:
$$\det(A) = \sum_{j=1}^n a_{ij} A_{ij}$$
This works for any row or column — always gives the same value (Theorem 2.1.1).
The $(-1)^{i+j}$ sign pattern: a checkerboard of + and −. Hover any cell. Strategy: always expand along the row or column with the most zeros.
$$A = \begin{pmatrix}3&0&0&1\\0&2&0&0\\1&6&2&0\\0&2&-1&2\end{pmatrix}$$
Row 2 has three zeros — expand along it. Only $a_{22}=2$ is nonzero:
$$\det(A) = 2\cdot(-1)^{4}\cdot\det\begin{pmatrix}3&0&1\\1&2&0\\0&-1&2\end{pmatrix} = 2\cdot[3(4-0)-0+1(-1-0)] = 2(11) = 22$$
$\det(A) = 22$. Expanding along row 1 would require 4 sub-determinants instead of 1.
Triangular Matrices
Theorem 2.1.3 — Triangular Rule
If $A$ is upper or lower triangular: $\;\det(A) = a_{11}\cdot a_{22} \cdots a_{nn}$ (product of diagonal entries).
$$\det\begin{pmatrix}3&7&-2\\0&-1&5\\0&0&4\end{pmatrix} = 3\cdot(-1)\cdot4 = -12$$
This is the key theorem that makes row reduction efficient for computing determinants.
Section 2.2
Properties of Determinants
Effect of Row Operations on det
Row Operations Change det Predictably
If $E$ is an elementary matrix then $\det(EA) = \det(E)\cdot\det(A)$, where:
Type I (swap): $\det(E) = -1$ — det changes sign
Type II (scale row by $\alpha$): $\det(E) = \alpha$ — det scales by $\alpha$
Type III (add multiple): $\det(E) = 1$ — det unchanged
Click a row operation to apply it to the $3\times3$ matrix and watch $\det$ update in real time. Notice Type III never changes the determinant.
For a nonsingular system $A\mathbf{x} = \mathbf{b}$, the unique solution is:
$$x_j = \frac{\det(A_j)}{\det(A)}, \quad j = 1, \ldots, n$$
where $A_j$ is $A$ with column $j$ replaced by $\mathbf{b}$.
📘 Example 2.4 — Cramer's Rule (2×2)
$2x_1 + x_2 = 4, \quad 5x_1 + 3x_2 = 7$. $\quad \det(A) = 6-5 = 1$.
$$x_1 = \frac{\det\begin{pmatrix}4&1\\7&3\end{pmatrix}}{1} = \frac{12-7}{1} = 5, \qquad x_2 = \frac{\det\begin{pmatrix}2&4\\5&7\end{pmatrix}}{1} = \frac{14-20}{1} = -6$$
$(x_1, x_2) = (5, -6)$. Cramer's Rule is elegant for theory and small systems; use row reduction for large ones.
Connections Across the Course
$\det(A-\lambda I) = 0$ is the characteristic equation that finds eigenvalues → Chapter 6
This optional section covers the classical adjoint (adjugate), the complete proof of Cramer's Rule, and determinant applications to geometry and inverses. Marked † in the textbook — not required for later sections.
The Classical Adjoint (Adjugate Matrix)
Definition — Adjoint
The adjoint (or adjugate) of $A$ is the transpose of the cofactor matrix:
$$\text{adj}(A) = \begin{pmatrix}A_{11}&A_{21}&\cdots&A_{n1}\\A_{12}&A_{22}&\cdots&A_{n2}\\\vdots&&\ddots&\vdots\\A_{1n}&A_{2n}&\cdots&A_{nn}\end{pmatrix}$$
where $A_{ij} = (-1)^{i+j}\det(M_{ij})$ are the cofactors. Note: the $(i,j)$ entry of $\text{adj}(A)$ is the cofactor $A_{ji}$ — rows and columns are swapped.
Theorem — Adjoint–Inverse Formula
$$A \cdot \text{adj}(A) = \text{adj}(A) \cdot A = \det(A)\, I$$
Therefore, if $\det(A) \neq 0$:
$$A^{-1} = \frac{1}{\det(A)}\,\text{adj}(A)$$
This is a theoretical formula — not efficient for computation (use row reduction instead), but valuable for proofs and $2\times2$ inverses.
For a nonsingular system $A\mathbf{x}=\mathbf{b}$, define $A_j$ = matrix $A$ with column $j$ replaced by $\mathbf{b}$. By cofactor expansion along column $j$ of $A_j$:
📘 Example 2.6 — Area of a Triangle via Determinant
The area of the triangle with vertices $(x_1,y_1)$, $(x_2,y_2)$, $(x_3,y_3)$:
$$\text{Area} = \frac{1}{2}\left|\det\begin{pmatrix}x_1&y_1&1\\x_2&y_2&1\\x_3&y_3&1\end{pmatrix}\right|$$
For vertices $(0,0)$, $(3,0)$, $(1,2)$:
$$\frac{1}{2}\left|\det\begin{pmatrix}0&0&1\\3&0&1\\1&2&1\end{pmatrix}\right| = \frac{1}{2}|0-0+1(6-0)| = \frac{1}{2}(6) = 3$$
Area $= 3$. (Cross-check: base $=3$, height $=2$, area $=\frac{1}{2}(3)(2)=3$. ✓)