Skip to main content

13  Eigenvalues, Invariant Subspaces, and Their Sensitivity

Repeated multiplication by a matrix can change both the length and the direction of a vector. Some directions are simpler: the matrix only multiplies them by a scalar. These are the eigenvector directions. A basis made from them would reduce repeated matrix multiplication to repeated scalar multiplication.

Such a basis need not exist. We examine that obstruction, then construct a triangular representation that always exists over the complex numbers. Symmetry gives the stronger conclusion of an orthonormal eigenvector basis. We use this basis to study optimization and sensitivity.

13.1 Invariant Directions and Change of Basis

NoteDefinition: Eigenvalues and Eigenvectors

Let \(\bA \in \fR^{n \times n}\). A nonzero vector \(\bv \in \fC^n\) is an eigenvector of \(\bA\) associated with eigenvalue \(\lambda \in \fC\) if \[ \begin{align} \bA\bv = \lambda\bv. \end{align} \] The set of eigenvalues is the spectrum \(\sigma(\bA)\). When eigenvalues are listed as \(\lambda_1,...,\lambda_n\), repetitions are included according to algebraic multiplicity.

WarningExercise

For \(\bA=\operatorname{diag}(2,-1)\), compute \(\bA^k\bx\) for \(\bx=(x_1,x_2)^T\) and identify its invariant coordinate lines. Next solve the eigenvalue equation for \(\begin{pmatrix}0&-1\\1&0\end{pmatrix}\). Why are complex scalars needed for the rotation even though all matrix entries are real?

NoteDefinition: Invariant Subspace

A subspace \(S\subseteq\fC^n\) is invariant under \(\bA\) if \(\bA\bx\in S\) whenever \(\bx\in S\). An eigenvector spans a one-dimensional invariant subspace. Higher-dimensional invariant subspaces remain meaningful even when no basis of eigenvectors exists.

NoteExample

Three two-dimensional examples show what the definition can and cannot promise.

  1. A diagonal matrix scales the coordinate axes, leaving both axes invariant.

  2. The shear \(\begin{pmatrix}1&1\\0&1\end{pmatrix}\) has only one independent eigenvector. Repeated application keeps sliding vectors in the same direction, so a repeated eigenvalue need not supply a full eigenbasis.

  3. A planar rotation through an angle that is not an integer multiple of \(\pi\) has no real invariant line, but it has complex eigenvectors. The complex eigenvalues encode the rotation as multiplication by a complex phase.

NoteDefinition: Similarity and a Change of Basis

Matrices \(\bA\) and \(\bB\) are similar if \[ \begin{align} \bB=\bS^{-1}\bA\bS \end{align} \] for some nonsingular \(\bS\). They represent the same linear map in different bases: the columns of \(\bS\) are the new basis vectors written in the old coordinates.

NoteTheorem: Similarity Preserves Eigenvalues

If \(\bB=\bS^{-1}\bA\bS\), then \(\bA\) and \(\bB\) have the same eigenvalues. More precisely, \(\bA\bv=\lambda\bv\) if and only if \[ \begin{align} \bB(\bS^{-1}\bv)=\lambda(\bS^{-1}\bv). \end{align} \]

WarningExercise

Multiply \(\bA\bv=\lambda\bv\) by \(\bS^{-1}\) and insert \(\bS\bS^{-1}\) to prove the forward implication. Prove the reverse implication and explain why the transformed eigenvector is nonzero. Use determinants to show that algebraic multiplicities are preserved as well.

NoteTheorem: Diagonalization Means an Eigenvector Basis

A matrix \(\bA\in\fC^{n\times n}\) is similar to a diagonal matrix if and only if it has a basis of eigenvectors. If \(\bS=(\bv_1\ \cdots\ \bv_n)\) contains such a basis, then \[ \begin{align} \bA\bS=\bS\boldsymbol{\Lambda}, \qquad \bA=\bS\boldsymbol{\Lambda}\bS^{-1}. \end{align} \]

WarningExercise

Compare the \(j\)th columns of \(\bA\bS\) and \(\bS\boldsymbol{\Lambda}\) to prove both implications. Explain why linear independence of the eigenvectors is essential.

13.2 Multiplicity and Schur Form

NoteDefinition: Algebraic and Geometric Multiplicity

Let \(\lambda\) be an eigenvalue of \(\bA\).

  1. The algebraic multiplicity \(\mu_a(\lambda)\) is the multiplicity of \(\lambda\) as a root of \(\det(\bA - z\bI) = 0\).

  2. The geometric multiplicity \(\mu_g(\lambda) = \dim \mathcal{N}(\bA - \lambda\bI)\) is the dimension of the corresponding eigenspace.

