Gauss-Jordan elimination
How to solve three equations with three unknowns without guessing?
By transforming the coefficient table row by row, using only three operations: swapping two rows, multiplying a row by a non-zero number, adding to one row a multiple of another. None changes the solutions. On x − y + 2z = 5, 3x + 2y + z = 10 and 2x − 3y − 2z = −10, the table ends as 1 0 0 | 1, 0 1 0 | 2, 0 0 1 | 3: x = 1, y = 2, z = 3.