Unit 3, lesson 13

Determinants and Multilinear Forms

Why a multilinear, alternating form that equals one at the identity must be the determinant, how the sign of a permutation enters its formula, and how uniqueness proves the product rule.

  • Video 13
  • Determinants from Alternating Forms

Add a multiple of one edge of a parallelogram to the other edge and the signed area does not change, because the base and the height stay the same. List the two edges in the opposite order and the sign reverses. In the plane a picture explains both facts, but in dimension seven there is no picture to consult. This lesson shows that three algebraic properties, linearity in each column, vanishing on repeated columns and the value one at the identity, single out exactly one function of the columns of a square matrix, and that the product rule det⁡(AB)=det⁡Adet⁡B\det(AB) = \det A \det B follows from that uniqueness. Throughout, F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, e1,…,ene_1, \dots, e_n is the standard basis of Fn\mathbb{F}^n, and a tuple such as (3,1)(3, 1) stands for a column vector.

Key terms

Multilinear form

Definition Let VV be a vector space over F\mathbb{F} and let k≥1k \ge 1. A function D ⁣:Vk→FD \colon V^k \to \mathbb{F} is a multilinear form, or kk-linear form, if it is linear in each argument when the other arguments are held fixed. For every slot, all vectors and all scalars a,c∈Fa, c \in \mathbb{F},

D(v1,…,au+cw,…,vk)=a D(v1,…,u,…,vk)+c D(v1,…,w,…,vk),\begin{aligned} &D(v_1, \dots, au + cw, \dots, v_k) \\[0.4em] &\quad = a\,D(v_1, \dots, u, \dots, v_k) \\[0.4em] &\qquad + c\,D(v_1, \dots, w, \dots, v_k), \end{aligned}

where uu, ww and au+cwau + cw sit in the same slot and the other arguments are unchanged. In this lesson V=FnV = \mathbb{F}^n and k=nk = n, so DD takes the nn columns of a square matrix. For A∈Fn×nA \in \mathbb{F}^{n \times n} with columns a1,…,ana_1, \dots, a_n we write D(A)=D(a1,…,an)D(A) = D(a_1, \dots, a_n).

In plain words Freeze every input but one, and what remains is a linear function of that input. With two or more inputs, multilinear does not mean linear. Changing several inputs at once produces cross terms, and multiplying all nn inputs by cc multiplies the value by cnc^n.

Example On F2\mathbb{F}^2 the function D(u,v)=u1v2−u2v1D(u, v) = u_1 v_2 - u_2 v_1 is a 22-linear form. For a fixed vv it is u↦v2u1−v1u2u \mapsto v_2 u_1 - v_1 u_2, a linear function of uu, and the same holds in the second slot. It is not linear as a function of the pair, since

D(2e1,2e2)=4≠2=2 D(e1,e2).\begin{aligned} D(2e_1, 2e_2) &= 4 \\[0.4em] &\ne 2 = 2\,D(e_1, e_2). \end{aligned}

Alternating form

Definition A multilinear form DD on VkV^k is alternating if D(v1,…,vk)=0D(v_1, \dots, v_k) = 0 whenever vi=vjv_i = v_j for some i≠ji \ne j. Three rules follow from multilinearity and this condition. First, exchanging two arguments changes the sign. Put u+vu + v into both of those slots, keep the other slots fixed, and expand,

0=D(u+v,u+v)=D(u,u)+D(u,v)+D(v,u)+D(v,v).\begin{aligned} 0 &= D(u + v, u + v) \\[0.4em] &= D(u, u) + D(u, v) \\[0.4em] &\quad + D(v, u) + D(v, v). \end{aligned}

The repeated terms vanish, so D(v,u)=−D(u,v)D(v, u) = -D(u, v). Second, adding a multiple of one argument to another does not change the value, because D(u+cv,v)=D(u,v)+c D(v,v)=D(u,v)D(u + cv, v) = D(u, v) + c\,D(v, v) = D(u, v). Third, if v1,…,vkv_1, \dots, v_k are linearly dependent, then D(v1,…,vk)=0D(v_1, \dots, v_k) = 0. Solve a nontrivial relation for one of the vectors, substitute the result into its slot and expand, and every term has a repeated argument. Over R\mathbb{R} or C\mathbb{C} the sign rule also implies the alternating condition, since D(v,v)=−D(v,v)D(v, v) = -D(v, v) forces 2D(v,v)=02D(v, v) = 0.

In plain words A repeated input gives zero. As a result the order of the inputs matters only through a sign, and a shear, which adds a multiple of one input to another, changes nothing.

