Unit 9, lesson 50

Power Iteration

How power iteration finds a dominant eigenvector of a diagonalizable matrix, what sets its convergence rate, how the start or equal-modulus eigenvalues make it fail, and when residuals bound eigenvalue errors.

  • Video 50
  • Power Iteration

Multiply the vector (1,1)(1, 1) by the matrix diag⁡(3,1)\operatorname{diag}(3, 1) again and again, rescaling to unit length after each step. Before rescaling, the first coordinate triples at every step while the second stays put, so the direction swings toward the first axis. Start from (0,1)(0, 1) instead and nothing moves at all. This lesson states precise conditions under which repeated multiplication finds an eigenvector and how fast, which starting vectors and spectra make it fail, and how a residual checks the eigenpair it returns.

Key terms

Power iteration

Definition Let A∈Fn×nA \in \mathbb{F}^{n \times n}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, and let x0∈Fnx_0 \in \mathbb{F}^n be nonzero. Power iteration repeats, for k=0,1,2,…k = 0, 1, 2, \dots,

yk+1=Axk,xk+1=yk+1∥yk+1∥2.\begin{gathered} y_{k+1} = Ax_k, \\[0.4em] x_{k+1} = \frac{y_{k+1}}{\lVert y_{k+1} \rVert_2}. \end{gathered}

If some yk+1=0y_{k+1} = 0, the iteration stops, because normalization is undefined. The zero image is a result in its own right, since it shows that xkx_k lies in ker⁡A\ker A, and a new start is needed to explore other directions. As long as no zero appears, each xkx_k with k≥1k \ge 1 is a positive multiple of Akx0A^k x_0, so

xk=Akx0∥Akx0∥2.x_k = \frac{A^k x_0}{\lVert A^k x_0 \rVert_2}.

The usual eigenvalue estimate is the Rayleigh quotient θk=xk∗Axk/(xk∗xk)\theta_k = x_k^{*}Ax_k / (x_k^{*}x_k), which equals xk∗Axkx_k^{*}Ax_k for every k≥1k \ge 1, and for k=0k = 0 too when the start is a unit vector. Convergence is a statement about lines, not about vectors. A negative or nonreal dominant eigenvalue contributes a sign or a complex factor of modulus 11 to the iterates at every step, so the right comparison is between the line span⁡(xk)\operatorname{span}(x_k) and an eigenvector line, or between xkx_k and a target after that phase is removed. Here and below a tuple such as (1,1)(1, 1) stands for a column vector.

In plain words Keep applying the matrix and rescaling. Each application multiplies every eigencomponent by its eigenvalue, so the component whose eigenvalue is largest in modulus outgrows the rest, provided it is present at the start and nothing ties with it.

Example For A=diag⁡(3,1)A = \operatorname{diag}(3, 1) and x0=(1,1)x_0 = (1, 1) the products and, for k≥1k \ge 1, the iterates are

Akx0=[3k1],xk=19k+1[3k1].\begin{gathered} A^k x_0 = \begin{bmatrix} 3^k \\ 1 \end{bmatrix}, \\[0.4em] x_k = \frac{1}{\sqrt{9^k + 1}} \begin{bmatrix} 3^k \\ 1 \end{bmatrix}. \end{gathered}

The ratio of the second coordinate to the first is 3−k3^{-k}, so the lines approach span⁡(e1)\operatorname{span}(e_1). From x0=(0,1)x_0 = (0, 1) every iterate equals (0,1)(0, 1). For diag⁡(−3,1)\operatorname{diag}(-3, 1) and x0=(1,1)x_0 = (1, 1) the iterates with k≥1k \ge 1 are ((−3)k,1)/9k+1((-3)^k, 1)/\sqrt{9^k + 1}. Their first coordinate changes sign at every step, so the vectors do not converge, but the lines still converge to span⁡(e1)\operatorname{span}(e_1). For diag⁡(1,0)\operatorname{diag}(1, 0) and x0=e2x_0 = e_2 the first product is already 00, and the iteration stops with the report that e2∈ker⁡Ae_2 \in \ker A.

