Skip to content

Gauss-Jordan Elimination

Algorithm

Gauss-Jordan elimination is the algorithm that applies elementary row operations to an augmented matrix until it reaches reduced row echelon form.


Interpretation

Gauss-Jordan elimination solves linear systems by transforming them into equivalent systems whose solutions can be read off directly. It works column by column: create a pivot, use it to clear the entries below it, and finally clear the entries above the pivots as well.

Three augmented matrices in a row: the original system, its row echelon form, and the reduced row echelon form with the identity on the left and the solution 2, 3, -1 on the right.

The forward elimination uses the row additions R2+32R1\boldsymbol{R}_2+\tfrac{3}{2}\boldsymbol{R}_1, R3+R1\boldsymbol{R}_3+\boldsymbol{R}_1, and R3−4R2\boldsymbol{R}_3-4\boldsymbol{R}_2. Scaling the pivots to 11 and clearing the entries above them gives reduced row echelon form, from which x=(2,3,−1)\boldsymbol{x}=(2,3,-1) can be read without back substitution. Stopping at row echelon form and then solving by back substitution is called Gaussian elimination.

The final reduced row echelon form shows the type of solution set. A row (0  ⋯  0∣c)(0\;\cdots\;0\mid c) with c≠0c\neq0 means that there is no solution. Otherwise each column without a pivot gives a free variable that can be chosen as a parameter, and the solution is unique if and only if every column of the coefficient part has a pivot, as in the figure. If the entry in the pivot position is 00, a lower row with a nonzero entry in that column is swapped up first; if there is none, the column gets no pivot.

The same steps appear in OR Modelling: a simplex pivot divides the pivot row by the pivot and subtracts multiples of it from all other rows of the tableau, which is one Gauss-Jordan step.


Key Results

  • Gauss-Jordan elimination preserves the solution set of the system.
  • If the coefficient side of an augmented matrix becomes the identity matrix, the right side gives the unique solution.

Examples

  • The system 3x+y−z=−43x+y-z=-4, x+z=0x+z=0, 3x−2y=−33x-2y=-3 reduces to x=−1x=-1, y=0y=0, z=1z=1.
  • Gauss-Jordan elimination can also be used to compute inverse matrices by augmenting with In\boldsymbol{I}_n.

Prerequisites

Sources

Aliases: Gauss-Jordan reduction, Gauss-Jordan method Keywords: Gaussian elimination, row reduction

Last updated: 20 October 2026 03:02