Every eigenvalue satisfies \(1 \leq \mu_g(\lambda) \leq \mu_a(\lambda)\). When \(\mu_g(\lambda) < \mu_a(\lambda)\) for any eigenvalue, \(\bA\) is defective and does not possess a complete basis of eigenvectors.

WarningExercise

(A defective shear) For \(\bA=\begin{pmatrix}1&1\\0&1\end{pmatrix}\), find the algebraic and geometric multiplicities of the eigenvalue. Compute \(\bA^k\) and explain how its growth is invisible if one records only the eigenvalue \(1\).

For complex vectors, \(\bQ^*\) denotes the conjugate transpose: transpose the matrix and conjugate its entries. The inner product is \(\bx^*\by\), and a unitary matrix satisfies \(\bQ^*\bQ=\bI\). These extend the real inner product and orthogonal matrices. The conjugation is necessary because \(\bx^*\bx=\sum_i|x_i|^2\) must be positive for nonzero \(\bx\).

WarningExercise

Prove that eigenvectors associated with distinct eigenvalues are linearly independent. For an induction, apply \(\bA-\lambda_k\bI\) to a proposed dependence among \(k\) eigenvectors. Conclude that a matrix with \(n\) distinct eigenvalues has an eigenvector basis over \(\fC\).

Repeated eigenvalues can prevent diagonalization, as the shear shows. We can still begin a basis with one eigenvector. The entries below the first diagonal position then vanish. Repeating the construction on the remaining block produces a triangular matrix, without requiring the remaining basis vectors to be eigenvectors of the original matrix.

NoteTheorem: Schur Triangularization Decomposition

Every square matrix \(\bA \in \fC^{n \times n}\) is unitarily similar to an upper triangular matrix: \[ \begin{align} \bA = \bQ\bT\bQ^*, \end{align} \] where \(\bQ \in \fC^{n \times n}\) is unitary (\(\bQ^*\bQ = \bI\)) and \(\bT \in \fC^{n \times n}\) is upper triangular. The diagonal entries of \(\bT\) are the eigenvalues of \(\bA\).

We proceed by induction on the matrix dimension \(n\). For \(n = 1\), the statement holds trivially with \(\bQ = [1]\) and \(\bT = \bA\).

The induction will isolate one eigenvector and then apply the result only to a matrix of order \(n-1\). We do not assume that \(\bA\) has a complete eigenvector basis.

Assume the theorem holds for all square matrices of order \(n - 1\). By the Fundamental Theorem of Algebra, the characteristic polynomial \(\det(\bA - z\bI) = 0\) possesses at least one complex root \(\lambda_1\). Let \(\bv_1 \in \fC^n\) be an eigenvector associated with \(\lambda_1\), normalized so that \(\|\bv_1\|_2 = 1\). Using the Gram–Schmidt process or Householder reflectors, construct an orthonormal basis for \(\fC^n\) whose first column is \(\bv_1\), forming a unitary matrix \(\bU_1 = [\bv_1, \bW] \in \fC^{n \times n}\) with \(\bW \in \fC^{n \times (n-1)}\).

The completed basis satisfies \(\bv_1^*\bv_1=1\), \(\bW^*\bv_1=\bzero\), and \(\bW^*\bW=\bI_{n-1}\). These identities will determine the first column of the transformed matrix.

Applying this unitary similarity transformation to \(\bA\) gives \[ \begin{align} \bU_1^* \bA \bU_1 = \begin{pmatrix} \bv_1^* \\ \bW^* \end{pmatrix} \bA \begin{pmatrix} \bv_1 & \bW \end{pmatrix} = \begin{pmatrix} \bv_1^* \bA \bv_1 & \bv_1^* \bA \bW \\ \bW^* \bA \bv_1 & \bW^* \bA \bW \end{pmatrix}. \end{align} \] Because \(\bA\bv_1 = \lambda_1 \bv_1\), the leading entry is \(\bv_1^*(\lambda_1\bv_1) = \lambda_1 \|\bv_1\|_2^2 = \lambda_1\). The lower-left block is \(\bW^*(\lambda_1\bv_1) = \lambda_1(\bW^*\bv_1) = \bzero\), because the columns of \(\bW\) are orthogonal to \(\bv_1\). Thus \[ \begin{align} \bU_1^* \bA \bU_1 = \begin{pmatrix} \lambda_1 & \bw^* \\ \bzero & \bA_1 \end{pmatrix}, \end{align} \] where \(\bA_1 = \bW^* \bA \bW \in \fC^{(n-1) \times (n-1)}\) and \(\bw^* = \bv_1^* \bA \bW\).

