Bourbaki

§ 4. Convex functions of a real variable

Let HH be a subset of R\mathbf{R}. ff a finite real function defined on HH, and let GG be the graph or representative set of the function ff in R×R=R2\mathbf{R} \times \mathbf{R} = \mathbf{R}^2, the set of points Mx=(x,f(x))M_x = (x, f(x)), where xx runs through HH. It is convenient to say that a point (a,b)(a, b) of R2\mathbf{R}^2 such that a∈Ha \in H lies above (resp. strictly above, below, strictly below) GG if one has b≥f(a)b \geq f(a) (resp. b>f(a)b > f(a), b≤f(a)b \leq f(a), b<f(a)b < f(a)). If A=(a,a′)A = (a, a') and B=(b,b′)B = (b, b') are two points of R2\mathbf{R}^2 we denote by ABAB the closed segment with endpoints AA and BB; if a<ba < b then ABAB is the graph of the linear function a′+b′−a′b−a(x−a)a' + \frac{b' - a'}{b - a} (x - a) defined on [a,b][a, b]; we denote the slope b′−a′b−a\frac{b' - a'}{b - a} of this segment by p(AB)p(AB), and will make use of the following lemma, whose verification is immediate:

Lemma

Let A=(a,a′)A = (a, a'), B=(b,b′)B = (b, b'), C=(c,c′)C = (c, c') be three points in R2\mathbf{R}^2 such that a<b<ca < b < c. The following statements are equivalent:

a) B is below AC; b) C lies above the line passing through A and B; c) A is above the line passing through B and C; d) p(AB)≤p(AC)p(AB) \leq p(AC); e) p(AC)≤p(BC)p(AC) \leq p(BC).

The lemma still holds when one replaces "above" (resp. "below") by "strictly above" (resp. "strictly below") and the sign ≤\leq by < (fig. 1).

!Graph showing points A, B, C, and segments labeled with x values a, b, c

Fig. 1

1. Definition of a convex function

Definition 1

We say that a finite numerical function ff, defined on an interval I⊂RI \subset \mathbf{R}, is convex on II if, no matter what the points x,x′x, x' of II, (x<x′x < x'), every point MzM_z of the graph GG of ff such that x≤z≤x′x \leq z \leq x' lies below the segment MxMx′M_xM_{x'} (or, what comes to the same, if every point of this segment lies above GG) (fig. 2).

!Graph showing points M_x, M_z, M_{x'}, and curve G

Fig. 2

Taking account of the parametric representation of a segment (Gen. Top., VI, p. 35), the condition for ff to be convex on I is that one has the inequality

f(λx+(1−λ)x′)≤λf(x)+(1−λ)f(x′) f(\lambda x + (1 - \lambda)x') \leq \lambda f(x) + (1 - \lambda)f(x')

for each pair of points (x,x′)(x, x') of I and every λ∈[0,1]\lambda \in [0, 1].

Definition 1 is equivalent to the following: the set of points in R2\mathbf{R}^2 lying above the graph G of ff is convex. Indeed, this condition is clearly sufficient for ff to be convex on I; it is also necessary, for if ff is convex on I, and if (x,y),(x′,y′)(x, y), (x', y') are two points lying above G, then one has y≥f(x), y′≥f(x′)y \geq f(x),\ y' \geq f(x'), from which, for 0≤λ≤10 \leq \lambda \leq 1,

λy+(1−λ)y′≥λf(x)+(1−λ)f(x′)≥f(λx+(1−λ)x′) \lambda y + (1 - \lambda)y' \geq \lambda f(x) + (1 - \lambda)f(x') \geq f(\lambda x + (1 - \lambda)x')

by (1), which shows that every point of the segment with endpoints (x,y)(x, y) and (x′,y′)(x', y') lies above G.

Remark

On sees in the same way that the set of points lying strictly above G is convex. Conversely, if this set is convex one has

λy+(1−λ)y′>f(λx+(1−λ)x′) \lambda y + (1 - \lambda)y' > f(\lambda x + (1 - \lambda)x')

for 0≤λ≤10 \leq \lambda \leq 1 and y>f(x), y′>f(x′)y > f(x),\ y' > f(x'); on letting y tend to f(x)f(x) and y′y' approach f(x′)f(x') in this formula it follows that ff is convex.

Example 1

Every (real) affine linear function ax+bax + b is convex on R\mathbf{R}.

Example 2

The function x2x^2 is convex on R\mathbf{R}, since one has

