CS223 · Chapter 6 · Annotated SlidesLeast-Squares Problems
Original
Overview

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.

All 8 slides
  1. 1 Slide 1
  2. 2 Slide 2
  3. 3 Slide 3
  4. 4 Slide 4
  5. 5 Slide 5
  6. 6 Slide 6
  7. 7 Slide 7
  8. 8 Slide 8
Slide 1 / 8

Slide 1

Slide 1: Slide 1
Slide 2 / 8

Slide 2

Slide 2: Slide 2

Notes

  1. 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.

  2. Tip Least-squares error = ‖b − Ax̂‖.

Exam angle

Past exam · Final (231)

Related question: this topic is examined

Past exam · Final (232)

Related question: this topic is examined

PredictionQ1

The least-squares solutions of Ax = b are the solutions of:

Slide 3 / 8

Slide 3

Slide 3: Slide 3
Slide 4 / 8

Slide 4

Slide 4: Slide 4
Slide 5 / 8

Slide 5

Slide 5: Slide 5
Slide 6 / 8

Slide 6

Slide 6: Slide 6

Notes

  1. With A = QR: Rx̂ = Qᵀb (more stable numerically).

Slide 7 / 8

Slide 7

Slide 7: Slide 7
Slide 8 / 8

Slide 8

Slide 8: Slide 8