We commonly use a ๐Ÿฑ Matrix to encode systems of linear equations. Specifically, a system

can be written as

Gaussian Elimination

The general solution to such a system consists of a particular solution, a specific value for summed with all solutions for . We can find these solutions by applying elementary transformations listed below to the augmented matrix that preserve the solution set. This process is known as Gaussian elimination.

  1. Exchange two rows.
  2. Multiply one row with a constant.
  3. Add a multiple of a row to another.

Row-Echelon Form

We can use these operations to reach row-echelon form where all nonzero rows have as the leftmost number, known as the pivot, such that the pivot is to the right of all rows above it. All zero rows are at the bottom of the matrix.

From this form, we can solve for each variable row-by-row, starting with the bottom. Variables corresponding to pivots are fixed variables, and the rest are free variables.

Reduced Row-Echelon Form

The reduced row-echelon form takes this idea a bit further, enforcing the conditions above as well as making each pivot the only nonzero entry in its column. Solutions to can be easily found by expressing non-pivot columns in terms of negated pivot columns.