A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

Gauss-Seidel Method

Graduate Depth 73 in the knowledge graph ☐ I know this ☆ Set as goal
3topics build on this
304prerequisites beneath it
See this on the map →
Jacobi Iterative Method→→Successive Over-Relaxation (SOR)
gauss-seidel iterative linear-systems

Core Idea

The Gauss-Seidel method improves Jacobi by using updated values immediately: x_i(k+1) = (b_i - Σ_{j<i} A_{ij}x_j(k+1) - Σ_{j>i} A_{ij}x_j(k))/A_{ii}. By exploiting the latest available values, Gauss-Seidel typically converges roughly twice as fast as Jacobi. The trade-off is that updates must be sequential, making parallelization difficult.

Explainer

You've already studied the Jacobi method, which solves a linear system Ax = b iteratively by isolating each variable and updating using all values from the *previous* iteration. The key insight of Jacobi is that if the matrix A is diagonally dominant, this process converges: each sweep brings the current estimate closer to the true solution. The Gauss-Seidel method asks a simple question: once you've computed the updated x_1 in this sweep, why wait to use it when computing x_2?

In Jacobi, all updates for iteration k+1 are computed using only iteration-k values — a batch update. In Gauss-Seidel, you update x_1 first and immediately use the fresh x_1 when computing x_2, then use both updated x_1 and x_2 for x_3, and so on through all n variables. The update formula x_i(k+1) = (b_i − Σ_{j<i} A_{ij}x_j(k+1) − Σ_{j>i} A_{ij}x_j(k)) / A_{ii} makes this explicit: the first sum uses already-updated values (j < i), the second uses old values (j > i). Each component update incorporates the best available information.

Intuitively, Jacobi is like a committee where everyone polls the previous meeting's results before submitting new opinions; Gauss-Seidel is like an assembly line where each person's update immediately informs the next person's decision. The more current information flows through each sweep, and the result is roughly twice as many iterations eliminated per unit of computation. For the same convergence criterion, Gauss-Seidel typically requires about half as many sweeps as Jacobi.

The convergence conditions are similar: diagonal dominance guarantees convergence for both methods, and for symmetric positive definite matrices Gauss-Seidel always converges. The cost is sequential dependency: because each x_i update depends on freshly updated x_j for j < i, all n updates must run in order within each sweep. Jacobi's "stale" values, counterintuitively, are an advantage when parallel hardware is available — each Jacobi update can be computed independently, while Gauss-Seidel must wait. This trade-off between convergence speed and parallelizability motivates further methods like successive over-relaxation (SOR), which extrapolates each Gauss-Seidel update by a factor ω to accelerate convergence even further.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts Through 10 → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Opposites and Additive Inverses → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Literal Equations → Slope-Intercept Form → Point-Slope Form → Writing Linear Equations → Parallel and Perpendicular Line Slopes → Graphing Linear Equations → Systems of Equations — Graphing Method → Systems of Equations — Elimination Method → Systems of Three Variables → Matrices Introduction → Matrix Operations → Jacobi Iterative Method → Gauss-Seidel Method

Longest path: 74 steps · 304 total prerequisite topics

Prerequisites (1)

Leads To (1)