Jacobi iteration for a three-variable tridiagonal system

ID: jacobi-iteration-for-a-three-variable-tridiagonal-system

Consider the original linear system with a symmetric matrix that is also a tridiagonal matrix:
Here and the Jacobi method reads
Starting from , the first three vectors are
Every right-hand side uses superscript , including the middle row, even when a new first coordinate has already been computed.
Figure 1.
Simultaneous old-to-new component updates in the Jacobi method, compared with immediate reuse in the Gauss-Seidel method
. Details.
For comparison, a first Gauss-Seidel method sweep in coordinate order gives
The new first coordinate enters the middle update, and the new second coordinate enters the final update. Accidentally overwriting old coordinates during a Jacobi method sweep therefore changes the mathematical method.

New to topics? Read the docs here!