How does minimizing the norm ||b - Ax*|| relate to minimizing the sum of squared residuals?
Conditions
- Standard Euclidean norm is used
Reasoning, step by step
- Start with the objective to minimize the length (norm) of the residual vector .
- Square the norm to simplify the optimization (since is monotonic, minimizing the norm is equivalent to minimizing the squared norm).
- Expand the squared norm using the definition of the Euclidean norm.
- Write the expansion as .
- Identify this sum of squared component errors as the 'least squares' objective.
Example
The board shows the progression from 'minimize ||b - Ax*||' to the vector and finally to the scalar expression .
Common misconceptions
- Thinking that squaring the norm changes the location of the minimum.
- Confusing the residual vector with the error in the coefficients x.
Watch the explanation
Connected concepts
Explore next
Related questions
The least-squares fit is identified with the orthogonal projection of onto because the goal of least squares is to find the vector in the subspace that is closest to . A fundamental geometric property of subspaces states that the unique closest point in a subspace to an external vector is its orthogonal projection.
Conditions: is a subspace of ; ; Distance is measured by the Euclidean norm
The solution to the normal equations is considered the least-squares solution because it satisfies the necessary and sufficient condition for minimizing the residual norm . The derivation shows that minimizing this norm is equivalent to requiring the residual to be orthogonal to the column space .
Conditions: The original system may be inconsistent; has a solution
Every product is a member of the column space because matrix-vector multiplication is defined as a linear combination of the columns of . Specifically, if and , then .
Conditions: is an matrix; ; is the span of the columns of
The equation has no solution because solving it is equivalent to finding weights such that . The column space is defined as the set of all possible linear combinations of the columns of .
Conditions: is an matrix; and ; denotes the column space of
When has no exact solution, the least-squares solution is defined as the vector that minimizes the Euclidean norm of the residual, . Geometrically, this means choosing such that is the closest possible vector to within the column space .
Conditions: The system is inconsistent (no exact solution exists); Distance is measured by the standard Euclidean norm
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.