Numerical MethodUnit 77 min read

Eigenvalues and Eigenvectors – Key Concepts and Applications

Unit 7 of Numerical Method: introduces eigenvalues, eigenvectors, characteristic equations, computational algorithms, and their applications in engineering and data science.

Key points

  • Eigenvalues are scalars that scale eigenvectors under a linear transformation.
  • The characteristic polynomial yields all eigenvalues of a matrix.
  • Power iteration extracts the dominant eigenpair efficiently for large sparse matrices.
  • QR algorithm computes the complete spectrum with high accuracy.
  • Eigen-decomposition underlies stability analysis, vibration modes, and data dimensionality reduction.

Introduction

In linear algebra a matrix acts on a vector producing another vector .
If is only stretched or shrunk but not rotated, it is called an eigenvector and the stretching factor is the eigenvalue.
Mathematically,

The set of all eigenvalues of is called the spectrum of .
Eigenpairs are fundamental because they diagonalise matrices, simplify differential equations, and reveal intrinsic properties of systems.

Definitions

Symbol Meaning Example
Square matrix
Eigenvalue
Eigenvector
Characteristic equation

The characteristic polynomial is a degree‑ polynomial whose roots are the eigenvalues.

The graph shows the cubic characteristic polynomial of a 3×3 matrix with eigenvalues 1, 2, 3.

How to Compute Eigenvalues

1. Direct Method (Small Matrices)

For or matrices, compute symbolically.

Worked Example (2×2)
Find eigenvalues and eigenvectors of

  1. Characteristic polynomial:
    Hence .

  2. Eigenvectors:
    For : solve
    Choose , then .

For : solve
Choose , then .

Result

The two eigenvectors are orthogonal and lie along the lines and .

2. Power Iteration (Large Sparse Matrices)

Power iteration finds the dominant eigenpair .

Algorithm

  1. Choose random vector .
  2. For :
  3. Approximate eigenvalue: .

Trace Example (3×3)
Let

Start with .

Iteration (normalized)
0 –
1 5.12
2 5.18
3 5.20

After a few iterations, and .

flowchart TD
  A["Start with random \(b^{(0)}\)"] --> B["Compute \(b^{(k)}=A\,b^{(k-1)}\)"];
  B --> C["Normalize \(b^{(k)}\)"];
  C --> D["Estimate \(\lambda^{(k)}\)"];
  D --> E["Check convergence"];
  E -->|"Yes"| F["Return \((\lambda_{\max},v_{\max})\)"];
  E -->|"No"| B;

3. QR Algorithm (Full Spectrum)

The QR algorithm iteratively decomposes and sets .
After enough iterations, converges to an upper triangular matrix whose diagonal entries are the eigenvalues.

Key Steps

  1. .
  2. For :
    • Compute QR factorisation .
    • Set .

The algorithm is robust and works for any square matrix.

sequenceDiagram
  participant A as \(A_k\)
  participant Q as \(Q_k\)
  participant R as \(R_k\)
  A->>Q: QR decomposition
  A->>R: QR decomposition
  Q->>A: Multiply \(R_kQ_k\)
  R->>A: Multiply \(R_kQ_k\)
  Note over A: \(A_{k+1}=R_kQ_k\)

Inverse Iteration and Deflation

Inverse iteration refines eigenpairs near a chosen shift .
Deflation removes already found eigenvalues to compute the remaining ones.

Inverse Iteration

Deflation
After finding and , form

and apply the algorithm again to .

Eigen-Decomposition and Applications

1. Diagonalisation

If is diagonalizable,

where contains eigenvectors and is diagonal with eigenvalues.
This simplifies matrix powers: .

2. Stability Analysis

For a linear system , the sign of the real parts of eigenvalues determines stability.

  • All : stable.
  • Any : unstable.

3. Vibrations

In mechanical systems, eigenvalues of the stiffness‑mass matrix give natural frequencies.

4. Data Science

Principal Component Analysis (PCA) uses eigenvectors of the covariance matrix to find directions of maximum variance.

Comparison of Algorithms

Algorithm Matrix Size Accuracy Complexity Typical Use
Power Iteration Large, sparse Low (dominant pair) per iteration Spectral clustering, PageRank
Inverse Iteration Moderate Medium (near shift) for factorisation Refine eigenpairs
QR Algorithm Any High (all eigenvalues) General eigenvalue problems
Jacobi Small Very high Symmetric matrices

In the real world

  1. Google PageRank – The web link matrix is stochastic. Its dominant eigenvector gives page importance.
    Product: Google Search.
    Idea used: Power iteration on to compute PageRank scores.

  2. Ncell MIMO Channel Capacity – The channel matrix has eigenvalues that determine achievable data rates via the water‑filling algorithm.
    Product: 4G/5G base stations.
    Idea used: Eigen-decomposition of to allocate power across spatial streams.

  3. NEPSE Price Prediction – The correlation matrix of stock returns is eigen‑decomposed to identify market factors.
    Product: Stock market analytics.
    Idea used: PCA on correlation matrix to reduce dimensionality before forecasting.

Advantages and Disadvantages

Aspect Advantage Disadvantage
Diagonalisation Simplifies computations Requires matrix to be diagonalizable
Power Iteration Simple, fast for dominant eigenvalue Converges slowly if eigenvalues are close
QR Algorithm Computes full spectrum accurately Computationally heavy for very large
Inverse Iteration Finds eigenvalues near shift Requires solving linear systems each step

Exam tip

  • Key formulas: , power iteration update, QR step.
  • Common questions:
    1. Compute eigenvalues of a given matrix.
    2. Explain the QR algorithm and its convergence.
    3. Apply power iteration to a sparse matrix and interpret results.
  • Practice: Work through at least one 3×3 example by hand and one 5×5 example using QR.
  • Time management: Allocate 10 min for characteristic polynomial, 15 min for algorithm explanation, 15 min for worked example.

Based on the TU BIT syllabus for Numerical Method (BIT203), unit 7.

Discussion

Loading…