Jaysen Tsao
Linear Algebra ›

Determinants and Permutations

Multilinear and Alternating Maps

Definition 66: Multilinear Map

Let 𝑉 be a vector space over a field 𝐹. A function 𝑓:𝑉𝑛→𝐹 is 𝒏-linear on 𝑉 if it is linear in each argument when the other arguments are held fixed.

That is, if 𝑓 is 𝑛-linear, then for each 𝑖∈{1,…,𝑛}, if we fix the vectors 𝐯1,…,𝐯𝑖−1,𝐯𝑖+1,…,𝐯𝑛∈𝑉, the function defined by 𝐯𝑖↦𝑓(𝐯1,…,𝐯𝑖,…,𝐯𝑛) is a linear map, such that for all 𝐯𝑗,𝐯𝑘∈𝑉 and all scalars 𝛼,𝛽∈𝐹, we have:

𝑓(𝐯1,…,𝛼𝐯𝑗+𝛽𝐯𝑘,…,𝐯𝑛)=𝛼𝑓(𝐯1,…,𝐯𝑗,…,𝐯𝑛)+𝛽𝑓(𝐯1,…,𝐯𝑘,…,𝐯𝑛).

Terminology

A function 𝑓:𝑉𝑛→𝐹 is a multilinear map if it is 𝑛-linear for some 𝑛∈ℤ+.

Notation

The set of all 𝑛-linear maps on 𝑉 is denoted 𝑉(𝑛), and 𝑉(𝑛)⊆ℒ(𝑉𝑛,𝐹).

Proposition 16

𝑉(𝑛) is a subspace of ℒ(𝑉𝑛,𝐹).

Definition 67: Alternating Map

Let 𝑉 be a vector space over a field 𝐹. A function 𝑓:𝑉𝑛→𝐹 is alternating if 𝑓(𝐯1,…,𝐯𝑛)=0 if 𝐯𝑖=𝐯𝑗 for some 𝑖≠𝑗.

That is, in an alternating map, if any two arguments are equal, the output is zero.

Notation

The set of all alternating 𝑛-linear maps on 𝑉 is denoted 𝑉alt(𝑛), and 𝑉alt(𝑛)⊆𝑉(𝑛).

Theorem 56: Alternating Multilinear Maps and Linear Dependence

Let 𝑉 be a vector space, and let 𝑓∈𝑉alt(𝑛). Then for all linearly dependent sets {𝐯1,…,𝐯𝑛}, it holds that 𝑓(𝐯1,…,𝐯𝑛)=0.

Proof: Theorem 56.
Let 𝑉 be a vector space, and let 𝑓∈𝑉alt(𝑛).

Theorem 57: Alternating 𝑛-Linear Maps where 𝑛>dim(𝑉)

Let 𝑉 be a vector space over a field 𝐹, and let 𝑓∈𝑉alt(𝑛). If 𝑛>dim(𝑉), then 𝑓(𝐯1,…,𝐯𝑛)=0 for all vectors 𝐯1,…,𝐯𝑛∈𝑉.

Theorem 58: Antisymmetry in Alternating Multilinear Maps

Suppose 𝑓∈𝑉alt(𝑛) is an alternating multilinear map. Then:

𝑓(…,𝐯𝑖,…,𝐯𝑗,…,)=−𝑓(…,𝐯𝑗,…,𝐯𝑖,…)

for all 𝑖≠𝑗 and all vectors 𝐯1,…,𝐯𝑛∈𝑉. That is, swapping any two arguments of 𝑓 negates the output of 𝑓.

Proof: Theorem 58.

Suppose 𝑓∈𝑉alt(𝑛) is an alternating multilinear map, and choose some arbitrary 𝐯𝑖,𝐯𝑗∈𝑉. Then:

