Inner Product Spaces and Orthonormal Bases
Inner Product Spaces and Orthonormal Bases
An inner product ⟨u,v⟩ on a real vector space assigns a number to a pair of vectors and must satisfy symmetry ⟨u,v⟩=⟨v,u⟩, bilinearity, and positive-definiteness ⟨v,v⟩≥0 (zero only if v=0). In Rn the standard inner product is the familiar dot product ⟨u,v⟩=∑iuivi. It defines a norm ∥v∥=⟨v,v⟩ and lets us talk about angle and orthogonality: u⊥v⟺⟨u,v⟩=0.
Orthonormal bases
A basis {e1,…,en} is orthonormal if every pair is orthogonal and every vector has unit length: ⟨ei,ej⟩=δij. The payoff is enormous: any vector v expands as
Vector v = (3, 4) resolved in the standard basis e1, e2 (grey) and in a rotated orthonormal basis e1′, e2′ (blue, green) obtained by rotating through θ = 30°.
with no need to solve a linear system, each coefficient is just a single inner product (a projection of v onto that basis direction).
Worked example
Let v=(3,4) and rotate the standard basis by θ=30∘ to get e1′=(cos30∘,sin30∘), e2′=(−sin30∘,cos30∘). Then
Because {e1′,e2′} is still orthonormal, c12+c22=∥v∥2=25, a quick check that the change of basis (here a rotation) preserved length.
Components of v = (3, 4) in a rotated orthonormal basis vs. rotation angle
Property | Meaning |
|---|---|
Orthogonal | ⟨ei,ej⟩=0, i=j |
Normalized | ∥ei∥=1 |
Projection formula | ci=⟨ei,v⟩ valid only if basis is orthonormal |
Common mistake: applying ci=⟨ei,v⟩ to a basis that is only orthogonal (not normalized) or not orthogonal at all. If vectors aren't unit length you must divide by ∥ei∥2; if they aren't orthogonal, this simple formula fails entirely and a full change-of-basis matrix inverse is required.
Let u=(1,2,−2) and w=(2,−1,0) in R3 with the standard inner product. What is ⟨u,w⟩, and are u and w orthogonal?
In the figure, v=(3,4) and e1′=(cos30∘,sin30∘) is the first vector of a rotated orthonormal basis. What is c1=⟨e1′,v⟩, the component of v along e1′?
Vector v = (3, 4) resolved in the standard basis e1, e2 (grey) and in a rotated orthonormal basis e1′, e2′ (blue, green) obtained by rotating through θ = 30°.
Components of v = (3, 4) in a rotated orthonormal basis vs. rotation angle