Contents Text Exercises
Thank you for your comment. The author of the tutorial has been notified.
The twin notions of concavity and convexity are used widely in economic theory, and are also central to optimization theory. A function of a single variable is concave if every line segment joining two points on its graph does not lie above the graph at any point. Symmetrically, a function of a single variable is convex if every line segment joining two points on its graph does not lie below the graph at any point. These concepts are illustrated in the following figures.
A concave function:
no line segment joining
two points on the graph
lies above the graph
A convex function:
no line segment joining
two points on the graph
lies below the graph
A function that is neither
concave nor convex:
the line segment shown lies
above the graph at some
points and below it at others
Here is a precise definition.
To make this definition more useful, we can translate it into an algebraic condition. Let f be a function defined on the interval [x1, x2]. This function is concave according to the definition if, for every pair of numbers a and b with x1 ≤ a ≤ x2 and x1 ≤ b ≤ x2, the line segment from (a, f(a)) to (b, f(b)) lies on or below the graph of the function, as illustrated in the following figure.
(1 − λ) f ( a ) + λ f ( b )
Denote the height of the line segment from (a, f(a)) to (b, f(b)) at the point x by ha,b(x). Then according to the definition, the function f is concave if and only if for every pair of numbers a and b with x1 ≤ a ≤ x2 and x1 ≤ b ≤ x2 we have
f(x) | ≥ | ha,b(x) for all x with a ≤ x ≤ b. (*) |
Now, every point x with a ≤ x ≤ b may be written as x = (1 − λ)a + λb, where λ is a real number from 0 to 1. (When λ = 0, we have x = a; when λ = 1 we have x = b.) The fact that ha,b is linear means that
ha,b((1 − λ)a + λb) | = | (1 − λ)ha,b(a) + λha,b(b) |
for any value of λ with 0 ≤ λ ≤ 1. Further, we have ha,b(a) = f(a) and ha,b(b) = f(b) (the line segment coincides with the function at its endpoints), so
ha,b((1 − λ)a + λb) | = | (1 − λ)f(a) + λf(b). |
f((1−λ)a + λb) | ≥ | (1 − λ)f(a) + λf(b) for all λ with 0 ≤ λ ≤ 1. |
We can make a symmetric argument for a convex function. Thus the definition of concave and convex functions may be rewritten as follows.
f((1−λ)a + λb) | ≥ | (1 − λ)f(a) + λf(b) |
f((1−λ)a + λb) | ≤ | (1 − λ)f(a) + λf(b). |
Note that a function may be both concave and convex. Let f be such a function. Then for all values of a and b we have
f((1−λ)a + λb) | ≥ | (1 − λ)f(a) + λf(b) for all λ ∈ (0, 1) |
f((1−λ)a + λb) | ≤ | (1 − λ)f(a) + λf(b) for all λ ∈ (0, 1). |
f((1−λ)a + λb) | = | (1 − λ)f(a) + λf(b) for all λ ∈ (0, 1). |
That is, a function is both concave and convex if and only if it is linear (or, more properly, affine), taking the form f(x) = α + βx for all x, for some constants α and β.
Economists often assume that a firm's production function is increasing and concave. Examples of such a function for a firm that uses a single input are shown in the next two figures. The fact that such a production function is increasing means that more input generates more output. The fact that it is concave means that the increase in output generated by each one-unit increase in the input does not increase as more input is used. In economic jargon, there are “nonincreasing returns” to the input, or, given that the firm uses a single input, “nonincreasing returns to scale”. In the example in the first of the following two figures, the increase in output generated by each one-unit increase in the input not only does not increase as more of the input is used, but in fact decreases, so that in economic jargon there are “diminishing returns”, not merely “nonincreasing returns”, to the input.
Concave production function
( z = input, f ( z ) = output)
Concave production function
( z = input, f ( z ) = output)
The notions of concavity and convexity are important in optimization theory because, as we shall see, a simple condition is sufficient (as well as necessary) for a maximizer of a differentiable concave function and for a minimizer of a differentiable convex function. (Precisely, every point at which the derivative of a concave differentiable function is zero is a maximizer of the function, and every point at which the derivative of a convex differentiable function is zero is a minimizer of the function.)
The next result shows that a nondecreasing concave transformation of a concave function is concave.
Proposition 3.1.1 Let U be a concave function of a single variable and g a nondecreasing and concave function of a single variable. Define the function f by f(x) = g( U (x)) for all x. Then f is concave.
Proof We need to show that f((1−λ)a + λb) ≥ (1−λ)f(a) + λf(b) for all values of a and b with a ≤ b and all λ ∈ (0, 1).
By the definition of f we have
f((1−λ)a + λb) | = | g( U ((1−λ)a + λb)). |
U ((1−λ)a + λb) | ≥ | (1 − λ) U (a) + λ U (b). |
g( U ((1−λ)a + λb)) | ≥ | g((1−λ) U (a) + λ U (b)). |
If we let λ1 = 1 − λ and λ2 = λ in the earlier definition of a concave function and replace a by x1 and b by x2, the definition becomes: f is concave on the interval I if for all x1 ∈ I , all x2 ∈ I , and all λ1 ≥ 0 and λ2 ≥ 0 with λ1 + λ2 = 1 we have
f(λ1x1 + λ2x2) | ≥ | λ1f(x1) + λ2f(x2). |
The following result, due to Johan Jensen (1859–1925), shows that this characterization can be generalized. (The J in each of Jensen's names is, incidentally, pronounced the way an English speaker pronounces a Y.)
Proposition 3.1.2 (Jensen's inequality) source A function f of a single variable defined on the interval I is concave if and only if for all n ≥ 2
f(λ1x1 + . + λnxn) | ≥ | λ1f(x1) + . + λnf(xn) |
The function f of a single variable defined on the interval I is convex if and only if for all n ≥ 2
f(λ1x1 + . + λnxn) | ≤ | λ1f(x1) + . + λnf(xn) |
The following diagram of a differentiable concave function should convince you that the graph of such a function lies on or below every tangent to the function. In the figure, the red line is the graph of the function and the gray line is the tangent at the point x*, which has slope f'(x*).
The fact that the graph of the function lies below this tangent is equivalent to
f(x) − f(x*) ≤ f'(x*)(x − x*) for all x.The next result states this observation, and the similar one for convex functions, precisely. It is used to show the important result that for a concave differentiable function f every point x for which f'(x) = 0 is a global maximizer, and for a convex differentiable function every such point is a global minimizer.
Proposition 3.1.3 proof The differentiable function f of a single variable defined on an open interval I is concave on I if and only if
f(x) − f(x*) | ≤ | f'(x*)(x − x*) for all x ∈ I and x* ∈ I |
f(x) − f(x*) | ≥ | f'(x*)(x − x*) for all x ∈ I and x* ∈ I . |
Proof hide I first show that if f is concave on I then the first inequality in the result holds. From the definition of a concave function, for all x ∈ I , all x* ∈ I , and all λ ∈ (0, 1) we have
f((1 − λ)x* + λx) | ≥ | (1 − λ)f(x*) + λf(x) |
f((1 − λ)x* + λx) | ≥ | f(x*) + λ(f(x) − f(x*)) |
f((1 − λ)x* + λx) − f(x*) |
λ |
g(λ) | = | f((1 − λ)x* + λx). |
f(x) − f(x*) | ≤ | (g(λ) − g(0))/λ. |
The function g is differentiable, because f is differentiable, and the limit of the right-hand side of this inequality as λ converges to 0 is g'(0) by the definition of a derivative. Thus
f(x) − f(x*) | ≤ | g'(0). |
Substituting this expression for the right-hand side of the inequality two lines above, we get the inequality in the result.
I now show that if the first inequality in the result holds then f is concave. Let x* ∈ I and x ∈ I , and define x' = (1 − λ)x* + λx. Then x' ∈ I and by the inequality, which holds for all values of x and x* in I , we have both
f(x*) − f(x') | ≤ | f'(x')(x* − x') |
f(x) − f(x') | ≤ | f'(x')(x − x') |
(letting x* = x'). Now let λ ∈ [0, 1], multiply the first inequality by 1 − λ and the second by λ, and add, to get
+ | λ(f(x) − f(x')) ≤ |
(1 − λ)f(x*) + λf(x) − f(x') | ≤ | f'(x')((1 − λ)x* + λx − x'). |
(1 − λ)f(x*) + λf(x) | ≤ | f((1 − λ)x* + λx), |
Symmetric arguments apply for a convex function.
We often assume that the functions in economic models (e.g. a firm's production function, a consumer's utility function) are twice-differentiable. We may determine the concavity or convexity of such a function by examining its second derivative: a function whose second derivative is nonpositive everywhere is concave, and a function whose second derivative is nonnegative everywhere is convex.
Source hide The result is a special case of a result for functions of many variables. For a direct proof, see Rockafellar (1970), Theorem 4.4 (p. 26).
Example 3.1.1 Is x 2 − 2x + 2 concave or convex on any interval? Its second derivative is 2 ≥ 0, so it is convex for all values of x.
Example 3.1.2 Is x 3 − x 2 concave or convex on any interval? Its second derivative is 6x − 2, so it is convex on the interval [1/3, ∞) and concave the interval (−∞, 1/3].
The next result shows how the characterization of concave twice-differentiable functions can be used to prove an earlier result when the functions involved are twice-differentiable. The earlier result is true for all functions, so the next result proves something we already know to be true. I include it only as an example of the usefulness of the characterization of concavity in the previous proposition.
Proposition 3.1.5 Let U be a concave function of a single variable and g a nondecreasing and concave function of a single variable. Assume that U and g are twice-differentiable. Define the function f by f(x) = g( U (x)) for all x. Then f is concave.
Proof We have f'(x) = g'( U (x)) U '(x), so thatf"(x) | = | g"( U (x))· U '(x)· U '(x) + g'( U (x)) U "(x). |
Since g"(x) ≤ 0 (g is concave), g'(x) ≥ 0 (g is nondecreasing), and U "(x) ≤ 0 ( U is concave), we have f"(x) ≤ 0. That is, f is concave.
A point at which a twice-differentiable function changes from being convex to concave, or vice versa, is an inflection point.
The function f in the following figure has an inflection point at c. For x between a and c, the value of f"(x) is negative, and for x between c and b, it is positive.
Concave production function
( z = input, f ( z ) = output)
The inequalities in the definition of concave and convex functions are weak: such functions may have linear parts, as does the function in the following figure for x > a.
A function that is concave
but not strictly concave
A concave function that has no linear parts is said to be strictly concave.
f((1−λ)a + λb) | > | (1 − λ)f(a) + λf(b). |
f((1−λ)a + λb) | (1 − λ)f(a) + λf(b). |
Does this result have an analogue for strictly concave functions? Not exactly. If f"(x) < 0 for all x ∈ (a,b) then f is strictly concave on [a, b], but the converse is not true: if f is strictly concave then its second derivative is not necessarily negative at all points. (Consider the function f(x) = −x 4 . It is concave, but its second derivative at 0 is zero, not negative.) That is,
f is strictly concave on [a, b] if f"(x) < 0 for all x ∈ (a, b), but if f is strictly concave on [a, b] then f"(x) is not necessarily negative for all x ∈ (a, b).
Analogous observations apply to the case of convex and strictly convex functions, with the conditions f"(x) ≥ 0 and f"(x) > 0 replacing the conditions f"(x) ≤ 0 and f"(x) < 0.
Copyright © 1997–2022 by Martin J. Osborne. First posted 1997. This version 2022-06-05.
Site built on the core of the OJS system.