Skip to content
Linear Algebra, Optimisation and Numerical Methods / QR Factorisation and Least Squares

Householder Reflectors and Givens Rotations

The previous note built QRQR from Gram-Schmidt — a natural, direct construction, but (as the closing note of this topic shows) one with a serious numerical flaw. This note builds QRQR a second, completely different way — via Householder reflectors, orthogonal matrices that each zero out an entire column below the diagonal in one stroke — and (briefly) via Givens rotations, which zero out one entry at a time. Both constructions reach the same factorisation as Gram-Schmidt; the point of learning a second route is that this one does not suffer Gram-Schmidt's instability.
Learning objectives. By the end of this note you should be able to:
  • construct a Householder reflector that sends a given vector to a multiple of e1\mathbf{e}_1;
  • verify a Householder reflector is orthogonal and symmetric;
  • explain, at a high level, how a sequence of reflectors builds a full QRQR factorisation;
  • state what a Givens rotation does differently, and when it is preferred.

In this lesson

  1. Householder reflectors
  2. Givens rotations

Before you start

The full lesson, with worked examples and exercise solutions, is for members.

Read the full lesson

New to SelfMadeQuant.com? See membership options or browse the Linear Algebra, Optimisation and Numerical Methods syllabus.