By the induction hypothesis, there exists a unitary matrix \(\bQ_1 \in \fC^{(n-1) \times (n-1)}\) such that \(\bQ_1^* \bA_1 \bQ_1 = \bT_1\) is upper triangular. Define the \(n \times n\) block-diagonal unitary matrix \[ \begin{align} \bV = \begin{pmatrix} 1 & \bzero \\ \bzero & \bQ_1 \end{pmatrix}. \end{align} \] Setting \(\bQ = \bU_1 \bV\), which is unitary as the product of unitary matrices, we obtain \[ \begin{align} \bQ^*\bA\bQ &=\bV^*(\bU_1^*\bA\bU_1)\bV\\ &=\begin{pmatrix}\lambda_1&\bw^*\bQ_1\\\bzero&\bQ_1^*\bA_1\bQ_1\end{pmatrix} =\begin{pmatrix}\lambda_1&\bw^*\bQ_1\\\bzero&\bT_1\end{pmatrix}. \end{align} \] To verify that the new matrix is unitary, multiply \[ \begin{align} \bQ^*\bQ=\bV^*\bU_1^*\bU_1\bV=\bV^*\bV=\bI. \end{align} \] The block \(\bQ_1\) acts only on the trailing coordinates, so it cannot introduce entries below the zero lower-left block.

Because \(\bT_1\) is upper triangular, the entire block matrix \(\bT = \bQ^*\bA\bQ\) is upper triangular. The diagonal entries of \(\bT\) are \(\lambda_1\) and the eigenvalues of \(\bA_1\), which collectively form the eigenvalues of \(\bA\).

Finally, similarity preserves the characteristic polynomial, and the determinant of a triangular matrix is the product of its diagonal entries. Therefore \(\det(\bT-z\bI)=\prod_i(t_{ii}-z)\), which proves that the diagonal entries list all eigenvalues with algebraic multiplicities. See Horn and Johnson (2012) for Schur form.

NoteTheorem: Spectral Theorem for Real Symmetric Matrices

If \(\bA \in \fR^{n \times n}\) is real symmetric (\(\bA = \bA^T\)), then all eigenvalues of \(\bA\) are real, and \(\bA\) is orthogonally diagonalizable: \[ \begin{align} \bA = \bQ \boldsymbol{\Lambda} \bQ^T = \sum_{i=1}^n \lambda_i \bq_i \bq_i^T, \end{align} \] where \(\bQ \in \fR^{n \times n}\) is real orthogonal (\(\bQ^T\bQ = \bI\)) and \(\boldsymbol{\Lambda} = \operatorname{diag}(\lambda_1, ..., \lambda_n)\) is real diagonal.

First, let \(\lambda \in \fC\) and \(\bv \in \fC^n \setminus \{\bzero\}\) satisfy \(\bA\bv = \lambda\bv\). Taking the inner product with \(\bv\), \[ \begin{align} \bv^*\bA\bv = \bv^*(\lambda\bv) = \lambda\|\bv\|_2^2. \end{align} \] Taking the conjugate transpose of this scalar and using \(\bA = \bA^T = \bA^*\), \[ \begin{align} \bv^*\bA\bv = (\bv^*\bA\bv)^* = (\lambda\|\bv\|_2^2)^* = \bar{\lambda}\|\bv\|_2^2. \end{align} \] Subtracting these two scalar expressions gives \[ \begin{align} (\lambda - \bar{\lambda})\|\bv\|_2^2 = 0. \end{align} \] Because \(\bv \neq \bzero\), \(\|\bv\|_2^2 > 0\), forcing \(\lambda = \bar{\lambda} \in \fR\). Thus all eigenvalues are real.

Real eigenvalues alone do not yet give an orthogonal basis. We now construct that basis by reducing the dimension, retaining symmetry at every reduction.

Because \(\lambda_1 \in \fR\) and \(\bA\) is real, writing \(\bv = \bx + i\by\) gives \(\bA\bx = \lambda_1\bx\) and \(\bA\by = \lambda_1\by\). At least one of \(\bx,\by\) is nonzero, yielding a real unit eigenvector \(\bq_1\). Extend \(\bq_1\) to an orthogonal matrix \(\bQ_1 = [\bq_1, \bW] \in \fR^{n \times n}\) with \(\bW \in \fR^{n \times (n-1)}\). Because \(\bA\bq_1 = \lambda_1\bq_1\) and \(\bW^T\bq_1 = \bzero\): \[ \begin{align} \bQ_1^T\bA\bQ_1 = \begin{pmatrix} \bq_1^T \\ \bW^T \end{pmatrix} \bA \begin{pmatrix} \bq_1 & \bW \end{pmatrix} = \begin{pmatrix} \bq_1^T\bA\bq_1 & \bq_1^T\bA\bW \\ \bW^T\bA\bq_1 & \bW^T\bA\bW \end{pmatrix} = \begin{pmatrix} \lambda_1 & (\bW^T\bA\bq_1)^T \\ \bzero & \bA_1 \end{pmatrix} = \begin{pmatrix} \lambda_1 & \bzero^T \\ \bzero & \bA_1 \end{pmatrix}, \end{align} \] The upper-right block vanishes for a specific reason: \(\bq_1^T\bA\bW=(\bW^T\bA\bq_1)^T\), and the lower-left block is zero. This equality uses symmetry. Without it, Schur form would leave a possibly nonzero upper-right block.

where \(\bA_1 = \bW^T\bA\bW \in \fR^{(n-1)\times(n-1)}\) is symmetric. Indeed, \(\bA_1^T=\bW^T\bA^T\bW=\bA_1\). For dimension one the theorem is immediate. At each larger dimension we may therefore apply the induction hypothesis to this real symmetric trailing block.

By induction on dimension, there exists an orthogonal \(\bQ_2 \in \fR^{(n-1)\times(n-1)}\) such that \(\bQ_2^T\bA_1\bQ_2 = \operatorname{diag}(\lambda_2, ..., \lambda_n)\). The matrix \[ \begin{align} \bQ = \bQ_1 \begin{pmatrix} 1 & \bzero \\ \bzero & \bQ_2 \end{pmatrix} \end{align} \] is orthogonal and satisfies \(\bQ^T\bA\bQ = \boldsymbol{\Lambda}\), so \(\bA = \bQ\boldsymbol{\Lambda}\bQ^T\).

Reading the columns of \(\bA\bQ=\bQ\boldsymbol\Lambda\) shows \(\bA\bq_i=\lambda_i\bq_i\) for every column. Orthogonality of \(\bQ\) makes these vectors an orthonormal basis. This verifies the eigenvector assertion as well as the displayed factorization.

For a nonzero vector, define its Rayleigh quotient by \(R(\bx)=\bx^T\bA\bx/(\bx^T\bx)\). In an orthonormal eigenvector basis, \(\bx=\sum_i c_i\bq_i\) gives \[ \begin{align} R(\bx)=\frac{\sum_i\lambda_i c_i^2}{\sum_i c_i^2}. \end{align} \] This is a weighted average of the eigenvalues, so its minimum and maximum are the smallest and largest eigenvalues. To isolate an intermediate eigenvalue, we restrict the quotient to subspaces of a specified dimension.

WarningExercise

For \(\bA=\operatorname{diag}(1,3,7)\), find the extreme Rayleigh quotients on \(\operatorname{span}\{\be_1,\be_2\}\) and on \(\operatorname{span}\{\be_2,\be_3\}\). Explain why every plane through the origin intersects \(\operatorname{span}\{\be_2,\be_3\}\) in a nonzero vector. Use that fact to bound the largest quotient on any plane from below by \(3\).

NoteTheorem: Courant–Fischer Minimax Theorem

Let \(\bA \in \fR^{n \times n}\) be real symmetric with eigenvalues ordered as \(\lambda_1 \leq \lambda_2 \leq ... \leq \lambda_n\). Then for each \(k \in \{1, ..., n\}\), \[ \begin{align} \lambda_k = \min_{\dim(S) = k} \max_{\bx \in S,\, \bx \neq \bzero} \frac{\bx^T \bA \bx}{\bx^T \bx} = \max_{\dim(S) = n - k + 1} \min_{\bx \in S,\, \bx \neq \bzero} \frac{\bx^T \bA \bx}{\bx^T \bx}. \end{align} \]

Let \(\bq_1, ..., \bq_n\) be an orthonormal basis of eigenvectors of \(\bA\) with \(\bA\bq_i = \lambda_i \bq_i\). For any nonzero \(\bx = \sum_{i=1}^n c_i \bq_i\), the Rayleigh quotient satisfies \[ \begin{align} R(\bx) = \frac{\bx^T\bA\bx}{\bx^T\bx} = \frac{\sum_{i=1}^n \lambda_i c_i^2}{\sum_{i=1}^n c_i^2}. \end{align} \] The quotient is unchanged under rescaling, so each maximum can equivalently be taken on the unit sphere of its subspace. That sphere is compact, which ensures the stated extrema are attained.

