How To Find Least Squares Solution. ( 1 − 1 − 1 2 − 1 0) ( x y) = ( 3 4 5) so assuming this goes by a x → = b →. ( 3 − 3 − 3 5) x → = ( − 6 5) which i solve to get.

Here is a short unofficial way to reach this equation: ~x is a least squares solution The vector ^b = proj cs(a)(~b) lies in cs(a) and is nearest/closest to ~b, so any solution ^x to a~x = ^b is a least squares solution.