Overview
The Jacobi Method computes a new value for every variable using only values from the prior iteration.
Solves linear systems by repeatedly updating each variable from the previous iteration.
Compact metadata for implementation and discovery.
The Jacobi Method computes a new value for every variable using only values from the prior iteration.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n^2)
Average
O(t n^2)
Worst
O(t n^2)
Space
O(n)
x_i_next = (b_i - sum(A_ij * x_j_old for j != i)) / A_iiUpdates each variable from values from the previous iteration.
Show all variables updating from the previous iteration at once.
Jacobi Method operates in O(t n^2) time and O(n) space within the Iterative Linear Solver family. Key governing relation: x_i_next = (b_i - sum(A_ij * x_j_old for j != i)) / A_ii. Often compared with Gauss-Seidel Method and Conjugate Gradient.
What each reference supports for this entry.
Netlib/SIAM reference for iterative linear solvers including Jacobi, Gauss-Seidel, and conjugate gradient.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Conjugate Gradient is usually faster for suitable positive definite systems.
Both are stationary iterative solvers with different update reuse.