Download presentation
Presentation is loading. Please wait.
1
Least Squares Approximations
Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
2
Least Squares Approximations
Suppose you have an inconsistent linear system (i.e. there are no solutions). How do you find a vector that comes close to solving the system? We will use a method called βLeast-Squaresβ Approximation. We have the following system: π΄ π₯ = π Unfortunately there are no exact solutions. We will look for a solution of the related system: π΄ π₯ = π In this equation, is the orthogonal projection of onto the column space of A. In other words, is the vector that A maps to that is βclosestβ to . π π π π Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
3
Least Squares Approximations
π΄ π₯ = π We start with this system, which is inconsistent. π΄ π₯ = π Instead, we will look for a solution of this related system. A least-squares solution will satisfy the equation π΄ π π΄ π₯ = π΄ π π An example is on the next slide. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
4
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
5
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 A least-squares solution will satisfy the equation π΄ π π΄ π₯ = π΄ π π Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
6
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 A least-squares solution will satisfy the equation π΄ π π΄ π₯ = π΄ π π π΄ π π = 1 β β 3 β1 5 = 9 12 Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
7
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 A least-squares solution will satisfy the equation π΄ π π΄ π₯ = π΄ π π π΄ π π = 1 β β 3 β1 5 = 9 12 This is our least-squares solution π₯ = β π₯ = Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
8
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 A least-squares solution will satisfy the equation π΄ π π΄ π₯ = π΄ π π This matrix came out diagonal because the columns of the original matrix were orthogonal This is our least-squares solution π₯ = β π₯ = Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
9
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 π₯ = This is our least-squares solution We can find the βerrorβ by comparing this with the original system. Least-Squares Error = π βπ΄ π₯ π βπ΄ π₯ =πππππ Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
10
Least Squares Approximations
Here is an example: We have the following system: 1 2 β π₯ = 3 β1 5 π₯ = This is our least-squares solution We can find the βerrorβ by comparing this with the original system. Least-Squares Error = π βπ΄ π₯ π βπ΄ π₯ =πππππ π βπ΄ π₯ = 3 β1 5 β 4 β1 4 = β1 0 1 π βπ΄ π₯ = 2 The error in any approximation to the original system will be at least this large. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.