NLA Visualizations

Householder QR

Orthogonal transformations via reflections

Algorithm

We apply a sequence of orthogonal reflection matrices HkH_k to transform AA into an upper triangular matrix RR. Each reflection acts on all columns simultaneously, aligning the kk-th column with the coordinate axis eke_k while leaving previous columns invariant.

Step-by-Step Transform

Step 0 of 4
StartFinish
Initial matrix AA. The columns are shown as vectors a1,a2,a3a_1, a_2, a_3.

Matrix Evolution

A[1.001.000.001.002.001.001.000.002.00]A \rightarrow \begin{bmatrix} 1.00 & 1.00 & 0.00 \\[0.5em] 1.00 & 2.00 & 1.00 \\[0.5em] 1.00 & 0.00 & 2.00 \end{bmatrix}

Click & drag to rotate camera