Algorithm: Gauss-Jordan Elimination

The Gauss-Jordan elimination algorithm allows us to determine the solutions of a system of linear equations.

  1. Notate the augmented matrix .

  2. Bring into reduced row echelon form via elementary row operations.

  • Make the pivot of the -th row equal to by multiplying the row with an appropriate constant. Then add an appropriate multiple of the -th row to every row below it in order to obtain only s below its pivot.

  1. Examine the solution space of the system:
  • If a row of the form , where , appears at any step of the process, then the system of linear equations has no solutions.

  • If the resultant coefficient matrix has only s on the diagonal and s everywhere else, then system has a unique solution and the last entry in the -th row of the resultant augmented matrix is the value for the -th unknown .

  • If the resultant augmented matrix has one or more all-zero rows, then the system has infinitely many solutions.