Dominant eigenvalue

Definition Let A∈Fn×nA \in \mathbb{F}^{n \times n}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, and count its eigenvalues in C\mathbb{C} with algebraic multiplicity. An eigenvalue λ1\lambda_1 is dominant if it has algebraic multiplicity one and ∣λ1∣>∣λ∣\lvert \lambda_1 \rvert > \lvert \lambda \rvert for every other eigenvalue λ\lambda of AA. Power iteration also needs λ1≠0\lambda_1 \ne 0, which is automatic when n≥2n \ge 2. A dominant eigenvalue has a one-dimensional eigenspace, the dominant eigenvector line span⁡(v1)\operatorname{span}(v_1). When n≥2n \ge 2, listing the eigenvalues as λ1,λ2,…,λn\lambda_1, \lambda_2, \dots, \lambda_n with ∣λ2∣≥⋯≥∣λn∣\lvert \lambda_2 \rvert \ge \cdots \ge \lvert \lambda_n \rvert, dominance means ∣λ1∣>∣λ2∣\lvert \lambda_1 \rvert > \lvert \lambda_2 \rvert, and the ratio

ρ=∣λ2∣∣λ1∣<1\rho = \frac{\lvert \lambda_2 \rvert}{\lvert \lambda_1 \rvert} < 1

controls the speed of power iteration. If AA is real and has a dominant eigenvalue, that eigenvalue is real and has a real eigenvector, because the nonreal eigenvalues of a real matrix come in conjugate pairs of equal modulus. The word dominant is sometimes used loosely for any eigenvalue of largest modulus, but the convergence theorem below needs the strict version.

In plain words One eigenvalue must be strictly larger in size than all the others, counting repeats, so that a single direction outgrows the rest. Being the largest is not enough when another eigenvalue has the same size.

Example The matrix diag⁡(5,4,1)\operatorname{diag}(5, 4, 1) has dominant eigenvalue 55 and ρ=4/5\rho = 4/5. The symmetric matrix with rows (2,1)(2, 1) and (1,2)(1, 2) has eigenvalues 33 and 11, so 33 is dominant, with eigenvector (1,1)(1, 1) and ρ=1/3\rho = 1/3. Three small matrices have no dominant eigenvalue. In diag⁡(1,−1)\operatorname{diag}(1, -1) the eigenvalues 11 and −1-1 tie in modulus. In diag⁡(2,2,1)\operatorname{diag}(2, 2, 1) the largest eigenvalue 22 has multiplicity two. The rotation with rows (0,−1)(0, -1) and (1,0)(1, 0) has eigenvalues ii and −i-i, again of equal modulus.

Convergence rate of power iteration

Definition Let A∈Cn×nA \in \mathbb{C}^{n \times n} be diagonalizable, a real matrix being viewed as complex, with an eigenbasis v1,…,vnv_1, \dots, v_n of Cn\mathbb{C}^n and Avj=λjvjAv_j = \lambda_j v_j. Suppose λ1\lambda_1 is dominant and nonzero, so ∣λj∣<∣λ1∣\lvert \lambda_j \rvert < \lvert \lambda_1 \rvert for j≥2j \ge 2, and let ρ=max⁡j≥2∣λj∣/∣λ1∣<1\rho = \max_{j \ge 2} \lvert \lambda_j \rvert / \lvert \lambda_1 \rvert < 1, or ρ=0\rho = 0 when n=1n = 1. Write the start as x0=c1v1+⋯+cnvnx_0 = c_1v_1 + \cdots + c_nv_n and suppose c1≠0c_1 \ne 0. Then no iterate is zero, and

