UcenlyOpen in the app

Differential Equations & Numerical Methods · BE5B01DEN · Topic 12 of 13

Eigenvalues and eigenvectors numerically

Week 12. The power method finds the dominant eigenpair; shifts and deflation reach the others.

Open the interactive lesson

Key ideas

The power method

Start with any x₀ and repeat xₖ₊₁=Ax_k/‖Ax_k‖∞. If |λ₁|>|λⱼ| for j≥2, and x₀ has a nonzero component along the eigenvector v₁ of λ₁, the iterates approach ±v₁ (the sign alternates when λ₁<0) with error of order (M/|λ₁|)^k, where M=max_(j≥2)|λⱼ|.

The Rayleigh quotient

For an eigenvector x the quotient xᵀAx/xᵀx equals its eigenvalue, so it is the natural eigenvalue estimate for an approximate eigenvector. A real symmetric matrix has real eigenvalues and a basis of eigenvectors.

Shift and deflate

Inverse iteration with shift μ applies the power method to B=(A−μI)⁻¹ and returns the eigenvalue of A closest to μ as μ+1/λ_B. For symmetric A, deflation subtracts the found pairs and runs the power method again on what remains.

In one line: The power method sees only the largest eigenvalue; shifts and deflation choose which eigenvalue you look at.

Formulas

Practice with worked solutions

Question 1

Compute the Rayleigh quotient of this vector for the matrix.

A=(2112),x=(11/2)A=\begin{pmatrix}2&1\\1&2\end{pmatrix},\quad\mathbf x=\begin{pmatrix}1\\1/2\end{pmatrix}
Worked solution

Answer: 14/5

  1. Ax=(5/22),xTAx=52+1=72,xTx=54A\mathbf x=\begin{pmatrix}5/2\\2\end{pmatrix},\quad\mathbf x^TA\mathbf x=\tfrac52+1=\tfrac72,\quad\mathbf x^T\mathbf x=\tfrac54
  2. 7/25/4=145\frac{7/2}{5/4}=\frac{14}5

Compute xᵀAx and xᵀx separately.

Question 2

Run the power method with the max norm from x₀ = (1, 0) and give the second component of x₂.

A=(2112),xk+1=Axk∥Axk∥∞A=\begin{pmatrix}2&1\\1&2\end{pmatrix},\quad\mathbf x_{k+1}=\frac{A\mathbf x_k}{\|A\mathbf x_k\|_\infty}
Worked solution

Answer: 4/5

  1. Ax0=(2,1)⇒x1=(1,12)A\mathbf x_0=(2,1)\Rightarrow\mathbf x_1=(1,\tfrac12)
  2. Ax1=(52,2)⇒x2=(1,45)A\mathbf x_1=(\tfrac52,2)\Rightarrow\mathbf x_2=(1,\tfrac45)

Divide each product by its largest absolute entry.

Question 3

Inverse iteration with shift μ = 5/2 on this matrix finds the eigenvalue of A closest to μ. Give that eigenvalue.

A=(2112),λA=μ+1λBA=\begin{pmatrix}2&1\\1&2\end{pmatrix},\quad\lambda_A=\mu+\frac1{\lambda_B}
Worked solution

Answer: 3

  1. λB∈{11−5/2,13−5/2}={−23,2}\lambda_B\in\Bigl\{\frac1{1-5/2},\frac1{3-5/2}\Bigr\}=\{-\tfrac23,2\}
  2. λB=2:μ+1λB=52+12=3\lambda_B=2:\quad\mu+\frac1{\lambda_B}=\tfrac52+\tfrac12=3

The eigenvalues of A are 1 and 3; the largest eigenvalue of (A − μI)⁻¹ is the reciprocal of the smallest |λ − μ|.

More Differential Equations & Numerical Methods practice in Ucenly

Sources

Written by Ucenly. Based on the BE5B01DEN course materials: