QR decomposition


1 QR Decomposition

Orthogonal matrixMathworldPlanetmath triangularization (QR decompositionMathworldPlanetmath) reduces a real m×n matrix A with m≥n and full rank to a much simpler form. It guarantees numerical stability by minimizing errors caused by machine roundoffs. A suitably chosen orthogonal matrix Q will triangularize the given matrix:

A=Q⁢[R0]

with the n×n right triangular matrix R. One only has then to solve the triangular system R⁢x=P⁢b, where P consists of the first n rows of Q.

The least squares problem A⁢x≈b is easy to solve with A=Q⁢R and Q an orthogonal matrix (here and henceforth R is the entire m×n augmented matrix from above). The solution

x=(AT⁢A)-1⁢AT⁢b

becomes

x=(RT⁢QT⁢Q⁢R)-1⁢RT⁢QT⁢b=(RT⁢R)-1⁢RT⁢QT⁢b=R-1⁢QT⁢b

This is a matrix-vector multiplication QT⁢b, followed by the solution of the triangular system R⁢x=QT⁢b by back-substitution. The QR factorization saves us the formation of AT⁢A and the solution of the normal equationsMathworldPlanetmath.

Many different methods exist for the QR decomposition, e.g. the Householder transformation, the Givens rotation, or the Gram-Schmidt decomposition.

References

  • 1 The Data Analysis Briefbook. http://rkb.home.cern.ch/rkb/titleA.htmlhttp://rkb.home.cern.ch/rkb/titleA.html
Title QR decomposition
Canonical name QRDecomposition
Date of creation 2013-03-22 12:06:04
Last modified on 2013-03-22 12:06:04
Owner akrowne (2)
Last modified by akrowne (2)
Numerical id 8
Author akrowne (2)
Entry type Definition
Classification msc 65F25
Classification msc 15A23
Synonym QR factorization
Synonym QR-decomposition
Synonym QR-factorization
Related topic LUDecomposition
Related topic GramSchmidtOrthogonalization