Linear Algebra and Its Applications · Problem 7.2.17
Computations with Matrices — Gilbert Strang
Mathematics · condition-number-residual
Problem
(Suggested by Moler and Van Loan) Compute b−Ay and b−Az when
b=[.217.254]A=[.780.913.563.659]y=[.341−.087]z=[.999−1.0].
Is y closer than z to solving Ax=b? Answer in two ways: Compare the residual b−Ay to b−Az. Then compare y and z to the true x=(1,−1). Sometimes we want a small residual, sometimes a small δx.