Linear-Algebra-Done-Right Β· Unit 17 Β· Video 3 Β· Interactive Practice
| Formula | Name | When equality holds |
|---|---|---|
| for every | Best fit | |
| for every | Smallest norm | |
| Pythagoras in | Always: first piece , second | |
| The example | Always, for |
Key Insight: solves , not β the two agree only when . Among all solutions of the projected equation it is the one in , hence the shortest.
For on , no point of is closer to than .
For the same and , the best fits fill the line , and only is shortest.
Adding any to leaves unchanged and adds exactly to .
π‘ Challenge: with , find the and that give , then check that .
Problem 1 Β· Apply the Formula
Given: , , and β find .
The formula with , gives
Check. , the projection of onto . Orthogonality: and .
Options (a) and (b) also map to , so they are best fits too, but their norms are and , both larger than .
Problem 2 Β· A Best Fit That Is Not
Given: the same , with , and β which statement is true?
, which equals . So , the minimum, and is a best fit.
The difference lies in , while . By Pythagoras,
so . It is a best fit, but not the one of smallest norm.
Problem 3 Β· Fit Error and Norm
Given: the same and β find , the smallest possible value of , and .
What is ?
What are and ?
Step 1. With , :
Step 2. , so and the smallest possible value of is .
Step 3. , so .
Options (a) and (c) in the first group are with and ; their squared norms are and .
Problem 4 Β· The Surjective Case
Given: is surjective and β which statement is true?
Since is surjective, and . Hence : the best fit is an exact solution.
By the dimension formula, , so is not injective and has infinitely many solutions, namely . They are exactly the best fits (each has ), and by the second part of the theorem is the unique one of smallest norm.
would require to be invertible, which is impossible from to .
Solved: 0 / 4