I really don't know how to start/solve the following problem, any help is appreciated
Here is the question:
It consists of a and b, I already solved a
a) Let $A∈ℝ^{m*n}$ and $b∈ℝ^{m}$ with $rank(A)=n$. Suppose x is the solution for the least squares problem given by $A$ and $b$.
Show that: $||Ax-b||^2=b^T(I_m-A(A^TA)^{-1})b$
I proved this is the case so now it can be used as a given
b)By using least squares method, find the best circle of the form $x^2+y^2=r^2$ representing the pairs $(x_i,y_i)$ for $i=1,2,...,n$