Akx0λ1k=c1v1+ek,∥ek∥2≤ρkS,\begin{gathered} \frac{A^k x_0}{\lambda_1^k} = c_1v_1 + e_k, \\[0.4em] \lVert e_k \rVert_2 \le \rho^k S, \end{gathered}

where S=∑j≥2∣cj∣∥vj∥2S = \sum_{j \ge 2} \lvert c_j \rvert \lVert v_j \rVert_2. Consequently, for every k≥1k \ge 1 with ρkS<∣c1∣∥v1∥2\rho^k S < \lvert c_1 \rvert \lVert v_1 \rVert_2,

dist⁡(xk,span⁡(v1))≤ρkS∣c1∣∥v1∥2−ρkS,\begin{aligned} &\operatorname{dist}\big(x_k, \operatorname{span}(v_1)\big) \\[0.4em] &\quad \le \frac{\rho^k S}{\lvert c_1 \rvert \lVert v_1 \rVert_2 - \rho^k S}, \end{aligned}

which tends to 00 like ρk\rho^k. The phase-corrected iterates (∣λ1∣/λ1)kxk(\lvert \lambda_1 \rvert / \lambda_1)^k x_k converge to the unit vector c1v1/∥c1v1∥2c_1v_1 / \lVert c_1v_1 \rVert_2, and the Rayleigh quotients θk\theta_k converge to λ1\lambda_1.

For the proof, expand Akx0=∑jcjλjkvjA^k x_0 = \sum_j c_j \lambda_j^k v_j and divide by λ1k\lambda_1^k. The remainder is ek=∑j≥2cj(λj/λ1)kvje_k = \sum_{j \ge 2} c_j (\lambda_j/\lambda_1)^k v_j, and each ratio has modulus at most ρ\rho, which gives the bound on eke_k. The v1v_1 coordinate of Akx0A^k x_0 is c1λ1k≠0c_1\lambda_1^k \ne 0, so Akx0≠0A^k x_0 \ne 0. With zk=c1v1+ekz_k = c_1v_1 + e_k we have, for k≥1k \ge 1, xk=(λ1/∣λ1∣)kzk/∥zk∥2x_k = (\lambda_1/\lvert \lambda_1 \rvert)^k z_k / \lVert z_k \rVert_2. The distance from zkz_k to the line is at most ∥ek∥2\lVert e_k \rVert_2, and the reverse triangle inequality gives ∥zk∥2≥∣c1∣∥v1∥2−∥ek∥2\lVert z_k \rVert_2 \ge \lvert c_1 \rvert \lVert v_1 \rVert_2 - \lVert e_k \rVert_2, which proves the distance bound. Since zk→c1v1≠0z_k \to c_1v_1 \ne 0, the norms converge to the positive number ∥c1v1∥2\lVert c_1v_1 \rVert_2, so zk/∥zk∥2z_k / \lVert z_k \rVert_2 converges to c1v1/∥c1v1∥2c_1v_1 / \lVert c_1v_1 \rVert_2. That unit vector is an eigenvector for λ1\lambda_1, and the Rayleigh quotient is continuous and unchanged by the phase factor, so θk→λ1\theta_k \to \lambda_1.

The constant S/(∣c1∣∥v1∥2)S / (\lvert c_1 \rvert \lVert v_1 \rVert_2) depends on the start and on the eigenbasis. When the eigenvectors are nearly dependent, an ordinary starting vector can have very large coefficients, so a long transient can come before the rate ρk\rho^k is visible. The theorem says nothing about defective matrices. The matrix BB with rows (1/2,10)(1/2, 10) and (0,1/2)(0, 1/2) has only the eigenvalue 1/21/2, yet Be2=(10,1/2)Be_2 = (10, 1/2) has norm above 1010. With N0=e1e2TN_0 = e_1e_2^{\mathsf{T}}, which satisfies N02=0N_0^2 = 0, one has B=12(I+20N0)B = \tfrac{1}{2}(I + 20N_0) and

