12.07.2015 Views

Linear Algebra

Linear Algebra

Linear Algebra

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

66 Chapter One. <strong>Linear</strong> Systemscomputer will report something that is not even close — this computer thinksthat the system is singular because the two equations are represented internallyas equal.For some intuition about how the computer could come up with somethingthat far off, we graph the system.(1, 1)At the scale that we have drawn this graph we cannot tell the two lines apart.This system is nearly singular in the sense that the two lines are nearly thesame line. Near-singularity gives this system the property that a small changein the system can cause a large change in its solution; for instance, changing the3.000 000 01 to 3.000 000 03 changes the intersection point from (1, 1) to (3, 0).This system changes radically depending on a ninth digit, which explains why aneight-place computer has trouble. A problem that is very sensitive to inaccuracyor uncertainties in the input values is ill-conditioned.The above example gives one way in which a system can be difficult to solveon a computer and it has the advantage that the picture of nearly-equal linesgives a memorable insight into one way that numerical difficulties can arise.Unfortunately this insight isn’t useful when we wish to solve some large system.We cannot, typically, hope to understand the geometry of an arbitrary largesystem. In addition, there are ways that a computer’s results may be unreliableother than that the angle between some of the linear surfaces is small.For an example, consider the system below, from [Hamming].0.001x + y = 1x − y = 0(∗)The second equation gives x = y, so x = y = 1/1.001 and thus both variableshave values that are just less than 1. A computer using two digits representsthe system internally in this way (we will do this example in two-digit floatingpoint arithmetic, but inventing a similar one with eight digits is easy).(1.0 × 10 −2 )x + (1.0 × 10 0 )y = 1.0 × 10 0(1.0 × 10 0 )x − (1.0 × 10 0 )y = 0.0 × 10 0The computer’s row reduction step −1000ρ 1 + ρ 2 produces a second equation−1001y = −999, which the computer rounds to two places as (−1.0 × 10 3 )y =−1.0 × 10 3 . Then the computer decides from the second equation that y = 1and from the first equation that x = 0. This y value is fairly good, but the xis very bad. Thus, another cause of unreliable output is a mixture of floatingpoint arithmetic and a reliance on using leading entries that are small.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!