PlanetMath (more info)
 Math for the people, by the people.
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: No information on entry rating
linear least squares (Definition)

Let $ A$ be an $ m \times n$ matrix with $ m \ge n$ and $ b$ an $ m \times 1$ matrix. We want to consider the problem

$\displaystyle Ax \approx b $

where $ \approx$ stands for the best approximate solution in the least squares sense, i.e. we want to minimize the Euclidean norm of the residual $ r = Ax - b$

$\displaystyle \vert\vert Ax-b\vert\vert _2 = \vert\vert r\vert\vert _2 = \left[\sum_{i=1}^m r_i^2 \right]^{1/2} $

We want to find the vector $ x$ which is closest to $ b$ in the column space of $ A$.

Among the different methods to solve this problem, we mention Normal Equations, sometimes ill-conditioned, QR Decomposition, and, most generally, Singular Value Decomposition. For further reading, [Golub89], [Branham90], [Wong92], [Press95].

Example: Let us consider the problem of finding the closest point (vertex) to measurements on straight lines (e.g. trajectories emanating from a particle collision). This problem can be described by $ Ax = b$ with

$\displaystyle A = \begin{bmatrix}a_{11} & a_{12} \\ \vdots & \vdots \\ a_{m1} &... ...ix}u \\ v \end{bmatrix} ;b = \begin{bmatrix}b_1 \\ \vdots \\ b_m \end{bmatrix} $

This is clearly an inconsistent system of linear equations, with more equations than unknowns, a frequently occurring problem in experimental data analysis. The system is, however, not very inconsistent and there is a point that lies “nearly” on all straight lines. The solution can be found with the linear least squares method, e.g. by QR decomposition for solving $ Ax = b$:

$\displaystyle QRx = b \rightarrow x = R^{-1}Q^Tb $

References

Wong92
S.S.M. Wong, Computational Methods in Physics and Engineering, Prentice Hall, 1992.
Golub89
Gene H. Golub and Charles F. van Loan: Matrix Computations, 2nd edn., The John Hopkins University Press, 1989.
Branham90
R.L. Branham, Scientific Data Analysis, An Introduction to Overdetermined Systems, Springer, Berlin, Heidelberg, 1990.
Press95
W.H. Press, S.A. Teukolsky, W.T. Vetterling, and B.P. Flannery, Numerical Recipes in C, Second edition, Cambridge University Press, 1995. (The same book exists for the Fortran language). There is also an Internet version which you can work from.



"linear least squares" is owned by akrowne.
(view preamble)

View style:

See Also: least squares


Attachments:
example of linear least squares (Example) by bloftin
Log in to rate this entry.
(view current ratings)

Cross-references: equations, system of linear equations, inconsistent, trajectories, lines, straight, vertex, point, singular value decomposition, QR decomposition, ill-conditioned, normal equations, column, vector, residual, Euclidean norm, least squares, solution, matrix
There are 4 references to this entry.

This is version 1 of linear least squares, born on 2002-01-03.
Object id is 1197, canonical name is LinearLeastSquares.
Accessed 7041 times total.

Classification:
AMS MSC15-00 (Linear and multilinear algebra; matrix theory :: General reference works )

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add derivation | add example | add (any)