The solution that is not adding up is in the link below. Specifically, the answer provided by Chad. I really enjoyed his answer but couldn't comment (not enough reputation) on one aspect that was unclear.
Difference between orthogonal projection and least squares solution
So here is my understanding of his answer:
- In Chad's scenario, we had a no solution or an inconsistent system as b is not in the Column space of A. Therefore, we are solving for Ax = p instead.
- You use the projection formula to find p.
- The p vector is in the column space of A ?
- I can now solve the system via R-REF and get a solution set. This is where the problem is. For X1, I get a Column Vector of 1/2 and 0 not 1 and 0. Is there a possibility he made a mistake? I double checked using this site: https://matrix.reshish.com/gaussSolution.php
Greetings