Gaussian Elimination
Gaussian elimination is a systematic method for solving systems of linear equations.
The Goal
Transform the system into upper triangular form (echelon form), then use back substitution to find the solution.
Steps
- Forward elimination β use row operations to create zeros below the pivots
- Back substitution β solve from the last equation up
Row Operations
You can:
- Swap two rows
- Multiply a row by a nonzero scalar
- Add a multiple of one row to another
These operations donβt change the solution!
Example
The matrix is now upper triangular. Solve from row 2, then from row 1.
Pivot
The pivot is the first nonzero entry in each row. Pivots cannot be zero β if they are, swap rows.