𝑓(…,𝐯𝑖+𝐯𝑗,…,𝐯𝑖+𝐯𝑗,…)=0 by alternation 𝑓(…,𝐯𝑖,…,𝐯𝑖+𝐯𝑗,…)+𝑓(…,𝐯𝑗,…,𝐯𝑖+𝐯𝑗,…)=0 by multilinearity 𝑓(…,𝐯𝑖,…,𝐯𝑖,…)+𝑓(…,𝐯𝑖,…,𝐯𝑗,…)+𝑓(…,𝐯𝑗,…,𝐯𝑖,…)+𝑓(…,𝐯𝑗,…,𝐯𝑗,…)=0 by multilinearity 0+𝑓(…,𝐯𝑖,…,𝐯𝑗,…)+𝑓(…,𝐯𝑗,…,𝐯𝑖,…)+0=0 by alternation.

Finally, we can rearrange the equation to get:

𝑓(…,𝐯𝑖,…,𝐯𝑗,…)=−𝑓(…,𝐯𝑗,…,𝐯𝑖,…),

as desired. ∎

Axioms of Determinants

Definition 68: Determinant Function

Let 𝑉 be a vector space over a field 𝐹, and fix an ordered basis ℬ={𝐛1,…,𝐛𝑛} for 𝑉.

A function 𝐷:𝑉𝑛→𝐹 is a determinant function on 𝑉 with respect to the basis ℬ if the following properties hold:

  1. Multilinearity. 𝐷 is an 𝑛-linear map. That is,

    𝐷(𝐯1,…,𝛼𝐯𝑖+𝛽𝐯𝑗,…,𝐯𝑛)=𝛼𝐷(𝐯1,…,𝐯𝑖,…,𝐯𝑛)+𝛽𝐷(𝐯1,…,𝐯𝑗,…,𝐯𝑛).
  2. Alternation. 𝐷 is alternating. That is, if 𝐯𝑖=𝐯𝑗 for some 𝑖≠𝑗, then 𝐷(𝐯1,…,𝐯𝑛)=0.
  3. Normalization. 𝐷(𝐛1,…,𝐛𝑛)=1.

That is, a alternating multilinear map 𝐷 is a determinant function if it evaluates to the multiplicative identity 1 on the basis vectors of 𝑉.

Theorem 59: Existence and Uniqueness of the Determinant Function

Let 𝑉 be a vector space over a field 𝐹, and fix an ordered basis ℬ={𝐛1,…,𝐛𝑛} for 𝑉. Then there is exactly one determinant function on 𝑉 with respect to the basis ℬ.

Partial Proof: Theorem 59 (Uniqueness).

Let 𝑉 be a vector space over a field 𝐹, and fix an ordered basis ℬ={𝐛1,…,𝐛𝑛} for 𝑉. Assume that there exist two determinant functions 𝐷1,𝐷2:𝑉𝑛→𝐹 on 𝑉 with respect to the basis ℬ.

Lemma: On any ordering of the basis vectors 𝐛𝑗1,…,𝐛𝑗𝑛, 𝐷1(𝐛𝑗1,…,𝐛𝑗𝑛)=𝐷2(𝐛𝑗1,…,𝐛𝑗𝑛) .

Let (𝑗1,…,𝑗𝑛) be an ordering (permutation) of the indices (1,…,𝑛). Then (𝑗1,…,𝑗𝑛) can be achieved by finite 𝑘 number of swaps of adjacent indices (see Theorem 62).

By the antisymmetry of alternating maps (Theorem 58), each swap of adjacent indices negates the output of 𝐷1 and 𝐷2. Therefore, after 𝑘 swaps, we have:

𝐷1(𝐛𝑗1,…,𝐛𝑗𝑛)=(−1)𝑘𝐷1(𝐛1,…,𝐛𝑛)=(−1)𝑘𝐷2(𝐛1,…,𝐛𝑛)=𝐷2(𝐛𝑗1,…,𝐛𝑗𝑛),

as desired. ∎

For arbitrary vectors 𝐯1,…,𝐯𝑛∈𝑉, we can express each vector as a linear combination of the basis vectors:

𝐯𝑖=∑𝑗=1𝑛𝛼𝑖𝑗𝐛𝑗,

where 𝛼𝑖𝑗∈𝐹 are the coefficients of the linear combination.

We have:

