Schwarz's inequality for an inner product states that
|
(1)
|
with equality iff and
are linearly dependent
vectors, including the case where either is zero (Axler 2026, p. 218). For
square integrable real
functions
and
on
, this gives
|
(2)
|
Here equality means linear dependence as elements of L2, identifying functions
that agree almost everywhere. If neither is
zero almost everywhere, equality is equivalent
to almost everywhere for a constant
. Schwarz's inequality is sometimes also called
the Cauchy-Schwarz inequality (Gradshteyn and Ryzhik 2000, p. 1099) or Buniakowsky
inequality (Hardy et al. 1952, p. 16).
To derive the integral inequality for complex functions, let
and
be square integrable on
and put
for a complex number
. All integrals below
are over
;
products are integrable since
. With
denoting the complex conjugate
of
,
|
(3)
|
with equality iff almost everywhere.
Write
,
, and
. The expanded inequality is
|
(4)
|
If , then
almost everywhere and
the result is immediate. Otherwise, choose
|
(5)
|
Substitution gives
|
(6)
|
and therefore
|
(7)
|
The same argument, with an inner product linear in its first argument in place of the integral, proves the general form and its equality condition.
Bessel's inequality follows from Schwarz's inequality.