Math 218: Matrices and Vectors

Welcome! You have found the homepage of the Fall 2023 manifestation of Math 218.

Gauss-Jordan Elimination

The syntax A.rref() produces the reduced row echelon form of a matrix.

We use the same syntax to produce the reduced row echelon form of an augmented matrix.

Rank and nullity can be calculated with the syntax A.rank() and A.right_nullity().

The following code will show the steps in the Gauss-Jordan algorithm used to reduce a matrix A to rref(A)