Bk=2−k(I+20kN0).B^k = 2^{-k}(I + 20kN_0).

So Bke2=2−k(20k,1)B^k e_2 = 2^{-k}(20k, 1), whose direction approaches span⁡(e1)\operatorname{span}(e_1) only like 1/(20k)1/(20k), not geometrically.

In plain words Every step multiplies the size of each unwanted component, relative to the dominant one, by a factor of at most ρ\rho. About 1/log⁡10(1/ρ)1/\log_{10}(1/\rho) steps gain one decimal digit in the direction. How soon this rate shows depends on the start and on how far the eigenvectors are from orthogonal.

Example For A=diag⁡(5,4,1)A = \operatorname{diag}(5, 4, 1) and x0=(1,1,1)x_0 = (1, 1, 1),

Akx05k=[1(4/5)k(1/5)k].\frac{A^k x_0}{5^k} = \begin{bmatrix} 1 \\ (4/5)^k \\ (1/5)^k \end{bmatrix}.

The slowest component decays like (4/5)k(4/5)^k, the rate ρ=4/5\rho = 4/5. Pushing (4/5)k(4/5)^k below 10−610^{-6} takes 6262 steps, since 6/log⁡10(5/4)≈61.96/\log_{10}(5/4) \approx 61.9. For diag⁡(5,1,1)\operatorname{diag}(5, 1, 1) the rate is 1/51/5, and 99 steps suffice, since 6/log⁡105≈8.66/\log_{10} 5 \approx 8.6.

Starting-vector condition

Definition In the convergence theorem the start must satisfy c1≠0c_1 \ne 0, where c1c_1 is the coordinate of x0x_0 along v1v_1 in the eigenbasis expansion x0=c1v1+⋯+cnvnx_0 = c_1v_1 + \cdots + c_nv_n. Equivalently, x0∉span⁡(v2,…,vn)x_0 \notin \operatorname{span}(v_2, \dots, v_n). With V=[v1 ⋯ vn]V = [v_1 \ \cdots \ v_n] the coordinate is the first entry of V−1x0V^{-1}x_0. It can also be computed from a left eigenvector w1≠0w_1 \ne 0 with w1∗A=λ1w1∗w_1^{*}A = \lambda_1 w_1^{*}. For j≥2j \ge 2 the identity λ1w1∗vj=w1∗Avj=λjw1∗vj\lambda_1 w_1^{*}v_j = w_1^{*}Av_j = \lambda_j w_1^{*}v_j with λj≠λ1\lambda_j \ne \lambda_1 forces w1∗vj=0w_1^{*}v_j = 0, and then w1∗v1≠0w_1^{*}v_1 \ne 0, since w1∗w_1^{*} cannot vanish on a whole basis. Hence

c1=w1∗x0w1∗v1,c_1 = \frac{w_1^{*}x_0}{w_1^{*}v_1},

and the condition reads w1∗x0≠0w_1^{*}x_0 \ne 0. In general this is not the condition v1∗x0≠0v_1^{*}x_0 \ne 0, a nonzero inner product with the dominant eigenvector. The two agree when AA is normal, because then the eigenbasis can be chosen orthonormal and c1=v1∗x0c_1 = v_1^{*}x_0 for a unit vector v1v_1. If c1=0c_1 = 0, then in exact arithmetic the dominant component stays zero forever, and the iteration behaves as if λ1\lambda_1 were absent. A random start whose distribution has a density, such as one with independent normal entries, satisfies c1≠0c_1 \ne 0 with probability one, because span⁡(v2,…,vn)\operatorname{span}(v_2, \dots, v_n) is a proper subspace.

In plain words The start must contain some of the dominant eigenvector, measured in eigenvector coordinates. When the eigenvectors are not orthogonal, a start that looks tilted toward v1v_1 in the ordinary inner product can contain none of it.

Example The matrix

