Abstract Algebra | ZF Axioms | Math Set Theory | Number Theory | Groups | Quotient Groups | Rings | Commutative Rings | Fields | Group Actions | Modules | Vector Spaces | Linear Operators and Matrices | Inner Product Spaces | Tensors | Exterior Algebras | Galois Theory | Multivariable Polynomial Rings | Category Theory |

Inner Product Spaces
Here’s the truth about inner products: a plain vector space has no idea how long anything is or what angle two vectors make. An inner product is the ruler and protractor you hand it.
Give a vector space that one extra tool, and geometry, from Pythagoras to quantum probability, comes flooding in.
The core idea, in plain words
An inner product on a real Vector Space is a rule that takes two vectors and gives a number , such that:
- Symmetric: .
- Linear in each slot: .
- Positive: for every .
(Over the complex numbers, symmetry becomes .)
From this one rule you get:
- Length: .
- Angle: .
- Perpendicular (orthogonal): .
The everyday example is the dot product on : .
An everyday analogy: how much one push helps another
You’re pushing a stalled car down a road. Your friend pushes at an angle. How much of their effort actually moves the car forward? Push straight along the road and all of it helps. Push sideways at right angles, and none of it does, however hard they try. The inner product measures exactly this: how much one vector goes along with another. Perpendicular vectors are completely independent efforts; they don’t help or hinder each other at all.
A worked example: Pythagoras, angles and projections
Take and in .
- . They are perpendicular.
- , and .
- .
That last line is Pythagoras, and in an inner product space it holds for any two orthogonal vectors, in any dimension, even for functions.
Now projection: how much of points along ?
The leftover is perpendicular to (check: ). Every vector splits uniquely into “the part along ” plus “the part perpendicular to ”. Repeating that trick, the Gram–Schmidt process turns any basis into an orthonormal one, where every basis vector has length 1 and each is perpendicular to the others. In such a basis, coordinates are just inner products: the -th coordinate of is .
A picture in words: functions as vectors with angles
Here’s where it gets wonderful. Take all continuous functions on and define
Then : sine and cosine are perpendicular. So are and . Picture a sound wave as a single arrow in an infinite-dimensional space, and the pure tones as perpendicular axes. Finding the Fourier coefficients of a sound, the strength of each pure tone in it, is just reading off its coordinates with inner products. Your music app’s equaliser is doing projections.
graph TD IP["Inner product ⟨u,v⟩"] --> L["Length ‖v‖"] IP --> A["Angle θ"] IP --> O["Orthogonality ⟨u,v⟩ = 0"] O --> P["Pythagoras, projections"] O --> GS["Orthonormal bases, Fourier series"]
Common misconceptions
- “Every vector space comes with a dot product.” No, it has to be chosen, and different choices give different geometries. Polynomials have no single “natural” one.
- “Perpendicular means at 90° on paper.” It means for the chosen inner product. Sine and cosine aren’t “at right angles” on any graph, yet they are orthogonal.
- “An inner product is a vector.” It’s a number. (The cross product, which gives a vector, is a different beast that lives in Exterior Algebras.)
- " can exceed ." Never: that’s the Cauchy–Schwarz inequality, and it’s exactly why always lands between and .
How it connects
- Down to Vector Spaces and Fields: an inner product space is a vector space over or with one extra structure.
- Sideways to Linear Operators and Matrices: the operators that preserve inner products are rotations and reflections (orthogonal and unitary), and symmetric operators always have a perpendicular basis of eigenvectors.
- Up to Tensors: an inner product is the metric tensor, the thing that tells Relativity how to measure spacetime.
- Out to Quantum Mechanics: the probability of a measurement outcome is , the squared overlap of two state vectors.
The truth revealed: geometry is not built into space. It’s a choice of ruler, and the inner product is that choice.
