Let
be a closed real interval with
,
and let
-
![{\displaystyle {}V={\left\{f:[a,b]\rightarrow \mathbb {C} \mid f{\text{ continuous}}\right\}}\,,}](https://wikimedia.org/api/rest_v1/media/math/render/svg/211993074c8370fa23b3b623924a42c7ccaac98c)
endowed with pointwise addition and scalar multiplication. Setting
-

we obtain an
inner product
on
. Additivity follows from
-

It is also positive definite: If
is not the zero function, then let
denote a point with
.
Therefore,
,
and due to the continuity of
, there exists a neighborhood
of length
where
-

holds for some
(one can take
).
Hence,
-

is positive.