Linear Algebra and Its Applications · Problem 7.2.26
Computations with Matrices — Gilbert Strang
Mathematics · lu-factorization-roundoff
Problem
Find the LU factorization of A=[ε111]. On your computer, solve by elimination when ε=10−3,10−6,10−9,10−12,10−15:
[ε111][x1x2]=[1+ε2].
The true x is (1,1). Make a table to show the error for each ε. Exchange the two equations and solve again---the errors should almost disappear.