Analytical solution of least square problem

4.4k Views Asked by At

could anyone explain:

a) $||{Ax-b}||^2$ (there is also a lowered 2): what does this two 2's mean?

b) why is the solution: $x =(A^TA)^{-1} A^Tb$ is?

Thank you very much:)