A Givens rotation is the identity outside rows and columns , with the block
The block's transpose times itself is the identity, so the whole matrix satisfies and is an orthogonal matrix. In particular it preserves the Euclidean norm. To annihilate the lower entry of a column pair , take , , ; the rotated pair is . If both entries are zero, take the identity rotation.
A QR decomposition of an matrix, , is , where is an orthogonal matrix and is and upper trapezoidal: for . In particular its bottom rows vanish.
Successive left Givens rotations annihilate the entries below the diagonal, column by column. When working on column , rotate rows and ; their earlier columns are already zero, so the earlier eliminations persist. If , then
A product of orthogonal matrices is orthogonal. The construction remains valid for a rank-deficient matrix, although uniqueness is not asserted. This is QR decomposition by Givens rotations.
First rotate rows with , . The second column pair becomes and the corresponding third column pair becomes . Next rotate rows with , , sending the third column pair to . Thus and . One exact QR decomposition is
The construction proves , and direct multiplication checks .
The orthogonal matrix preserves the Euclidean norm, so
The first three entries of can be set to zero by backward substitution in a triangular system, while its fourth entry is always . Solving the triangular system gives , , and . Thus the unique least-squares solution and residual norm are
Uniqueness follows from the nonzero diagonal entries of the top triangular block, equivalently the full column rank of .

Articles by others on the same topic (0)

There are currently no matching articles.