MathorynMathematical Formula Database

Linear Algebra

Trace and Determinant from Eigenvalues

The trace (sum of the diagonal) of a square matrix equals the sum of its eigenvalues and the determinant equals their product, counted with multiplicity. It is used to check computed eigenvalues and to classify 2×22\times2 systems quickly.

tr⁡A=∑iλi,det⁡A=∏iλi\operatorname{tr}A=\sum_{i}\lambda_i,\qquad \det A=\prod_{i}\lambda_i
LaTeX\operatorname{tr}A=\sum_{i}\lambda_i,\qquad \det A=\prod_{i}\lambda_i

Variables

tr⁡A\operatorname{tr}A
trace, the sum of diagonal entries
λi\lambda_i
eigenvalues of A

Example

Check for A=(4123)A=\begin{pmatrix}4&1\\2&3\end{pmatrix} with eigenvalues 55 and 22.

  1. tr⁡A=4+3=7=5+2\operatorname{tr}A=4+3=7=5+2.
  2. det⁡A=12−2=10=5⋅2\det A=12-2=10=5\cdot2.

Answer: Trace 77 and determinant 1010 match.

Related formulas