6.5 Least-Squares Problems
Pivot in right most column → inconsistent
no solution to \( A\vec{x} = \vec{b} \)
\( \vec{b} \) is not in \( \text{Col } A \)
so \( A\hat{x} = \hat{b} \) is consistent
and \( \| \vec{b} - A\hat{x} \| \leq \| \vec{b} - A\vec{x} \| \)
- \( \vec{x} \): some other \( \vec{x} \)
- \( A\vec{x} \): some vector in \( \text{Col } A \)
\( \hat{b} = \text{proj}_{\text{Col } A} \vec{b} = A\hat{x} \)
\( A\hat{x} \) is some vector
\( \hat{x} \): Least-squares solution
(magnitude is square root of sum of squares and minimized)