# Thread: Least squares

1. ## Least squares

Prove $|Ax-y|$ is least when $y-Ax$ is orthogonal to $\sigma=$ span(columns of A)

2. anyone?