Numerical MethodsUnit 97 min read

Matrix Eigenvalue Problems: Power Method, Jacobi, QR Algorithm

Unit 9 of Numerical Methods covers finding eigenvalues and eigenvectors of matrices using iterative methods (Power Method, Jacobi), the QR algorithm, and their applications in stability analysis, vibration modes, and Google’s PageRank. This note explains definitions, convergence criteria, and step-by-step calculations

Core Concepts

1. Eigenvalues and Eigenvectors: Definition and Geometric Interpretation

An eigenvalue and its corresponding eigenvector of a square matrix satisfy:

  • Geometric meaning: is stretched/shrunk by when multiplied by .
  • Algebraic meaning: Solve the characteristic equation for , then substitute back to find .

Worked Example 1: Find eigenvalues and eigenvectors of .

  1. Characteristic equation: Solutions: , .
  2. Eigenvectors:
    • For : .
    • For : .

2. Iterative Methods for Eigenvalues

A. Power Method (for Dominant Eigenvalue)

How it works:

  1. Start with a guess vector .
  2. Iterate: .
  3. Converges to the eigenvector of the largest-magnitude eigenvalue .

Convergence condition: The matrix must have a real dominant eigenvalue (i.e., for all ).

flowchart TD
    A["Start: Choose x₀"] --> B["Compute y = A x₀"]
    B --> C["Normalize: x₁ = y / ||y||"]
    C --> D["Check convergence: ||x₁ - x₀|| < ε?"]
    D -->|"No"| C
    D -->|"Yes"| E["λ ≈ (x₁ᵀ A x₁) / (x₁ᵀ x₁)"]

Worked Example 2: Find the largest eigenvalue of using the power method.

  1. Start with .
  2. Iterate:
    • (after normalization).
    • .
  3. Converges to (scaled), with .

B. Inverse Power Method (for Smallest Eigenvalue)

Use instead of to find the smallest-magnitude eigenvalue.

C. Jacobi Method (for All Eigenvalues)

Steps:

  1. Diagonalize via rotations: , where is diagonal (eigenvalues).
  2. Use Givens rotations to zero off-diagonal elements iteratively.

Advantages:

  • Works for symmetric matrices.
  • No convergence issues like the power method.

Disadvantages:

  • Computationally expensive for large matrices ().

D. QR Algorithm (for All Eigenvalues)

Steps:

  1. Factorize (orthogonal , upper triangular ).
  2. Compute .
  3. Repeat until is nearly diagonal.

Convergence: Faster than Jacobi for large matrices ( per iteration).

flowchart TD
    A["Start: A₀ = A"] --> B["Factorize: Aₖ = Qₖ Rₖ"]
    B --> C["Compute Aₖ₊₁ = Rₖ Qₖ"]
    C --> D["Check if Aₖ₊₁ is diagonal?"]
    D -->|"No"| B
    D -->|"Yes"| E["Eigenvalues ≈ diagonal of Aₖ₊₁"]

3. Applications in Engineering

-10-8-6-4-2246810-0.20.20.40.60.81xySinc function (vibration mode shape)λ₁ = 1λ₂ = 0
Typical vibration mode shapes (eigenvectors) for a structural system

A. Structural Vibration Analysis

  • Eigenvalues of stiffness matrices determine natural frequencies of bridges/buildings.
  • Example: The Sundarbans Bridge (Nepal) uses eigenvalue analysis to design vibration-resistant piers.

B. Google’s PageRank Algorithm

  • Uses the power method on a web-link matrix to rank pages by importance.
  • Matrix: if page links to , else 0.
  • Eigenvector: Represents page rankings.

C. Stability Analysis in Control Systems

  • Eigenvalues of system matrices determine stability (e.g., aircraft autopilot).
  • Example: Nepal Airlines’ flight control systems use eigenvalue analysis to ensure stable flight paths.

4. Comparison of Methods

Method Eigenvalues Found Matrix Type Convergence Speed Complexity
Power Method Largest magnitude Any Slow
Inverse Power Smallest magnitude Any Slow
Jacobi All eigenvalues Symmetric Moderate
QR Algorithm All eigenvalues Any Fast

5. Worked Example: Real-World Problem

Problem: NTC’s Network Traffic Routing NTC’s traffic matrix (simplified) models data flow between nodes: Find the dominant eigenvalue (critical for load balancing).

Solution:

  1. Apply the power method with .
  2. After 3 iterations, .
  3. Compute .

In the Real World

  1. Google’s PageRank:

    • Uses the power method on a web-link adjacency matrix to rank search results.
    • Example: If Page A links to Page B (and vice versa), their eigenvector values rise together.
  2. Nepal’s Stock Market (NEPSE):

    • Portfolio optimization uses eigenvalue decomposition of covariance matrices to minimize risk.
    • Example: A matrix with entries helps find uncorrelated stocks.
  3. Pathao’s Ride Allocation:

    • The QR algorithm optimizes driver-passenger matching by solving a bipartite graph eigenvalue problem.
    • Example: Eigenvalues of a cost matrix determine the most efficient ride assignments.

Exam Tip

  1. Power Method Questions:

    • Always show one full iteration with normalization.
    • State the convergence condition ().
    • For past exams, expect 3x3 matrices with symmetric properties.
  2. Jacobi/QR Algorithm:

    • Sketch the rotation matrix or QR factorization steps.
    • Mention symmetric matrices for Jacobi (faster convergence).
  3. Theory Questions:

    • Define eigenvalue and eigenvector clearly.
    • Compare power vs. inverse power methods in terms of eigenvalues found.
  4. Common Pitfalls:

    • Forgetting to normalize in the power method.
    • Misapplying the characteristic equation for non-symmetric matrices.
    • Ignoring convergence criteria in iterative methods.

Key Formulae to Memorize:

  1. Characteristic equation: .
  2. Power method update: .
  3. Eigenvalue estimate: .

Based on the PU BE Computer (PU) syllabus for Numerical Methods, unit 9.

Discussion

Loading…