A=[3101]A = \begin{bmatrix} 3 & 1 \\ 0 & 1 \end{bmatrix}

has Av1=3v1Av_1 = 3v_1 for v1=(1,0)v_1 = (1, 0) and Av2=v2Av_2 = v_2 for v2=(−1/2,1)v_2 = (-1/2, 1). Start at x0=v2x_0 = v_2. Its inner product with v1v_1 is −1/2≠0-1/2 \ne 0, yet x0=0⋅v1+1⋅v2x_0 = 0 \cdot v_1 + 1 \cdot v_2, so Ax0=x0Ax_0 = x_0 and the iterates never leave the line through v2v_2. The left eigenvector w1=(2,1)w_1 = (2, 1) satisfies w1TA=(6,3)=3w1Tw_1^{\mathsf{T}}A = (6, 3) = 3w_1^{\mathsf{T}} and w1Tx0=−1+1=0w_1^{\mathsf{T}}x_0 = -1 + 1 = 0, which detects the problem. A missed mode looks similar. For diag⁡(5,4,1)\operatorname{diag}(5, 4, 1) and x0=(0,1,1)x_0 = (0, 1, 1) the iterates are multiples of Akx0=(0,4k,1)A^k x_0 = (0, 4^k, 1), so the lines approach span⁡(e2)\operatorname{span}(e_2) with ratio (1/4)k(1/4)^k, and the Rayleigh quotients approach 44 instead of 55.

Equal-modulus eigenvalues

Definition Let A∈Fn×nA \in \mathbb{F}^{n \times n}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}. The top of its spectrum has equal-modulus eigenvalues when two eigenvalues, counted with algebraic multiplicity, share the largest modulus, ∣λ1∣=∣λ2∣≥∣λj∣\lvert \lambda_1 \rvert = \lvert \lambda_2 \rvert \ge \lvert \lambda_j \rvert for all jj. Then the decay argument gives nothing, because it needs ∣λ2∣<∣λ1∣\lvert \lambda_2 \rvert < \lvert \lambda_1 \rvert. Two cases differ.

If λ2≠λ1\lambda_2 \ne \lambda_1, as for λ\lambda and −λ-\lambda or for a conjugate pair of a real matrix, the ratio λ2/λ1=eiφ\lambda_2/\lambda_1 = e^{i\varphi} has modulus 11 but is not 11. Suppose AA is diagonalizable, these two simple eigenvalues are the only ones of largest modulus, and c1,c2≠0c_1, c_2 \ne 0. Then Akx0/λ1kA^k x_0 / \lambda_1^k equals c1v1+eikφc2v2c_1v_1 + e^{ik\varphi}c_2v_2 plus terms that tend to zero, and since eikφe^{ik\varphi} does not converge, the lines span⁡(xk)\operatorname{span}(x_k) do not converge. A real matrix whose largest eigenvalues form a nonreal conjugate pair has no real eigenvector for them, so real iterates cannot settle on one.

If the only eigenvalue of largest modulus is a repeated eigenvalue λ1≠0\lambda_1 \ne 0 and AA is diagonalizable, the eigenspace of λ1\lambda_1 has dimension at least two. The iterates converge to the line through the part of the eigenbasis expansion of x0x_0 that lies in this eigenspace, provided that part is nonzero. So a line is found, but the start decides which one. A defective repeated eigenvalue falls outside the theorem altogether.

In plain words When two different eigenvalues of a diagonalizable matrix tie for the largest size and the start contains both components, neither outgrows the other. Their relative weight keeps its size and only changes sign or phase, so the direction keeps switching instead of settling. When the tie is a repeated eigenvalue, under the conditions above, the direction does settle, but where depends on the start.

