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.