Why does the equation Ax=b have no solution when b is not in the column space ?
Conditions
- is an matrix
- and
- denotes the column space of
Reasoning, step by step
- Rewrite the matrix equation as a linear combination of the columns of : .
- Identify that the left-hand side represents an arbitrary vector in the column space .
- Observe the geometric condition that is not in .
- Conclude that since cannot be formed by any linear combination of the columns, there are no weights that satisfy the equation.
Example
The video draws a purple plane representing and a cyan vector pointing outside that plane, visually demonstrating that cannot be reached by any combination of the columns.
Common misconceptions
- Thinking that row reduction contradictions like mean the problem is unsolvable in any sense, ignoring the possibility of approximation.
- Confusing the column space with the row space or null space.
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
Minimizing the Euclidean norm is equivalent to minimizing its square, . The squared norm expands algebraically into the sum of the squared differences of corresponding components: , where .
Conditions: ; Standard Euclidean norm is used;
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.