1.7.4. Method.

The method is Gaussian elimination. If the problem is ill-conditioned, then there are two relatively easy things one can do to reduce the error. Either, one can increase the precision of the floating point numbers, and this is easy to do in Maple. Or, one can avoid division by small numbers, and this is known as row pivoting in the forward sweep of the Gaussian elimination algorithm. The following remarkable example demonstrates both these methods.

Example. We will consider three different versions of the Gaussian elimination algorithm applied to the following system

Use real numbers:

Use floating point numbers with 3 digits:

Return to Section TOC
Return to the Previous Subsection
Go to Next Subsection