Reducing a matrix to goes through the steps of elimination (unveiling the (in-) dependency of rows and columns from previous one’s) and makes it easy to solve . Reducing a into we first factor the matrix into LDU, leaving behind an upper triangular which we must subtract in reverse order again to clear all numbers above the pivots.

(Subtracted 2 times row 2 from row 1)

Solving

We identify the columns of the that don’t have a pivot (in this is only col 3) as free columns. All solutions forming the Nullspace of the matrix are found through determining the missing fixed column’s multipliers inside of mock solutions, that are made of those and our free columns. We take the example of in which col 3 is free. The solution is found by finding the fixed coefficients a and b while switching our free columns to = 1, with all other fixed columns being 0 for each mock-solution, respectively.

In a matrix with two (non-pivot) free columns, two solutions would arise. We take a 4x4 matrix with col 2 and col 4 being free as an example, then the two solutions are

with found.