λx2+(1−λ)(x′)2−(λx+(1−λ)x′)2=λ(1−λ)(x−x′)2≥0 \lambda x^2 + (1 - \lambda)(x')^2 - \left( \lambda x + (1 - \lambda)x' \right)^2 = \lambda(1 - \lambda)(x - x')^2 \geq 0

for 0≤λ≤10 \leq \lambda \leq 1.

Example 3

The function ∣x∣|x| is convex on R\mathbf{R}, since

∣λx+(1−λ)x′∣≤λ∣x∣+(1−λ)∣x′∣ |\lambda x + (1 - \lambda)x'| \leq \lambda |x| + (1 - \lambda)|x'|

for 0≤λ≤10 \leq \lambda \leq 1.

It is clear that if ff is convex on I, then its restriction to any interval J⊂IJ \subset I is convex on J.

Let ff be a convex function on I, and x,x′x, x' two points of I such that x<x′x < x'; if z∈Iz \in I is exterior to [x,x′][x, x'] then MzM_z lies above the line D joining MxM_x and Mx′M_{x'}; this is an immediate consequence of the lemma.

One deduces from this that if zz is a point such that x<z<x′x < z < x' and such that MzM_z lies on the segment MxMx′M_x M_{x'}, then, for every other point z′z' such that x<z′<x′x < z' < x' the point Mz′M_{z'} also lies on the segment MxMx′M_x M_{x'}, for it follows from the above that Mz′M_{z'} is at the same time both above and below this segment; in other words, ff is then equal to an affine linear function on [x,x′][x, x'].

Definition 2

We say that a finite real function ff defined on an interval I⊂RI \subset \mathbf{R} is strictly convex on I if, for any points x,x′x, x' of I (x<x′x < x'), every point MzM_z of the graph G of ff such that x<z<x′x < z < x' lies strictly below the segment MxMx′M_x M_{x'} (or, what comes to the same, if every point of the segment, apart from the endpoints, lies strictly above G).

In other words, we must have the inequality

f(λx+(1−λ)x′)<λf(x)+(1−λ)f(x′) f(\lambda x + (1 - \lambda)x') < \lambda f(x) + (1 - \lambda)f(x')