Define the subspace \(V_k = \operatorname{span}\{\bq_1, ..., \bq_k\}\), which has dimension \(k\). For any nonzero \(\bx \in V_k\), \(c_i = 0\) for all \(i > k\), so \[ \begin{align} R(\bx) = \frac{\sum_{i=1}^k \lambda_i c_i^2}{\sum_{i=1}^k c_i^2} \leq \lambda_k \frac{\sum_{i=1}^k c_i^2}{\sum_{i=1}^k c_i^2} = \lambda_k. \end{align} \] Because \(\bq_k \in V_k\) achieves \(R(\bq_k) = \lambda_k\), we have \(\max_{\bx \in V_k,\, \bx \neq \bzero} R(\bx) = \lambda_k\).

Now let \(S\) be any arbitrary subspace of \(\fR^n\) with \(\dim(S) = k\). Define \(W_{k-1} = \operatorname{span}\{\bq_k, ..., \bq_n\}\), which has dimension \(n - k + 1\). By the dimension formula, \[ \begin{align} \dim(S \cap W_{k-1}) = \dim(S) + \dim(W_{k-1}) - \dim(S + W_{k-1}) \geq k + (n - k + 1) - n = 1. \end{align} \] Therefore, there exists a nonzero vector \(\by \in S \cap W_{k-1}\). Because \(\by \in W_{k-1}\), its expansion \(\by = \sum_{i=k}^n d_i \bq_i\) contains only modes \(i \geq k\), so \[ \begin{align} R(\by) = \frac{\sum_{i=k}^n \lambda_i d_i^2}{\sum_{i=k}^n d_i^2} \geq \lambda_k \frac{\sum_{i=k}^n d_i^2}{\sum_{i=k}^n d_i^2} = \lambda_k. \end{align} \] Because \(\by \in S\), the maximum over \(S\) satisfies \(\max_{\bx \in S,\, \bx \neq \bzero} R(\bx) \geq R(\by) \geq \lambda_k\). Taking the minimum over all \(k\)-dimensional subspaces \(S\) proves the first equality. For the second characterization, the eigenvalues of \(-\bA\) in increasing order are \(-\lambda_n,...,-\lambda_1\). Apply the first characterization to its index \(n-k+1\): \[ \begin{align} -\lambda_k =\min_{\dim S=n-k+1}\max_{\bx\in S\setminus\{0\}}[-R(\bx)]. \end{align} \] For each fixed \(S\), \(\max(-R)=-\min R\). Negating the outer minimum changes it into a maximum. Thus \[ \begin{align} \lambda_k=\max_{\dim S=n-k+1}\min_{\bx\in S\setminus\{0\}}R(\bx), \end{align} \] which proves the second equality without leaving an additional argument implicit.

NoteTheorem: Cauchy Interlacing Theorem

Let \(\bA\in\fR^{n\times n}\) be symmetric, and let \(\bB\in\fR^{(n-1)\times(n-1)}\) be a principal submatrix. If \[ \begin{align} \lambda_1\leq\cdots\leq\lambda_n, \qquad \mu_1\leq\cdots\leq\mu_{n-1} \end{align} \] are the eigenvalues of \(\bA\) and \(\bB\), respectively, then \[ \begin{align} \lambda_k\leq\mu_k\leq\lambda_{k+1}, \qquad k=1,...,n-1. \end{align} \]

After a simultaneous permutation of rows and columns, we may assume that \(\bB\) is obtained by deleting the last row and column. Identify \(\fR^{n-1}\) with the coordinate hyperplane \[ \begin{align} H=\{\bx\in\fR^n:x_n=0\}. \end{align} \] For \(\by\in\fR^{n-1}\), insert a final zero to get \(\bx=(\by,0)^T\). Block multiplication gives \(\bx^T\bA\bx=\by^T\bB\by\) and \(\bx^T\bx=\by^T\by\). Thus the identification preserves both the dimension of a subspace and its Rayleigh quotient.

For every nonzero \(\bx\in H\), the Rayleigh quotients of \(\bA\) and \(\bB\) agree.

Apply the first Courant–Fischer characterization from the referenced result. The minimization defining \(\mu_k\) ranges only over \(k\)-dimensional subspaces of \(H\), whereas the minimization defining \(\lambda_k\) ranges over all \(k\)-dimensional subspaces of \(\fR^n\). Restricting the admissible set cannot decrease the minimum, so \(\lambda_k\leq\mu_k\).

