Characteristic Polynomial

Intuition

We know that an eigenvector of a matrix AA is a special vector that, when transformed by AA, only gets scaled, not knocked off its direction. The scaling factor is the eigenvalue, λ\lambda. The core problem is, how do we find these special scaling factors, the eigenvalues?

Trying to solve the equation Ax=λxAx=\lambda x directly is difficult because we have two unknowns, the vector xx and the scalar λ\lambda.

The characteristic polynomial provides a brilliant strategy to solve this. It isolates the unknown scalar λ\lambda. It transforms the matrix-vector problem into a standard polynomial equation, like aλ2+bλ+c=0a\lambda^2+b\lambda+c=0, where λ is the only unknown. We can then solve this polynomial to find the eigenvalues.

In short, the characteristic polynomial is a tool that lets us find the “magic numbers” (eigenvalues) of a matrix by turning the search into a familiar root-finding problem from high school algebra.

Formal
Ax=λx(since x is an eigenvector)AxλIx=0(AλI)x=0(for x to have non-trivial solutions, (AλI) must be singular)  det(AλI)=0\begin{align} Ax=\lambda x \\ (\text{since x is an eigenvector}) \\ \\ \\ Ax-\lambda I x = 0 \\ (A-\lambda I)x=0 \\ (\text{for x to have non-trivial solutions, }(A-\lambda I)\text{ must be singular}) \\ \\ \therefore \; \det(A-\lambda I) = 0 \tag{1} \end{align}

The left side of equation (3) p(λ)=det(AλI)p(\lambda) = \det(A-\lambda I) is a polynomial in variable λ\lambda, and it is called the characteristic polynomial.

ML Application

While in practice, for large matrices, we use iterative numerical methods to find eigenvalues, the characteristic polynomial is the theoretical foundation and has several key roles:

  • Foundation of Eigendecomposition: It is the fundamental algebraic tool used to prove the existence of eigenvalues and to find them for small matrices by hand. The entire process of eigendecomposition, which is central to PCA, starts with this step.
  • Theoretical Analysis: The characteristic polynomial is used to analyze the properties of a transformation. For example, in studying dynamical systems or Markov chains, the roots of the characteristic polynomial of the system’s transition matrix determine the long-term stability and behavior of the system.
  • Connecting Key Matrix Properties: As seen in the 2×22\times 2 example, the characteristic polynomial provides a direct link between the eigenvalues (λiλ_i), the determinant (λi∏ λ_i), and the trace (λi∑λ_i), which are three of the most important single-number descriptors of a square matrix.
Connections
  • #type/concept
  • #eigenvalues
  • #matrix-decomposition
  • #determinant