Linear Algebra and Its Applications · Problem 3.3.4
Orthogonality — Gilbert Strang
Mathematics · normal-equations-calculus
Problem
Write out E2=∥Ax−b∥2 and set to zero its derivatives with respect to u and v, if
A=101011,x=[uv],b=134.
Compare the resulting equations with ATAx^=ATb, confirming that calculus as well as geometry gives the normal equations. Find the solution x^ and the projection p=Ax^. Why is p=b?