For the other inequality, use the dual characterization. Since \(\dim(H)=n-1\), \[ \begin{align} \mu_k &=\max_{\substack{S\subset H\\ \dim(S)=n-k}} \min_{\bx\in S,\,\bx\neq\bzero}R_{\bA}(\bx) \leq\max_{\substack{S\subset\fR^n\\ \dim(S)=n-k}} \min_{\bx\in S,\,\bx\neq\bzero}R_{\bA}(\bx) =\lambda_{k+1}. \end{align} \] Together the two bounds give the interlacing inequalities.

In the dual formula, the subspaces for \(\bB\) have dimension \((n-1)-k+1=n-k\). The same dimension in the formula for \(\bA\) corresponds to its eigenvalue with index \(k+1\). This index calculation explains the one-step shift in the upper bound.

WarningExercise

(Cauchy interlacing on a concrete matrix) For \[ \begin{align} \bA=\begin{pmatrix}2&1&0\\1&2&1\\0&1&2\end{pmatrix}, \end{align} \] compute the eigenvalues of \(\bA\) and of the leading \(2\times2\) principal submatrix. Verify each inequality in the referenced result. Repeat after deleting the middle row and column.

13.3 Sensitivity of Eigenvalues

Every eigenvalue algorithm computes the eigenvalues of a matrix that differs from \(\bA\) by rounding errors, and every iterative eigensolver stops with an approximate eigenpair whose residual is small but nonzero. We therefore need to know how far eigenvalues move when the matrix is perturbed. For symmetric matrices the answer follows from the referenced result, and eigenvalues move no farther than the norm of the perturbation. For a general diagonalizable matrix the answer also depends on the condition number of the eigenvector basis.

NoteTheorem: Weyl’s Perturbation Theorem

Let \(\bA\) and \(\bE\) be real symmetric \(n\times n\) matrices. Let \(\lambda_1\leq\cdots\leq\lambda_n\) be the eigenvalues of \(\bA\) and \(\mu_1\leq\cdots\leq\mu_n\) the eigenvalues of \(\bA+\bE\). Then \[ \begin{align} |\mu_k-\lambda_k|\leq\|\bE\|_2,\qquad k=1,...,n. \end{align} \]

Write \(R_{\bA}(\bx)=\bx^T\bA\bx/(\bx^T\bx)\) for a nonzero vector. Subtract the two quotients: \[ \begin{align} R_{\bA+\bE}(\bx)-R_{\bA}(\bx)=\frac{\bx^T\bE\bx}{\|\bx\|_2^2}. \end{align} \] Cauchy–Schwarz and consistency bound the numerator: \[ \begin{align} |\bx^T\bE\bx|\leq\|\bx\|_2\|\bE\bx\|_2 \leq\|\bE\|_2\|\bx\|_2^2. \end{align} \] After division, this gives the pointwise inequalities \[ \begin{align} R_{\bA}(\bx)-\|\bE\|_2 \leq R_{\bA+\bE}(\bx) \leq R_{\bA}(\bx)+\|\bE\|_2. \end{align} \] Fix a subspace \(S\) of dimension \(k\). Each inequality holds for every nonzero vector of \(S\), so it also holds after taking the maximum over those vectors. A constant independent of the vector passes unchanged through the maximum.

Now take the minimum over all such subspaces. The same constant is independent of \(S\), so it again passes unchanged through this operation. Courant–Fischer identifies the resulting middle value with \(\mu_k\) and the other two with \(\lambda_k\pm\|\bE\|_2\). Both matrices are symmetric, as required to use that theorem. Hence \[ \begin{align} \lambda_k-\|\bE\|_2\leq\mu_k\leq\lambda_k+\|\bE\|_2, \end{align} \] which is equivalent to \(|\mu_k-\lambda_k|\leq\|\bE\|_2\). This classical perturbation theorem is treated in Horn and Johnson (2012).

NoteCorollary: Residual Bounds for Symmetric Matrices

Let \(\bA\) be real symmetric, let \(\bx\) be a unit vector, let \(\theta\) be real, and let \(\br=\bA\bx-\theta\bx\).

  1. Some eigenvalue \(\lambda\) of \(\bA\) satisfies \(|\lambda-\theta|\leq\|\br\|_2\).

  2. Suppose \(\theta=\bx^T\bA\bx\), let \(\lambda\) be an eigenvalue of \(\bA\) nearest to \(\theta\), and let \(\delta>0\) be the distance from \(\theta\) to the remaining eigenvalues. Then \[ \begin{align} |\lambda-\theta|\leq\frac{\|\br\|_2^2}{\delta}. \end{align} \]

