Homepage › Solution manuals › Gilbert Strang › Introduction to Linear Algebra › Exercise 4.3.1
A = [ 1 0 1 1 1 3 1 4 ] and b = [ 0 8 8 20 ] give A T A = [ 4 8 8 26 ] and A T b = [ 36 112 ] .
A T A x ^ = A T b gives x ^ = [ 1 4 ] and p = A x ^ = [ 1 5 13 17 ] and e = b − p = [ − 1 3 − 5 ]