Example For diag⁡(1,−1)\operatorname{diag}(1, -1) and x0=(1,1)x_0 = (1, 1) the products Akx0=(1,(−1)k)A^k x_0 = (1, (-1)^k) alternate between the lines through (1,1)(1, 1) and (1,−1)(1, -1). The rotation with rows (0,−1)(0, -1) and (1,0)(1, 0) has eigenvalues ±i\pm i and sends e1e_1 to e2e_2, then −e1-e_1, then −e2-e_2 and back to e1e_1, so the lines alternate between the two axes. For diag⁡(2,2,1)\operatorname{diag}(2, 2, 1) and x0=(1,3,1)x_0 = (1, 3, 1) the products Akx0=(2k,3⋅2k,1)A^k x_0 = (2^k, 3 \cdot 2^k, 1) approach the line through (1,3,0)(1, 3, 0), while the start (3,1,1)(3, 1, 1) leads to the line through (3,1,0)(3, 1, 0).

Eigenpair residual

Definition Let A∈Cn×nA \in \mathbb{C}^{n \times n}, let v∈Cnv \in \mathbb{C}^n be a unit vector, ∥v∥2=1\lVert v \rVert_2 = 1, and let θ∈C\theta \in \mathbb{C}. The eigenpair residual of (θ,v)(\theta, v) is

r=Av−θv.r = Av - \theta v.

It is zero exactly when (θ,v)(\theta, v) is an eigenpair of AA. In general (θ,v)(\theta, v) is an exact eigenpair of the nearby matrix A−rv∗A - rv^{*}, since (A−rv∗)v=Av−r=θv(A - rv^{*})v = Av - r = \theta v, and ∥rv∗∥2=∥r∥2\lVert rv^{*} \rVert_2 = \lVert r \rVert_2, so the residual norm is a backward error. For a fixed vv the residual is smallest when θ\theta is the Rayleigh quotient v∗Avv^{*}Av, because Av−(v∗Av)vAv - (v^{*}Av)v is orthogonal to vv and

∥Av−θv∥22=∥Av−(v∗Av)v∥22+∣θ−v∗Av∣2.\begin{aligned} &\lVert Av - \theta v \rVert_2^2 \\[0.4em] &\quad = \lVert Av - (v^{*}Av)v \rVert_2^2 \\[0.4em] &\qquad + \lvert \theta - v^{*}Av \rvert^2. \end{aligned}

The residual bound for normal matrices turns a small residual into eigenvalue information. If AA is normal, A∗A=AA∗A^{*}A = AA^{*}, with eigenvalues λ1,…,λn\lambda_1, \dots, \lambda_n, then for every unit vector vv and every θ∈C\theta \in \mathbb{C}

min⁡j∣λj−θ∣≤∥Av−θv∥2.\min_j \lvert \lambda_j - \theta \rvert \le \lVert Av - \theta v \rVert_2.

For the proof, the spectral theorem gives an orthonormal eigenbasis q1,…,qnq_1, \dots, q_n of Cn\mathbb{C}^n. Write v=∑jcjqjv = \sum_j c_jq_j with ∑j∣cj∣2=1\sum_j \lvert c_j \rvert^2 = 1. Then r=∑j(λj−θ)cjqjr = \sum_j (\lambda_j - \theta)c_jq_j, so

∥r∥22=∑j∣λj−θ∣2∣cj∣2≥min⁡j∣λj−θ∣2.\begin{aligned} \lVert r \rVert_2^2 &= \sum_j \lvert \lambda_j - \theta \rvert^2 \lvert c_j \rvert^2 \\[0.4em] &\ge \min_j \lvert \lambda_j - \theta \rvert^2. \end{aligned}

The bound places some eigenvalue in the closed disk of radius ∥r∥2\lVert r \rVert_2 around θ\theta. It does not say which eigenvalue, and when eigenvalues are close together it does not say that vv is near a particular eigenvector. Real symmetric and Hermitian matrices are normal, so the bound applies to them. For a diagonalizable A=VΛV−1A = V\Lambda V^{-1} the same idea gives min⁡j∣λj−θ∣≤κ2(V)∥r∥2\min_j \lvert \lambda_j - \theta \rvert \le \kappa_2(V)\lVert r \rVert_2, because v=V(Λ−θI)−1V−1rv = V(\Lambda - \theta I)^{-1}V^{-1}r when θ\theta is not an eigenvalue, and the condition number of the eigenvector matrix can be large.

