Exercise: convergence by spectral radius
A non-diagonally-dominant matrix where Jacobi diverges but Gauss-Seidel converges, decided by computing the spectral radius of each iteration matrix.
Deciding with ρ(H)
Example
For (invertible but not diagonally dominant), decide which method converges by computing the spectral radius of its iteration matrices.
Spectral radii of the iteration matrices:
By the theorem, Jacobi diverges and Gauss-Seidel converges; in fact Gauss-Seidel reaches the tolerance in 13 iterations while Jacobi does not converge in 300: