Inner Product Spaces: Definition, Examples, Geometry
An inner product space is a vector space with a way to measure angles and lengths: an inner product pairing two vectors into a scalar, behaving like the familiar dot product. Once present, geometry comes alive far beyond arrows in the plane, in spaces of functions, polynomials and matrices.
This matters because much of applied mathematics is geometry in disguise. Least-squares fitting finds the closest point in a subspace, Fourier series expand signals in orthogonal directions, and quantum mechanics computes probabilities as inner products. One tool makes length, angle, orthogonality and projection meaningful everywhere.
Key Concepts
- Inner product (u, v): linear in the first argument, conjugate-symmetric, and positive-definite: (v,v) is at least 0, zero only for v = 0. Over R, symmetry suffices.
- Inner product space: a vector space with such a product; complete ones are Hilbert spaces.
- Induced norm: ||v|| = square root of (v,v), automatically satisfying the triangle inequality.
- Orthogonal: (u,v) = 0, the abstract version of perpendicular.
- Examples: dot product on R to the n; Hermitian product on C to the n; integral of f times conjugate(g) on functions; trace(A transpose B) on matrices.
Formulas
- Norm: ||v|| squared = (v,v).
- Cauchy-Schwarz: |(u,v)| is at most ||u|| ||v||, equality exactly for dependent vectors; this makes angles well defined.
- Angle: cos(theta) = (u,v)/(||u|| ||v||), always in [minus 1, 1].
- Pythagoras: (u,v) = 0 implies ||u+v|| squared = ||u|| squared + ||v|| squared.
Worked Example
With the dot product, u = (1,2), v = (3,1): (u,v) = 3+2 = 5. Norms: ||u|| = square root of 5 (about 2.236), ||v|| = square root of 10 (about 3.162). Cauchy-Schwarz: 5 is at most square root of 50 (about 7.071), holding true. The angle satisfies cos(theta) = 5/square root of 50, about 0.707, so theta is about 45 degrees. Positive-definiteness checks out: (u,u) = 5, positive for this nonzero vector.
Common Misconceptions
- Inner product means dot product. The integral of f times g is an inner product on functions and powers Fourier analysis.
- Linearity holds in both slots over C. Standard convention is conjugate-linear in the second: (u, av) = conjugate(a)(u,v).
- Orthogonal needs a picture. For functions it means the integral of the product is zero; Pythagoras still works identically.
Real-World Applications
- Audio: Fourier series expand signals in orthogonal sines and cosines under the integral product.
- Machine learning: kernel methods compute inner products in huge feature spaces implicitly.
- Quantum mechanics: measurement probabilities are squared magnitudes of inner products.
An inner product adds geometry to any vector space through three axioms. Norm, Cauchy-Schwarz, Pythagoras and projection follow identically for arrows, functions or matrices, so learn them once and trust them everywhere.
Related blogs
- Vector Spaces Over a Field: Axioms Explained Simply
- Subspaces and Quotient Spaces: Linear Algebra Explained
- Linear Independence and Dependence: Vectors Explained
- Basis and Dimension: Concepts, Formulas and Examples
- Coordinates and Change of Basis: Explained with Examples
- Linear Transformations: Matrices, Kernels and Images