In plain words The residual checks what the iteration actually returned. For a normal matrix a small residual guarantees an eigenvalue within that distance of the estimate. For some other matrices the residual can be tiny while the estimate is far from every eigenvalue.

Example The matrix

A=[010000]A = \begin{bmatrix} 0 & 100 \\ 0 & 0 \end{bmatrix}

is not normal, since ATA=diag⁡(0,104)A^{\mathsf{T}}A = \operatorname{diag}(0, 10^4) while AAT=diag⁡(104,0)AA^{\mathsf{T}} = \operatorname{diag}(10^4, 0), and its only eigenvalue is 00. Take θ=1\theta = 1 and v=(1,1/100)/sv = (1, 1/100)/s with s=1+10−4s = \sqrt{1 + 10^{-4}}. Then Av=(1,0)/sAv = (1, 0)/s, so

r=Av−v=1s[0−1/100],∥r∥2=1100s=110001.\begin{gathered} r = Av - v = \frac{1}{s}\begin{bmatrix} 0 \\ -1/100 \end{bmatrix}, \\[0.4em] \lVert r \rVert_2 = \frac{1}{100s} = \frac{1}{\sqrt{10001}}. \end{gathered}

The residual is below 1/1001/100, yet θ=1\theta = 1 is at distance 11 from the spectrum, so a bound with constant 11 fails by a factor of about 100100. The matrix is not even diagonalizable, so the eigenvector-matrix bound does not apply either.

Check yourself

  1. For the matrix AA with rows (2,1)(2, 1) and (1,2)(1, 2) and the start x0=(1,0)x_0 = (1, 0), find Akx0A^k x_0, the line the iterates approach and the factor by which the unwanted component shrinks at each step. Then show that the Rayleigh quotients satisfy θk=3−2/(9k+1)\theta_k = 3 - 2/(9^k + 1).
Show the answer

The eigenvectors are (1,1)(1, 1) for the eigenvalue 33 and (1,−1)(1, -1) for the eigenvalue 11, and the start is x0=12(1,1)+12(1,−1)x_0 = \tfrac{1}{2}(1, 1) + \tfrac{1}{2}(1, -1). So

Akx0=3k2[11]+12[1−1]=12[3k+13k−1].\begin{aligned} A^k x_0 &= \frac{3^k}{2}\begin{bmatrix} 1 \\ 1 \end{bmatrix} + \frac{1}{2}\begin{bmatrix} 1 \\ -1 \end{bmatrix} \\[0.4em] &= \frac{1}{2}\begin{bmatrix} 3^k + 1 \\ 3^k - 1 \end{bmatrix}. \end{aligned}

The coefficient of (1,−1)(1, -1) relative to that of (1,1)(1, 1) is 3−k3^{-k}, so the lines approach span⁡((1,1))\operatorname{span}\big((1, 1)\big) and the unwanted component shrinks by the factor ρ=1/3\rho = 1/3 per step.

Since AA is symmetric, the Rayleigh quotient of z=Akx0z = A^k x_0 is

θk=zTAzzTz=x0TA2k+1x0x0TA2kx0.\theta_k = \frac{z^{\mathsf{T}}Az}{z^{\mathsf{T}}z} = \frac{x_0^{\mathsf{T}}A^{2k+1}x_0}{x_0^{\mathsf{T}}A^{2k}x_0}.

The top left entry of AmA^m is (3m+1)/2(3^m + 1)/2, so

θk=3⋅9k+19k+1=3−29k+1.\theta_k = \frac{3 \cdot 9^k + 1}{9^k + 1} = 3 - \frac{2}{9^k + 1}.

