Orthonormal
Bases
Master the foundation of orthonormal bases and learn how to compute coordinates with simple dot products instead of solving systems of equations.
What is a Basis?
A basis for a vector space \(V\) is a set of vectors \(\{v_1, v_2, \ldots, v_n\}\) that is both linearly independent and spans all of \(V\). Every vector in \(V\) can be written as a unique linear combination of the basis vectors.
The scalars \(c_1, \ldots, c_n\) are the coordinates of \(x\) relative to that basis. Finding them usually requires solving a linear system, but an orthonormal basis gives us a shortcut.
Orthogonal vs Orthonormal
Visualizing in \(\mathbb{R}^2\)
The Coordinate Formula
Each coordinate \(c_i = \langle x, e_i \rangle\) is obtained by a single dot product, not by row-reducing a matrix. This is the key advantage of orthonormal bases.
Parseval's Identity
This says the squared length of a vector equals the sum of the squares of its coordinates: a generalized Pythagorean theorem. It holds because the cross terms \(\langle e_i, e_j \rangle\) vanish for \(i \neq j\).
General vs Orthonormal Coordinates
| General Basis | Orthonormal Basis | |
|---|---|---|
| Find coordinates | Solve \(Ax = b\) | \(c_i = \langle x, e_i \rangle\) |
| Computation cost | \(O(n^3)\) via row reduction | \(O(n^2)\) via dot products |
| Length formula | Requires inverse of Gram matrix | \(\|x\|^2 = \sum |c_i|^2\) |
| Matrix of basis | Any invertible matrix | Orthogonal matrix: \(Q^TQ = I\) |
Orthogonal Matrices
When you stack orthonormal basis vectors as columns of a matrix \(Q\), you get an orthogonal matrix with a remarkable property:
The Gram-Schmidt Process
Any basis can be converted into an orthonormal basis using Gram-Schmidt orthogonalization:
How to Compute Coordinates
Example 1: Coordinates in \(\mathbb{R}^2\)
Let \(e_1 = \left(\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}\right)\) and \(e_2 = \left(-\frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}}\right)\). Find the coordinates of \(x = (3, 1)\).
Example 1: Verification
We found \(c_1 = 2\sqrt{2}\) and \(c_2 = -\sqrt{2}\). Let us verify using Parseval's identity.
Example 2: Coordinates in \(\mathbb{R}^3\)
Let the orthonormal basis be:
Find the coordinates of \(x = (1, 0, 2)\).
Example 2: Parseval Check
Notice we verified our answer without expanding the entire linear combination. This makes Parseval's identity a powerful error-checking tool.
Common Mistakes
Summary of Key Facts
| Concept | Formula / Property |
|---|---|
| Orthonormality condition | \(\langle e_i, e_j \rangle = \delta_{ij}\) |
| Coordinate computation | \(c_i = \langle x, e_i \rangle\) |
| Expansion | \(x = \sum_{i=1}^n \langle x, e_i \rangle\, e_i\) |
| Parseval's identity | \(\|x\|^2 = \sum |c_i|^2\) |
| Orthogonal matrix | \(Q^T Q = I\), \(Q^{-1} = Q^T\) |
| Gram-Schmidt | \(u_k = v_k - \sum \langle v_k, e_j \rangle e_j\) |
Question 1 of 5
If \(\{e_1, e_2\}\) is an orthonormal basis and \(x = 3e_1 + 4e_2\), what is \(\|x\|\)?
Question 2 of 5
Let \(e_1 = \left(\frac{3}{5}, \frac{4}{5}\right)\) and \(e_2 = \left(-\frac{4}{5}, \frac{3}{5}\right)\). What is the coordinate \(c_1 = \langle x, e_1 \rangle\) for \(x = (6, 8)\)?
Question 3 of 5
Which property does not hold for an orthogonal matrix \(Q\)?
Question 4 of 5
In the Gram-Schmidt process, what is the purpose of the subtraction step \(u_k = v_k - \sum \langle v_k, e_j \rangle e_j\)?
Question 5 of 5
An orthonormal basis \(\{e_1, e_2, e_3\}\) yields coordinates \((2, -1, 3)\) for a vector \(x\). What is \(\|x\|^2\)?