normal equations 1 Deriving the Least Squares Solution: From Simple Regression to the Normal Equations Jul 29, 2026