Skip to content
Infinitesimal Dynamics home
Notebook: 0 XP

Linear Algebra / Structure and decomposition

Inner Products and Orthogonality

Lengths, angles and perpendicularity in any dimension, and why orthonormal bases make every computation easy.

3 min read · 2 sections · 2 checks

Contents 3 sections
  1. §1Geometry from one formula
  2. §2Gram–Schmidt
  3. ?Check yourself

By the end you can

  • Compute dot products, norms and angles
  • Test vectors for orthogonality
  • Build an orthonormal basis with Gram–Schmidt

Helps to know: Vectors, Combinations and Span

§1Geometry from one formula

u⋅v=∑iuivi=∥u∥ ∥v∥cos⁡θ\mathbf{u} \cdot \mathbf{v} = \sum_i u_i v_i = \|\mathbf{u}\|\,\|\mathbf{v}\| \cos\theta

The dot product measures how much two vectors point the same way. The norm is ∥v∥=v⋅v\|\mathbf{v}\| = \sqrt{\mathbf{v} \cdot \mathbf{v}}, and two vectors are orthogonal exactly when their dot product is zero.

§2Gram–Schmidt

To straighten a basis, subtract from each new vector its shadow on the ones already processed, then normalise.

Example 1Orthogonalise (1,1)(1,1) and (1,0)(1,0)

  1. Keep u1=(1,1)\mathbf{u}_1 = (1,1).

Check yourself

  1. Q1
    (2,−1,3)⋅(1,5,1)=(2, -1, 3) \cdot (1, 5, 1) =
  2. Q2
    The norm of (3,4)(3, 4) is…