For the underdetermined system with and , how do you find the solution with the smallest norm, and why is the answer ?
Linear algebra and optimisation, Systems of linear equations
Level L3 Intermediate. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can solve a constrained least-norm problem with Lagrange multipliers (or the null-space argument) and compute it for a small matrix.
Key idea
Among all solutions of , the one with minimum norm lies in the row space of , so , and then gives , the pseudoinverse solution .
Steps
- Here is with rank 2, so has infinitely many solutions (a line, since the null space has dimension ). We want subject to .
- Form the Lagrangian , where is the vector of multipliers. Setting gives .
- Substitute into the constraint: , so and . is invertible because has full row rank.
- Compute: with inverse . Then , and .
- Check: . The norm squared is . Another solution, , has norm squared 8, which is larger.
- Null-space check: the null space is spanned by , and every solution is with , since . So is the minimum. This is the solution gradient descent finds from , and the ridge solution as .
Common mistakes
- Using . Here is with rank 2, so it is singular. That formula is for tall full-column-rank .
- Picking any solution, for example by setting a free variable to 0. That gives a solution, not the minimum-norm one.
- Forgetting that needs to have full row rank. If rank is lower, use the SVD pseudoinverse.
How long your answer should be
Half a page; 4–5 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: Applying power iteration to starting from for three steps, what is the estimate of the dominant eigenvalue from the Rayleigh quotient, and how fast does the method converge?
Next in Linear algebra and optimisation: If is known, how do you derive the Sherman–Morrison formula for ? How do you verify it for and , and why does it matter for online ridge regression?