The trace is the sum of the eigenvalues
ProvedFamousTheorems.trace_eq_sum_eigenvalues_6bThe trace is the sum of the eigenvalues. Let be an algebraically closed field and an matrix over with eigenvalues , listed with algebraic multiplicity. Then
The trace is, up to sign, the coefficient of in the characteristic polynomial, and by Vieta's formulas this coefficient is minus the sum of the roots. The identity shows that the sum of the eigenvalues is a linear function of the matrix. It is used in character theory, where characters are traces, and for the traces of powers .
Formalization note. Mathlib's Matrix.trace_eq_sum_roots_charpoly. A.charpoly.roots is the multiset of roots of the characteristic polynomial, counted with multiplicity.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem trace_eq_sum_eigenvalues_6b {n K : Type*} [Fintype n] [DecidableEq n] [Field K] [IsAlgClosed K] (A : Matrix n n K) :
A.trace = A.charpoly.roots.sum := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Matrix.trace_eq_sum_roots_charpoly`. Proof here reduces to that Mathlib result.