Related question: this topic is examined
Least-Squares Problems
Least-squares solutions of inconsistent systems, the normal equations AᵀAx̂ = Aᵀb, uniqueness when the columns are independent, the least-squares error, and solving with QR.
How to read this page
Every original slide is shown unchanged. Yellow marks on a slide point to a numbered note: hover or tap a mark to jump to its note, and hover a note to see its marks. Questions tagged Past exam appeared on a real paper; Prediction questions are likely angles, not confirmed. Pick an answer to each question: a wrong pick tells you why it is wrong, so you can try again.
Slide 2
Notes
Least-squares solution x̂ minimizes ‖b − Ax‖. Solve the normal equations AᵀAx̂ = Aᵀb. Unique ⇔ A’s columns are independent ⇔ AᵀA invertible: x̂ = (AᵀA)⁻¹Aᵀb.
Tip Least-squares error = ‖b − Ax̂‖.
Exam angle
Related question: this topic is examined
Related question: this topic is examined
The least-squares solutions of Ax = b are the solutions of:
Slide 6
Notes
With A = QR: Rx̂ = Qᵀb (more stable numerically).