Accumulated QR factorization identity Created 2026-09-24 Updated 2026-09-24
Let
Then
Thus is a QR decomposition of the matrix power . In particular, the first columns of span the same subspace as the first columns of whenever those columns are independent.
For a full-column-rank matrix , extend the thin QR decomposition to an orthogonal matrix . Then
so maps the column space of onto the first coordinate directions. Successive Householder transformations construct the same reduction without first forming a full orthogonal basis.
Each plane rotation satisfies . Hence is an orthogonal matrix and is an upper triangular matrix. Multiplication by gives the QR decomposition
The zero-pair cases already handled make this construction valid for every real matrix, including rank-deficient matrices. Orthogonality follows from the product identity, not from any invertibility assumption on .
For a full-column-rank matrix, a thin QR decomposition has , where and is nonsingular upper triangular. Extend to an orthogonal matrix . Orthogonality gives
Thus the unique least-squares solution satisfies , with residual norm . In a rank-deficient problem is singular and uniqueness needs separate treatment.
A Givens rotation is the identity except for the rows/columns , whose block is with . Its transpose times itself has that block equal to the identity, so it is orthogonal. Choose in rows two and three. Then
Back substitution in the first three rows gives
The fourth row of the rotated residual is the unavoidable value , while the other three rows vanish. Thus this rotation also directly exhibits the least-squares optimality.
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 linear least-squares problem is to minimize over , allowing an overdetermined system to have a nonzero residual. For a full QR decomposition, is orthogonal and is with an upper-triangular top block. Orthogonal transformations preserve the Euclidean norm, so
If has full column rank, the top triangular block is nonsingular; setting its residual to zero gives the unique minimizer, while the remaining residual is independent of . Without full column rank, minimizers still exist but need not be unique.
For the specified matrix, one Householder reflection already produces an upper-triangular matrix. Take , the difference between the first column and , and set
The formula gives , . Direct multiplication yields the Householder QR decomposition
All subdiagonal entries in the remaining columns are already zero, so no further reflection is needed. For the supplied right-hand side, . Back substitution gives , , , hence
The residual is orthogonal to every column of , independently confirming the normal equations .
Let . Since the two columns are linearly independent, the leading block in
is invertible. Hence . The hypothesis that is an invariant subspace of implies that this coordinate plane is invariant under . Consequently the first two columns of have no entries below row two, and
where is the top-left block and is the bottom-right block. Eigenvalue deflation by an invariant subspace now gives
so
again counting algebraic multiplicities.
For the required orthogonal reduction, take a thin QR decomposition , extend the two orthonormal columns of to an orthogonal matrix , and set . Then
Equivalently, apply one Householder transformation to annihilate entries of , followed by a second Householder transformation acting only on coordinates to annihilate entries of the transformed .
The linear least-squares problem is to choose minimizing the Euclidean norm of the residual:
For a QR decomposition , orthogonality of gives . If has full column rank and is in standard form with invertible upper-triangular , the minimizer solves .
Applying the Gram-Schmidt process to the columns of the given matrix yields
Indeed, is an orthogonal matrix and . Moreover,
Back substitution in the leading triangular system gives
so the unique least-squares solution is
The unused final transformed residual component is , so the minimum residual norm is .
Each QR decomposition gives
Induction therefore yields the first Accumulated QR factorization identity:
We next prove the corresponding factorization of a matrix power. The case is just . If
then the similarity formula above implies
Consequently,
The product is orthogonal, and the product is upper triangular. Hence
is a QR decomposition.
Let the columns of be . The Gram-Schmidt process gives
Next,
so
For the final column,
and
Thus and . The reduced QR decomposition is
The columns of are orthonormal, and direct multiplication gives .