Describe the difference between under-determined and over-determined linear systems and how each is solved

Quick Overview

Asks how over-determined and under-determined linear systems differ and how each one is solved. Tests least squares and the normal equations, minimum-norm solutions, regularization, the role of rank, and the pseudoinverse that covers both cases.

Describe the difference between under-determined and over-determined linear systems and how each is solved

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

Describe the difference between under-determined and over-determined linear systems $Ax = b$, and how solutions are approached for each. ```hint Shape and rank Write $A$ as $m \times n$. Compare $m$ with $n$, then ask what the rank of $A$ and the position of $b$ relative to the column space say about how many exact solutions exist. ``` ```hint When there is no single answer If there is no exact solution, or there are infinitely many, you have to define what "best" means. Think about which quantity you would minimize in each case. ``` ### What a Strong Answer Covers - Defines both cases by the shape of $A$ and says what that usually implies about the number of solutions. - Gives the standard solution approach for the over-determined case, with its formula and the condition it needs. - Gives a principled way to pick one solution in the under-determined case, with its formula and condition. - Connects both through the pseudoinverse or the SVD, and mentions numerical stability. - Notes that rank, not only shape, decides the behavior. ### Follow-up Questions - Why is solving the normal equations less stable than QR, and when does the difference matter? - What happens to least squares when a tall $A$ has linearly dependent columns, and how do you fix it? - How does the ridge solution behave as the penalty $\lambda$ goes to zero in an under-determined system? - In a linear regression with more features than observations, which solution does gradient descent started at zero converge to?

Overview: Asks how over-determined and under-determined linear systems differ and how each one is solved. Tests least squares and the normal equations, minimum-norm solutions, regularization, the role of rank, and the pseudoinverse that covers both cases.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

Describe the difference between under-determined and over-determined linear systems Ax=bAx = b, and how solutions are approached for each.

What a Strong Answer Covers Guidance

  • Defines both cases by the shape of AA and says what that usually implies about the number of solutions.
  • Gives the standard solution approach for the over-determined case, with its formula and the condition it needs.
  • Gives a principled way to pick one solution in the under-determined case, with its formula and condition.
  • Connects both through the pseudoinverse or the SVD, and mentions numerical stability.
  • Notes that rank, not only shape, decides the behavior.

Follow-up Questions Guidance

  • Why is solving the normal equations less stable than QR, and when does the difference matter?
  • What happens to least squares when a tall AA has linearly dependent columns, and how do you fix it?
  • How does the ridge solution behave as the penalty λ\lambda goes to zero in an under-determined system?
  • In a linear regression with more features than observations, which solution does gradient descent started at zero converge to?