Gauss-Seidel iteration
At a Glance
- Frequency: 7 sub-parts across 7 of 13 years (2014, 2015, 2019, 2020, 2021, 2023, 2025)
- Priority tier: T2
- Marks (count): 10 (1), 15 (6)
- Average solve time: ~12 min
- Difficulty mix: medium 6, easy 1
- Section: B | Dominant type: computation
Why This Chapter Matters
Gauss-Seidel questions have appeared in every single year from 2014 to 2025 (7 appearances) and are almost always 15 marks — the highest-value Section B question in Paper 2’s numerical methods cluster. Every question has the same structure: rearrange the system for diagonal variables, iterate from the zero vector (usually 3–4 iterations), present a table, optionally compare with the exact solution. The algorithm is trivially mechanical once you have the update equations. The only real decision is whether to reorder rows first (for diagonal dominance), which the question sometimes asks you to show. This is one of the most reliable mark-sources in the paper.
Minimum Theory
Gauss-Seidel update. For an system , solve the -th equation for : The key feature: use the most recently updated values of immediately (unlike Jacobi, which waits until the end of the sweep).
Diagonal dominance. The iteration converges if the matrix is strictly diagonally dominant: for all . If the given ordering is not diagonally dominant, reorder rows so the largest-magnitude element in each column is on the diagonal.
Starting point. Unless otherwise stated, start from .
Practical execution. At each iteration, update first using ; then using the newly computed and old ; then using both new values. Keep 4 decimal places throughout to show convergence clearly.
Question Archetypes
One pattern covers every Gauss-Seidel question in the corpus.
| Archetype | You are seeing this when… |
|---|---|
| gauss-seidel | solve a linear system by iteration; the question specifies the number of iterations and often asks for comparison with the exact solution |
gauss-seidel (7 question(s); 2014, 2015, 2019, 2020, 2021, 2023, 2025)
Recognition Cues
- “Use the Gauss-Seidel method to solve [system]; perform iterations.”
- “Set up the iterative scheme; start from .”
- Sometimes: “Rearrange for diagonal dominance, then iterate.”
Solution Template
- Check/ensure diagonal dominance. If not satisfied, reorder rows. State the dominant form.
- Write the update equations. Solve the -th row for : , using fresh values for .
- Iterate from . Compute one variable at a time per row, in order, using the latest available values. Round to 4 decimal places.
- Present a table of all iterations.
- Find and compare the exact solution (if asked): solve the system exactly (substitution or Cramer) and state the error at the last iteration.
Worked Example(s)
2020 Paper 2, 2020-P2-Q6b (15 marks)
System: , , . Set up the Gauss-Seidel scheme; iterate 3 times from ; find the exact solution.
Diagonal dominance: , , . Update equations:
| Iter | |||
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 1 | 1.0000 | 0.8000 | 0.4000 |
| 2 | 0.6000 | 0.9600 | 0.4800 |
| 3 | 0.5200 | 0.9920 | 0.4960 |
Exact: , , . Error after 3 iterations .
2019 Paper 2, 2019-P2-Q7b (15 marks)
Solve , , to three decimal places.
The system is strictly diagonally dominant as given (, , for first row — wait, , so the first equation is not diagonally dominant). Reorder: put the equation first, equation second, and the equation last. After reordering:
Update equations: , , .
Iterate until convergence to 3 decimal places (typically 5–7 iterations from ). Final answer: , , .
2014 Paper 2, 2014-P2-Q6b (15 marks)
Solve , , . Perform 3 iterations.
Weakly dominant ( at rows 1 and 3 — boundary case). Update:
| Iter | |||
|---|---|---|---|
| 1 | 3.5000 | 2.2500 | 1.6250 |
| 2 | 4.6250 | 3.6250 | 2.3125 |
| 3 | 5.3125 | 4.3125 | 2.6563 |
Exact: . Convergence is slow because diagonal dominance is only weak.
Common Traps
- Gauss-Seidel vs. Jacobi: in Gauss-Seidel, is used immediately when computing . Using stale values ( everywhere) is Jacobi, and will give wrong iterations.
- Diagonal dominance reordering: the question may give a system that is not diagonally dominant in the given order. Always check before writing the update equations, and reorder if needed. Failing to reorder can cause divergence.
- Rounding: carry 4 decimal places. Rounding to 2 decimals accumulates error and diverges from the expected iterate values.
- The exact solution: compute it by direct elimination (not by iterating to convergence). Cross-check against the equations, not just against the iterate.
Practice Set
- 2015-P2-Q8b (15 m) — — 4×4 diagonally-dominant system; 4 iterations; the larger system tests whether you track 4 variables cleanly.
- 2021-P2-Q7b (15 m) — — requires reordering for diagonal dominance before iterating.