Linear Algebra
6.610 min read

Orthonormal Sets and Matrices

A set of vectors {u1,,un}\{\mathbf{u}_1, \ldots, \mathbf{u}_n\} is orthonormal if every vector is a unit vector and every pair is orthogonal: uiuj=0\mathbf{u}_i \cdot \mathbf{u}_j = 0 for iji \neq j and uiui=1\mathbf{u}_i \cdot \mathbf{u}_i = 1. The standard basis vectors e1,,em\mathbf{e}_1, \ldots, \mathbf{e}_m are the simplest example.

If we stack nn orthonormal vectors in Rm\mathbb{R}^m as the columns of a matrix UU, then UtU=InU^t U = I_n. The ijij-entry of UtUU^t U is uiuj\mathbf{u}_i \cdot \mathbf{u}_j, which is 11 when i=ji = j and 00 otherwise. This means UtU^t is the left inverse of UU.

Because UtU=InU^t U = I_n, the columns of UU are linearly independent — the transpose gives you coordinates for free, with no solving required. Any subspace has an orthonormal basis, obtainable via the Gram-Schmidt algorithm.

Formal View

Definition 6.11 — Orthonormal Set
A set {u1,,un}Rm\{\mathbf{u}_1, \ldots, \mathbf{u}_n\} \subset \mathbb{R}^m is orthonormal if
uiuj={1i=j0ij.\mathbf{u}_i \cdot \mathbf{u}_j = \begin{cases} 1 & i = j \\ 0 & i \neq j \end{cases}.
The m×nm \times n matrix U=[u1un]U = [\mathbf{u}_1 \cdots \mathbf{u}_n] is called a matrix with orthonormal columns.
Theorem 6.12
Let UU be an m×nm \times n matrix. Then UtU=InU^t U = I_n if and only if UU has orthonormal columns. In this case, UtU^t is the left inverse of UU and the columns of UU are linearly independent.

Why This Matters

Orthonormal bases make every computation easier — they remove the need to solve systems to find coordinates.

  • The QR decomposition factors any matrix as A=QRA = QR where QQ has orthonormal columns — the foundation of stable numerical linear algebra
  • Wavelets (used in JPEG 2000 and audio compression) are orthonormal bases for function spaces
  • Quantum states are unit vectors and measurement bases are orthonormal — all of quantum computing relies on this structure

Quiz

Question 1

If UU has orthonormal columns, which identity is guaranteed?

Question 2

An orthonormal set of vectors is always linearly independent.

Common Mistakes

  • Confusing orthonormal (ui=1\|\mathbf{u}_i\|=1 and uiuj\mathbf{u}_i \perp \mathbf{u}_j) with just orthogonal (perpendicular but not necessarily unit length).
  • Thinking UtU=IU^t U = I implies UUt=IUU^t = I — the latter requires UU to be square.
  • Confusing the Gram-Schmidt output (orthonormal basis for the same span) with a change of the actual subspace.