𝐷1(𝐯1,…,𝐯𝑛)=𝐷1(∑𝑗=1𝑛𝛼1𝑗𝐛𝑗,…,∑𝑗=1𝑛𝛼𝑛𝑗𝐛𝑗) since 𝐯𝑖=∑𝑗=1𝑛𝛼𝑖𝑗𝐛𝑗=∑𝑗1=1𝑛⋯∑𝑗𝑛=1𝑛𝛼1𝑗1⋯𝛼𝑛𝑗𝑛𝐷1(𝐛𝑗1,…,𝐛𝑗𝑛) by multilinearity =∑𝑗1=1𝑛⋯∑𝑗𝑛=1𝑛𝛼1𝑗1⋯𝛼𝑛𝑗𝑛𝐷2(𝐛𝑗1,…,𝐛𝑗𝑛) because 𝐷1(𝐛𝑗1,…,𝐛𝑗𝑛)=𝐷2(𝐛𝑗1,…,𝐛𝑗𝑛)=𝐷2(∑𝑗=1𝑛𝛼1𝑗𝐛𝑗,…,∑𝑗=1𝑛𝛼𝑛𝑗𝐛𝑗) by multilinearity =𝐷2(𝐯1,…,𝐯𝑛) by substitution of linear combinations,

which implies that 𝐷1=𝐷2. Therefore, the determinant function is unique. ∎

Remark

Although there can be many alternating multilinear maps on 𝑉, by fixing an ordered basis ℬ and enforcing normalization over ℬ, we can guarantee that there is exactly one determinant function on 𝑉 with respect to ℬ.

Definition 69: Determinant of a Matrix

Let 𝐴∈𝐹𝑛×𝑛 be a square matrix over a field 𝐹. The determinant of 𝐴, denoted det(𝐴) or |𝐴|, is the determinant function 𝐷 on 𝐹𝑛 evaluated on the columns of 𝐴 with respect to the standard basis ℰ𝑛={𝐞1,…,𝐞𝑛} for 𝐹𝑛. That is, det:𝐹𝑛×𝑛→𝐹 such that:

det(𝐴)=𝐷(𝐚1,𝐚2,…,𝐚𝑛),

where 𝐚𝑖 is the 𝑖th column of 𝐴.

Corollary 33

det(𝐼𝑛)=𝐷(𝐞1,𝐞2,…,𝐞𝑛)=1 by normalization.

Corollary 34

If 𝐴∈𝐹𝑛×𝑛 has two identical columns, then det(𝐴)=0 by alternation.

Notation

We will use det instead of 𝐷 for any determinant function from now on. For example, det(𝐴)=det(𝐚1,𝐚2,…,𝐚𝑛).

Theorem 60: Determinant of a 2×2 Matrix

Let 𝐴=(𝑎𝑏𝑐𝑑)∈𝐹2×2. Then the determinant of 𝐴 is given by:

det(𝐴)=𝑎𝑑−𝑏𝑐.
Proof: Determinant of a 2×2 Matrix.

Let 𝐴=(𝑎𝑏𝑐𝑑)∈𝐹2×2. Then the determinant of 𝐴 is given by:

det(𝐴)=det(𝐚1,𝐚2) by definition of determinant of a matrix =det((𝑎𝑐),(𝑏𝑑)) by substitution of columns =det((𝑎0),(0𝑑))+det((0𝑐),(𝑏0)) by multilinearity =𝑎𝑑det((10),(01))+𝑏𝑐det((01),(10)) by multilinearity =𝑎𝑑det(𝐞1,𝐞2)+𝑏𝑐det(𝐞2,𝐞1) by substitution of standard basis vectors =𝑎𝑑det(𝐞1,𝐞2)−𝑏𝑐det(𝐞1,𝐞2) by antisymmetry of alternating maps =𝑎𝑑−𝑏𝑐 by normalization,

as desired. ∎

Property

If the columns of 𝐴 are linearly dependent, then det(𝐴)=0.

Proposition 17: Determinant of Elementary Row Operations

