Hubbry Logo
Householder transformationHouseholder transformationMain
Open search
Householder transformation
Community hub
Householder transformation
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Householder transformation
Householder transformation
from Wikipedia

In linear algebra, a Householder transformation (also known as a Householder reflection or elementary reflector) is a linear transformation that describes a reflection about a plane or hyperplane containing the origin. The Householder transformation was used in a 1958 paper by Alston Scott Householder.[1]

Definition

[edit]

Operator and transformation

[edit]

The Householder operator[2] may be defined over any finite-dimensional inner product space with inner product and unit vector as

[3]

It is also common to choose a non-unit vector , and normalize it directly in the Householder operator's expression:[4]

Such an operator is linear and self-adjoint.

If , note that the reflection hyperplane can be defined by its normal vector, a unit vector (a vector with length ) that is orthogonal to the hyperplane. The reflection of a point about this hyperplane is the Householder transformation:

where is the vector from the origin to the point , and is the conjugate transpose of .

The Householder transformation acting as a reflection of about the hyperplane defined by .

Householder matrix

[edit]

The matrix constructed from this transformation can be expressed in terms of an outer product as:

is known as the Householder matrix, where is the identity matrix.

Properties

[edit]

The Householder matrix has the following properties:

  • it is Hermitian: ,
  • it is unitary: (via the Sherman-Morrison formula),
  • hence it is involutory: .
  • A Householder matrix has eigenvalues . To see this, notice that if is orthogonal to the vector which was used to create the reflector, then , i.e., is an eigenvalue of multiplicity , since there are independent vectors orthogonal to . Also, notice (since is by definition a unit vector), and so is an eigenvalue with multiplicity .
  • The determinant of a Householder reflector is , since the determinant of a matrix is the product of its eigenvalues, in this case one of which is with the remainder being (as in the previous point), or via the Matrix determinant lemma.

Example

[edit]

Consider the normalization of a vector containing in each entry,

Then the Householder matrix corresponding to the vector is

Note that if we have another vector representing a coordinate in the 2D plane

then in this case flips and negates the and coordinates, in other words we have

which corresponds to reflecting the vector across the line , which our original vector is normal to.

Applications

[edit]

Geometric optics

[edit]

In geometric optics, specular reflection can be expressed in terms of the Householder matrix (see Specular reflection § Vector formulation).

Numerical linear algebra

[edit]

Note that representing a Householder matrix requires only the entries of a single vector, not of an entire matrix (which in most algorithms is never explicitly formed), thereby minimizing the required storage and memory references needed to use them.

Further, multiplying a Householder matrix by a vector does not involve a full matrix-vector multiplication, but rather only one vector dot product, and then one saxpy operation. This means its arithmetic complexity is of the same order of two low-level BLAS-1 operations. Therefore, Householder matrices are extremely arithmetically efficient.[5]

Finally, using to denote the computed value and to denote the mathematically exact value, then for a given Household matrix ,

Where (where is unit roundoff, the size of the matrix , and some small constant). In other words, multiplications by Householder matrices are also extremely backwards stable.[6]

Since Householder transformations minimize storage, memory references, arithmetic complexity, and optimize numerical stability, they are widely used in numerical linear algebra, for example, to annihilate the entries below the main diagonal of a matrix,[7] to perform QR decompositions and in the first step of the QR algorithm. They are also widely used for transforming to a Hessenberg form. For symmetric or Hermitian matrices, the symmetry can be preserved, resulting in tridiagonalization.[8][9]

QR decomposition

[edit]

Householder transformations can be used to calculate a QR decomposition. Consider a matrix triangularized up to column , then our goal is to construct such Householder matrices that act upon the principal submatrices of a given matrix

via the matrix

.

(note that we already established before that Householder transformations are unitary matrices, and since the multiplication of unitary matrices is itself a unitary matrix, this gives us the unitary matrix of the QR decomposition)

If we can find a so that we could accomplish this. Thinking geometrically, we are looking for a plane so that the reflection about this plane happens to land directly on the basis vector. In other words,

for some constant . However, for this to happen, we must have And since is a unit vector, this means that we must have

Now if we apply equation (2) back into equation (1), we get Or, in other words, by comparing the scalars in front of the vector we must have Or Which means that we can solve for as This completes the construction; however, in practice we want to avoid catastrophic cancellation in equation (2). To do so, we choose[5] the sign of as

Tridiagonalization (Hessenberg)

[edit]

This procedure is presented in Numerical Analysis by Burden and Faires, and works when the matrix is symmetric. In the non-symmetric case, it is still useful as a similar procedure can result in a Hessenberg matrix.

It uses a slightly altered function with .[10] In the first step, to form the Householder matrix in each step we need to determine and , which are:

From and , construct vector :

where , , and

for each

Then compute:

Having found and computed the process is repeated for as follows:

Continuing in this manner, the tridiagonal and symmetric matrix is formed.

Examples

[edit]

In this example, also from Burden and Faires,[10] the given matrix is transformed to the similar tridiagonal matrix A3 by using the Householder method.

Following those steps in the Householder method, we have:

