The Determinant — One Number per Square Matrix

To every square matrix A=[aij]A = [a_{ij}] of order nn we attach a single number (real or complex) called its determinant, written det⁡A\det A, ∣A∣\vert A \vert or Δ\Delta. Think of it as a function f:M→Kf : M \to K from the set of square matrices to the set of numbers — each square matrix in, exactly one number out. Chapter 3 ended with invertibility; this number is precisely what decides it.

Two warnings before any computation (both are favourite one-mark traps):

  1. ∣A∣\vert A \vert is read determinant of AA — it is not a modulus, and a determinant can be negative.
  2. Only square matrices have determinants. A 2×32 \times 3 matrix has none.

Order one

For A=[a]A = [a], simply det⁡A=a\det A = a. (So the determinant of [−5][-5] is −5-5, not 55 — warning 1 already at work.)

Order two

For A=(a11a12a21a22)A = \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix}:

∣A∣=∣a11a12a21a22∣=a11a22−a21a12\vert A \vert = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix} = a_{11}a_{22} - a_{21}a_{12}

— the product of the main diagonal minus the product of the other diagonal. For example,

∣24−12∣=2(2)−4(−1)=8\begin{vmatrix} 2 & 4 \\ -1 & 2 \end{vmatrix} = 2(2) - 4(-1) = 8

Entries can be algebraic too, and the algebra often collapses:

∣xx+1x−1x∣=x2−(x+1)(x−1)=x2−(x2−1)=1\begin{vmatrix} x & x+1 \\ x-1 & x \end{vmatrix} = x^2 - (x+1)(x-1) = x^2 - (x^2 - 1) = 1

— a determinant that is the same number for every xx.

Solved Examples — Order Two

Example 1 — A plain evaluation

Evaluate ∣24−5−1∣\begin{vmatrix} 2 & 4 \\ -5 & -1 \end{vmatrix}.

Step 1 — diagonal rule: main diagonal product minus anti-diagonal product: 2(−1)−4(−5)2(-1) - 4(-5).

Step 2 — arithmetic: −2+20=18-2 + 20 = 18.

Answer: 1818.

Example 2 — Trigonometric entries

Evaluate ∣cos⁡θ−sin⁡θsin⁡θcos⁡θ∣\begin{vmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{vmatrix}.

Step 1 — diagonal rule: cos⁡θ⋅cos⁡θ−(−sin⁡θ)(sin⁡θ)=cos⁡2θ+sin⁡2θ\cos\theta \cdot \cos\theta - (-\sin\theta)(\sin\theta) = \cos^2\theta + \sin^2\theta.

Step 2 — Pythagorean identity: cos⁡2θ+sin⁡2θ=1\cos^2\theta + \sin^2\theta = 1.

Answer: 11, for every θ\theta — the rotation matrix from Chapter 3 always has determinant 11.

Example 3 — Solving an equation between determinants

Find the values of xx for which ∣3xx1∣=∣3241∣\begin{vmatrix} 3 & x \\ x & 1 \end{vmatrix} = \begin{vmatrix} 3 & 2 \\ 4 & 1 \end{vmatrix}.

Step 1 — expand both sides: left side =3−x2= 3 - x^2; right side =3−8=−5= 3 - 8 = -5.

Step 2 — equate and solve: 3−x2=−53 - x^2 = -5, so x2=8x^2 = 8.

Answer: x=±22x = \pm 2\sqrt{2} — keep both signs; a quadratic in xx almost always rewards two roots, and dropping the negative one is the standard mark-loser.

Order Three — Expansion Along a Row or Column

A 3×33 \times 3 determinant is computed by breaking it into 2×22 \times 2 determinants. Pick any row (or column); each element of it contributes one term:

  1. Sign: multiply the element aija_{ij} by (−1)i+j(-1)^{i+j} — plus when i+ji + j is even, minus when odd.
  2. Minor: multiply by the 2×22 \times 2 determinant left after deleting row ii and column jj.
  3. Add the three signed terms.

Sign chessboard and first-row cofactor expansion of a three-by-three determinant

Expanding along the first row:

∣A∣=a11∣a22a23a32a33∣−a12∣a21a23a31a33∣+a13∣a21a22a31a32∣\vert A \vert = a_{11}\begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix} - a_{12}\begin{vmatrix} a_{21} & a_{23} \\ a_{31} & a_{33} \end{vmatrix} + a_{13}\begin{vmatrix} a_{21} & a_{22} \\ a_{31} & a_{32} \end{vmatrix}

There are six possible expansions — three rows and three columns — and all six give the same value. That freedom is worth marks:

The zeros shortcut. Expand along the row or column with the most zeros: every zero kills its whole term. In

Δ=∣124−130410∣\Delta = \begin{vmatrix} 1 & 2 & 4 \\ -1 & 3 & 0 \\ 4 & 1 & 0 \end{vmatrix}

the third column has two zeros, so expanding along C3C_3 leaves a single term: Δ=4∣−1341∣−0+0=4(−1−12)=−52\Delta = 4\begin{vmatrix} -1 & 3 \\ 4 & 1 \end{vmatrix} - 0 + 0 = 4(-1 - 12) = -52.

The sign chessboard. Instead of computing (−1)i+j(-1)^{i+j} each time, remember the pattern +−+−+−+−+\begin{smallmatrix} + & - & + \\ - & + & - \\ + & - & + \end{smallmatrix} — corners and centre positive, edges negative.

