Convexity 1
Convexity 1
Aditya Ghosh
February 28, 2021
Warm-up problem: Suppose that f is twice differentiable in a neighbourhood of c. Show
that the limit
f (c + h) + f (c − h) − 2f (c)
lim
h→0 h2
exists and equals f 00 (c). On the other hand, does the existence of the above limit imply that
f 00 (c) exists and equals the above limit?
f is called strictly convex if the above inequality is strict for every x 6= y and any λ ∈ [0, 1].
f is called strictly concave if the above inequality is strict for every x 6= y and any λ ∈ [0, 1].
1
Problem 1. Show that a twice differentiable function defined on an open interval I ⊂ R is
convex if and only if its second derivative is non-negative on I.
The test given by Problem 1 is frequently used for checking convexity. Note that if the
second derivative is positive at all points then the function is strictly convex, but the converse
does not hold — can you give any such example?
• x2 , x4 are convex on R.
• x3 , x5 are convex on [0, ∞) and concave on (−∞, 0]. The point x = 0 where these functions
make the transition from concavity to convexity (or vice-versa) is called an inflection point.
• sin x is concave on [0, π], cos x is concave on [0, π/2].
√
• log x, x are concave on (0, ∞).
• f (x) = 1/x is convex on the interval (0, ∞) and concave on the interval (−∞, 0).
• Define f (x) = 0 if x ∈ (0, 1) and 1 if x = 0, 1. Then f is convex on [0, 1].
Problem 4. Show that a convex function f defined on some open interval I ⊂ R must be
continuous on I. If I is closed, then f may fail to be continuous at the endpoints of I — can
you give any such example?
Problem 6. Suppose that f : R+ → R is a convex function, with lim f (x) = 0. Prove that
x→0
g(x) = f (x)/x (defined for x > 0) is increasing.
2
Problem 8. As an application of Jensen’s inequality, prove the (simple) AM–GM inequality,
the weighted AM–GM inequality, or more generally, the power mean inequality.
1
cos A cos B cos C ≤ .
8
Problem 11. Let f : [a, b] → R be convex. Then show that
Z b
a+b 1 f (a) + f (b)
f ≤ f (x) dx ≤ .
2 b−a a 2
for all x ∈ R and y > 0. Show that there exist a, b ∈ R such that f (x) = ax + b for all x ∈ R.
Problem 13. Let ai > 0 for i = 1, 2, . . . , n and a1 + a2 + · · · + an = 1. Prove that for any
k ∈ N, n
k 1 k 1 k 1 k 1
a1 + k a2 + k . . . an + k ≥ n + k .
a1 a2 an n
Problem 14. Let f : (a, b) → R be a continuous function that satisfies
x+y f (x) + f (y)
f ≤
2 2