Solve the equations $10x - 7y + 3z + 5u = 6; -6x + 8y - z - 4u = 5; 3x + y + 4z + 11u = 2; 5x - 9y - 2z + 4u = 7$ by Gauss-Jordan method.
Shoham Teberiwal, AIR 77, 2023
To solve using Gauss-Jordan
$10x - 7y + 3z + 5u = 6$
$-6x + 8y - z - 4u = 5$
$3x + y + 4z + 11u = 2$
$5x - 9y - 2z + 4u = 7$
let $(x^{(0)}, y^{(0)}, z^{(0)}, u^{(0)}) = (0,0,0,0)$
storing values as
$x^r = x$, $y^r = y$, $z^r = M$, $u^r = F$
$x^{r+1} = A$, $y^{r+1} = B$, $z^{r+1} = C$, $u^{r+1} = D$
$(x_1, y_1, z_1, u_1) = (0.6,\; 0.625,\; 0.5,\; 1.75)$
$(x_2, y_2, z_2, u_2) = (0.0125,\; 2.0125,\; -4.91875,\; 3.28125)$
$(x_3, y_3, z_3, u_3) = (1.84375,\; 1.66015,\; -9.035,\; 7.9032)$
$(x_4, y_4, z_4, u_4) = (0.52,\; 4.829,\; -23.03,\; 7.13)$
5th iteration = 7.3, 1.7, -20.7, 15.5
clearly it will not converge
$\therefore$ we pivotize
$10x - 7y + 3z + 5u = 6$
$5x - 9y - 2z + 4u = 7$
$-6x + 8y - z - 4u = 5$
$3x + y + 4z + 11u = 2$
1st iteration $\to \left(\frac{3}{5}, \frac{-7}{9}, -5, \frac{2}{11}\right)$
2nd $\to \left(1.464, \frac{74}{99}, -15.54, 1.91\right)$
3rd $\to (4.8345,\; 4.3389,\; -15.436,\; 5.368)$
4th iteration $\to (5.58,\; 7.72,\; -20.77,\; 4.08)$
5th iteration $\to (10.17,\; 8.75,\; 6.96,\; 5.5)$
6th iteration $\to (1.88,\; 5.78,\; -18.18,\; -5.92)$