Householder transformation Created 2026-10-03 Updated 2026-10-31
A Householder transformation is a reflection that leaves every direction in a chosen hyperplane fixed and reverses its normal direction. For a real unit vector , its matrix is
To understand the formula, decompose any vector into its orthogonal projection onto the normal and a perpendicular component:
Then . Subtracting twice the normal component changes its sign while retaining everything parallel to the mirror. A nonzero normal gives the equivalent formula , so normalization can be deferred.
For example, take . Its mirror is the straight line , and
The midpoint of these two vectors is , which lies on the mirror; their connecting segment is parallel to its normal. Both vectors have Euclidean norm five.
Figure 1.
A Householder reflection reverses the normal component and preserves the mirror component
. The mirror is . The vector becomes ; their midpoint is the orthogonal projection onto the mirror. Details.
Several useful properties follow from this decomposition. The Householder reflection is a symmetric matrix and an orthogonal matrix:
Reflecting twice restores the original vector; Euclidean norms and inner products are preserved. The eigenvalue is along and on , so . A reflection reverses orientation even though it preserves lengths.
The computational payoff is that the mirror can be chosen to send a whole vector onto one coordinate axis, eliminating several entries at once. Householder QR decomposition repeats this operation on the remaining parts of successive columns. For a real symmetric matrix, applying the same Householder reflection on both sides gives a matrix similarity that preserves symmetry and eigenvalues; this is the basis of Householder tridiagonalization.
Alston S. Householder's 1958 paper Unitary Triangularization of a Nonsymmetric Matrix develops this elimination method. Its motivation includes reducing the arithmetic needed for triangularization while retaining the conditioning advantages of orthogonal transformations. [ref] Over the complex numbers, for a unit is Hermitian and unitary, with the star denoting the conjugate transpose; the coordinate-axis construction below is stated for real vectors.
The first column already has zeros below the top entry. In the last three rows of the second column, reflect to using . Since , the Householder reflection is
With , direct multiplication gives
The transformed least-squares objective is . Its first two squares can both vanish, so the unique answer is
Uniqueness follows because the triangular leading block is invertible; this calculation implements Householder QR decomposition without squaring the condition number through normal equations.
For a nonzero real vector , the Householder transformation is
Writing gives , , so and . Thus is orthogonal. It reverses the component along and fixes its orthogonal complement.
For Householder QR decomposition, successively choose a reflector on each trailing row block to send its current column to a multiple of the first coordinate vector. Each step annihilates the subdiagonal entries without disturbing earlier columns. The reflector product gives an upper-trapezoidal and its transpose gives an orthogonal with .
Here the first column has norm four. Taking gives and
The second column already has no unwanted entries. On the last two rows, reflect using :
This maps to . Therefore a full QR factorization is
Both displayed factors arise from the explicit reflectors; in particular and .
The first three diagonal entries of are nonzero, so the column rank is three and a consistent system has a unique solution. Consistency requires the last component of to vanish. For the given right side this component is
Hence
For this value the transformed right side is . Back substitution also gives . This illustrates the Householder reduction of an overdetermined consistent system.
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 .
Apply part (b) to the first column of , using the identity if it is already the zero vector. This gives an orthogonal matrix for which has zeros below its first diagonal entry. At stage , apply a Householder transformation to rows of column , and extend it by the identity on the first coordinates. If that trailing column is zero, again use the identity. The transformation preserves zeros in earlier columns, since their trailing entries already vanish.
After at most stages,
is an upper triangular matrix. Each is symmetric and orthogonal, so with
we have and
No invertibility assumption was used, so the Householder QR decomposition also exists for singular matrices.