For nonzero , the Householder transformation is
The rank-one matrix is symmetric and satisfies . Consequently and . Thus the matrix is symmetric and orthogonal; geometrically it reflects the component along and fixes its perpendicular hyperplane.
Let and choose when , otherwise . Set , which is nonzero because . Compute
Thus the reflecting term in is exactly , giving
Its first coordinate is nonzero and all remaining coordinates vanish. The choice of sign also avoids subtracting nearly equal vectors when the first component is large.
Apply part (b) to the first column of , using an orthogonal reflection to zero all entries below the first. Next apply a Householder reflection to the trailing subvector of the second column, embedded as so it leaves the first row and the zeros already created intact. Continue similarly through the columns. If a trailing column subvector is zero, skip that step.
The product of these embedded orthogonal matrices sends to an upper triangular matrix . Write that product as ; its transpose is also orthogonal. Hence
The argument uses no inverse of and therefore includes singular matrices.
Multiplying the system by turns it into . For nonsingular , compute the transformed right side and solve the upper triangular system by back substitution. Orthogonal transformations preserve Euclidean lengths and do not amplify errors in that transformation.
If is singular,
Since , at least one diagonal entry of is zero. The resulting triangular system must then be checked for consistency and any free variables, rather than applying divisions by zero.

Articles by others on the same topic (0)

There are currently no matching articles.