Example The form D(u,v)=u1v2−u2v1D(u, v) = u_1 v_2 - u_2 v_1 is alternating, since D(u,u)=u1u2−u2u1=0D(u, u) = u_1 u_2 - u_2 u_1 = 0. With u=(3,1)u = (3, 1) and v=(1,2)v = (1, 2) it gives D(u,v)=6−1=5D(u, v) = 6 - 1 = 5 and D(v,u)=−5D(v, u) = -5. The sheared pair gives the same value as the original pair, since v−2u=(−5,0)v - 2u = (-5, 0) and

D(u,v−2u)=3⋅0−1⋅(−5)=5.\begin{aligned} &D(u, v - 2u) \\[0.4em] &\quad = 3 \cdot 0 - 1 \cdot (-5) = 5. \end{aligned}

By contrast, u1v1+u2v2u_1 v_1 + u_2 v_2 is bilinear but not alternating, because it equals 11 at (e1,e1)(e_1, e_1).

Sign of a permutation

Definition A permutation of {1,…,n}\{1, \dots, n\} is a bijection σ\sigma from this set to itself, recorded by the list (σ(1),…,σ(n))(\sigma(1), \dots, \sigma(n)). The set of all n!n! permutations is SnS_n. An inversion of σ\sigma is a pair of positions i<ji < j with σ(i)>σ(j)\sigma(i) > \sigma(j). If N(σ)N(\sigma) is the number of inversions, the sign of σ\sigma is

sgn⁡(σ)=(−1)N(σ).\operatorname{sgn}(\sigma) = (-1)^{N(\sigma)}.

Exchanging two neighboring entries of the list changes N(σ)N(\sigma) by exactly one, so it flips the sign. Exchanging the entries in positions i<ji < j can be done with 2(j−i)−12(j - i) - 1 neighboring exchanges, an odd number, so any exchange of two entries flips the sign. A permutation and its inverse have the same number of inversions, hence the same sign. Sorting the list by exchanging inverted neighbors lowers N(σ)N(\sigma) by one each time, so it takes exactly N(σ)N(\sigma) exchanges. For an alternating multilinear form DD on (Fn)n(\mathbb{F}^n)^n, each exchange flips the sign of DD, which gives

D(eσ(1),…,eσ(n))=sgn⁡(σ) D(e1,…,en).\begin{aligned} &D(e_{\sigma(1)}, \dots, e_{\sigma(n)}) \\[0.4em] &\quad = \operatorname{sgn}(\sigma)\, D(e_1, \dots, e_n). \end{aligned}

In plain words The sign says whether the list can be sorted by an even or an odd number of swaps. Different ways of sorting may use different numbers of swaps, but the parity always agrees, and parity is all an alternating form can detect.

Example The permutation (2,3,1)(2, 3, 1) has two inversions, since 22 and 33 both come before 11. Its sign is +1+1, so D(e2,e3,e1)=D(e1,e2,e3)D(e_2, e_3, e_1) = D(e_1, e_2, e_3). Two swaps confirm this, (2,3,1)→(2,1,3)→(1,2,3)(2, 3, 1) \to (2, 1, 3) \to (1, 2, 3). The permutation (2,1,3)(2, 1, 3) has one inversion and sign −1-1, so D(e2,e1,e3)=−D(e1,e2,e3)D(e_2, e_1, e_3) = -D(e_1, e_2, e_3).

Normalized determinant

Definition Let n≥1n \ge 1. A normalized determinant on Fn×n\mathbb{F}^{n \times n} is a function D ⁣:Fn×n→FD \colon \mathbb{F}^{n \times n} \to \mathbb{F} that is multilinear and alternating in the columns and satisfies D(I)=D(e1,…,en)=1D(I) = D(e_1, \dots, e_n) = 1. One such function exists. For A=[aij]A = [a_{ij}] define

det⁡A=∑σ∈Snsgn⁡(σ)∏j=1naσ(j)j.\det A = \sum_{\sigma \in S_n} \operatorname{sgn}(\sigma) \prod_{j=1}^{n} a_{\sigma(j) j}.

Each term takes exactly one entry from each column, so the sum is linear in each column. If columns p≠qp \ne q are equal, pair each σ\sigma with the permutation σ′\sigma' that agrees with σ\sigma except that σ′(p)=σ(q)\sigma'(p) = \sigma(q) and σ′(q)=σ(p)\sigma'(q) = \sigma(p). The two products are equal because the columns coincide, and the signs are opposite because the two lists differ by one exchange, so the terms cancel in pairs and the sum is 00. At the identity matrix only the identity permutation gives a nonzero product, and it contributes 11.

