Questions: Least Squares Approximation and Normal Equations

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

You have 100 data points and want to fit a line y = mx + c. Setting up the equation for each point gives a 100×2 system Ax = b. Why can't you solve this system exactly?

AThe system is underdetermined — with only 2 unknowns and 100 equations, there are infinitely many solutions
BThe system is overdetermined — with 100 equations and 2 unknowns, no single line can pass through all 100 points exactly (unless they are perfectly collinear)
CThe system cannot be solved because A is not a square matrix
DThe system can always be solved exactly; least squares is just an optimization technique for speed
Question 2 Multiple Choice

What is the geometric interpretation of the least squares solution x̂ to an inconsistent system Ax = b?

Ax̂ minimizes the number of equations that are violated
Bx̂ is the vector such that Ax̂ is the orthogonal projection of b onto the column space of A
Cx̂ is the midpoint between the closest two exact solutions
Dx̂ minimizes the maximum error across all equations
Question 3 True / False

In the least squares solution to Ax = b, the residual vector b − Ax̂ is orthogonal to every column of A.

TTrue
FFalse
Question 4 True / False

Computing the normal equations by forming A^TA directly is generally numerically preferable to using QR decomposition because it reduces the size of the matrix.

TTrue
FFalse
Question 5 Short Answer

Why do the normal equations A^TAx̂ = A^Tb always have at least one solution, even when the original system Ax = b has none?

Think about your answer, then reveal below.