5 questions to test your understanding
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?
Why is QR decomposition preferred over normal equations for numerically solving least squares problems?
The normal equations usually give an accurate least squares solution as long as A has full column rank.
SVD provides the minimum-norm least squares solution when A is rank-deficient (has linearly dependent columns).
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.