Suppose 𝐴∈𝐹𝑛×𝑛. Then:

  1. Row swap. If 𝐴′ is obtained by applying 𝑅𝑖↔𝑅𝑗 to 𝐴, then det(𝐴′)=−det(𝐴).
  2. Row scaling. If 𝐴′ is obtained by applying 𝑅𝑖←𝑐𝑅𝑖 to 𝐴, then det(𝐴′)=𝑐det(𝐴).
  3. Row replacement. If 𝐴′ is obtained by applying 𝑅𝑖←𝑅𝑖+𝑐𝑅𝑗 to 𝐴, then det(𝐴′)=det(𝐴).

Lemma

If 𝐴∈𝐹𝑛×𝑛 and 𝐸 is an elementary matrix, then det(𝐸𝐴)=det(𝐸)det(𝐴).

Corollary 35: Determinant of Elementary Matrices

det(𝐸[𝑅𝑖↔𝑅𝑗])=−1, det(𝐸[𝑅𝑖←𝑐𝑅𝑖])=𝑐, and det(𝐸[𝑅𝑖←𝑅𝑖+𝑐𝑅𝑗])=1.

Definition 70: Determinant of a Linear Map

Let 𝑇:𝑉→𝑉 be a linear map on a finite-dimensional vector space 𝑉 over a field 𝐹. The determinant of 𝑇, denoted det(𝑇), is the determinant of the standard matrix of 𝑇 with respect to any basis ℬ for 𝑉:

det(𝑇)=det([𝑇]ℬℬ).

Theorem 61: Basis Independence of Determinants of Linear Maps

Let 𝑇:𝑉→𝑉 be a linear map on a finite-dimensional vector space 𝑉 over a field 𝐹. Then the determinant of 𝑇 is independent of the choice of basis for 𝑉.

Permutations

Definition 71: Permutation

Suppose 𝑚 is a positive integer. A permutation of the set {1,2,…,𝑚} (shortened to [𝑚]) is a bijective mapping 𝜎:[𝑚]→[𝑚]. The set of all permutations of [𝑚] is denoted perm𝑚.

Example.
Define a permutation 𝜎:[3]→[3] by 𝜎(1)=2, 𝜎(2)=3, and 𝜎(3)=1. Then 𝜎∈perm3.
Nonexample.
Define a function 𝜏:[3]→[3] by 𝜏(1)=2, 𝜏(2)=2, and 𝜏(3)=1. Then 𝜏∉perm3 since it is not bijective.

Property

For any 𝑚∈ℤ+, |perm𝑚|=𝑚!.

Definition 72: Standard Sequence of a Permutation

The sequence 𝛔=(𝜎(1),𝜎(2),…,𝜎(𝑚))∈[𝑚]𝑚 is called the standard sequence of 𝜎.

Example.
The permutation 𝜎∈perm3 defined by 𝜎(1)=2, 𝜎(2)=3, and 𝜎(3)=1 has standard sequence 𝛔=(1,2,3).

Corollary 36: Standard Sequence of the Identity Permutation

The identity permutation id[𝑚]∈perm𝑚 defined by 𝑘↦𝑘 has standard sequence (1,2,…,𝑚).

Definition 73: Transposition

A transposition is a permutation 𝜏∈perm𝑚 such that 𝜏(𝑖)=𝑗 and 𝜏(𝑗)=𝑖 for some 𝑖≠𝑗, and 𝜏(𝑘)=𝑘 for all 𝑘∈[𝑚]\{𝑖,𝑗}. That is, it is the permutation whose standard sequence is the result of swapping exactly one pair of elements in the identity sequence (1,2,…,𝑚).

Example.
The permutation 𝜏∈perm3 defined by 𝜏(1)=2, 𝜏(2)=1, and 𝜏(3)=3 is a transposition.
Example.
The permutation whose standard sequence is 𝛕=(1,4,3,2,5) is a transposition.
Nonexample.
The permutation whose standard sequence is 𝛔=(1,4,3,2) is not a transposition.

Theorem 62: Permutation Decomposition

Every permutation 𝜎∈perm𝑚 can be expressed as a finite composition of transpositions. That is, there exists a finite sequence of transpositions 𝜏1,…,𝜏𝑘∈perm𝑚 such that 𝜎=𝜏1∘⋯∘𝜏𝑘.

Lemma: Parity of a Permutation

