LINEAR-ALGEBRA · Unit 4 · Video 4 · Interactive Practice
| Formula | Name | Description |
|---|---|---|
| Inverse rule | The inverse of any permutation matrix is its transpose | |
| Orthogonality | Product with transpose gives the identity | |
| Count of permutation matrices | e.g., , , | |
| LU with pivoting | Permutation fixes zero pivots in elimination |
Each swap left-multiplies by a transposition; stack a few and watch reorder the rows of .
The six permutations are closed — any product is again one of the six.
Every product in the table is one of the six: closure, the identity, and each element's inverse at a glance.
💡 These six matrices are the symmetric group ; an board has of them (, ).
Apply , then , and the rows snap back to — so .
💡 A permutation matrix has orthonormal rows, so it is orthogonal — the same reason holds for every orthogonal .
Question 1
Consider the permutation matrix that swaps rows 1 and 3:
If , what is the first row of ?
✅ Correct! The 1 in column 3 of row 1 selects row 3 of A.
❌ Not quite. Look at where the 1 sits in the first row of P₁₃ — its column tells you which row of A to pick.
Solution:
Row 1 of is . The dot product with each column of :
The single 1 in column 3 selects row 3 of .
The answer is [g, h, i].
Question 2
What is the product ?
✅ Correct! Swapping the same two rows twice undoes the swap — you get the identity.
❌ Not quite. Think about what happens physically: swap rows 1 and 2, then swap them again.
Solution:
swaps rows 1 and 2. Applying it twice:
Swapping the same two rows twice returns everything to its original position. Every row-swap permutation is its own inverse: .
Question 3
True or False: Every permutation matrix satisfies (i.e., every permutation matrix is its own inverse).
✅ Correct! Row-swap permutations are self-inverse, but cyclic permutations are not. The universal rule is P⁻¹ = Pᵀ.
❌ Not quite. Consider the cyclic permutation (1→2→3→1) — does applying it twice return to the identity?
Solution: False
This is true for row-swap (transposition) permutations like , , , but not for cyclic permutations.
Counterexample: The cyclic permutation
is the reverse cycle. You need for this permutation.
The correct general rule is: (the transpose), which works for every permutation matrix.
Question 4
How many distinct permutation matrices exist?
✅ Correct! There are 4! = 24 ways to arrange 4 rows, giving 24 permutation matrices.
❌ Not quite. The count equals n! — the number of ways to arrange n rows. For n = 4, compute 4 × 3 × 2 × 1.
Solution: 24
An permutation matrix is the identity with its rows rearranged. The number of ways to arrange rows is (n factorial):
| Size | Count |
|---|---|
These matrices form the symmetric group .
Solved: 0 / 4