COMP-205 / Homework 3/ Problem #3

Solving Linear Systems of Equations using Gaussian Elimination
with Backwards Substitution and Pivoting

Kenny Hoff
2/11/97


The goal of this assignment was to compare the error obtained from using variations of the Gaussian Elimination method for solving linear systems of equations.

Four variations of Gaussian Elimination to solve linear systems (along with a test program):

The following routines provide more extensive testing, timing performance measures, and comparison of accuracy:

How were the test matrices created?

Graphs showing the condition number, forward error (L2 norm of diff between actual and computed solution), and relative speed of the four versions of the solver for varying matrix sizes n from 1 to 80: