Convergence is guaranteed for strictly diagonally dominant systems.
Example
Use previous iterates to approximate the solution.
highlighted = computed this step
Step 1 — Set up
Set up the Jacobi system.
4x+y=9x+4y=6
Step 2 — Iteration 1
Jacobi iteration 1: use only the previous x and y.
k01x049y023
Step 3 — Iteration 2
Jacobi iteration 2: use only the previous x and y.
k012x049815y0231615
Step 4 — Iteration 3
Jacobi iteration 3: use only the previous x and y.
k0123x04981564129y02316153233
Step 5 — Result
Compare the last Jacobi iterate with the true solution.
k0123x04981564129y02316153233x→2, y→1
jacobi-iteration
The Jacobi method isolates each variable on the diagonal and updates all unknowns simultaneously from the previous iterate: x_{k+1} = (b1 - a12·y_k) / a11 y_{k+1} = (b2 - a21·x_k) / a22