CS223 · Annotated SlidesChapter 6 — Least-Squares Problems
Chapter 6 · Annotated slides

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.

Slide text Study notes Highlight: key words Tips, tricks & traps Seen again elsewhere How it can come up
Slide 1: Slide 1
Exam weight Low
    Slide 2: Slide 2
    Exam weight High
    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.
    TipLeast-squares error = ‖b − Ax̂‖.
    🎯 How this can come up · 1 question
    MCQ

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

    Slide 3: Slide 3
    Exam weight Low
      Slide 4: Slide 4
      Exam weight Low
        Slide 5: Slide 5
        Exam weight Low
          Slide 6: Slide 6
          Exam weight Low
          1. With A = QR: Rx̂ = Qᵀb (more stable numerically).
          Slide 7: Slide 7
          Exam weight Low
            Slide 8: Slide 8
            Exam weight Low