The scaling law

Multiplying the whole matrix by kk multiplies every row by kk, and each of the nn rows contributes one factor:

  ∣kA∣=kn∣A∣(A of order n)  \boxed{\;\vert kA \vert = k^n \vert A \vert \quad (A \text{ of order } n)\;}

So for a 2×22 \times 2 matrix ∣2A∣=4∣A∣\vert 2A \vert = 4\vert A \vert, and for a 3×33 \times 3 matrix ∣3A∣=27∣A∣\vert 3A \vert = 27 \vert A \vert. Writing ∣kA∣=k∣A∣\vert kA \vert = k\vert A \vert is the classic error of this section — determinants are not linear in the matrix.

One more freebie: a triangular matrix (all zeros below, or above, the diagonal) has determinant equal to the product of its diagonal entries — expand repeatedly along the zero-heavy column and watch every other term vanish.

Solved Examples — Order Three

Example 4 — Using the zeros shortcut

Evaluate Δ=∣3−1−200−13−50∣\Delta = \begin{vmatrix} 3 & -1 & -2 \\ 0 & 0 & -1 \\ 3 & -5 & 0 \end{vmatrix}.

Step 1 — choose the row with most zeros: R2R_2 has two zeros, so expand along it. Chessboard signs for row 2 are −,+,−-, +, -.

Step 2 — only one term survives: Δ=−0∣−1−2−50∣+0∣3−230∣−(−1)∣3−13−5∣\Delta = -0\begin{vmatrix} -1 & -2 \\ -5 & 0 \end{vmatrix} + 0\begin{vmatrix} 3 & -2 \\ 3 & 0 \end{vmatrix} - (-1)\begin{vmatrix} 3 & -1 \\ 3 & -5 \end{vmatrix}

Step 3 — finish: Δ=1⋅(3(−5)−(−1)(3))=−15+3=−12\Delta = 1 \cdot \left(3(-5) - (-1)(3)\right) = -15 + 3 = -12.

Answer: −12-12.

Example 5 — A determinant that vanishes identically

Evaluate Δ=∣0sin⁡α−cos⁡α−sin⁡α0sin⁡βcos⁡α−sin⁡β0∣\Delta = \begin{vmatrix} 0 & \sin\alpha & -\cos\alpha \\ -\sin\alpha & 0 & \sin\beta \\ \cos\alpha & -\sin\beta & 0 \end{vmatrix}.

Step 1 — expand along R1R_1: Δ=0−sin⁡α∣−sin⁡αsin⁡βcos⁡α0∣+(−cos⁡α)∣−sin⁡α0cos⁡α−sin⁡β∣\Delta = 0 - \sin\alpha \begin{vmatrix} -\sin\alpha & \sin\beta \\ \cos\alpha & 0 \end{vmatrix} + (-\cos\alpha)\begin{vmatrix} -\sin\alpha & 0 \\ \cos\alpha & -\sin\beta \end{vmatrix}

Step 2 — evaluate the two minors: first bracket: 0−sin⁡βcos⁡α=−sin⁡βcos⁡α0 - \sin\beta\cos\alpha = -\sin\beta\cos\alpha; second bracket: sin⁡αsin⁡β−0=sin⁡αsin⁡β\sin\alpha\sin\beta - 0 = \sin\alpha\sin\beta.

Step 3 — combine: Δ=sin⁡αsin⁡βcos⁡α−cos⁡αsin⁡αsin⁡β=0\Delta = \sin\alpha\sin\beta\cos\alpha - \cos\alpha\sin\alpha\sin\beta = 0.

Answer: 00. (Look at the matrix again: it is skew-symmetric of odd order — Section 8 turns this observation into a one-line rule.)

Example 6 — Verifying the scaling law

For A=(1242)A = \begin{pmatrix} 1 & 2 \\ 4 & 2 \end{pmatrix}, show that ∣2A∣=4∣A∣\vert 2A \vert = 4\vert A \vert.

Step 1 — left side: 2A=(2484)2A = \begin{pmatrix} 2 & 4 \\ 8 & 4 \end{pmatrix}, so ∣2A∣=8−32=−24\vert 2A \vert = 8 - 32 = -24.

Step 2 — right side: ∣A∣=2−8=−6\vert A \vert = 2 - 8 = -6, so 4∣A∣=−244\vert A \vert = -24.

Answer: both sides equal −24-24; in general ∣kA∣=k2∣A∣\vert kA \vert = k^2\vert A \vert for order 22.

Example 7 — A triangular determinant

Evaluate ∣A∣\vert A \vert for A=(101012004)A = \begin{pmatrix} 1 & 0 & 1 \\ 0 & 1 & 2 \\ 0 & 0 & 4 \end{pmatrix}, and hence find ∣3A∣\vert 3A \vert.

Step 1 — expand along C1C_1 (two zeros): ∣A∣=1∣1204∣=4\vert A \vert = 1\begin{vmatrix} 1 & 2 \\ 0 & 4 \end{vmatrix} = 4 — exactly the product of the diagonal entries 1⋅1⋅41 \cdot 1 \cdot 4.

Step 2 — scaling law with n=3n = 3: ∣3A∣=33∣A∣=27×4=108\vert 3A \vert = 3^3 \vert A \vert = 27 \times 4 = 108.

Answer: ∣A∣=4\vert A \vert = 4 and ∣3A∣=108\vert 3A \vert = 108.