Gaussian Elimination

Solves linear systems Ax=b by row operations to upper-triangular form, then back-substitution. Foundation of all linear solvers. Row ops: swap, scale, add multiple of one row to another.

Method

• Forward elimination to triangular form. • Back-substitute from last variable. • Check with pivoting for stability.

Limitations

O(n^3); for large sparse systems iterative methods win.

Example

2x+ y=5, x - y=1 -> x=2, y=1.

Sources

Educational reference only, not professional advice.

All algorithms