Intuition The ONE core idea
To solve a big system A x = b we guess an answer, then repeatedly clean it up — each cleanup step is cheap, and if the matrix is "nice" the guess crawls toward the true answer. Everything in the parent topic is just spelling out how to clean up and when the cleaning is guaranteed to work.
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.
x
A vector is just a list of numbers stacked in a column . We write it bold: x . If there are three unknowns it looks like
x = x 1 x 2 x 3 .
The little number x i is the i -th component — the i -th item in the list. Picture: an arrow, or simply a column of boxes with a number in each.
A
A matrix is a rectangle of numbers arranged in rows and columns. We name entries a ij = the number in row i , column j . Row first, column second — always.
Intuition Why a grid at all?
A system of linear equations like
4 x + y = 6 , x + 3 y = 7
has all its coefficients (the 4 , 1 , 1 , 3 ) living in a grid, all its unknowns in one column, all its right-hand-side numbers in another column. Packing them into A x = b lets us talk about a million equations with three symbols instead of a million lines of text. That compression is the whole reason the notation exists.
The multiplication rule A x = b means: row i of A , multiplied entry-by-entry with x and added up, gives b i . Look at figure s01: the highlighted row times the column produces one number of b .
The parent note writes A = D − L − U out of nowhere. Let's earn every letter.
Definition Diagonal, lower, upper pieces
The diagonal entries are a 11 , a 22 , a 33 , … — the numbers on the top-left to bottom-right line. Collect them into a matrix D (everything else zero).
The strictly lower part = entries below the diagonal. The parent stores their negatives in L (so − L is the actual lower part).
The strictly upper part = entries above the diagonal, negatives stored in U .
Put together: A = D − L − U .
Intuition WHY split it this way?
Diagonal-only matrices are absurdly easy to "undo" (divide each row by its own number). Lower-triangular ones are easy too (solve top row first, feed it down). The whole trick of iteration is to keep the easy part on the left and shove the awkward part to the right. Figure s02 colours the three regions so you can see there is no overlap: every entry of A belongs to exactly one region.
Common mistake Sign confusion in
L and U
Why it feels right: you'd expect L to just be the lower entries. The flaw: the parent's convention stores their negatives , so A = D − L − U comes out clean. Fix: whenever you read L , remember − L is what physically sits below the diagonal.
A x = b
Given the grid A and the target list b , find the list x that makes the multiplication land exactly on b . That x is the true solution , written x ∗ (star = "the real one").
Intuition Does a true answer even exist (and is it unique)?
Everything below chases a single target x ∗ , so that target had better exist and be the only one. A square system A x = b has exactly one solution precisely when A is invertible (also called non-singular): its determinant is nonzero, no row is a combination of the others. Then x ∗ = A − 1 b is well-defined. If A is singular there is either no solution or infinitely many — and iteration has no single point to march to. We assume A is invertible from here on.
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 3 2 n 3 arithmetic operations for an n × n system. For n = 1 0 6 (common from Finite Difference Methods for PDEs ) that is ∼ 1 0 17 operations — hopeless. This pain is why iteration exists.
Intuition Sparse = mostly zero
Grids from real problems are usually sparse : almost every entry is 0 . Multiplying by such a grid skips the zeros, so one A x product costs roughly the number of nonzeros — near O ( n ) , not O ( n 2 ) . Iteration exploits exactly this: it only ever needs cheap A x -type products.
x ( k )
The bracketed superscript is a counter, not a power . x ( 0 ) is your first guess, x ( 1 ) the guess after one cleanup, x ( k ) after k cleanups. We hope x ( k ) marches toward x ∗ as k grows.
x ( k ) as "x to the power k "
Why it feels right: superscripts usually mean powers. The flaw: the parentheses flag it as a step-number. Fix: parentheses ⇒ iteration count; no parentheses (like λ k later) ⇒ genuine power.
e ( k )
The error at step k is how far the guess is from the truth:
e ( k ) = x ( k ) − x ∗ .
Picture: an arrow from the true point to your current guess. Convergence means this arrow shrinks to zero.
∥ ⋅ ∥ — the "length" of a vector
To say an error "shrinks to zero" we need one number measuring how big a whole list is. That number is the norm ∥ e ∥ — the length of the arrow. The everyday choice is
∥ e ∥ = e 1 2 + e 2 2 + ⋯ + e n 2 ,
exactly Pythagoras extended to many components. "e ( k ) → 0 " means the single number ∥ e ( k ) ∥ shrinks toward 0 — every component gets tiny at once. We stop iterating when this length drops below a tolerance ε .
Figure s03 shows a chain of guesses spiralling toward x ∗ , with the error arrow (whose length is ∥ e ( k ) ∥ ) getting shorter each step. That shrinking is the entire goal — this whole subject is the study of when it happens and how fast.
A = M − N
We cut A into two pieces and name them M and N , chosen so that A = M − N . The rule for choosing: make M easy to invert (diagonal, or lower-triangular) and dump everything left over into N . Concretely, using the parts from §2:
Jacobi picks M = D (just the diagonal) and N = L + U (everything off-diagonal).
Gauss–Seidel picks M = D − L (lower-triangular) and N = U .
Either way M − N = D − ( L + U ) = A ✓ — the split loses nothing.
M − 1
The inverse of a matrix M is the matrix that undoes it: M − 1 M = I , where I is the identity (ones on the diagonal, zeros elsewhere — the "do-nothing" grid). M − 1 exists only if M is invertible — which is exactly why we chose M to be a nice diagonal or triangular block whose inverse is cheap and always exists (as long as its diagonal entries a ii = 0 ).
T alone controls the error
Subtract the exact relation M x ∗ = N x ∗ + b from M x ( k + 1 ) = N x ( k ) + b ; the b 's cancel, leaving M e ( k + 1 ) = N e ( k ) , i.e.
e ( k + 1 ) = M − 1 N e ( k ) = T e ( k ) ⟹ e ( k ) = T k e ( 0 ) .
So the error is just T applied k times. This is Fixed-Point Iteration in matrix clothing. Whether the error dies is entirely a question about powers of T — which the next section cracks open.
λ and eigenvector
For some special directions v , multiplying by T only stretches or shrinks them without turning: T v = λ v . The stretch factor λ is an eigenvalue ; v is its eigenvector . Along such a direction, applying T k times just multiplies by λ k .
Intuition Why eigenvalues decide everything
Break the starting error into eigenvector directions. Along each, one cleanup multiplies by λ . If ∣ λ ∣ < 1 the piece shrinks; if ∣ λ ∣ > 1 it blows up. Look at figure s04: the amber direction has ∣ λ ∣ = 0.5 (halves each step, dies) while a hypothetical ∣ λ ∣ = 1.4 direction would grow. The worst direction rules the fate of the whole error.
Definition Spectral radius
ρ ( T )
ρ ( T ) = max i ∣ λ i ∣ = the largest absolute eigenvalue — the "worst-case" stretch. See Spectral Radius .
Definition Strictly diagonally dominant (SDD)
Row i is diagonally dominant if its own diagonal entry outweighs all the others in that row combined :
∣ a ii ∣ > ∑ j = i ∣ a ij ∣.
If every row passes, A is SDD. This is a sufficient (guaranteed-to-work) but not necessary stamp of convergence — computing ρ is hard, so we love this eyeball test.
∑ symbol
j = i ∑ ∣ a ij ∣ just says "add up the sizes of every entry in row i except the diagonal one." The big Greek Σ (sigma) means "sum". Nothing more.
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 A x = b directly (via Gaussian elimination) is too costly, so we iterate — which forces us to split A = M − N , build the iteration matrix T , and finally judge convergence through eigenvalues and the spectral radius. The two side-branches (matrix parts D , L , U and the diagonal-dominance test) feed straight into the split and the convergence check.
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
Convergence rho less than 1
Diagonal dominance quick test
What does a ij mean, and which index comes first? The entry in row i , column j — row first, column second .
Is the k in x ( k ) a power? No — the parentheses make it a step counter ; x ( 0 ) is the first guess.
Write the error at step k in one formula. e ( k ) = x ( k ) − x ∗ (guess minus true solution).
What is a norm ∥ e ∥ and what does "error goes to zero" mean? The length of the vector,
e 1 2 + ⋯ + e n 2 ; "goes to zero" means this single number shrinks below any tolerance.
When does A x = b have exactly one solution? When A is invertible (non-singular, nonzero determinant); then x ∗ = A − 1 b .
In the split A = M − N , how are M , N chosen for Jacobi and Gauss–Seidel? Jacobi: M = D , N = L + U . Gauss–Seidel: M = D − L , N = U . Always M easy to invert.
Derive the iteration from A = M − N . ( M − N ) x = b ⇒ M x = N x + b ⇒ M x ( k + 1 ) = N x ( k ) + b ⇒ x ( k + 1 ) = M − 1 N x ( k ) + M − 1 b .
Why must M be invertible? The step multiplies by M − 1 ; that only exists if M is non-singular (its diagonal entries a ii = 0 ).
What is M − 1 and what is M − 1 M ? It undoes M ; M − 1 M = I , the identity (do-nothing) matrix.
In A = D − L − U , what physically sits below the diagonal? − L (the parent stores the negatives of the below-diagonal entries in L ).
Define an eigenvalue λ of T in words. A stretch factor for a special direction v with T v = λ v ; applying T k times scales that direction by λ k .
What is ρ ( T ) ? The spectral radius — the largest absolute eigenvalue , the worst-case stretch.
Exact necessary-and-sufficient convergence condition? ρ ( T ) < 1 .
What does strictly diagonal dominant mean, and is it necessary? ∣ a ii ∣ > ∑ j = i ∣ a ij ∣ for every row; it is sufficient but not necessary .
Why do we iterate instead of using Gaussian elimination on huge sparse systems? Elimination costs ∼ 3 2 n 3 ; each iteration is a cheap ∼ O ( n ) sparse product.