Loading
The SOR method speeds up Gauss-Seidel by over-correcting each step: , where is the Gauss-Seidel value and is the relaxation factor.
Solve , , by SOR with , starting from .
The old values are all 0, so and only the Gauss-Seidel part counts:
Each new value is used at once (as in Gauss-Seidel), then mixed with the old one: .
| Sweep k | x | y | z | Largest change |
|---|---|---|---|---|
| 1 | 7.5 | 2.34375 | −6.767578 | 7.5 |
| 2 | 3.427734 | 3.460693 | −4.726639 | 4.072266 |
| 3 | 3.398666 | 3.846502 | −5.116308 | 0.389670 |
| 4 | 3.044237 | 3.960555 | −4.983249 | 0.354429 |
| 5 | 3.025920 | 3.990796 | −5.007064 | 0.030240 |
| 6 | 3.002149 | 3.998079 | −4.998834 | 0.023771 |
| 7 | 3.001264 | 3.999660 | −5.000398 | 0.001581 |
| 8 | 3.000003 | 3.999958 | −4.999914 | 0.001261 |
| 9 | 3.000039 | 4.000001 | −5.000021 | 0.000107 |
| 10 | 2.999989 | 4.000003 | −4.999994 | 0.000050 |
After sweep 10 the largest change is 0.00005 < 0.0001, so stop.
To a tolerance of 0.0001, SOR with ω = 1.25 needs 10 sweeps; plain Gauss-Seidel (ω = 1) needs 20.
The calculator below opens on this system and shows both iteration counts.
Forgetting the part from sweep 2 on.
Applying ω to the whole formula.
Using old values for unknowns already updated.
Choosing ω ≥ 2 or ω ≤ 0.
Sign slips with negative coefficients.
Writing only the final answer.