Linear-Algebra-Done-Right ยท Unit 26 ยท Video 4 ยท Interactive Practice
The Trace Equals the Sum of the Eigenvalues
IKey Formulas
Key Insight: A change of basis replaces M(T) by Cโ1M(T)C, and tr((Cโ1A)C)=tr(C(Cโ1A))=trA, so the trace belongs to the operator.
IIThe Diagonal Changes, Its Sum Does Not
For T(x,y)=(4xโy,ย 2x+y), a change of basis moves the diagonal entries of M(T) but keeps their sum 5=2+3.
IIItr(AB)=tr(BA) by Swapping a Double Sum
Every product Aj,kโBk,jโ is counted once in tr(AB), by rows, and once in tr(BA), by columns.
๐ก AB is 2ร2 and BA is 3ร3, yet their traces agree; AB and BA themselves need not be equal even when both are square.
IVQuiz Questions
Problem 1 ยท Count the Multiplicity
Given: TโL(C4) whose eigenvalues are 3 with multiplicity 2, โ1 with multiplicity 1, and 2i with multiplicity 1 โ find trT.
โ
Correct! 3+3+(โ1)+2i=5+2i.
โ Each eigenvalue counts as often as its multiplicity. 3 appears twice:
3+3โ1+2i.
โ The trace of a complex operator can be non-real. Keep the eigenvalue
2i in the sum.
โ Check the sign of โ1. The sum uses the eigenvalues themselves, not their absolute values.
Show solution
On a complex vector space, trT is the sum of the eigenvalues, each repeated as often as its multiplicity (the multiplicities add up to dimC4=4):
trT=3+3+(โ1)+2i=5+2i.
Problem 2 ยท Trace from the Characteristic Polynomial
Given: TโL(C3) with characteristic polynomial z3โ4z2+z+6 โ find trT.
โ
Correct! trT is the negative of the coefficient of
z2; indeed
z3โ4z2+z+6=(z+1)(zโ2)(zโ3) and
โ1+2+3=4.
โ Mind the sign. (zโฮป1โ)(zโฮป2โ)(zโฮป3โ)=z3โ(ฮป1โ+ฮป2โ+ฮป3โ)z2+โฏ, so the trace is minus the coefficient.
โ The constant term is (โ1)3ฮป1โฮป2โฮป3โ. It records the product of the eigenvalues, not their sum.
โ That is the coefficient of z. The trace sits in the coefficient of
znโ1=z2.
Show solution
With n=3, the characteristic polynomial is z3โ(ฮป1โ+ฮป2โ+ฮป3โ)z2+โฏ, so trT=โ(โ4)=4.
Check: z3โ4z2+z+6=(z+1)(zโ2)(zโ3), so the eigenvalues are โ1, 2, 3, and โ1+2+3=4.
Problem 3 ยท Traces of Products of Different Sizes
Given: a 2ร3 matrix A and a 3ร2 matrix B with AB=(13โ24โ) โ find tr(BA).
โ
Correct! tr(BA)=tr(AB)=1+4=5.
โ The identity holds for an mรn A and an nรm B. BA is unknown, but its trace is not.
โ That adds every entry of AB. The trace adds only the diagonal entries.
โ That is only one diagonal entry of AB. The trace adds both:
1+4.
Show solution
For A of size mรn and B of size nรm,
tr(AB)=j=1โmโk=1โnโAj,kโBk,jโ=k=1โnโj=1โmโBk,jโAj,kโ=tr(BA).
Here m=2, n=3, and tr(AB)=1+4=5, so tr(BA)=5 although BA itself is not determined by AB.
Problem 4 ยท Trace of an Operator on Polynomials
Given: TโL(P2โ(R)) defined by Tp=xpโฒ+p(1), where p(1) is the constant polynomial โ find trT.
โ
Correct! In the basis
1,x,x2:
T1=1,
Tx=1+x,
Tx2=1+2x2, so the diagonal is
1,1,2.
โ The term p(1) also reaches the diagonal. T1=0+1=1, so the first diagonal entry is
1, not
0.
โ That adds every entry of M(T). The constants
1 in
Tx and
Tx2 lie above the diagonal.
โ Not quite. Write
T1,
Tx,
Tx2 in the basis
1,x,x2 and add the coefficient of
1 in
T1, of
x in
Tx, of
x2 in
Tx2.
Show solution
Use the basis 1,x,x2:
T1=0+1=1,Tx=x+1,Tx2=2x2+1.
M(T)=โ100โ110โ102โโ,trT=1+1+2=4.
The matrix is upper triangular, so the eigenvalues are 1,1,2, and their sum is 4 as well.
Solved: 0 / 4