A real-valued function is convex on an interval if and only if
(1)
for all and .
This just says that a function is convex if the graph of the function lies
below its
secants. See pages 2 through 5 of Bjorn Poonen's paper, distributed at his
talk on
inequalities, for a discussion of convex functions and inequalities for
convex functions.
A number of common functions that are convex are also listed. Among those
listed are
on , on , on
and
on . To avoid the negative signs a complementary
concept is defined.
A real-valued function is concave on an interval if and only if
(2)
for all and . Therefore is convex iff is
concave.
If you are familiar with derivatives then the following theorem
about twice differentiable functions provides a way of telling if such a
function is convex.
Theorem 3
If
for all , then f
is convex
on I.
Inequality ( 1) can be generalized to a convex function with
three variables with weights , respectively,
such that
. Note that . In this manner the three
variable case
can be transformed into the two variable case as follows.
This process can be continued to produce an variable version which is
due to J.L.W.V. Jensen. It can be easily proved by mathematical induction
using the above
technique. Write your own proof and compare with the one given here. It
will give you
some good practice manipulating sigma notation.
Theorem 4 (Jensen's Inequality 1906)
Let f be a convex function on the
interval I.
If
and
are nonnegative real
numbers such
that
, then
Proof by induction: The case for is true by the definition of
convex. Assume the
relation holds for , then we have
Thus showing that the assumption implies that the relation holds for
and by the principle
of Mathematical Induction holds for all natural numbers.
An easy consequence of Jensen's theorem is the following proof of the
arithmetic mean-geometric
mean inequality. (Problem 13 from Bjorn's paper)
Theorem 5 (AM-GM Inequality)
If
then
Proof. Since is convex then is concave. By Jensen's
theorem we have
Since is monotonic increasing (
) for
we have
The proof of Jensen's Inequality does not address the specification of the
cases of equality.
It can be shown that strict inequality exists unless all of the are
equal or is linear
on an interval containing all of the .