Expand \(\bx=\sum_ic_i\bq_i\) in an orthonormal eigenvector basis, so that \(\sum_ic_i^2=1\) and \(\br=\sum_i(\lambda_i-\theta)c_i\bq_i\). Then \[ \begin{align} \|\br\|_2^2=\sum_{i=1}^n(\lambda_i-\theta)^2c_i^2\geq\min_i(\lambda_i-\theta)^2, \end{align} \] because each squared distance is at least its minimum and the nonnegative weights \(c_i^2\) sum to one. Taking square roots gives \(\min_i|\lambda_i-\theta|\leq\|\br\|_2\). The minimum is attained at some eigenvalue because there are finitely many of them.

For the second claim, the Rayleigh quotient condition is \(\sum_i(\lambda_i-\theta)c_i^2=0\). Suppose \(\lambda\leq\theta\), since the case \(\lambda\geq\theta\) follows by applying the argument to \(-\bA\). Let \(\beta=\theta+\delta\).

An eigenvalue \(\lambda_i\neq\lambda\) cannot lie in \((\lambda,\theta]\), because it would then be closer to \(\theta\) than \(\lambda\). Such an eigenvalue also cannot lie in \((\theta,\beta)\), by the definition of \(\delta\). Hence every such eigenvalue satisfies \(\lambda_i<\lambda\) or \(\lambda_i\geq\beta\), and in both cases \((\lambda_i-\lambda)(\lambda_i-\beta)\geq0\). The product vanishes when \(\lambda_i=\lambda\).

Writing \(\lambda_i-\lambda=(\lambda_i-\theta)+(\theta-\lambda)\) and \(\lambda_i-\beta=(\lambda_i-\theta)-\delta\) and expanding gives \[ \begin{align} 0\leq\sum_{i=1}^n(\lambda_i-\lambda)(\lambda_i-\beta)c_i^2 =\|\br\|_2^2+(\theta-\lambda-\delta)\sum_{i=1}^n(\lambda_i-\theta)c_i^2-(\theta-\lambda)\delta =\|\br\|_2^2-(\theta-\lambda)\delta. \end{align} \] For clarity, the expansion in the last display uses \(a=\lambda_i-\theta\) and \(d=\theta-\lambda\): \[ \begin{align} (a+d)(a-\delta)=a^2+(d-\delta)a-d\delta. \end{align} \] Summing the first term gives the squared residual norm. The middle term vanishes because \(\theta=\bx^T\bA\bx\). The last term is \(-d\delta\) because the weights sum to one. These are the three contributions in the displayed inequality.

Therefore \((\theta-\lambda)\delta\leq\|\br\|_2^2\).

The first bound states that a small residual locates an eigenvalue of a symmetric matrix to within the residual norm. The second bound shows that the Rayleigh quotient is much more accurate than its residual when the eigenvalue is well separated from the rest of the spectrum. An eigenvector residual of \(10^{-4}\) and a gap of order one, for example, give an eigenvalue error of order \(10^{-8}\).

NoteTheorem: Bauer–Fike Theorem

Let \(\bA=\bX\boldsymbol{\Lambda}\bX^{-1}\) be diagonalizable with eigenvalues \(\lambda_1,...,\lambda_n\), and let \(\bE\) be any \(n\times n\) matrix. Every eigenvalue \(\mu\) of \(\bA+\bE\) satisfies \[ \begin{align} \min_{1\leq i\leq n}|\lambda_i-\mu|\leq\kappa_2(\bX)\|\bE\|_2, \end{align} \] where \(\kappa_2(\bX)=\|\bX\|_2\|\bX^{-1}\|_2\) is computed in the Euclidean norm on \(\fC^n\).

Let \(\mu\) be an eigenvalue of \(\bA+\bE\) and choose a nonzero eigenvector \(\by\). If \(\mu\) is already an eigenvalue of \(\bA\), its distance to that spectrum is zero and the estimate follows. Assume it is not.

Write \(\bA=\bX\boldsymbol\Lambda\bX^{-1}\) and put \(\bz=\bX^{-1}\by\). This vector is nonzero because \(\bX\) is invertible. Multiply \((\bA+\bE)\by=\mu\by\) by \(\bX^{-1}\) and substitute \(\by=\bX\bz\): \[ \begin{align} (\boldsymbol\Lambda-\mu\bI)\bz=-\bX^{-1}\bE\bX\bz. \end{align} \] Every diagonal entry \(\lambda_i-\mu\) is nonzero, so the diagonal matrix is invertible. Therefore \[ \begin{align} \bz=-(\boldsymbol\Lambda-\mu\bI)^{-1}\bX^{-1}\bE\bX\bz. \end{align} \] Take Euclidean norms and divide by \(\|\bz\|_2>0\): \[ \begin{align} 1\leq\|(\boldsymbol\Lambda-\mu\bI)^{-1}\|_2 \|\bX^{-1}\|_2\|\bE\|_2\|\bX\|_2. \end{align} \] For a diagonal matrix the Euclidean norm is the largest diagonal magnitude. Here it is \[ \begin{align} \max_i\frac1{|\lambda_i-\mu|} =\frac1{\min_i|\lambda_i-\mu|}. \end{align} \] Multiply the norm inequality by the positive denominator. The result is \(\min_i|\lambda_i-\mu|\leq\kappa_2(\bX)\|\bE\|_2\). This is the Bauer–Fike theorem (Horn and Johnson 2012; Golub and Van Loan 2013).

