# Quiz 4


What is the solution of the least squares problem

### Solution

From the normal equations we have $\mA^T \mA = n$, and $\mA^T \vb = \sum_i b_i$, so $\gamma = \frac{1}{n} \sum_i b_i$ or the mean of $\vb$.