Proposition (QR factorisation)
Define $T(n,\mathbb{F}) \leq \mathrm{GL}_n(\mathbb{F})$ be the subgroup of upper triangular matrices. Then $$ \begin{align*} \mathrm{GL}_n(\R) = O(n) \cdot T(n,\R) \qquad \text{and} \qquad \mathrm{GL}_n(\C) = U(n) \cdot T(n,\C). \end{align*} $$
Proof. For each matrix in $\mathrm{GL}_n(\mathbb{F})$, apply Gram-Schmidt to its columns.