The VikiD Truth

Knowledge base / Mathematics

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 |

algebra

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 VV is a rule that takes two vectors and gives a number ⟨u,v⟩\langle u, v \rangle, such that:

  1. Symmetric: ⟨u,v⟩=⟨v,u⟩\langle u, v \rangle = \langle v, u \rangle.
  2. Linear in each slot: ⟨au+bw,v⟩=a⟨u,v⟩+b⟨w,v⟩\langle au + bw, v \rangle = a\langle u, v \rangle + b\langle w, v \rangle.
  3. Positive: ⟨v,v⟩>0\langle v, v \rangle > 0 for every v≠0v \neq \mathbf{0}.

(Over the complex numbers, symmetry becomes ⟨u,v⟩=⟨v,u⟩‾\langle u, v \rangle = \overline{\langle v, u \rangle}.)

From this one rule you get:

The everyday example is the dot product on Rn\mathbb{R}^n: ⟨u,v⟩=u1v1+⋯+unvn\langle u, v \rangle = u_1v_1 + \dots + u_nv_n.

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 u=(3,4)u = (3, 4) and v=(4,−3)v = (4, -3) in R2\mathbb{R}^2.

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 w=(2,1)w = (2, 1) points along uu?

proj⁡uw=⟨w,u⟩⟨u,u⟩ u=6+425(3,4)=(1.2, 1.6). \operatorname{proj}_u w = \frac{\langle w, u \rangle}{\langle u, u \rangle}\, u = \frac{6 + 4}{25}(3, 4) = (1.2,\ 1.6).

The leftover w−proj⁡uw=(0.8,−0.6)w - \operatorname{proj}_u w = (0.8, -0.6) is perpendicular to uu (check: 2.4−2.4=02.4 - 2.4 = 0). Every vector splits uniquely into “the part along uu” plus “the part perpendicular to uu”. 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 kk-th coordinate of ww is ⟨w,ek⟩\langle w, e_k \rangle.

A picture in words: functions as vectors with angles

Here’s where it gets wonderful. Take all continuous functions on [−π,π][-\pi, \pi] and define

⟨f,g⟩=∫−ππf(x) g(x) dx. \langle f, g \rangle = \int_{-\pi}^{\pi} f(x)\,g(x)\,dx.

Then ⟨sin⁡x,cos⁡x⟩=0\langle \sin x, \cos x \rangle = 0: sine and cosine are perpendicular. So are sin⁡x\sin x and sin⁡2x\sin 2x. Picture a sound wave as a single arrow in an infinite-dimensional space, and the pure tones sin⁡nx,cos⁡nx\sin nx, \cos nx 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

How it connects

The truth revealed: geometry is not built into space. It’s a choice of ruler, and the inner product is that choice.

Last edited · 2 revisions

Tags: #Math