In plain words Multilinearity and alternation fix the shape of the function, and the normalization fixes its scale. Without D(I)=1D(I) = 1 the zero function and every multiple of the determinant would also qualify. Over R\mathbb{R} the number det⁡A\det A is the signed factor by which x↦Axx \mapsto Ax scales nn-dimensional volume, with the sign recording orientation. Over C\mathbb{C} the determinant can be any complex number, so it is not a signed volume. Multiplication by ii on C\mathbb{C} has determinant ii, yet as a map of the real plane it is a quarter turn that keeps every area.

Example For n=2n = 2 the formula has two terms, the identity with sign +1+1 and the exchange with sign −1-1, so det⁡A=a11a22−a21a12\det A = a_{11}a_{22} - a_{21}a_{12}. For n=3n = 3 there are six terms, and zero entries can remove most of them. For

A=[201130014]A = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 3 & 0 \\ 0 & 1 & 4 \end{bmatrix}

only (1,2,3)(1, 2, 3) and (2,3,1)(2, 3, 1) give nonzero products, namely a11a22a33=24a_{11}a_{22}a_{33} = 24 and a21a32a13=1a_{21}a_{32}a_{13} = 1. Both signs are +1+1, so det⁡A=25\det A = 25.

Uniqueness of the determinant

Definition Let n≥1n \ge 1 and let D ⁣:Fn×n→FD \colon \mathbb{F}^{n \times n} \to \mathbb{F} be multilinear and alternating in the columns. The uniqueness theorem says that for every A∈Fn×nA \in \mathbb{F}^{n \times n}

D(A)=D(I) det⁡A.D(A) = D(I)\,\det A.

In particular det⁡\det is the only normalized determinant. To prove it, write column jj as aj=∑iaijeia_j = \sum_i a_{ij} e_i and expand every slot by multilinearity. This gives a sum over all choices of one row index iji_j for each column jj,

D(A)=∑i1,…,in(∏j=1naijj)⋅D(ei1,…,ein).\begin{aligned} D(A) &= \sum_{i_1, \dots, i_n} \Bigl(\prod_{j=1}^{n} a_{i_j j}\Bigr) \\[0.4em] &\qquad \cdot D(e_{i_1}, \dots, e_{i_n}). \end{aligned}

A choice that repeats an index contributes zero because DD is alternating. The remaining choices use every index once, so they are the permutations σ\sigma with ij=σ(j)i_j = \sigma(j), and D(eσ(1),…,eσ(n))=sgn⁡(σ)D(I)D(e_{\sigma(1)}, \dots, e_{\sigma(n)}) = \operatorname{sgn}(\sigma) D(I). What is left is D(I)D(I) times the permutation formula. In that formula the term of det⁡AT\det A^{\mathsf{T}} for σ\sigma equals the term of det⁡A\det A for σ−1\sigma^{-1}, with the same sign and the same factors in a different order, which proves det⁡AT=det⁡A\det A^{\mathsf{T}} = \det A. So the rules for columns also hold for rows, and a matrix with linearly dependent columns or rows has determinant 00.

In plain words Once a form is linear in each column and kills repeated columns, its value on every matrix is decided by its value at the identity. The permutation formula is not one choice among many. It is forced.

Example Take the functionals ℓ(x)=x1+x2\ell(x) = x_1 + x_2 and m(x)=x1−x2m(x) = x_1 - x_2 in (F2)∨(\mathbb{F}^2)^{\vee} and set

D(u,v)=ℓ(u) m(v)−ℓ(v) m(u).\begin{aligned} D(u, v) &= \ell(u)\,m(v) \\[0.4em] &\quad - \ell(v)\,m(u). \end{aligned}

This is multilinear and alternating, and D(e1,e2)=1⋅(−1)−1⋅1=−2D(e_1, e_2) = 1 \cdot (-1) - 1 \cdot 1 = -2. The theorem predicts D(u,v)=−2(u1v2−u2v1)D(u, v) = -2(u_1 v_2 - u_2 v_1) with no further work, and expanding the products confirms it.

Multiplicativity of the determinant

Definition Let n≥1n \ge 1. For all A,B∈Fn×nA, B \in \mathbb{F}^{n \times n}

det⁡(AB)=det⁡A det⁡B.\det(AB) = \det A \, \det B.

