4.8.20 · D1Numerical Methods

Foundations — Iterative methods — Jacobi, Gauss-Seidel, convergence

2,319 words11 min readBack to topic

This page assumes nothing. If a smart 12-year-old has never seen a matrix, a vector, or the Greek letter , they should be able to read line one and walk out ready. We build each symbol on the one before it.


1. What is a number-grid? Matrices and vectors

The multiplication rule means: row of , multiplied entry-by-entry with and added up, gives . Look at figure s01: the highlighted row times the column produces one number of .


2. The three named parts of : diagonal, lower, upper

The parent note writes out of nowhere. Let's earn every letter.


3. "Solving" and why direct methods hurt

The classic exact recipe is Gaussian Elimination — cancel variables row by row until you can read the answer off. It always works but costs about arithmetic operations for an system. For (common from Finite Difference Methods for PDEs) that is operations — hopeless. This pain is why iteration exists.


4. The superscript — a sequence of guesses

Figure s03 shows a chain of guesses spiralling toward , with the error arrow (whose length is ) getting shorter each step. That shrinking is the entire goal — this whole subject is the study of when it happens and how fast.


5. Splitting , and the iteration matrix


6. Eigenvalues , spectral radius , and why


7. The shortcut test: diagonal dominance


Prerequisite map

Read the map top-to-bottom: each box is a concept this page built, and each arrow means "you need the box above before the box below makes sense." We start from raw vectors and matrices, notice that solving directly (via Gaussian elimination) is too costly, so we iterate — which forces us to split , build the iteration matrix , and finally judge convergence through eigenvalues and the spectral radius. The two side-branches (matrix parts and the diagonal-dominance test) feed straight into the split and the convergence check.

Vectors and matrices

Matrix parts D L U

Solve Ax equals b, A invertible

Gaussian Elimination is costly

Iterate instead: sequence x superscript k

Norm measures error length

Splitting A equals M minus N

Iteration matrix T equals M inverse N

Error e superscript k equals T to the k

Eigenvalues lambda

Spectral radius rho

Convergence rho less than 1

Diagonal dominance quick test


Equipment checklist

What does mean, and which index comes first?
The entry in row , column row first, column second.
Is the in a power?
No — the parentheses make it a step counter; is the first guess.
Write the error at step in one formula.
(guess minus true solution).
What is a norm and what does "error goes to zero" mean?
The length of the vector, ; "goes to zero" means this single number shrinks below any tolerance.
When does have exactly one solution?
When is invertible (non-singular, nonzero determinant); then .
In the split , how are chosen for Jacobi and Gauss–Seidel?
Jacobi: , . Gauss–Seidel: , . Always easy to invert.
Derive the iteration from .
.
Why must be invertible?
The step multiplies by ; that only exists if is non-singular (its diagonal entries ).
What is and what is ?
It undoes ; , the identity (do-nothing) matrix.
In , what physically sits below the diagonal?
(the parent stores the negatives of the below-diagonal entries in ).
Define an eigenvalue of in words.
A stretch factor for a special direction with ; applying times scales that direction by .
What is ?
The spectral radius — the largest absolute eigenvalue, the worst-case stretch.
Exact necessary-and-sufficient convergence condition?
.
What does strictly diagonal dominant mean, and is it necessary?
for every row; it is sufficient but not necessary.
Why do we iterate instead of using Gaussian elimination on huge sparse systems?
Elimination costs ; each iteration is a cheap sparse product.