Let $V$ be the vector space of continuous functions on a closed interval $[a, b]\subset \mathbb R$. Define a binary functional $\langle \, , \,\rangle: V \times V \to \mathbb R$ by $$\langle f, g \rangle = \sup \{|f(x)g(x)| \, \vert x \in [a,b]\}$$ This is not an inner product, because it is not bilinear. However, it is close! In particular it is:
- Symmetric: $\langle f, g \rangle = \langle g, f \rangle$.
- Positive definite: $\langle f, f \rangle \ge 0$ with equality if and only if $f = 0$.
- Subadditive: $\langle f + g, h \rangle \le \langle f, h \rangle + \langle g, h \rangle $.
- Homogeneous: $\langle cf, g \rangle = |c| \langle f, g \rangle$ for any $c \in \mathbb R$.
Note that if we could replace the inequality in property 3 with equality, and drop the absolute value in property 4, we would have an inner product.
Furthermore, this satisfies the Cauchy-Schwarz inequality: $\langle f, g \rangle^2 \le \langle f, f\rangle \langle g, g \rangle$. And, if that were not enough, if we try to define a norm in the usual way, via the definition $\| f \| = \sqrt{\langle f, f \rangle}$, we end up with precisely the uniform norm (which is usually offered as one of the simplest examples of a norm that is not induced by an inner product, because it does not obey the parallelogram law).
So clearly things like this are potentially quite useful. What are they called? Is this a "pseudo-inner product" (or should that be "inner pseudo-product"?) Or is "quasi-", or "semi-" the correct prefix to use? Do all mappings that satisfy 1-4 also satisfy Cauchy-Schwarz, or is this example special in that regard?