- 2071 Magh · 8 marks
Gauss-Seidel: 20x+y-2z=17
Short answer
The system is diagonally dominant, so Gauss-Seidel converges quickly from zero initial guess. After 3 iterations the solution is x = 1.0000, y = -1.0000, z = 1.0000.
Use Gauss Seidel method to solve the following equations: 20x + y - 2z = 17 3x + 20y - z = -18 2x - 3y + 20z = 25
Gauss-Seidel method: solve each equation for its diagonal unknown and use the newest values immediately in the same iteration. It converges when the system is diagonally dominant.
Step 1: Check dominance and rearrange
Diagonal coefficients: 20 > 1 + 2, 20 > 3 + 1, 20 > 2 + 3. The system is diagonally dominant, so the method converges.
Step 2: Iteration formulas
x(k+1) = (17 − y(k) + 2z(k)) / 20
y(k+1) = (−18 − 3x(k+1) + z(k)) / 20
z(k+1) = (25 − 2x(k+1) + 3y(k+1)) / 20
Start with x(0) = 0, y(0) = 0, z(0) = 0.
Step 3: Iterations
| Iter | x | y | z |
|---|---|---|---|
| 0 | 0.0000 | 0.0000 | 0.0000 |
| 1 | 0.8500 | -1.0275 | 1.0109 |
| 2 | 1.0025 | -0.9998 | 0.9998 |
| 3 | 1.0000 | -1.0000 | 1.0000 |
| 4 | 1.0000 | -1.0000 | 1.0000 |
| 5 | 1.0000 | -1.0000 | 1.0000 |
Values of two successive iterations agree to 4 decimal places, so we stop.
Answer: x ≈ 1.0000, y ≈ -1.0000, z ≈ 1.0000
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Gauss-Seidel: four unknowns · Numerical Method, chapter 3
- Gauss-Seidel: 10x+y-z=11.19 · Numerical Method, chapter 3
- Gauss elimination/Jordan with pivoting · Numerical Method, chapter 3 · asked 2×
- Iterative method: 4 equations · Numerical Method, chapter 3 · asked 2×
- Gauss elimination: x+2y+3z=6 · Numerical Method, chapter 3 · asked 3×
- Gauss 3-point: 1/(x²+2x+1) · Numerical Method, chapter 5 · asked 3×
- Centre, axes, directrices of 3x²+8xy−3y²−40x−20y+50=0 · Mathematics I, chapter 3 · asked 7×
- Solve ODE by Laplace transform y''−3y'+2y=4x+e^(3x) · Mathematics III, chapter 3 · asked 14×
- Direct, iterative methods; Gauss-Seidel numerical · Computational Techniques in Civil Engineering, chapter 2
- Solve y''+3y'+2y=e^(2x) sin x · Mathematics I, chapter 4 · asked 2×