Post · 5 min read· pp. 796–798

What Is the Perron–Frobenius Theorem?

A real matrix is nonnegative if all its elements are nonnegative and it is positive if all its elements are positive. Nonnegative matrices arise in a wide variety of applications, for example as matrices of probabilities in Markov processes and as adjacency matrices of graphs. Information about the eigensystem is often essential in these applications.

Perron (1907) proved results about the eigensystem of a positive matrix and Frobenius (1912) extended them to nonnegative matrices.

The following three results of increasing specificity summarize the key spectral properties of nonnegative matrices proved by Perron and Frobenius. Recall that a simple eigenvalue of an n×nn\times n matrix is one with algebraic multiplicity 11, that is, it occurs only once in the set of nn eigenvalues. We denote by ρ(A)\rho(A) the spectral radius of AA, the largest absolute value of any eigenvalue of AA.

Theorem 1. (Perron–Frobenius) If A∈Rn×nA\in\mathbb{R}^{n\times n} is nonnegative then

  1. ρ(A)\rho(A) is an eigenvalue of AA,
  2. there is a nonnegative eigenvector xx such that Ax=ρ(A)xAx = \rho(A)x.

A matrix A∈Cn×nA\in\mathbb{C}^{n\times n} is reducible if there is a permutation matrix PP such that

PTAP=[A11A120A22]\notag P^TAP = \begin{bmatrix} A_{11} & A_{12} \\ 0 & A_{22} \end{bmatrix}

where A11A_{11} and A22A_{22} are square, nonempty submatrices; it is irreducible if it is not reducible. Examples of reducible matrices are triangular matrices and matrices with a zero row or column. A positive matrix is trivially irreducible.

Theorem 2. (Perron–Frobenius) If A∈Rn×nA\in\mathbb{R}^{n\times n} is nonnegative and irreducible then

  1. ρ(A)\rho(A) is an eigenvalue of AA,
  2. ρ(A)>0\rho(A)>0,
  3. there is a positive eigenvector xx such that Ax=ρ(A)xAx = \rho(A) x,
  4. ρ(A)\rho(A) is a simple eigenvalue.

Theorem 3. (Perron) If A∈Rn×nA\in\mathbb{R}^{n\times n} is positive then Theorem 2 holds and, in addition, ∣λ∣<ρ(A)|\lambda| < \rho(A) for any eigenvalue λ\lambda with λ≠ρ(A)\lambda \ne \rho(A).

For nonnegative, irreducible AA, the eigenvalue ρ(A)\rho(A) is called the Perron root of AA and the corresponding positive eigenvector xx, normalized so that ∥x∥1=1\|x\|_1 = 1, is called the Perron vector.

It is a good exercise to apply the theorems to all binary 2×22\times 2 matrices. Here are some interesting cases.

  • A=[0100]A = \bigl[\begin{smallmatrix}0 & 1 \\ 0 & 0 \end{smallmatrix}\bigr]: Theorem 1 says that ρ(A)=0\rho(A) = 0 is an eigenvalue and and that it has a nonnegative eigenvector. Indeed [1 0]T[1~0]^T is an eigenvector. Note that AA is reducible and 00 is a repeated eigenvalue.
  • A=[0110]A = \bigl[\begin{smallmatrix}0 & 1 \\ 1 & 0 \end{smallmatrix}\bigr]: AA is irreducible and Theorem 2 says that ρ(A)\rho(A) is a simple eigenvalue with positive eigenvector. Indeed the eigenvalues are ±1\pm 1 and [1 1]T/2[1~1]^T/2 is the Perron vector for the Perron root 11. This matrix has two eigenvalues of maximal modulus.
  • A=[1111]A = \bigl[\begin{smallmatrix}1 & 1 \\ 1 & 1 \end{smallmatrix}\bigr]: Theorem 3 says that ρ(A)=2\rho(A) = 2 is an eigenvalue with positive eigenvector and that the other eigenvalue has modulus less than 22. Indeed the eigenvalues are the Perron root 22, with Perron vector [1 1]T/2[1~1]^T/2, and 00.

For another example, consider the irreducible matrix

