Gauss–Seidel Method
Summary
Gauss–Seidel is the in-place sibling of Jacobi: each new component is used immediately in later equations of the same sweep. It often converges faster than Jacobi on the same matrix, but its iteration matrix differs.
Prerequisites
Problem Type
Iteratively solve
Method Definition
With
componentwise
Iteration matrix:
Assumptions / Requirements
- Nonzero diagonals
- Do not use
when analyzing Gauss–Seidel
Algorithm
- Start from
. - For
, overwrite with the formula above. - After a full sweep, test
and/or residual.
Convergence
-
is necessary and sufficient for convergence of this stationary iteration - Strict diagonal dominance of
is a sufficient condition - Sassenfeld criterion (useful hand test for GS): define
If
Error / Accuracy
Same practical stops as Jacobi: step size and residual norms.
Worked Example
Sassenfeld:
For comparison only, Jacobi’s
so Jacobi also converges here—but that bound is about Jacobi, not a substitute for
One GS sweep from
Common Failure Modes
- Analyzing GS with Jacobi’s iteration matrix alone
- Zero pivots on the diagonal
- Confusing SOR (
) with plain GS
Connections
- Iterative Methods (includes SOR)
- Gauss-Jacobi Method
- Numerical Methods/Linear Systems/Solving Linear Systems
References
Burden & Faires, Numerical Analysis, Gauss–Seidel and Sassenfeld; NIST DLMF Ch. 3, https://dlmf.nist.gov/3 ↩︎