The first Householder matrix:

Used to form

As we can see, the final result is a tridiagonal symmetric matrix which is similar to the original one. The process is finished after two steps.

Quantum computation

[edit]
Picture showing the geometric interpretation of the first iteration of Grover's algorithm. The state vector is rotated towards the target vector as shown.

As unitary matrices are useful in quantum computation, and Householder transformations are unitary, they are very useful in quantum computing. One of the central algorithms where they're useful is Grover's algorithm, where we are trying to solve for a representation of an oracle function represented by what turns out to be a Householder transformation:

(here the is part of the bra-ket notation and is analogous to which we were using previously)

This is done via an algorithm that iterates via the oracle function and another operator known as the Grover diffusion operator defined by

and .

Computational and theoretical relationship to other unitary transformations

[edit]

The Householder transformation is a reflection about a hyperplane with unit normal vector , as stated earlier. An -by- unitary transformation satisfies . Taking the determinant (-th power of the geometric mean) and trace (proportional to arithmetic mean) of a unitary matrix reveals that its eigenvalues have unit modulus. This can be seen directly and swiftly:

Since arithmetic and geometric means are equal if the variables are constant (see inequality of arithmetic and geometric means), we establish the claim of unit modulus.

For the case of real valued unitary matrices we obtain orthogonal matrices, . It follows rather readily (see Orthogonal matrix) that any orthogonal matrix can be decomposed into a product of 2-by-2 rotations, called Givens rotations, and Householder reflections. This is appealing intuitively since multiplication of a vector by an orthogonal matrix preserves the length of that vector, and rotations and reflections exhaust the set of (real valued) geometric operations that render invariant a vector's length.

The Householder transformation was shown to have a one-to-one relationship with the canonical coset decomposition of unitary matrices defined in group theory, which can be used to parametrize unitary operators in a very efficient manner.[11]

Finally we note that a single Householder transform, unlike a solitary Givens transform, can act on all columns of a matrix, and as such exhibits the lowest computational cost for QR decomposition and tridiagonalization. The penalty for this "computational optimality" is, of course, that Householder operations cannot be as deeply or efficiently parallelized. As such Householder is preferred for dense matrices on sequential machines, whilst Givens is preferred on sparse matrices, and/or parallel machines.

See also

[edit]

Notes

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
In linear algebra, the Householder transformation, also known as a Householder reflection or elementary reflector, is a type of that performs a reflection of vectors across a in . It is mathematically defined as H=I2uuTuTuH = I - \frac{2 u u^T}{u^T u}, where II is the and uu is a non-zero column vector, or equivalently H=I2vvTH = I - 2 v v^T when vv is the unit vector in the direction of uu. This construction ensures that HH is symmetric (HT=HH^T = H), orthogonal (HTH=IH^T H = I), and involutory (H2=IH^2 = I), meaning it preserves lengths and angles while reflecting any vector xx to Hx=x2uuTuTuxHx = x - 2 \frac{u u^T}{u^T u} x. Named after mathematician Alston S. Householder, who introduced the concept in his 1958 paper on unitary triangularization of nonsymmetric matrices, the transformation provides a numerically stable method for introducing zeros in specific positions of a matrix without disrupting previously computed zeros. Key applications include the of a matrix AA into an QQ and upper RR, achieved by applying a sequence of Householder transformations to zero out subdiagonal elements column by column. It is also essential for reducing symmetric matrices to tridiagonal form in eigenvalue computations and for solving problems, offering advantages in computational efficiency and stability over alternatives like the Gram-Schmidt process. In practice, Householder transformations are implemented in libraries such as , where the vector uu (or a scaled version) is stored compactly to minimize storage and enable blocked algorithms for large-scale computations. Their reflection property makes them particularly suited for preserving matrix symmetry in certain decompositions, and extensions like generalized Householder transformations have been developed for sparse matrices and other specialized numerical tasks.

Definition

Mathematical Formulation

The Householder transformation, also known as a Householder reflection, is a linear operator defined on an that performs a reflection of vectors across a passing through the origin, with the hyperplane orthogonal to a given non-zero vector v\mathbf{v}. In the context of Rn\mathbb{R}^n, equipped with the standard inner product x,y=xTy\langle \mathbf{x}, \mathbf{y} \rangle = \mathbf{x}^T \mathbf{y}, the transformation is given by H(v)=I2vvTv2,H(\mathbf{v}) = I - \frac{2 \mathbf{v} \mathbf{v}^T}{\| \mathbf{v} \|^2}, where II is the n×nn \times n and v2=vTv\| \mathbf{v} \|^2 = \mathbf{v}^T \mathbf{v}. This operator is orthogonal, satisfying H(v)TH(v)=IH(\mathbf{v})^T H(\mathbf{v}) = I, and thus preserves lengths and angles in the space. An is a over the real or complex numbers endowed with an inner product, which induces a norm x=x,x\| \mathbf{x} \| = \sqrt{\langle \mathbf{x}, \mathbf{x} \rangle}
Add your contribution
Related Hubs
User Avatar
No comments yet.