B=[001100010],Λ(B)={1,12(−1±3 i)}.\notag B = \begin{bmatrix} 0 & 0 & 1\\ 1 & 0 & 0\\ 0 & 1 & 0 \end{bmatrix}, \quad \Lambda(B) = \bigl\{ 1, \textstyle\frac{1}{2}( -1 \pm \sqrt{3}\mskip1mu\mathrm{i} ) \bigr\}.

Note that BB is a companion matrix and a permutation matrix. Theorem 2 correctly tells us that ρ(A)=1\rho(A) = 1 is an eigenvalue of AA, and that it has a corresponding positive eigenvector, the Perron vector [1 1 1]T/3[1~1~1]^T/3. Two of the eigenvalues are complex, however, and all three eigenvalues have modulus 1, as they must because BB is orthogonal.

A stochastic matrix is a nonnegative matrix whose row sums are all equal to 11. A stochastic matrix satisfies Ae=eAe = e, where e=[1,1,…,1]Te = [1,1,\dots,1]^T, which means that AA has an eigenvalue 11, and so ρ(A)≥1\rho(A) \ge 1. Since ρ(A)≤∥A∥\rho(A) \le \|A\| for any norm, by taking the ∞\infty-norm we conclude that ρ(A)=1\rho(A) = 1. For a stochastic matrix, Theorem 1 does not give any further information. If AA is irreducible then Theorem 2 tells us that ρ(A)\rho(A) is a simple eigenvalue, and if AA is positive Theorem 3 tells us that every other eigenvalue has modulus less than ρ(A)\rho(A).

The next result is easily proved using Theorem 3 together with the Jordan canonical form. It shows that the powers of a positive matrix behave like multiples of a rank-1 matrix.

Theorem 4. If A∈Rn×nA\in\mathbb{R}^{n\times n} is positive, xx is the Perron vector of AA, and yy is the Perron vector of ATA^T then

lim⁡k→∞(Aρ(A))k=xyTyTx.\notag \displaystyle\lim_{k\to\infty} \left( \displaystyle\frac{A}{\rho(A)} \right)^k = \displaystyle\frac{xy^T}{y^Tx}.

Note that yy in the theorem is a left eigenvector of AA corresponding to ρ(A)\rho(A), that is, yTA=ρ(A)yTy^TA = \rho(A)y^T (since ρ(AT)=ρ(A)\rho(A^T) = \rho(A)).

If AA is stochastic and positive then Theorem 4 is applicable and x=n−1ex = n^{-1}e. If AA also has unit column sums, so that it is doubly stochastic, then y=n−1ey = n^{-1}e and Theorem 4 says that lim⁡k→∞Ak=n−1eeT\lim_{k\to\infty}A^k = n^{-1}ee^T. We illustrate this result in MATLAB using a scaled magic square matrix.

text
>> n = 4; M = magic(n), A = M/sum(M(1,:)) % Doubly stochastic matrix.
A =
    16     2     3    13
     5    11    10     8
     9     7     6    12
     4    14    15     1
A =
   4.7059e-01   5.8824e-02   8.8235e-02   3.8235e-01
   1.4706e-01   3.2353e-01   2.9412e-01   2.3529e-01
   2.6471e-01   2.0588e-01   1.7647e-01   3.5294e-01
   1.1765e-01   4.1176e-01   4.4118e-01   2.9412e-02

>> for k = 8:8:32, fprintf('%11.2e',norm(A^k-ones(n)/n,1)), end, disp(' ')
   3.21e-05   7.37e-10   1.71e-14   8.05e-16 

References

This is a minimal set of references, which contain further useful references within.

  • Roger A. Horn and Charles R. Johnson, Matrix Analysis, second edition, Cambridge University Press, 2013. Chapter 8. My review of the second edition.
  • Carl D. Meyer, Matrix Analysis and Applied Linear Algebra, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 2000. Chapter 8.
  • Helene Shapiro, Linear Algebra and Matrices. Topics for a Second Course, American Mathematical Society, Providence, RI, USA, 2015. Chapter 17.

This article is part of the “What Is” series, available from https://nhigham.com/category/what-is and in PDF form from the GitHub repository https://github.com/higham/what-is.