10. Inner Product

An inner product is a function ,:𝑉×𝑉 that generalizes the dot product to arbitrary vector spaces.

10.1. Axioms

For all 𝑢,𝑣,𝑤𝑉 and scalar 𝑐:

  1. Symmetry: 𝑢,𝑣=𝑣,𝑢
  2. Linearity in the first argument:
𝑐𝑢+𝑤,𝑣=𝑐𝑢,𝑣+𝑤,𝑣

(by symmetry, also linear in the second argument)

  1. Positive-definiteness: 𝑣,𝑣0, with equality only when 𝑣=𝟎

A vector space with an inner product is an inner product space.

10.2. Standard examples

Dot product on 𝑛: 𝑢,𝑣=𝑖=1𝑛𝑢𝑖𝑣𝑖=𝑢𝑇𝑣

Weighted inner product: 𝑢,𝑣𝑊=𝑢𝑇𝑊𝑣 where 𝑊 is symmetric positive-definite

Function space inner product (continuous functions on [𝑎,𝑏]):

𝑓,𝑔=𝑎𝑏𝑓(𝑥)𝑔(𝑥)𝑑𝑥

Frobenius inner product on matrices:

𝐴,𝐵𝐹=tr(𝐴𝑇𝐵)=𝑖,𝑗𝐴𝑖𝑗𝐵𝑖𝑗

10.3. Induced norm

Every inner product induces a norm:

𝑣=𝑣,𝑣

This norm satisfies the parallelogram law 𝑢+𝑣2+𝑢𝑣2=2𝑢2+2𝑣2 — a necessary and sufficient condition for a norm to come from an inner product.

10.4. Cauchy–Schwarz (general form)

The Cauchy–Schwarz inequality holds in every inner product space:

|𝑢,𝑣|𝑢𝑣

10.5. Orthogonality

Two vectors are orthogonal if their inner product is zero:

𝑢𝑣𝑢,𝑣=0

This generalizes perpendicularity in 𝑛. See Orthogonality.

10.6. Angle between vectors

cos𝜃=𝑢,𝑣𝑢𝑣

In abstract spaces this defines the angle (between non-zero vectors).

10.7. Why inner products matter

10.8. See also