Questions: Numerical Least Squares

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

A numerical analyst uses the normal equations A^T A x = A^T b to solve a least squares problem. She checks and finds that A has condition number κ(A) = 10^6. What condition number should she expect for A^T A?

A10^6 — the condition number does not change when forming A^T A
B10^3 — the square root, because the matrix is now symmetric
C10^12 — the condition number squares
DIt depends on the specific values in A
Question 2 Multiple Choice

Why is QR decomposition preferred over normal equations for numerically solving least squares problems?

AQR is always faster, making it preferred for large problems
BQR avoids forming A^T A, so the condition number is not squared; orthogonal transformations preserve lengths and the problem reduces to a triangular solve
CQR finds the exact solution to Ax = b, while normal equations only approximate it
DQR is preferred only when A is square; for overdetermined systems, normal equations are still best
Question 3 True / False

The normal equations usually give an accurate least squares solution as long as A has full column rank.

TTrue
FFalse
Question 4 True / False

SVD provides the minimum-norm least squares solution when A is rank-deficient (has linearly dependent columns).

TTrue
FFalse
Question 5 Short Answer

Explain why the condition number of A^T A matters for the accuracy of the least squares solution, and describe a numerically stable alternative to using the normal equations.

Think about your answer, then reveal below.