Skip to content
Linear Algebra, Optimisation and Numerical Methods / Iterative Methods and Sparse Matrices

Overview

Every algorithm in this unit — elimination, QRQR factorisation, Hessenberg reduction, the QR eigenvalue algorithm — costs O(n2)O(n^2) to O(n3)O(n^3) and requires storing the full n×nn\times n matrix in memory. For nn in the thousands, this is routine; for nn in the millions (a large-scale risk system's full position-level covariance structure, or a fine finite-difference grid for a multi-asset pricing PDE), it becomes computationally prohibitive, and the matrices involved are typically sparse — mostly zero entries, with structure that dense methods cannot exploit. This closing topic builds the alternative: iterative methods that never form or factor the full matrix, working instead through repeated matrix-vector multiplication — an operation that costs only as much as the matrix has nonzero entries, however large nn is.

By the end of this topic you should be able to:

  • define a Krylov subspace and explain why it is the natural object for matrix-free iteration;
  • state the Arnoldi iteration and its role as the foundation for later methods;
  • describe GMRES and explain when it is preferred over direct methods;
  • state conjugate gradients and connect it to the positive-definiteness machinery from Topic 5;
  • describe standard sparse matrix storage formats and when sparsity arises naturally.

In this lesson

  1. Contents
  2. The big picture

The full lesson is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Linear Algebra, Optimisation and Numerical Methods syllabus.