Determinant, trace and the Cayley–Hamilton theorem

Database › Mathematics › Pure mathematics › Algebra

ALG-0002TheoremUndergraduateEntrance exam

The trace is the sum and the determinant the product of the eigenvalues; every matrix satisfies its own characteristic equation (Cayley–Hamilton).

$${\rm tr}A=\sum\lambda_i,\quad\det A=\prod\lambda_i,\quad\det(AB)=\det A\det B;\qquad p(\lambda)=\det(\lambda I-A)\Rightarrow p(A)=0;\quad n=2:\ A^2-({\rm tr}A)A+(\det A)I=0$$

Explanation

Trace and determinant are invariant under similarity transformations, as are all coefficients of the characteristic polynomial. For $3\times3$: $p(\lambda)=\lambda^3-({\rm tr}A)\lambda^2+\frac12[({\rm tr}A)^2-{\rm tr}A^2]\lambda-\det A$. Also $\det e^A=e^{{\rm tr}A}$ and ${\rm tr}(AB)={\rm tr}(BA)$.

Cayley–Hamilton lets one reduce any power of an $n\times n$ matrix to a combination of $I,A,\dots,A^{n-1}$, compute inverses ($A^{-1}$ is a polynomial in $A$ if $\det A\neq0$) and evaluate functions of small matrices without diagonalising.

Example 1

Use Cayley–Hamilton to invert $A=\begin{pmatrix}2&1\\1&1\end{pmatrix}$.

Solution

${\rm tr}A=3$, $\det A=1$: $A^2-3A+I=0$, so $A^{-1}=3I-A=\begin{pmatrix}1&-1\\-1&2\end{pmatrix}$.

Example 2

For a $2\times2$ matrix $M$ with $\det M=1$, show $M+M^{-1}=({\rm tr}M)I$, and use it to show $x_n={\rm tr}(M^n)$ obeys $x_{n+1}=x_1x_n-x_{n-1}$.

Solution

Cayley–Hamilton: $M^2-({\rm tr}M)M+I=0$; multiply by $M^{-1}$. Then multiply $M+M^{-1}=x_1I$ by $M^n$: $M^{n+1}+M^{n-1}=x_1M^n$, and take the trace.

In graduate entrance exams

  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY1999 (H11), Problem 1
  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY2015 (H27), Problem 1
  • University of Tokyo, Graduate School of Science, Physics (MSc entrance exam), FY2016 (H28), Problem 1

Related entries