Description
The Gauss-Jordan elimination is a method for solving systems of linear equations of n equations and n unknowns:
a11x1a21x1⋮an1x1+++a12x2a22x2⋮an2x2+++⋯⋯⋯+++a1nxna2nxn⋮annxn====b1b2⋮bn Algorithm
- Represent the system as an augmented matrix
- Manipulate the rows until the matrix is in reduced row echelon form:
- Swapping the positions of two rows.
- Multiplying a row by a non-zero scalar.
- Adding to one row a scalar multiple of another.
- Each variable now has it’s value