To prove it, fix AA and set D(v1,…,vn)=det⁡(Av1,…,Avn)D(v_1, \dots, v_n) = \det(Av_1, \dots, Av_n). Because v↦Avv \mapsto Av is linear, DD is multilinear and alternating, and D(I)=det⁡AD(I) = \det A. By uniqueness D(B)=det⁡Adet⁡BD(B) = \det A \det B for every BB. The columns of ABAB are Ab1,…,AbnAb_1, \dots, Ab_n, so D(B)=det⁡(AB)D(B) = \det(AB). The argument never divides by det⁡A\det A, so it covers singular AA too. Two consequences follow. A square matrix AA is invertible exactly when det⁡A≠0\det A \ne 0, since det⁡Adet⁡A−1=det⁡I=1\det A \det A^{-1} = \det I = 1 in one direction and dependent columns give 00 in the other. When AA is invertible, det⁡(A−1)=1/det⁡A\det(A^{-1}) = 1/\det A.

In plain words Doing one map after another multiplies the determinants. Over R\mathbb{R} this says that the volume factors multiply. For n≥2n \ge 2 there is no matching rule for sums.

Example Take

A=[3111],B=[1215],A = \begin{bmatrix} 3 & 1 \\ 1 & 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 1 & 2 \\ 1 & 5 \end{bmatrix},

with det⁡A=2\det A = 2 and det⁡B=3\det B = 3. The product is

AB=[41127],AB = \begin{bmatrix} 4 & 11 \\ 2 & 7 \end{bmatrix},

and det⁡(AB)=28−22=6=2⋅3\det(AB) = 28 - 22 = 6 = 2 \cdot 3. The sum behaves differently. The matrix A+BA + B has rows (4,3)(4, 3) and (2,6)(2, 6) and determinant 1818, not 2+32 + 3.

Check yourself

  1. Find the sign of the permutation (3,1,4,2)(3, 1, 4, 2) and the determinant of the 4×44 \times 4 matrix with columns e3,e1,e4,e2e_3, e_1, e_4, e_2 in that order.
Show the answer

The inversions are the pairs where a larger entry comes first, namely 33 before 11, 33 before 22 and 44 before 22. So N(σ)=3N(\sigma) = 3 and the sign is −1-1. The matrix is (eσ(1),…,eσ(4))(e_{\sigma(1)}, \dots, e_{\sigma(4)}) for this σ\sigma, so its determinant is sgn⁡(σ)det⁡I=−1\operatorname{sgn}(\sigma)\det I = -1.

  1. Let AA be a real 3×33 \times 3 matrix with det⁡A=5\det A = 5. A student says that det⁡(2A)=10\det(2A) = 10 because the determinant is linear. Find det⁡(2A)\det(2A) and explain the mistake. Does det⁡(A+B)=det⁡A+det⁡B\det(A + B) = \det A + \det B hold in general?
Show the answer

The matrix 2A2A has every one of its three columns multiplied by 22. Linearity in each column gives one factor of 22 per column, so

det⁡(2A)=23det⁡A=40.\det(2A) = 2^3 \det A = 40.

The determinant is linear in each column separately, not linear as a function of the whole matrix. Sums fail as well. Taking B=AB = A gives det⁡(A+A)=det⁡(2A)=40\det(A + A) = \det(2A) = 40, while det⁡A+det⁡A=10\det A + \det A = 10.

  1. Let DD be multilinear and alternating on R3×3\mathbb{R}^{3 \times 3} with D(e1,e2,e3)=4D(e_1, e_2, e_3) = 4. Find D(e3,e1,e2)D(e_3, e_1, e_2) and D(C)D(C) for the matrix below.
C=[120010302]C = \begin{bmatrix} 1 & 2 & 0 \\ 0 & 1 & 0 \\ 3 & 0 & 2 \end{bmatrix}
Show the answer

The permutation (3,1,2)(3, 1, 2) has two inversions, since 33 comes before both 11 and 22. Its sign is +1+1, so D(e3,e1,e2)=D(e1,e2,e3)=4D(e_3, e_1, e_2) = D(e_1, e_2, e_3) = 4. By uniqueness D(C)=D(I)det⁡C=4det⁡CD(C) = D(I)\det C = 4\det C. In the permutation formula, column 33 has its only nonzero entry in row 33, so a nonzero term needs σ(3)=3\sigma(3) = 3. Of the two permutations that fix 33, the exchange of 11 and 22 uses c21=0c_{21} = 0. Only the identity survives, so det⁡C=1⋅1⋅2=2\det C = 1 \cdot 1 \cdot 2 = 2 and D(C)=8D(C) = 8.

How this lesson connects

It also uses determinant calculations from a first linear algebra course.