NoteCorollary: Residual Bound for Diagonalizable Matrices

Let \(\bA=\bX\boldsymbol{\Lambda}\bX^{-1}\), let \(\bx\) be a unit vector, let \(\theta\in\fC\), and let \(\br=\bA\bx-\theta\bx\). Then some eigenvalue \(\lambda\) of \(\bA\) satisfies \(|\lambda-\theta|\leq\kappa_2(\bX)\|\br\|_2\).

The unit-norm hypothesis gives \(\bx^*\bx=1\), where the star denotes conjugate transpose. Define the rank-one perturbation \(\bE=-\br\bx^*\). Its action on this particular vector is \[ \begin{align} \bE\bx=-\br(\bx^*\bx)=-\br. \end{align} \] Since \(\br=\bA\bx-\theta\bx\), we obtain \[ \begin{align} (\bA+\bE)\bx=\bA\bx-\br=\theta\bx. \end{align} \] The vector is nonzero, so \(\theta\) is an exact eigenvalue of the perturbed matrix.

For any unit vector \(\by\), Cauchy–Schwarz gives \[ \begin{align} \|\bE\by\|_2=\|\br\|_2|\bx^*\by|\leq\|\br\|_2. \end{align} \] Equality is attained at \(\by=\bx\), because \(|\bx^*\bx|=1\). Thus \(\|\bE\|_2=\|\br\|_2\). Applying Bauer–Fike to this explicitly constructed perturbation gives the stated residual bound. The argument concerns eigenvalue location, not the distance to a particular eigenvector.

For a symmetric matrix, the referenced result provides an orthogonal \(\bX\) with \(\kappa_2(\bX)=1\), and the referenced result reduces to the first part of the referenced result. For a nonnormal matrix, \(\kappa_2(\bX)\) can be large, and a small residual then locates an eigenvalue only loosely. Near a defective matrix the eigenvalues can move much farther than the perturbation, as the following example shows.

NoteExample

(Eigenvalues of a nearly defective matrix) The matrix \[ \begin{align} \bA_\varepsilon=\begin{pmatrix}0&1\\ \varepsilon&0\end{pmatrix} \end{align} \] differs from the defective matrix \(\bA_0\) by a perturbation of norm \(\varepsilon\), but its eigenvalues are \(\pm\sqrt{\varepsilon}\). For \(\varepsilon=10^{-10}\), a perturbation at the level of \(10^{-10}\) moves the double eigenvalue zero by \(10^{-5}\). The eigenvectors \((1,\pm\sqrt{\varepsilon})^T\) of \(\bA_\varepsilon\) become parallel as \(\varepsilon\to0\), so \(\kappa_2(\bX)\) grows without bound, in agreement with the referenced result.

13.4 Further Exercises

WarningExercise

(Rayleigh quotient stationary points) For a real symmetric matrix \(\bA\), define the Rayleigh quotient \(R(\bx) = \frac{\bx^T\bA\bx}{\bx^T\bx}\) on \(\fR^n \setminus \{\bzero\}\).

  1. Compute the gradient \(\nabla R(\bx)\) directly.

  2. Prove that \(\nabla R(\bx) = \bzero\) if and only if \(\bx\) is an eigenvector of \(\bA\).

  3. Restrict the Hessian \(\nabla^2R(\bq_i)\) to directions orthogonal to \(\bq_i\). Show that its eigenvalues on this tangent space are \(\frac{2}{\|\bq_i\|_2^2}(\lambda_j-\lambda_i)\) for \(j\neq i\). Explain why the radial direction has zero curvature, and conclude that the smallest and largest eigenvalues are the global extrema of \(R\).

WarningExercise

(Similarity is a coordinate change) Choose a nonorthogonal basis of \(\fR^2\), form its basis matrix \(\bS\), and compute \(\bS^{-1}\bA\bS\) for a simple diagonal matrix \(\bA\). Verify directly that eigenvalues are preserved although lengths and angles generally are not.