LINEAR-ALGEBRA Β· Unit 18 Β· Video 1 Β· Interactive Practice

How Three Simple Rules Force a Formula with n! Terms

IKey Formulas

Formula Name Description
det⁑(I)=1\det(I) = 1 Property 1 (Normalization) Determinant of the identity matrix is 1
Row swap β‡’\Rightarrow sign flip Property 2 (Antisymmetry) Exchanging any two rows negates the determinant
Linear in each row Property 3 (Multilinearity) Scalars factor out; row sums split the determinant
det⁑(A)=βˆ‘ΟƒβˆˆSn(βˆ’1)inv(Οƒ)∏i=1nai,Οƒ(i)\det(A) = \displaystyle\sum_{\sigma \in S_n} (-1)^{\mathrm{inv}(\sigma)} \prod_{i=1}^{n} a_{i,\sigma(i)} The Big Formula Sum over all n!n! permutations; sign from inversion count

IIVisualization 1 β€” The 2Γ—2 Determinant

A 2Γ—22\times2 determinant is exactly two signed permutation terms: a11a22a_{11}a_{22} (even, ++) minus a12a21a_{12}a_{21} (odd, βˆ’-).

πŸ’‘ Challenge: Make det⁑=0\det = 0 by giving the matrix two equal rows (a11=a21a_{11}=a_{21} and a12=a22a_{12}=a_{22}) β€” the two terms cancel and the rows are linearly dependent.

IIIVisualization 2 β€” All Six Permutation Terms

A 3Γ—33\times3 determinant sums 3!=63! = 6 signed products β€” one permutation per term, its sign fixed by inversion parity.

IVVisualization 3 β€” How Zeros Kill Terms

A permutation term dies the instant its path meets a zero, so zeros thin the 4!=244! = 24 terms fast.

πŸ’‘ Challenge: Press upper triangular β€” only the identity permutation survives, which is why a triangular matrix's determinant is just the product of its diagonal.

VQuiz Questions

Question 1 Β· Counting Determinant Terms

The determinant of an nΓ—nn \times n matrix is a sum of n!n! terms in the big formula.

How many terms are in the determinant formula for a 5Γ—5 matrix?

βœ… Correct! The determinant has exactly 5! = 120 terms, one per permutation.

❌ Not quite. The key insight: each term corresponds to a permutation, and there are n! permutations of n objects.

Show solution

Solution:

The big formula sums over all permutations of {1,2,3,4,5}\{1, 2, 3, 4, 5\}. The number of permutations is:

5!=5Γ—4Γ—3Γ—2Γ—1=1205! = 5 \times 4 \times 3 \times 2 \times 1 = 120

Why the other options are wrong:

  • 52=255^2 = 25 is the number of matrix entries, not terms
  • 25=322^5 = 32 is unrelated to the determinant formula
  • 55=31255^5 = 3125 is the number of column-choice candidates before filtering to permutations (each of 5 rows picks from 5 columns freely)

Question 2 Β· Permutation Sign

The permutation Οƒ=(2,3,1)\sigma = (2, 3, 1) assigns row 1 β†’\to column 2, row 2 β†’\to column 3, row 3 β†’\to column 1.

What is the sign (βˆ’1)inv(Οƒ)(-1)^{\mathrm{inv}(\sigma)} of this permutation?

Recall: An inversion is a pair of positions where the larger column number appears before the smaller one.

βœ… Correct! Two inversions (even parity), so the sign is +1.

❌ Not quite. Count inversions carefully: the pairs (2,1) and (3,1) are the only ones β€” that's 2 inversions, which is even.

Show solution

Solution:

For Οƒ=(2,3,1)\sigma = (2, 3, 1), check all pairs of positions:

Pair of positions Values Inversion?
(pos 1, pos 2) 2 vs 3 No (2<32 < 3)
(pos 1, pos 3) 2 vs 1 Yes (2>12 > 1)
(pos 2, pos 3) 3 vs 1 Yes (3>13 > 1)

Total inversions: 2 (even)

(βˆ’1)2=+1(-1)^2 = +1

Cross-check by sorting: (2,3,1)β†’swapΒ 3Β andΒ 1(2,1,3)β†’swapΒ 2Β andΒ 1(1,2,3)(2,3,1) \xrightarrow{\text{swap 3 and 1}} (2,1,3) \xrightarrow{\text{swap 2 and 1}} (1,2,3). Two swaps β‡’\Rightarrow even β‡’\Rightarrow sign =+1= +1. βœ“

Question 3 Β· The Anti-Identity Trap

The 3Γ—3 anti-identity matrix has det⁑=βˆ’1\det = -1. The 4Γ—4 anti-identity has det⁑=+1\det = +1.

What is the determinant of the 5Γ—5 anti-identity matrix?

(The anti-identity has 1s on the anti-diagonal and 0s elsewhere. The general formula is det⁑=(βˆ’1)⌊n/2βŒ‹\det = (-1)^{\lfloor n/2 \rfloor}.)

βœ… Correct! ⌊5/2βŒ‹ = 2 swaps (even parity), so det = +1.

❌ Not quite. Careful β€” don't extrapolate from 3Γ—3 (which gives βˆ’1). Apply the formula: det = (βˆ’1)^⌊n/2βŒ‹.

Show solution

Solution:

For the nΓ—nn \times n anti-identity, the only surviving permutation is (n,nβˆ’1,…,2,1)(n, n{-}1, \ldots, 2, 1).

For n=5n = 5, sort (5,4,3,2,1)(5, 4, 3, 2, 1) back to (1,2,3,4,5)(1, 2, 3, 4, 5):

  1. Swap 5↔15 \leftrightarrow 1: (1,4,3,2,5)(1, 4, 3, 2, 5)
  2. Swap 4↔24 \leftrightarrow 2: (1,2,3,4,5)(1, 2, 3, 4, 5) βœ“

That's ⌊5/2βŒ‹=2\lfloor 5/2 \rfloor = 2 swaps (even), so det⁑=(βˆ’1)2=+1\det = (-1)^2 = +1.

nn ⌊n/2βŒ‹\lfloor n/2 \rfloor det⁑\det
2 1 βˆ’1-1
3 1 βˆ’1-1
4 2 +1+1
5 2 +1+1
6 3 βˆ’1-1

⚠️ Trap: Don't assume the sign pattern from n=2,3n = 2, 3 (both βˆ’1-1) continues! Always compute ⌊n/2βŒ‹\lfloor n/2 \rfloor.

Question 4 Β· True or False β€” Zero Column

Statement: If an nΓ—nn \times n matrix has an entire column of zeros, then every permutation term in the determinant formula equals zero, and therefore det⁑(A)=0\det(A) = 0.

βœ… Correct! Every permutation must pick one entry from the zero column, so every term contains a factor of zero.

❌ Not quite. Think carefully: every permutation assigns exactly one row to each column. If a column is all zeros, what happens to the product?

Show solution

Solution: True.

Every permutation Οƒ\sigma assigns exactly one row to each column. If column jj is all zeros, then for any permutation Οƒ\sigma, there exists some row ii with Οƒ(i)=j\sigma(i) = j, so ai,j=0a_{i,j} = 0.

Since the product ∏k=1nak,Οƒ(k)\prod_{k=1}^n a_{k,\sigma(k)} includes the factor ai,j=0a_{i,j} = 0, the entire product is zero.

This holds for all n!n! permutations, so every term is zero and det⁑(A)=0\det(A) = 0.

This is exactly the mechanism we saw in the 2Γ—2 derivation: candidates that picked the same column twice left the other column empty (all zeros), and those terms died.

Solved: 0 / 4