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 isTo 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 , andThe 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.
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]
https://web.stanford.edu/class/cme324/classics/householder.pdf. Householder (1958), Journal of the ACM 5(4), pp. 339–342: original paper
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. Past exam of the mathematics course of the University of Cambridge 2008 ib Paper 2 18D c Solution Created 2026-09-24 Updated 2026-10-14
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 isWith , direct multiplication givesThe transformed least-squares objective is . Its first two squares can both vanish, so the unique answer isUniqueness follows because the triangular leading block is invertible; this calculation implements Householder QR decomposition without squaring the condition number through normal equations.
Past exam of the mathematics course of the University of Cambridge 2014 ib Paper 1 18C Solution Created 2026-09-24 Updated 2026-10-06
For a nonzero real vector , the Householder transformation isWriting 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 andThe second column already has no unwanted entries. On the last two rows, reflect using :This maps to . Therefore a full QR factorization isBoth 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 isHenceFor this value the transformed right side is . Back substitution also gives . This illustrates the Householder reduction of an overdetermined consistent system.
Past exam of the mathematics course of the University of Cambridge 2017 ib Paper 2 19C Solution Created 2026-09-24 Updated 2026-10-05
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, soIf 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 setThe formula gives , . Direct multiplication yields the Householder QR decompositionAll subdiagonal entries in the remaining columns are already zero, so no further reflection is needed. For the supplied right-hand side, . Back substitution gives , , , henceThe 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 withwe have andNo invertibility assumption was used, so the Householder QR decomposition also exists for singular matrices.
