Gaussian elimination is a systematic method for solving systems of linear equations by reducing the number of variables. Instead of manipulating the equations directly, we work with an augmented matrix that represents the system.
Augmented Matrix
Consider the system:
We represent this as an augmented matrix:
The vertical line separates the coefficients from the constants on the right-hand side. We solve the system by applying Elementary row operations.
We can manipulate the augmented matrix using three types of elementary row operations:
- Interchange: Exchange two rows. Notation:
- Scalling: Multiply a row by a non-zero constant. Notation: (where )
- Replacement: Add a multiple of one row to another. Notation:
These operations transform the system into an equivalent system (same solution set) that is easier to solve.
Goal: Transform an augmented matrix into row echelon form (or RREF) using elementary row operations.
Step-by-Step Process:
Step 1: Create the First Pivot
- Find the leftmost non-zero column
- If needed, swap rows to get a non-zero entry at the top
- This entry becomes the first pivot
Step 2: Eliminate Below the Pivot
- Use replacement operations to make all entries below the pivot equal to zero
- Add multiples of the pivot row to rows below it
Step 3: Move to the Next Pivot
- Ignore the row and column with the first pivot
- Repeat Steps 1-2 for the remaining submatrix until the matrix is in row echelon form
Step 4: Back Substitution
- Scale pivot rows so each pivot becomes 1
- Eliminate entries above each pivot
Interactive Row Reduction Example
The last step directly gives us.
Row Echelon Form (REF)
A matrix is in row echelon form if:
- All rows consisting entirely of zeros are at the bottom
- The first non-zero entry in each row (called a pivot) is to the right of the pivot in the row above
- All entries in a column below a pivot are zero
It is in reduced row echelon form (RREF) if it further satisfies:
- Each pivot equals 1
- Each pivot is the only non-zero entry in its column
Try it yourself
Solve the following system of linear equations.