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𝑉)𝑛.