What is the solution of the least squares problem
\MIN{\gamma}{\normof{\bmat{1 \\ 1 \\ \vdots \\ 1} \gamma - \vb}}
From the normal equations we have , and , so or the mean of .