Convex and Concave Functions
- Definition: A function
is said to be Convex if for every
and for every
we have that
.
- A function
is said to be Concave if for every
and for every
we have that
.
We now give equivalent definitions for convex and concave functions.
- Theorem 1: Let
.
- a)
is convex on
if and only if for all
with
we have that
.
- b)
is concave on
if and only if for all
with
we have that
.
We only prove (a) above. The proof of (b) is analogous.
- Proof of a): Let >
be such that
.
Suppose that
is convex on
. Then for all
we have that:

- Set
,
, and
. Combining the first and third equations with the second equation gives us:

- Solving for
gives us:


- Similarly, we compute
to be:

- From the convexity of
we have
, or equivalently:


![{\displaystyle {\begin{aligned}\quad (c-a)[f(b)-f(a)]\leq (b-a)[f(c)-f(a)]\quad \Leftrightarrow \quad {\frac {f(b)-f(a)}{b-a}}\leq {\frac {f(c)-f(a)}{c-a}}\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f9a83ba7910cbffec6b1baf49af5de7f032c6c24)
Obtained by working backwards from above. 
We state yet another important definition for convex and concave functions.
- Theorem 2: Let >
.
- a)
is convex on >
if and only if for all >
with >
we have that >
.
- b)
is concave on >
if and only if for all >
with >
we have that >
.
Theorem 2 gives us a nice characterization of convex functions. It tells us that a function
is convex if and only if whenever we take three points
with
we have that the slope of the line connecting
and
is less than or equal to the sope of the line connecting
and
. In other words, the slope of the line segments connecting consecutive pairs of points on the graph of
is increasing.
We can combine theorems 1 and 2 to get a nice chain of inequalities. That is,
is convex if and only if for all
with >
we have that:

Licensing
Content obtained and/or adapted from:
- [1] under a CC BY-SA license
- [2] under a CC BY-SA license