analysis (differential/integral calculus, functional analysis, topology)
metric space, normed vector space
open ball, open subset, neighbourhood
convergence, limit of a sequence
compactness, sequential compactness
continuous metric space valued function on compact metric space is uniformly continuous
…
…
A convex function is a real-valued function defined on a convex set whose graph is the boundary of a convex set.
There is another context where people say a function is convex if it is a Lipschitz function between metric spaces with Lipschitz constant (or Lipschitz modulus) 1. These are different concepts of convexity, although there are relations between convexity and Lipschitz continuity, as we shall see below.
Let be a convex space. A function is convex if the set is a convex subspace of . Equivalently, is convex if for all ,
whenever .
This definition obviously extends to functions where is an interval of (whether open or closed or half-open, it doesn’t matter).
The function is called concave if it satisfy the reverse inequality to the one given above, or equivalently if is convex.
A function is strictly convex if the inequality holds strictly whenever . In high-school mathematics, one often says concave upward for strictly convex and concave downward for strictly concave.
A homomorphism of convex sets, i.e. a convex-linear map, , is of course convex.
The norm function is convex. This follows readily from multiplicativity and the triangle inequality .
More generally, for a normed vector space , the norm function is convex, again by the triangle inequality and the scaling axiom for scalars .
For any twice-differentiable function , the second derivative is nonnegative iff is convex; this may be proven using the mean value theorem. Examples include the exponential function and the -power function if .
More generally, for an open convex region in a Euclidean space, a twice-differentiable function is convex iff its Hessian is a positive semidefinite bilinear form.
Any positive -linear combination of convex functions on is again convex.
The pointwise maximum of two convex functions on is again convex.
If is a homomorphism or convex-linear map between convex spaces, and if is convex, then is convex.
In the next two examples, is an interval.
It is not generally true that a composition of convex functions is convex. For example, this fails for the case and and given by .
However, if is both monotone increasing and convex, then for any convex function , the composite is convex (as is easily shown).
A special case of the last class of examples are functions of the form where is convex. We say a function is log-convex if is convex. We see then that log-convex functions are also convex. The identity function on is an example of a convex function that is not log-convex (or use for a strict example).
If is convex and , then
Consequently, the function on the domain is increasing and is bounded above by ; similarly, this function on the domain is increasing and bounded below by .
The proof is virtually trivial; just write as a convex combination and use the definition of convexity.
A convex function is continuous.
For any point there are with . Then for any we have by Lemma
so that serves as a Lipschitz constant, i.e., we have
for all . This is enough to force continuity at the point .
In the converse direction, we have the following result which frequently arises in practice.
If is a convex set and is a continuous function such that
then is convex.
For any fixed , the function defined by
is continuous. The inverse image is closed in and, by an easy induction argument, contains the set of dyadic rational numbers , which is dense in . Being closed and dense, is all of , i.e., for all , but this is precisely the condition that is convex.
Another easy consequence of Lemma is
For a convex function , the right-hand and left-hand derivatives
of exist at every point , and the left-hand derivative at is less than or equal to the right-hand derivative at .
It further follows from Lemma that if is convex and we define to be the average of the right-hand and left-hand derivatives, then is monotone increasing and hence is discontinuous at at most countable many points of jump discontinuity (whence is Riemann-integrable, for instance).
See also
Last revised on December 17, 2023 at 01:17:04. See the history of this page for a list of all contributions to it.