Gauss–Jacobi Method
Summary
Jacobi iteration updates every unknown from the previous full vector. It is simple to parallelize and converges when the iteration matrix has spectral radius less than one (strict diagonal dominance is a common sufficient test).
Prerequisites
- Iterative Methods
- Component form of
Problem Type
Iteratively solve
Method Definition
Write
or componentwise
Iteration matrix:
Assumptions / Requirements
- Nonzero diagonals
- Prefer a starting vector
(often )
Algorithm
- Choose
, tolerance , max iterations. - For each
, compute from all , . - Set
only after all are updated. - Stop on
or residual test.
Convergence
Converges for every start iff
Error / Accuracy
Use infinity-norm step and residual
Worked Example
With
|
|
|
|
|---|---|---|
| 0 | 0 | 0 |
| 1 | 4 |
|
| 2 |
|
|
| 3 |
|
|
| 4 |
|
|
True solution:
Common Failure Modes
- Zero diagonal entry
- Updating in place (that would be Gauss–Seidel)
- Expecting convergence without
Connections
References
Burden & Faires, Numerical Analysis, Jacobi iteration; NIST DLMF Ch. 3, https://dlmf.nist.gov/3 ↩︎