Let 𝜎∈perm𝑚 be a permutation. The number of transpositions in any decomposition of 𝜎 is either always even or always odd.

Definition 74: Sign of a Permutation

Let 𝜎∈perm𝑚 be a permutation. The sign of 𝜎, denoted sgn(𝜎), is defined as:

sgn(𝜎)=(−1)𝑘,

where 𝑘 is the number of transpositions in any decomposition of 𝜎.

That is, the sign of a permutation is 1 if it can be expressed as an even number of transpositions, and −1 if it can be expressed as an odd number of transpositions.

Terminology

A permutation 𝜎 is even if sgn(𝜎)=1, and odd if sgn(𝜎)=−1.

Corollary 37

For any 𝜎∈perm𝑚 and transposition 𝜏, sgn(𝜏∘𝜎)=−sgn(𝜎).

Theorem 63: Leibniz Formula for Determinants

For any matrix 𝐴∈𝐹𝑛×𝑛, the unique determinant of 𝐴 is given by:

det(𝐴)=∑𝜎∈perm𝑛sgn(𝜎)∏𝑖=1𝑛𝑎𝑖,𝜎(𝑖).
Proof: Leibniz Formula for Determinants.

From the uniqueness part of Theorem 59, the determinant of a matrix is unique. We will now show that the Leibniz formula satisfies the properties of a determinant function.

For some 𝐴=(𝐚1𝐚2⋯𝐚𝑛)∈𝐹𝑛×𝑛, let det(𝐴)=det(𝐚1,𝐚2,…,𝐚𝑛) as in Definition 69.

  1. Multilinearity.
  2. Alternation.
  3. Normalization.
Example.

Let 𝑀=(𝑎𝑏𝑐𝑑𝑒𝑓𝑔ℎ𝑖)∈𝐹3×3. Realize that in terms of their standard sequences:

perm3={(1,2,3),(1,3,2),(2,1,3),(2,3,1),(3,1,2),(3,2,1)}.

The permutations (1,2,3), (2,3,1), and (3,1,2) have even parity (require either 0 or 2 transpositions), so they have a positive sign. The permutations (1,3,2), (2,1,3), and (3,2,1) have odd parity (require 1 transposition), so they have a negative sign.

Thus, by the Leibniz formula, we can compute the determinant of 𝑀 as follows:

det(𝑀)=∑𝜎∈perm3sgn(𝜎)∏𝑖=13𝑚𝑖,𝜎(𝑖)=𝑚11𝑚22𝑚33+𝑚12𝑚23𝑚31+𝑚13𝑚21𝑚32−𝑚13𝑚22𝑚31−𝑚12𝑚21𝑚33−𝑚11𝑚23𝑚32=𝑎𝑒𝑖+𝑏𝑓𝑔+𝑐𝑑ℎ−𝑐𝑒𝑔−𝑏𝑑𝑖−𝑎𝑓ℎ.

Remark

The Leibniz formula requires 𝑛⋅𝑛! matrix accesses to compute the determinant of an 𝑛×𝑛 matrix, which is not efficient for large 𝑛.

Proof: Theorem 59 (Existence).

We will now complete the proof of Theorem 59 by showing that the Leibniz formula can be extended to determinant functions on arbitrary vector spaces.

Define a determinant function 𝐷:𝑉𝑛→𝐹 on an arbitrary 𝑛-dimensional vector field 𝑉 with respect to a fixed ordered basis ℬ={𝐛1,…,𝐛𝑛} as follows:

𝐷(𝐯1,…,𝐯𝑛)=det(𝐴),

where 𝐴∈𝐹𝑛×𝑛 is the matrix whose 𝑖th column is the coordinate vector of 𝐯𝑖 with respect to the basis ℬ. That is,

𝐴=([𝐯1]ℬ[𝐯2]ℬ⋯[𝐯𝑛]ℬ).

By Theorem 63, det(𝐴) is well-defined, and thus 𝐷(𝐯1,…,𝐯𝑛) must also be well-defined. ∎

Exercises

Exercise 72.
Let 𝑛∈ℤ+. Show that dim(𝑉(𝑛))=(dim𝑉)𝑛.