Large linear systems appear frequently in scientific computing, engineering simulations, and optimization problems. Direct methods become expensive for large matrices, while iterative methods offer better scalability and lower memory usage. The Gauss–Seidel method is a simple yet effective iterative technique that exploits matrix structure to accelerate convergence compared to basic fixed-point iterations.
Introduction
The Gauss-Seidel method is an iterative algorithm for solving a system of linear equations of the form Ax=b. It updates each variable sequentially using the most recent values available, which often results in faster convergence than the Jacobi method. The method is particularly effective for diagonally dominant or symmetric positive definite matrices and is commonly used as a baseline solver or as a smoother in multigrid methods.