Chapter 18. Orthonormal bases

Danger
THIS CHAPTER HAS NOT BEEN WRITTEN YET. For now, this is just a dump of loosely corresponding content from Napkin/LAMV.

§18.1 Orthogonality

Our next goal is to give the geometric notion of “perpendicular”. The definition is easy enough:

Definition 18.1 (Orthogonal vectors). Two nonzero vectors 𝐯 and 𝐰 in ℝ𝑛 are orthogonal if 𝐯⋅𝐰=0.

As we expect from our geometric intuition in ℝ𝑛, this implies independence:

Lemma 18.2 (Orthogonal vectors are independent). Any set of pairwise orthogonal vectors 𝐯1, 𝐯2, …, 𝐯𝑛, with |𝐯𝑖|≠0 for each 𝑖, is linearly independent.

Proof. Consider a dependence

𝑎1𝐯1+⋯+𝑎𝑛𝐯𝑛=𝟎

for 𝑎𝑖 in ℝ. Then

0=𝐯1⋅(∑𝑎𝑖𝐯𝑖)=𝑎1|𝐯1|2.

Hence 𝑎1=0, since we assumed |𝐯1|≠0. Similarly 𝑎2=⋯=𝑎𝑛=0.□

In light of this, we can now consider a stronger condition on our bases:

Definition 18.3 (Orthonormal basis). An orthonormal basis of a subspace 𝑉⊆ℝ𝑛 is a basis 𝐯1, …, 𝐯𝑚 such that |𝐯𝑖|=1 for every 𝑖 and 𝐯𝑖⋅𝐯𝑗=0 for any 𝑖≠𝑗.
ℝ𝑛 has a standard basis
In ℝ𝑛 equipped with the standard dot product, the standard basis 𝐞1, …, 𝐞𝑛 is also orthonormal.

This is no loss of generality:

Theorem 18.4 (Gram-Schmidt). Let 𝑉⊆ℝ𝑛 be a subspace. Then it has an orthonormal basis.

Proof Sketch of proof. One constructs the orthonormal basis explicitly from any basis 𝐯1, …, 𝐯𝑚 of 𝑉. Define proj𝐮(𝐰)=𝐰⋅𝐮𝐮⋅𝐮𝐮. Then recursively define

𝐮1=𝐯1𝐮2=𝐯2−proj𝐮1(𝐯2)𝐮3=𝐯3−proj𝐮1(𝐯3)−proj𝐮2(𝐯3)⋮𝐮𝑚=𝐯𝑚−proj𝐮1(𝐯𝑚)−⋯−proj𝐮𝑚−1(𝐯𝑚).

One can show the 𝐮𝑖 are pairwise orthogonal and not zero.□

Thus, we can generally assume our bases are orthonormal.

Worth remarking:

The dot product is the “only” inner form

Let 𝑉⊆ℝ𝑛 be a subspace, and consider any orthonormal basis 𝐯1, …, 𝐯𝑚. Then we have that

(𝑎1𝐯1+⋯+𝑎𝑚𝐯𝑚)⋅(𝑏1𝐯1+⋯+𝑏𝑚𝐯𝑚)=∑𝑖,𝑗=1𝑚𝑎𝑖𝑏𝑗(𝐯𝑖⋅𝐯𝑗)=∑𝑖=1𝑚𝑎𝑖𝑏𝑖

owing to the fact that the {𝐯𝑖} are orthonormal.

And now you know why the dot product expression is so ubiquitous.

§18.2 Exercises

Problem 18.5 (Taiwan IMO camp). In a town there are 𝑛 people and 𝑘 clubs. Each club has an odd number of members, and any two clubs have an even number of common members. Prove that 𝑘≤𝑛.