Linear Algebra and Its Applications · Problem 3.3.3

Orthogonality — Gilbert Strang

Mathematics · least-squares-projection

Problem

Solve Ax=bAx = b by least squares, and find p=Ax^p = A\hat{x} if A=[100111],b=[110].A = \begin{bmatrix} 1 & 0 \\ 0 & 1 \\ 1 & 1 \end{bmatrix}, \quad b = \begin{bmatrix} 1 \\ 1 \\ 0 \end{bmatrix}. Verify that the error b−pb - p is perpendicular to the columns of AA.

Related theory

Browse the problem library