The eigenvalue error shrinks by about 1/91/9 per step, the square of the rate for the direction. This is typical for symmetric matrices, whose Rayleigh quotient error is quadratic in the error of the direction.

  1. Let AA have rows (2,1)(2, 1) and (0,1)(0, 1), and start at x0=(1,−1)x_0 = (1, -1). A student argues that x0x_0 has inner product 11 with the dominant eigenvector e1e_1, so power iteration must approach span⁡(e1)\operatorname{span}(e_1). Run the iteration, find the mistake and give a start that works.
Show the answer

The first product is Ax0=(2−1,−1)=(1,−1)=x0Ax_0 = (2 - 1, -1) = (1, -1) = x_0. So x0x_0 is an eigenvector for the eigenvalue 11, every iterate xkx_k with k≥1k \ge 1 equals x0/2x_0/\sqrt{2}, and every Rayleigh quotient equals 11. The iteration never approaches e1e_1.

The eigenbasis is v1=e1v_1 = e_1 for the eigenvalue 22 and v2=(1,−1)v_2 = (1, -1) for the eigenvalue 11, and x0=0⋅v1+1⋅v2x_0 = 0 \cdot v_1 + 1 \cdot v_2, so c1=0c_1 = 0. The inner product with e1e_1 is the wrong test, because the eigenvectors are not orthogonal. The left eigenvector w1=(1,1)w_1 = (1, 1) satisfies w1TA=(2,2)=2w1Tw_1^{\mathsf{T}}A = (2, 2) = 2w_1^{\mathsf{T}}, and w1Tx0=0w_1^{\mathsf{T}}x_0 = 0 shows that the dominant coordinate is missing.

The start (0,1)(0, 1) works, since w1T(0,1)=1≠0w_1^{\mathsf{T}}(0, 1) = 1 \ne 0. Indeed (0,1)=e1−(1,−1)(0, 1) = e_1 - (1, -1), so c1=1c_1 = 1, and Ak(0,1)=(2k−1,1)A^k(0, 1) = (2^k - 1, 1), whose direction approaches span⁡(e1)\operatorname{span}(e_1) at the rate 1/21/2.

  1. For the matrix AA with rows (2,1)(2, 1) and (1,2)(1, 2) and the unit vector v=(3,4)/5v = (3, 4)/5, compute the Rayleigh quotient θ=vTAv\theta = v^{\mathsf{T}}Av and the residual norm. What does the residual bound for normal matrices guarantee, and how far is θ\theta from the nearest eigenvalue?
Show the answer

The product is Av=(2,11/5)Av = (2, 11/5), so

θ=3⋅2+4⋅11/55=7425=2.96.\begin{aligned} \theta &= \frac{3 \cdot 2 + 4 \cdot 11/5}{5} \\[0.4em] &= \frac{74}{25} = 2.96. \end{aligned}

The residual is r=Av−θv=(2−222/125,11/5−296/125)=(28/125,−21/125)r = Av - \theta v = (2 - 222/125, 11/5 - 296/125) = (28/125, -21/125), with norm 35/125=7/25=0.2835/125 = 7/25 = 0.28.

The matrix is symmetric, hence normal, so some eigenvalue lies within 7/257/25 of θ\theta. Its eigenvalues are real, so some eigenvalue lies in the interval [67/25,81/25]=[2.68,3.24][67/25, 81/25] = [2.68, 3.24]. The eigenvalues are in fact 33 and 11, and 33 is at distance 1/25=0.041/25 = 0.04 from θ\theta, well inside the guarantee. The guarantee used only AA, vv and θ\theta, not the eigenvalues themselves. For a matrix that is not normal, such as the one with rows (0,100)(0, 100) and (0,0)(0, 0) in the eigenpair residual card, the same computation would give no such guarantee.

How this lesson connects