Back to Gaussian elimination revisited

Exercise 1

Avg difficulty 2.5

In this section, we saw that errors made in computer arithmetic can produce approximate solutions that are far from the exact solutions. Here is another example in which this can happen. Consider the matrix A=[1111.0001].A = \left[\begin{array}{cc} 1 & 1 \\ 1 & 1.0001 \\ \end{array}\right]\text{.}

  1. Find the exact solution to the equation Ax=[22]A\xvec = \twovec{2}{2}.

  2. Suppose that this linear system arises in the midst of a larger computation except that, due to some error in the computation of the right hand side of the equation, our computer thinks we want to solve Ax=[22.0001]A\xvec = \ctwovec{2}{2.0001}. Find the solution to this equation and compare it to the solution of the equation in the previous part of this exercise.

Notice how a small change in the right hand side of the equation leads to a large change in the solution. In this case, we say that the matrix AA is ill-conditioned because the solutions are extremely sensitive to small changes in the right hand side of the equation. Though we will not do so here, it is possible to create a measure of the matrix that tells us when a matrix is ill-conditioned. Regrettably, there is not much we can do to remedy this problem.

Austin, Understanding Linear Algebra, §5.1 Gaussian elimination revisited, Exercise 1

AI Tutor

Adapted from Understanding Linear Algebra © 2023 David Austin. Licensed under CC BY 4.0. Source: Understanding Linear Algebra. Imported at revision 3e6dced.