NLA-lib Explorer

NLAlib.trace_exp_eq_sum_exp_of_eigenbasis

Library · theorem

A complete eigenvector basis computes the trace of the matrix exponential as the sum of the scalar exponentials of its eigenvalues.

NLAlib.trace_exp_eq_sum_exp_of_eigenbasis.{u_1} {n : Type u_1} [Fintype n] [DecidableEq n]
  (M : Matrix n n ℂ) (ev : n → ℂ) (b : Module.Basis n ℂ (n → ℂ))
  (hb : ∀ (i : n), M *ᵥ b i = ev i • b i) : (NormedSpace.exp M).trace = ∑ i, Complex.exp (ev i)

Full source on GitHub

Import NLAlib.Matrix.Functions.TraceExponentialContour.