Topper Copies

Apply Gauss-Seidal iteration method to solve the equations: $10x_1 - 2x_2 - x_3 - x_4 = 3$; $-2x_1 + 10x_2 - x_3 - x_4 = 15$; $-x_1 - x_2 + 10x_3 + 2x_4 = 27$; $-x_1 - x_2 - 2x_3 + 10x_4 = -9$.

Aakash Om Trivedi, AIR 73, 2025

As given equation already in diagonally dominant, as diagonal maximum,

writing gauss-seidel equation

let $x_1^{(r)}, x_2^{(0)}, x_3^{(0)}, x_4^{(0)} = (0, 0, 0, 0)$

putting in equation we get Up to 5 decimal

$x_1^{(1)} = \frac{3}{10}$, $x_2^{(1)} = \frac{39}{25}$, $x_3^{(1)} = 2.886$, $x_4^{(1)} = -0.1368$

2nd iteration,

$x_1^{(2)} = 0.88692$, $x_2^{(2)} = 1.952304$, $x_3^{(2)} = 3.0112824$, $x_4^{(2)} = -0.0138212$

3rd iteration,

$x_1^{(3)} = 0.99020$, $x_2^{(3)} = 1.99778$, $x_3^{(3)} = 3.001[?]6$, $x_4^{(3)} = -0.0088$

4th iteration,

$x_1^{(4)} = 0.99962$, $x_2^{(4)} = 1.99993$, $x_3^{(4)} = 3.00013$, $x_4^{(4)} = -0.000010$

5th iteration

$x_1^{(5)} = 1.00001$, $x_2^{(5)} = 2.00001$, $x_3^{(5)} = 3.00000$, $x_4^{(5)} = 0.00000$

Thus,

$x_1 = 1, x_2 = 2, x_3 = 3, x_4 = 0$

is solution through Gauss-Seidel which satisfy