Skip to main content Link Search Menu Expand Document (external link) Copy Copied

Trace and Determinant

Definition: If A=(aij) is a matrix in Mn(F), then the trace of A is Tr(A)=i=1naii.

Proposition: The trace is linear in the matrix A. Also

Tr(ABC)=Tr(BCA)=Tr(CAB).

In particular Tr(AB)=Tr(BA).

Proof:

Let X=AB. Then

xik=j=1naijbjk.

Now if Y=XC then

yrs=t=1nxrtcts=t=1nj=1narjbjtcts

and then Tr(Y) is

Tr(ABC)=r=1nyrr=r=1nt=1nj=1narjbjtctr.

On the other hand

Tr(BCA)=j=1nr=1nt=1nbjtctrarj

which is just a rearrangement of the sum; and similarly for Tr(CAB).

Trace of a linear map:

This allows us to define the trace of a linear map as the trace of any matrix representing it – different matrices differ by conjugation by the change of basis matrix.

Notice also that trace is a conjugacy class invariant in GLn(F). Two conjugate matrices have the same trace.

Multilinear Functions

Definition: A function H:V1×V2××VkW is multilinear if it is linear as a function of each variable, with the other variables held fixed.

A function H:V××VnF is called an n-multilinear form.

If A={a1,,an} is a basis for V, then an n-multilinear form is determined by its values H(x1,,xn) where each xi is chosen from A. There are nn such values.

For example if dimV=2 with basis a1,a2 then

H(x11a1+x12a2,x21a1+x22a2)=x11x21f(a1,a1)+x11x22F(a1,a2)+x12x21F(a2,a1)+x12x22F(a2,a2)

The “dot product” is a 2-linear form (a “bilinear” form) on Rn or more generally on Fn.

If we think of the trace as a function of the column vectors of a matrix, it is a multilinear form.

Symmetric and Alternating forms

A multilinear form H:VnF is called alternating if H(v1,,vn)=0 whenever two adjacent vi are equal to each other. It is called symmetric if H(v1,,vn) stays the same under rearrangement of the vi.

The dot product is a symmetric bilinear form since H(v,w)=H(w,v).

Lemma: If H is an alternating multilinear form, then H(v1,,vn)=0 whenever two of the vi coincide; and H(v1,,vn) changes sign whenever two of the vi are interchanged. More generally,

H(vσ(1),vσ(2),,vσ(n))=sgn(σ)H(v1,,vn)

where σ is a permutation in Sn and sgn(σ) is the sign character.

Proof: Suppose Hi,i+1(x,y) is the function H with fixed entries in all positions except i and i+1. Then Hi,i+1(x+y,x+y)=0 by the alternating property; but Hi,i+1(x+y,x+y)=Hi,i+1(x,x)+Hi,i+1(x,y)+Hi,i+1(y,x)+Hi,i+1(y,y) by multilinearity. Since the outer terms are zero by the alternating property, we get Hi,i+1(x,y)=Hi,i+1(y,x).

Now if Hi,j(x,y) is H with all positions fixed except i and j, notice that we can progressively swap adjacent values until y is in position i+1, changing signs each time. Therefore Hi,j(x,y)=±Hi,i+1(x,y). In particular Hi,i+1(x,x)=0=Hi,j(x,x).

Therefore H(v1,,vn)=0 whenever any two of the vi coincide; and repeating the argument we used for adjacent entries we get that H(v1,,vn) changes sign when we swap any two variables.

Since an arbitrary permutation is a product of transpositions, and the sign character is defined as (1)k where k is the number of such transpositions, we get the formula for a general permutation.

Remark: Why not define alternating to mean H(v1,,vn) changes sign if we swap adjacent entries? Look at characteristic two.

Corollary: If H is alternating, and wi=vi except that wj=vj+avk for some j, then H(w1,,wn)=H(v1,,vn). Use linearity in the j slot to see this.

An alternating multilinear form is defined by its values H(a1,,an) where the ai are chosen from a basis of V, but these elements of F have to satisfy the permutation property and must vanish if any basis elements are repeated.

If V is n-dimensional and a1,,an is a basis, then an n-multilinear form is determined by a single value H(a1,a2,,an) and if vi=xjiaj then H(v1,,vn)=H(a1,,an)σsgn(σ)xσ(1)1xσ(2)2xσ(n)n.

Definition: The determinant is the unique alternating multilinear map det:Mn(F)F such that det(I)=1. Here det is viewed as a function of the columns of a matrix A.

Lemma: The determinant of A and its transpose are the same.

Proposition: det(AB)=det(A)det(B).

Proof: Let C=AB. Then the columns of C are linear combinations of the columns of A. In fact Cj=i=1nbijAi where Cj and Ai are the corresponding columns of C and A. So detC=(sgn(σ)bσ(1)1bσ(2)2bσ(n)n)det(A1,An)=det(B)det(A)