for every pair of distinct points (x,x′)(x, x') of II and every λ\lambda such that 0<λ<10 < \lambda < 1.

The remarks that precede def. 2 show that for a convex function ff to be strictly convex on II it is necessary and sufficient that there be no interval contained in II (not reducing to a single point) such that the restriction of ff to this interval is affine linear.

Of the examples above, the first and third are not strictly convex; on the other hand, x2x^2 is strictly convex on R\mathbf{R}; a similar calculation shows that 1/x1/x is strictly convex on [0,+∞[[0, +\infty[.

Proposition 1

Let ff be a finite real function, convex (resp. strictly convex) on an interval I⊂RI \subset \mathbf{R}. For every family (xi)1≤i≤p(x_i)_{1 \leq i \leq p} of p≥2p \geq 2 distinct points of II, and every family (λi)1≤i≤p(\lambda_i)_{1 \leq i \leq p} of pp real numbers such that 0<λi<10 < \lambda_i < 1 and ∑i=1pλi=1\sum_{i=1}^p \lambda_i = 1, we have

f(∑i=1pλixi)≤∑i=1pλif(xi) f\left( \sum_{i=1}^p \lambda_i x_i \right) \leq \sum_{i=1}^p \lambda_i f(x_i)

(resp.

f(∑i=1pλixi)<∑i=1pλif(xi)). f\left( \sum_{i=1}^p \lambda_i x_i \right) < \sum_{i=1}^p \lambda_i f(x_i)).

Since the proposition (for convex functions) reduces to the inequality (1) for p=2p = 2 we argue by induction for p>2p > 2. The number μ=∑i=1p−1λi\mu = \sum_{i=1}^{p-1} \lambda_i is >0> 0; it is immediate that if aa and bb are the smallest and largest of the xix_i then a≤∑i=1p−1λixi∑i=1p−1λi≤ba \leq \frac{\sum_{i=1}^{p-1} \lambda_i x_i}{\sum_{i=1}^{p-1} \lambda_i} \leq b; in other words, the point x=1μ∑i=1p−1λixix = \frac{1}{\mu} \sum_{i=1}^{p-1} \lambda_i x_i belongs to II, and the induction hypothesis implies that μf(x)≤∑i=1p−1λif(xi)\mu f(x) \leq \sum_{i=1}^{p-1} \lambda_i f(x_i); moreover we have, from (1), that

f(∑i=1pλixi)=f(μx+(1−μ)xp)≤μf(x)+(1−μ)f(xp)≤∑i=1pλif(xi). f\left( \sum_{i=1}^p \lambda_i x_i \right) = f(\mu x + (1 - \mu)x_p) \leq \mu f(x) + (1 - \mu)f(x_p) \leq \sum_{i=1}^p \lambda_i f(x_i).

One argues in the same way for strictly convex functions, starting from the inequality (2).

We say that a finite real function ff is concave (resp. strictly concave) on II if −f-f is convex (resp. strictly convex) on II. It comes to the same to say that for every pair (x,x′)(x, x') of distinct points of II and every λ\lambda such that 0<λ<10 < \lambda < 1 one has

f(λx+(1−λ)x′)≥λf(x)+(1−λ)f(x′) f(\lambda x + (1 - \lambda)x') \geq \lambda f(x) + (1 - \lambda)f(x')

(resp. f(λx+(1−λ)x′)>λf(x)+(1−λ)f(x′)f(\lambda x + (1 - \lambda)x') > \lambda f(x) + (1 - \lambda)f(x')).

2. Families of convex functions

Proposition 2

Let fif_i (1≤i≤p1 \leq i \leq p) be pp convex functions on an interval I⊂RI \subset \mathbf{R}, and cic_i (1≤i≤p1 \leq i \leq p) be pp arbitrary positive numbers; then the function f=∑i=1pcifif = \sum_{i=1}^p c_i f_i is convex on II. Further, if for at least one index jj the function fjf_j is strictly convex on II, and cj>0c_j > 0, then ff is strictly convex on II.

This follows immediately by applying the inequality (1) (resp. (2)) to each of the fif_i, multiplying the inequality for fif_i by cic_i, and then adding term-by-term.

Proposition 3

Let (fα)(f_\alpha) be a family of convex functions on an interval I⊂RI \subset \mathbf{R}; if the upper envelope gg of this family is finite at every point of II then gg is convex on II.

Indeed, the set of points (x,y)∈R2(x, y) \in \mathbf{R}^2 lying above the graph of gg is the intersection of the convex sets formed by the points lying above the graph of each of the functions fαf_\alpha; so it is convex.

Proposition 4

Let HH be a set of convex functions on an interval I⊂RI \subset \mathbf{R}; if F\mathfrak{F} is a filter on HH which converges pointwise on II to a finite real function f0f_0, then this function is convex on II.

To see this it suffices to pass to the limit along F\mathfrak{F} in the inequality (1).

3. Continuity and differentiability of convex functions

Proposition 5

For a real finite function ff to be convex (resp. strictly convex) on an interval II it is necessary and sufficient that for all a∈Ia \in I the gradient

p(MaMx)=f(x)−f(a)x−a p(M_a M_x) = \frac{f(x) - f(a)}{x - a}

be an increasing (resp. strictly increasing) function of xx on I∩C{a}I \cap \mathbf{C}\{a\}.

This proposition is an immediate consequence of definitions 1 and 2 and of the lemma of I, p. 23.

Proposition 6

Let ff be a finite real function convex on an interval I⊂RI \subset \mathbf{R}. Then at every interior point aa of II the function ff is continuous, has finite right and left derivatives, and fg′(a)≤fd′(a)f'_g(a) \leq f'_d(a).

Indeed, for x∈Ix \in I and x>ax > a the function x↦f(x)−f(a)x−ax \mapsto \frac{f(x) - f(a)}{x - a} is increasing (prop. 5) and bounded below, since if y<ay < a and y∈Iy \in I we have

f(y)−f(a)y−a≤f(x)−f(a)x−a \frac{f(y) - f(a)}{y - a} \leq \frac{f(x) - f(a)}{x - a}
(5)

by prop. 5; this function therefore has a finite right limit at the point aa; in other words, fd′(a)f'_d(a) exists and is finite; further, letting xx approach aa (x>ax > a) in (5), it follows that

f(y)−f(a)y−a≤fd′(a) \frac{f(y) - f(a)}{y - a} \leq f'_d(a)
(6)

for all y<ay < a belonging to I. In the same way one shows that fg′(a)f'_g(a) exists and that

fd′(a)≤f(x)−f(a)x−a f'_d(a) \leq \frac{f(x) - f(a)}{x - a}
(7)

for x∈Ix \in I and x>ax > a. On letting xx approach aa (x>ax > a) in this last inequality we obtain fg′(a)≤fd′(a)f'_g(a) \leq f'_d(a). The existence of the left and right derivatives at the point aa clearly ensures the continuity of ff at this point.

Corollary 1

Let ff be a convex (resp. strictly convex) function on I; if aa and bb are two interior points of I such that a<ba < b one has* (fig. 3)

!A graph showing a convex function with tangents at points a and b, labeled M_a and M_b, respectively.

Fig. 3

fd′(a)≤f(b)−f(a)b−a≤fg′(b) f'_d(a) \leq \frac{f(b) - f(a)}{b - a} \leq f'_g(b)
(8)

(resp.

fd′(a)<f(b)−f(a)b−a<fg′(b) f'_d(a) < \frac{f(b) - f(a)}{b - a} < f'_g(b)
(9)

The double inequality (8) results from (6) and (7) by a simple change of notation. On the other hand, if ff is strictly convex and cc is such that a<c<ba < c < b one has, from (8) and prop. 5,

fd′(a)≤f(c)−f(a)c−a<f(b)−f(a)b−a<f(b)−f(c)b−c≤fg′(b) f'_d(a) \leq \frac{f(c) - f(a)}{c - a} < \frac{f(b) - f(a)}{b - a} < \frac{f(b) - f(c)}{b - c} \leq f'_g(b)

from which (9).

Corollary 2

If ff is convex (resp. strictly convex) on I then fd′f'_d and fg′f'_g are increasing (resp. strictly increasing) on the interior of I; the set of points in I at which ff is not differentiable is countable, and fd′f'_d and fg′f'_g are continuous at every point where ff is differentiable.

The first part follows immediately from (8) (resp. (9)) and the inequality

fg′(a)≤fd′(a). f'_g(a) \leq f'_d(a).

On the other hand, let E be the set of interior points xx of I where ff is not differentiable (that is fg′(x)<fd′(x)f'_g(x) < f'_d(x)). For each x∈Ex \in E let JxJ_x be the open interval ]fg′(x),fd′(x)[]f'_g(x), f'_d(x)[; it follows from (8) that if xx and yy are two points of E such that x<yx < y, then u<vu < v for all u∈Jxu \in J_x and all v∈Jyv \in J_y; in other words, as xx runs through E the open nonempty intervals JxJ_x are pairwise disjoint; the set of such intervals is thus countable, and hence so is E. Finally, fd′f'_d (resp. fg′f'_g) being increasing, it has a right limit and a left limit at every interior point xx of I; prop. 6 of I, p. 18 now shows that the right limit of fd′f'_d (resp. fg′f'_g) at the point xx is equal to fd′(x)f'_d(x), and its left limit is fg′(x)f'_g(x), from which we have the last part of the corollary.

Let ff be a convex function on I, aa an interior point of I, and D a line passing through the point MaM_a, with equation y−f(a)=α(x−a)y - f(a) = \alpha(x - a). It follows from the inequalities (8) that if fg′(a)≤α≤fd′(a)f'_g(a) \leq \alpha \leq f'_d(a) then every point of the graph G lies above D, and, if ff is strictly convex, MaM_a is the only point common to D and G; one says that D is a support line to G at the point MaM_a. Conversely, if G lies above D, one has f(x)−f(a)≥α(x−a)f(x) - f(a) \geq \alpha(x - a) for every x∈Ix \in I, from which f(x)−f(a)x−a≥α\frac{f(x) - f(a)}{x - a} \geq \alpha for x>ax > a, and f(x)−f(a)x−a≤α\frac{f(x) - f(a)}{x - a} \leq \alpha for x<ax < a; on letting xx tend to aa in these inequalities it follows that fg′(a)≤α≤fd′(a)f'_g(a) \leq \alpha \leq f'_d(a).

In particular, if ff is differentiable at the point aa there is only one supporting line to G at the point MaM_a, the tangent to G at MaM_a.

Remark

If ff is a strictly convex function on an open interval I then fd′f'_d is strictly increasing on I, so there are three possible cases, according to prop. 2 of I, p. 13: 1. ff is strictly decreasing on I; 2. ff is strictly increasing on I; 3. there is an a∈Ia \in I such that ff is strictly decreasing for x≤ax \leq a, and is strictly increasing for x≥ax \geq a.

When ff is convex on I, but not strictly convex, ff can be constant on an interval contained in I; let J=]a,b[J = ]a, b[ be the largest open interval on which ff is constant (that is to say, the interior of the interval where fd′(x)=0f'_d(x) = 0); then ff is strictly decreasing on the interval formed by the points x∈Ix \in I such that x≤ax \leq a (if it exists), strictly increasing on the interval formed by the points x∈Ix \in I such that x≥bx \geq b (if it exists).

In all cases one sees that ff possesses a right limit at the left-hand endpoint of II (in R‾\overline{\mathbf{R}}), and a left limit at the right-hand endpoint; these limits may be finite or infinite (cf. I, p. 46, exerc. 5, 6 and 7). By abuse of language one sometimes says that the continuous function (with values in R‾\overline{\mathbf{R}}), equal to ff on the interior of II, and extended by continuity to the endpoints of II, is convex on I‾\overline{I}.

4. Criteria for convexity

Proposition 7

Let ff be a finite real function defined on an interval I⊂RI \subset \mathbf{R}. For ff to be convex on II it is necessary and sufficient that for every pair of numbers a,ba, b of II such that a<ba < b, and for every real number μ\mu, the function f(x)+μxf(x) + \mu x attains its supremum on [a,b][a, b] at one of the points a,ba, b.

The condition is necessary; indeed, since μx\mu x is convex on R\mathbf{R}, the function f(x)+μxf(x) + \mu x is convex on II; one can therefore restrict oneself to the case μ=0\mu = 0. Then, for

x=λa+(1−λ)b(0≤λ≤1), x = \lambda a + (1 - \lambda) b \quad (0 \leq \lambda \leq 1),
one has
f(x)≤λf(a)+(1−λ)f(b)≤Max⁡(f(a),f(b)). f(x) \leq \lambda f(a) + (1 - \lambda) f(b) \leq \operatorname{Max}(f(a), f(b)).

The condition is sufficient. Let us take μ=−f(b)−f(a)b−a\mu = -\frac{f(b) - f(a)}{b - a} and let g(x)=f(x)+μxg(x) = f(x) + \mu x; one has g(a)=g(b)g(a) = g(b) and therefore g(x)≤g(a)g(x) \leq g(a) for all x∈[a,b]x \in [a, b], and one can check immediately that this inequality is equivalent to the inequality (1) where one replaces zz by aa and x′x' by bb.

Proposition 8

For a finite real function ff to be convex (resp. strictly convex) on an open interval I⊂RI \subset \mathbf{R} it is necessary and sufficient that it be continuous on II, have a derivative at every point of the complement BB relative to II of a countable subset of this interval, and that the derivative be increasing (resp. strictly increasing) on BB.

The condition is necessary, from prop. 6 and its corollary 2 (I, p. 27); let us show that it is sufficient. Suppose, therefore, that f′f' is increasing on BB, and that ff is not convex; there then exist (I, p. 27, prop. 5) three points a,b,ca, b, c of II, such that a<c<ba < c < b, and f(c)−f(a)c−a>f(b)−f(c)b−c\frac{f(c) - f(a)}{c - a} > \frac{f(b) - f(c)}{b - c}; but from the mean value theorem (I, p. 14, th. 1) one has

f(c)−f(a)c−a≤sup⁡x∈B, a<x<cf′(x)andf(b)−f(c)b−c≥inf⁡x∈B, c<x<bf′(x). \frac{f(c) - f(a)}{c - a} \leq \sup_{x \in B,\ a < x < c} f'(x) \quad \text{and} \quad \frac{f(b) - f(c)}{b - c} \geq \inf_{x \in B,\ c < x < b} f'(x).

One thus has sup⁡λ∈B, a<λ<cf′(λ)>inf⁡λ∈B, c<λ<bf′(λ)\sup_{\lambda \in B,\ a < \lambda < c} f'(\lambda) > \inf_{\lambda \in B,\ c < \lambda < b} f'(\lambda), contrary to the hypothesis that f′f' is increasing on BB.

If now we assume that f′f' is strictly increasing on BB, then ff is convex and cannot be equal to an affine linear function on any open interval contained in II, for then f′f' would be constant on this interval, contrary to the hypothesis.

Corollary

Let ff be a finite real function, continuous and twice differentiable on an interval I⊂RI \subset \mathbf{R}; for ff to be convex on II it is necessary and sufficient that f′′(x)⩾0f''(x) \geqslant 0 for all x∈Ix \in I; for ff to be strictly convex on II it is necessary and sufficient that the previous condition be satisfied and further that the set of points x∈Ix \in I where f′′(x)>0f''(x) > 0 be dense in II.

This follows immediately from the preceding proposition, and from the corollary at I, p. 14.

Example

On the interval ]0,+∞0, +\infty [ the function xrx^r (rr any real number) has a second derivative equal to r(r−1)x−2r(r-1)x^{-2}; thus it is strictly convex if r>1r > 1 or r<0r < 0, and strictly concave if 0<r<10 < r < 1. \

In order to be able to formulate another criterion for convexity we make the following definition: given the graph GG of a finite real function defined on an interval I⊂RI \subset \mathbf{R} and an interior point aa of II, we shall say that a line DD passing through Ma=(a,f(a))M_a = (a, f(a)) is locally above (resp. locally below) GG if there exists a neighbourhood V⊂IV \subset I of aa such that every point of DD contained in V×RV \times \mathbf{R} is above (resp. below) GG; we shall say that DD is locally on GG at the point MaM_a if there is a neighbourhood V⊂IV \subset I of aa such that the intersection of DD and V×RV \times \mathbf{R} is identical to that of GG and V×RV \times \mathbf{R} (in other words, if DD is simultaneously locally above and locally below GG).

Proposition 9

Let ff be a real finite function which is upper semi-continuous on an open interval I⊂RI \subset \mathbf{R}. For ff to be convex on II it is necessary and sufficient that for every point MxM_x of the graph GG of ff every line locally above GG at this point should be locally on GG (at the point MxM_x).

The condition is necessary: indeed, if ff is convex on II then at every point MaM_a of the graph GG of ff there exists a support line Δ\Delta to GG: now Δ\Delta is below GG, so a fortiori locally below GG (I, p. 29); if a line DD is locally above GG at the point MaM_a it is locally above Δ\Delta, so must coincide with Δ\Delta, and consequently is locally on GG at the point MaM_a.

The condition is sufficient. Indeed, suppose it is satisfied, and suppose that ff is not convex on II; then there are two points a,ba, b of II (a<ba < b) such that there are points MxM_x of GG strictly above the segment MaMbM_aM_b (fig. 4). In other words, the function g(x)=f(x)−f(a)−f(b)−f(a)b−a(x−a)g(x) = f(x) - f(a) - \frac{f(b) - f(a)}{b - a}(x - a) takes values >0> 0 on [a,b][a, b]; since gg is finite and upper semi-continuous on this compact interval its least upper bound kk on [a,b][a, b] is finite and >0> 0, and the set g−1(k)g^{-1}(k) is closed and not empty (\emph{Gen. Top.}, IV, p. 361, th. 3 and prop. 1). Let cc be the greatest lower bound of g−1(k)g^{-1}(k); we have a<c<ba < c < b. and at the point McM_c the line D with equation y=f(c)+f(b)−f(a)b−a(x−c)y = f(c) + \frac{f(b) - f(a)}{b - a}(x - c) lies locally above G; but it cannot be locally on G at this point, since, for a<x<ca < x < c, one has g(x)<kg(x) < k, which signifies that MxM_x is strictly below D. This has led us to a contradiction, which establishes the proposition.

Corollary 1

For a real finite function* ff defined on an open interval I⊂RI \subset \mathbf{R} and upper semi-continuous on II to be convex on II it is necessary and sufficient that for all x∈Ix \in I there should exist an ε>0\varepsilon > 0 such that the relation ∣h∣≤ε|h| \leq \varepsilon *entails

f(x)≤12(f(x+h)+f(x−h)). f(x) \leq \frac{1}{2} \left( f(x + h) + f(x - h) \right).

We have only to show that the condition is sufficient. Indeed, if at a point MaM_a of the graph G of ff a line D is locally above G, then it is locally on G at this point; for, in the opposite case, for example, a point Ma+hM_{a+h} would be strictly below D, while a point Ma−hM_{a-h} would be below D: the mid-point of the segment Ma−hMa+hM_{a-h}M_{a+h} would thus be strictly above D (fig. 5), and, in virtue of the hypothesis, MaM_a would a fortiori be strictly below D, which is absurd.

!A graph showing a convex function with points M_{a-h}, M_a, M_{a+h} and a tangent line labeled D.

Fig. 5

Corollary 2

Let ff be a finite real function defined on an open interval I⊂RI \subset \mathbf{R}. If for every point x∈Ix \in I there is an open interval Jx⊂IJ_x \subset I containing xx and such that the restriction of ff to JxJ_x is convex on JxJ_x, then ff is convex on II.

It is clear that ff satisfies the criterion of prop. 9.

Exercises

See the exercises for § 4.

Transcribed from the printed volume. Not translated.