Inner Product Spaces and Orthonormal Bases

An inner product ⟨u,v⟩\langle u,v\rangle on a real vector space assigns a number to a pair of vectors and must satisfy symmetry ⟨u,v⟩=⟨v,u⟩\langle u,v\rangle=\langle v,u\rangle, bilinearity, and positive-definiteness ⟨v,v⟩≥0\langle v,v\rangle\ge 0 (zero only if v=0v=0). In Rn\mathbb{R}^n the standard inner product is the familiar dot product ⟨u,v⟩=∑iuivi\langle u,v\rangle=\sum_i u_iv_i. It defines a norm ∥v∥=⟨v,v⟩\lVert v\rVert=\sqrt{\langle v,v\rangle} and lets us talk about angle and orthogonality: u⊥v  ⟺  ⟨u,v⟩=0u\perp v \iff \langle u,v\rangle=0.

Orthonormal bases

A basis {e1,…,en}\{e_1,\dots,e_n\} is orthonormal if every pair is orthogonal and every vector has unit length: ⟨ei,ej⟩=δij\langle e_i,e_j\rangle=\delta_{ij}. The payoff is enormous: any vector vv 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°.

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°.


v=∑iciei,ci=⟨ei,v⟩v=\sum_i c_i e_i,\qquad c_i=\langle e_i,v\rangle


with no need to solve a linear system, each coefficient is just a single inner product (a projection of vv onto that basis direction).

Worked example

Let v=(3,4)v=(3,4) and rotate the standard basis by θ=30∘\theta=30^\circ to get e1′=(cos⁡30∘,sin⁡30∘)e_1'=(\cos30^\circ,\sin30^\circ), e2′=(−sin⁡30∘,cos⁡30∘)e_2'=(-\sin30^\circ,\cos30^\circ). Then


c1=⟨e1′,v⟩=3cos⁡30∘+4sin⁡30∘≈4.60,c2=⟨e2′,v⟩=−3sin⁡30∘+4cos⁡30∘≈1.96.c_1=\langle e_1',v\rangle=3\cos30^\circ+4\sin30^\circ\approx4.60,\quad c_2=\langle e_2',v\rangle=-3\sin30^\circ+4\cos30^\circ\approx1.96.


Because {e1′,e2′}\{e_1',e_2'\} is still orthonormal, c12+c22=∥v∥2=25c_1^2+c_2^2=\lVert v\rVert^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

Components of v = (3, 4) in a rotated orthonormal basis vs. rotation angle


Property

Meaning

Orthogonal

⟨ei,ej⟩=0, i≠j\langle e_i,e_j\rangle=0,\ i\ne j

Normalized

∥ei∥=1\lVert e_i\rVert=1

Projection formula

ci=⟨ei,v⟩c_i=\langle e_i,v\rangle valid only if basis is orthonormal


Common mistake: applying ci=⟨ei,v⟩c_i=\langle e_i,v\rangle 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\lVert e_i\rVert^2; if they aren't orthogonal, this simple formula fails entirely and a full change-of-basis matrix inverse is required.

Which condition must hold for a set of vectors {e1,e2,e3}\{e_1,e_2,e_3\} in R3\mathbb{R}^3 to be an orthonormal basis?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Let u=(1,2,−2)u=(1,2,-2) and w=(2,−1,0)w=(2,-1,0) in R3\mathbb{R}^3 with the standard inner product. What is ⟨u,w⟩\langle u,w\rangle, and are uu and ww orthogonal?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In the figure, v=(3,4)v=(3,4) and e1′=(cos⁡30∘,sin⁡30∘)e_1'=(\cos30^\circ,\sin30^\circ) is the first vector of a rotated orthonormal basis. What is c1=⟨e1′,v⟩c_1=\langle e_1',v\rangle, the component of vv along e1′e_1'?

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°.

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

Components of v = (3, 4) in a rotated orthonormal basis vs. rotation angle

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors