For the Gauss-Seidel iteration for a two-variable positive-definite system, define the forward error by and . Subtract the two exact solution equations from the two update equations:The fresh first coordinate passes the old second-coordinate error through two successive factors. The iteration matrix is thereforeIts eigenvalues are and , as seen from the determinant. The zero eigenvalue explains why the old first-coordinate error disappears completely: the first row overwrites it. After one sweep, every remaining forward error lies on the eigenvector line spanned by .
For this zero start, , so the exact vectors for areThe Euclidean norm of the forward error decreases by exactly per sweep from onward. The first decrease is different because the initial error has not yet reached that eigenvector line. Each row update moves horizontally or vertically in the coordinate plane; sweep endpoints then approach the solution along one straight line.
Computed row-by-row Gauss-Seidel method trajectory and exact forward error contraction for the original two-variable linear system
. Details. The linear-system residual is an independent way to check the calculation. Completing a sweep satisfies the second row exactly, but changing disturbs the first row:Thus a zero residual in the last updated row alone does not certify a solution; inspect the complete linear-system residual.
For the same matrix, the stale schedule of the Jacobi method gives the iteration matrixHere its eigenvalues are , whereas the fresh schedule gives . This comparison belongs to this particular linear system; it is not a universal relation between the two methods' spectral radii.
A strictly diagonally dominant matrix or a real symmetric positive-definite matrix guarantees convergence of the Gauss-Seidel method from every initial vector. These are sufficient conditions.[ref]
Notes for Ma221 Lecture 21, Nov 10 2009. Math 221, Matrix Computations, Fall 2009; Theorem 1, strict row diagonal dominance, web lines 462–465; Theorem 3, positive-definite SOR and its ω = 1 specialization, web lines 490–493
For strict diagonal dominance, putInduct through a sweep. Old coordinates have absolute error at most ; previously updated coordinates have absolute error at most . The component update and the triangle inequality therefore bound the new error by . This proves , a maximum norm contraction.
For a symmetric positive-definite matrix, write . The Householder-John theorem applies to and , because is a positive-definite matrix. Hence the iteration matrix has spectral radius less than one, which gives the convergence criterion for a stationary iteration.
There is also a geometric reason fresh updates help: the Gauss-Seidel method is exact coordinate descent on the convex quadratic functionHolding the other coordinates fixed, minimizing in coordinate gives the corresponding row update. A change lowers by exactly . Each fresh coordinate is therefore the minimizer for the current vector, and a complete sweep lowers the quadratic form error unless every coordinate already solves its row. This explains the method's beauty without implying monotone decrease in every vector norm.
Gauss-Seidel energy decrease identity 2026-10-31
For a real symmetric positive-definite matrix , let be the Gauss-Seidel method error and . Its recurrence gives . Expanding the two squared energy norms yields . Every diagonal entry of is positive, so the error energy strictly decreases unless . In that case and the exact solution has already been reached. This identity exhibits the method as a sequence of energy-reducing coordinate corrections.
An invertible matrix and nonzero diagonal entries make the update well defined, but do not guarantee convergence. For the original linear systemthe Gauss-Seidel method updates and . Starting at zero gives , then . The second-coordinate forward error is , and the iteration matrix has spectral radius . The linear system has a unique solution while this particular stationary iterative method for a linear system diverges.
Gauss-Seidel method Created 2026-10-05 Updated 2026-10-18
With , the Gauss-Seidel method solves . It uses each newly computed coordinate immediately in the remaining triangular solve. It is successive over-relaxation with parameter one, and converges from every start when is a symmetric positive-definite matrix.
To solve a linear system , split its matrix into the diagonal matrix and the strictly lower and upper parts , retaining their actual signs. Every diagonal entry must be nonzero. A sweep updates coordinates in order:The Jacobi method uses the old vector throughout; the Gauss-Seidel method reuses each fresh coordinate. Thus the update order is part of the method.[ref]
Notes for Ma221 Lecture 21, Nov 10 2009. Math 221, Matrix Computations, Fall 2009; Gauss-Seidel: component loop, splitting and update-order remark, web lines 372–380
The matrix splitting has , , so its iteration matrix isCompute the update by forward substitution with the lower triangular matrix , rather than forming a matrix inverse. For a sparse matrix, a sweep only visits stored entries and can overwrite the working vector. Dependencies on fresh coordinates constrain parallel execution. This makes the Gauss-Seidel method an inexpensive solver component, including in a multigrid method.[ref]
Notes for Ma221 Lecture 21, Nov 10 2009. Math 221, Matrix Computations, Fall 2009; Basic iterative methods, cheap splitting requirement; Gauss-Seidel loop and red-black ordering; opening list of solver building blocks
Consider the original linear system with a symmetric matrix that is also a tridiagonal matrix:Here and the Jacobi method readsStarting from , the first three vectors areEvery right-hand side uses superscript , including the middle row, even when a new first coordinate has already been computed.
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 givesThe 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.
Matrix splitting Created 2026-09-24 Updated 2026-10-18
A matrix splitting chooses an easy part of a matrix and corrects for the remaining part . To solve the linear system , first rewrite it as , then use the old vector on the right and solve for the new vector on the left. The matrix inverse notation describes the update mathematically; each step should solve with rather than construct its matrix inverse.[ref]
Notes for Ma221 Lecture 21, Nov 10 2009. Math 221, Matrix Computations, Fall 2009; Basic iterative methods: definition A = M − K and recurrence (*), with the two conditions for a useful splitting
The same identity also yields a correction based on the linear-system residual:This connects a matrix splitting to matrix preconditioning: rescales the imbalance before adding a correction. Choosing gives and the exact solution in one step, but requires solving the original linear system; choosing cheaply matters as much as the convergence criterion for a stationary iteration.
With the sign convention , is the diagonal matrix of diagonal entries and contain the actual lower and upper entries, without reversing their signs. The Jacobi method uses , ; the Gauss-Seidel method uses , . The first requires only division by diagonal entries; the second uses a lower triangular matrix and forward substitution. These choices explain their different information flows.
Past exam of the mathematics course of the University of Cambridge 2005 ib Paper 3 19F Solution Created 2026-09-24 Updated 2026-10-14
Split with , the negative unit subdiagonal and the positive unit superdiagonal. The Jacobi method uses , soThe Gauss-Seidel method uses , giving by forward substitutionBoth iterations converge for every initial error exactly when their spectral radius is below one, since the error evolves as powers of the iteration matrix.
For Jacobi, the leading tridiagonal determinant recurrence is , with . ThusIts roots are and . Expanding the Gauss-Seidel determinant givesso its nonzero eigenvalues are . ThereforeThe skew-tridiagonal Jacobi and Gauss-Seidel iterations consequently have the same convergence range:Equality fails the every-start convergence condition, and larger magnitudes have unstable modes. The nonsymmetric matrix does not permit an unexamined positive-definite-matrix convergence argument.
Past exam of the mathematics course of the University of Cambridge 2015 ii Paper 2 37E a Solution Created 2026-09-24 Updated 2026-10-06
Order the interior grid values into a vector. The coefficient matrix has diagonal and off-diagonal entries at horizontal and vertical neighbours, with boundary values already zero. Every row is strictly diagonally dominant because . The standard convergence theorem for strict diagonal dominance gives convergence of both the Jacobi method and the Gauss-Seidel method. The matrix is also symmetric positive definite.
For , the weighted Jacobi method is , with iteration matrix . The sine-product grid eigenvectors giveThese weighted Jacobi eigenvalues for a square Dirichlet grid determine convergence. All eigenvalues of are positive. Thus for fixed convergence requires , where . As , this upper bound tends to from above. Any fixed therefore fails on sufficiently fine grids; also fails. Consequently is necessary for all mesh sizes, and it is sufficient, since for every finite grid.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 1 39A Solution Created 2026-09-24 Updated 2026-10-05
The Householder-John theorem states that if is Hermitian positive definite and is also Hermitian positive definite, then is invertible and . The associated stationary iteration therefore converges from every starting vector. For designing a method, choose a splitting with easily solved and verify the positive-definiteness condition on ; it is a sufficient certificate and does not require computing every iteration-matrix eigenvalue.
For completeness, put . If for , then , a contradiction. If , then . The case contradicts invertibility of . Taking scalar products and using Hermitian symmetry giveshence . The usual spectral-radius convergence criterion now proves the stated conclusion.
For the given scheme take the matrix splittingSince is real symmetric, , and since it is positive definite, every diagonal entry in is positive. Thusis positive definite exactly for . The theorem applies, and the iteration matrix has spectral radius below one. The unique solution is its fixed point, so . ThereforeThe scheme is successive over-relaxation; at it becomes the Gauss-Seidel method.
The Gauss-Seidel method updates coordinates successively using the newest available entries:It is well-defined for every initial vector exactly when every , equivalently when the triangular matrix is invertible. Nonsingularity of alone does not ensure this. The matrix form isIf the iterates converge to , passing to the limit gives , hence . Nonsingularity identifies as the unique solution .
Now assume is a symmetric positive-definite matrix. Testing with the coordinate vector gives , so is positive definite. The form is an inner product: bilinearity and symmetry are immediate and positivity is the hypothesis. Its Cauchy-Schwarz inequality givesproving the triangle inequality; definiteness and absolute homogeneity are immediate. Thus is the energy norm.
Subtract the iteration from the exact equation to obtain . HenceUsing the preceding iteration also gives and therefore for , as required.
Put . Expanding the two quadratic forms and using the first identity gives the exact Gauss-Seidel energy decrease identity:Here . If , then , so . Otherwise . Thus unless the exact solution has already been reached.
Let , and . Subtract the exact fixed-point equation to obtain . Hence convergence for every initial vector is equivalent to . If this holds, it holds after complexification; applying it to a complex eigenvector gives , so . Conversely, the complex Jordan normal form expresses each power as a finite sum of terms from its blocks. Every term tends to zero when all eigenvalues have modulus below one. ThusThe convergence criterion for a stationary iteration needs complex triangularization or Jordan normal form. The paper's assertion that every real matrix is similar to a real upper-triangular matrix is false when nonreal eigenvalues occur; complex triangularization supplies the intended argument. In the Gauss-Seidel method, with split into diagonal, strictly lower and strictly upper parts, .
For , eliminating the ghost values gives the symmetric pentadiagonal matrixAll other off-diagonal entries vanish. The first two equations areand the last two areFor the matrix is , for it is , and for it is because both ghost contributions meet the same unknown. The diagonal entries are positive in every case, so the lower triangular matrix is invertible and the Gauss-Seidel iteration is well defined.
An eigenvalue of makes singular. Let and be the sums of absolute lower and upper entries in row . The row's diagonal-dominance margin isInterior full rows have , , giving margin . Boundary rows have larger margins; for instance the first gives , and the second gives at least . Therefore would make a strictly diagonally dominant matrix, hence nonsingular, a contradiction.
At it is weakly diagonally dominant with strict boundary rows. Its nonzero nearest-neighbour entries make it an irreducibly diagonally dominant matrix. The nonsingularity theorem for that class again contradicts singularity. For the small matrices above all rows are already strict at this value. HenceThere is also a stronger conclusion. For ,including the overlap. Since is positive definite, is a symmetric positive-definite matrix. The Gauss-Seidel convergence from diagonal dominance and positive definiteness theorem consequently gives the stronger bound .
The Gauss-Seidel method solves each component using the already updated components from the same iteration. In the splitting , those updated diagonal and lower-triangular terms stay on the left, while upper-triangular terms use the previous iterate. ThusHere is lower triangular with nonzero diagonal, so each new iterate is obtained by forward substitution, starting from the specified zero vector.
Update the unknowns in row order, immediately using newly computed components. The component equations areThus and . Using only old values in all three row equations would instead describe the Jacobi method, not the Gauss-Seidel method.
Skew-tridiagonal Jacobi and Gauss-Seidel iterations Created 2026-10-14 Updated 2026-10-18
For , with the four-dimensional unit superdiagonal, the Jacobi method has eigenvalues , . The Gauss-Seidel method has two zero eigenvalues and . Therefore both methods converge for every starting vector exactly when . This equality of convergence ranges follows from their spectra, not from positive-definiteness of the nonsymmetric coefficient matrix.
Successive over-relaxation 2026-10-05
For a splitting , successive over-relaxation updatesIt reduces to the Gauss-Seidel method at . If is symmetric positive definite, the Householder-John theorem applies to , , since is positive definite for .

