How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced — the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted — a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated — a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Convexity
1 · Prerequisites
- Binary Operations, Monoids, Groups and Subgroups
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- Linear Independence, Bases and Dimension
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Summary
Convexity expresses that a graph lies below each chord joining two of its points. The interval hypothesis makes every convex combination available. This development uses one-sided limits, differentiability, monotonicity, continuity, and ordered-field tools to turn the chord inequality into quantitative estimates.
The three-slope inequality controls secant slopes, giving local Lipschitz continuity, finite one-sided derivatives, supporting lines, and countably many possible nondifferentiability points. For differentiable functions it characterises convexity by monotonicity of the derivative, and for twice-differentiable functions by nonnegative second derivative. The page also derives continuous midpoint convexity, finite Jensen inequality, minimiser consequences, and the change-of-convexity definition of inflection point.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval
Definition
Let be an interval (Intervals of : the nine order-convex forms, nondegeneracy, and length) and let . For and , the point belongs to . The function is convex when the convex-combination inequality holds for every weight in :
It is strictly convex when this inequality is strict whenever and . It is concave (respectively strictly concave) when is convex (respectively strictly convex). It is midpoint convex when the displayed inequality is required only at .
Remarks
The endpoint weights and impose equalities, so strict convexity does not ask for strictness there. A singleton interval satisfies the convexity and strict-convexity conditions vacuously.
For a convex function and , the three secant slopes satisfy
Statement
Let be convex on an interval and, for distinct , write . If lie in , then
Facts & Assumptions
Given: A convex and in .
A function is convex when the convex-combination inequality holds for every weight in (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
Proof
Put ; then , so convexity gives .
Multiplying this inequality by the positive number and rearranging gives .
Dividing step 2.1 successively by the positive products and gives .
A convex real function is Lipschitz on every closed bounded subinterval of the interior of its domain, hence continuous throughout the interior
Statement
Let be convex and let . Then there is such that for all . Thus is Lipschitz on (Lipschitz map, -Hölder map for rational , and contraction) and is continuous at every point of (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Facts & Assumptions
Given: A convex function and .
For a convex function and , the three secant slopes satisfy (For a convex function and , the three secant slopes satisfy ).
A function is Lipschitz with constant when for all points in its domain (Lipschitz map, -Hölder map for rational , and contraction).
Proof
Choose with ; then for , two applications of the three-slope inequality give .
With , step 1.1 yields for ; symmetry gives the same estimate for all , which is the Lipschitz condition.
Given , choose such an interval containing in its interior; the estimate in step 2.1 gives the -- condition at by taking when , and is immediate when .
The left and right derivatives of a real function as one-sided limits of its difference quotient
Definition
Let and let have points of on the indicated side. The left derivative and right derivative, when the corresponding one-sided limits exist as real numbers, are
These are the one-sided limits of the difference quotient (The left and right limits of at , as limits of the restrictions of to and ). If both exist and are equal, their common value is the ordinary derivative from The derivative of at a point that is a limit point of , and differentiability on a set.
A convex function on an open interval has finite left and right derivatives everywhere, with for
Statement
If is convex on an open interval, then and are finite for every . Moreover, for in ,
Facts & Assumptions
Given: A convex on an open interval and in .
For a convex function and three ordered points, the three secant slopes satisfy (For a convex function and , the three secant slopes satisfy ).
The left and right derivatives are the one-sided limits of the difference quotient (The left and right derivatives of a real function as one-sided limits of its difference quotient).
A nondecreasing function on an interval has every well-posed one-sided limit, given by the corresponding supremum or infimum (One-sided limits of a monotone function always exist: for nondecreasing on an interval and , whenever has points below , whenever it has points above , and these satisfy ).
Proof
For fixed , the functions on and on are nondecreasing by [L1]; choosing points on both sides of , [L1] bounds each near between two fixed finite outer secant slopes.
The monotone one-sided-limit theorem [L3] therefore supplies finite one-sided limits of these two slope functions at , and [L2] identifies them respectively with and .
Apply [L1] to and let , then to and let ; together with and obtained in the same way, this gives the displayed chain.
A convex function on an open interval is differentiable except at at most countably many points
Statement
If is convex on an open interval, then the set of points at which is not differentiable is at most countable.
Facts & Assumptions
Given: A convex on an open interval.
A convex function on an open interval has finite left and right derivatives everywhere, and for they satisfy the ordered one-sided-derivative chain (A convex function on an open interval has finite left and right derivatives everywhere, with for ).
The discontinuity set of a monotone real function on an interval is at most countable (Froda's theorem: the set of discontinuities of a monotone function on an interval is at most countable, the injection into being built from one fixed enumeration of the rationals by least index, so no choice principle is used).
A convex real function is continuous throughout an open interval on which it is convex (A convex real function is Lipschitz on every closed bounded subinterval of the interior of its domain, hence continuous throughout the interior).
Proof
Put . The order chain in [L1] gives whenever , so is nondecreasing.
For , [L1] gives . Conversely, if , [L1] gives . Letting , continuity from [L3] gives ; then letting gives . Since , nondifferentiability of at makes discontinuous there.
Froda's theorem makes the discontinuity set of at most countable, and step 1.2 places every nondifferentiability point of in that set.
A supporting line of slope for a real function at an interior point
Definition
Let , where is an interval (Intervals of : the nine order-convex forms, nondegeneracy, and length), and let be an interior point of . A line of slope supports at when
for every . The supporting line is the affine function .
Every slope between the left and right derivatives of a convex function gives a supporting line
Statement
Let be convex on an open interval, let , and let satisfy . Then the line supports at .
Facts & Assumptions
Given: A convex , an interior point , and .
A line of slope supports at when throughout the interval (A supporting line of slope for a real function at an interior point).
Proof
If , [L1] applied to gives .
If , [L1] gives .
Multiplying the inequalities in steps 1.1 and 2.1 by their positive denominators and rearranging yields on both sides of , while equality holds at ; hence [L2] applies.
A differentiable function on an open interval is convex if and only if its derivative is nondecreasing
Statement
For a differentiable on an open interval , is convex if and only if is nondecreasing on .
Facts & Assumptions
Given: A differentiable on an open interval .
For a convex function, the ordered one-sided-derivative chain holds; at a differentiability point its two one-sided derivatives equal the ordinary derivative (A convex function on an open interval has finite left and right derivatives everywhere, with for ).
If a differentiable real function has nonnegative derivative on an interval, then it is nondecreasing on that interval (On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed).
Proof
Assume is convex. For , [L1] becomes , so is nondecreasing.
Assume instead that is nondecreasing. For a fixed , the derivative of is nonpositive on the left of and nonnegative on the right; apply [L2] to on the left and to on the right to obtain for every .
If , multiply the supporting inequalities of step 1.2 at for and by and and add; this gives . Thus the two cases prove the equivalence.
A differentiable convex function on an open interval has a continuous derivative
Statement
If is differentiable and convex on an open interval, then is continuous on .
Facts & Assumptions
Given: A differentiable convex on an open interval.
A differentiable function on an open interval is convex if and only if its derivative is nondecreasing (A differentiable function on an open interval is convex if and only if its derivative is nondecreasing).
If is injective, or if is monotone, then is continuous (An injective or monotone derivative on an interval is continuous).
Proof
By [L1], is nondecreasing on .
Thus is monotone, so [L2] gives continuity of .
The conclusion holds at every point of the open interval .
A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative
Statement
If is twice differentiable on an open interval, then is convex if and only if for every .
Facts & Assumptions
Given: A twice differentiable on an open interval .
A differentiable function on an open interval is convex if and only if its derivative is nondecreasing (A differentiable function on an open interval is convex if and only if its derivative is nondecreasing).
If a differentiable real function has nonnegative derivative on an interval, then it is nondecreasing on that interval (On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed).
Proof
Assume is convex. By [L1], is nondecreasing; its difference quotients on either side of a point are nonnegative, and their common limit is therefore nonnegative.
Assume on . Applying [L2] to shows that is nondecreasing.
By [L1], the conclusion of step 1.2 makes convex, while step 1.1 proves the reverse implication.
Midpoint convexity gives the convexity inequality at every dyadic weight
Statement
Let be midpoint convex. For every , every , and all ,
Facts & Assumptions
Given: A midpoint-convex and .
Midpoint convexity is the convexity inequality at weight (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
Proof
For , the only weights are and , and the asserted inequalities are equalities.
Assume the assertion at . At , an even numerator reduces to the induction hypothesis; an odd numerator is the midpoint of the adjacent weights and , so [L1] followed by the induction hypothesis proves the assertion.
The base and successor steps establish the assertion for every natural and every .
A continuous midpoint-convex function on an interval is convex
Statement
If is midpoint convex and continuous on an interval , then is convex on .
Facts & Assumptions
Given: A continuous midpoint-convex , points , and .
Midpoint convexity gives the convexity inequality at every dyadic weight (Midpoint convexity gives the convexity inequality at every dyadic weight ).
For every positive real , there is a natural number such that (For every in a complete ordered field there is a natural with ).
For every real there is an integer with (Integer part: for every real there is exactly one integer with ).
Proof
For every , [L3] applied to supplies with ; the elementary induction and [L2] show .
Apply [L1] at the dyadic weight and let . Continuity of at and ordinary limit laws give the convexity inequality at .
At and the inequality is equality; with step 2.1 this proves convexity for every weight in .
Finite Jensen inequality for a convex function and nonnegative weights summing to one
Statement
Let be convex. If , , and satisfy , then
Facts & Assumptions
Given: A convex , a positive finite family , and nonnegative weights summing to .
A function is convex when the convex-combination inequality holds for every weight in (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
Proof
For , the sole weight is , so the two sides are both .
Assume the assertion for terms. If , all earlier nonnegative weights vanish and the assertion is immediate; otherwise put and normalize the earlier weights as .
The induction hypothesis bounds by ; applying [L1] to this point and with weights gives the asserted -term inequality.
Every local minimum of a convex function on an interval is a global minimum
Statement
Every local minimum of a convex function on an interval is a global minimum: for every .
Facts & Assumptions
Given: A convex on an interval and a local minimum .
A function is convex when the convex-combination inequality holds for every weight in (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
To have a local minimum at means that some radius satisfies whenever and (Local (relative) maximum and minimum of at a point, the strict forms, and what it means for the point to be interior to ).
Proof
Fix as in [L2], and suppose for contradiction that some has .
Choose when and put ; then and .
Convexity gives , contradicting the local-minimum inequality.
A strictly convex function has at most one global minimizer
Statement
A strictly convex function on an interval has at most one global minimizer. This does not assert that a minimizer exists.
Facts & Assumptions
Given: A strictly convex on an interval.
Strict convexity makes the convexity inequality strict for distinct points and weights strictly between zero and one (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
Proof
Suppose distinct points are both global minimizers.
Their midpoint lies in , and [L1] gives .
This value is below a global minimum, a contradiction; hence there are at most one such point.
An inflection point as a point of continuity where convexity changes to concavity or conversely
Definition
Let and let be an interior point of the interval . The point is an inflection point when is continuous at (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point) and there is some such that, in either order, is convex but not concave on and concave but not convex on (Convex, strictly convex, concave, strictly concave, and midpoint-convex real functions on an interval).
Remarks
The condition , even when defined, is neither part of this definition nor sufficient by itself: a change of shape is required.
A continuous function whose second derivative has opposite signs on the two sides of a point has an inflection point there
Statement
Let be continuous at an interior point and twice differentiable on each of and . If on one of those intervals and on the other, then is an inflection point of .
Facts & Assumptions
Given: The stated continuity and one-sided twice-differentiability hypotheses.
A twice differentiable function on an open interval is convex if and only if its second derivative is nonnegative (A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative).
An inflection point is a point of continuity where convexity changes to concavity or conversely (An inflection point as a point of continuity where convexity changes to concavity or conversely).
Proof
On the side where , [L1] makes convex; on the side where , apply [L1] to to make concave.
If the signs occur in the opposite order, the same argument interchanges the two sides.
In either case the assumed continuity at and the change of convexity/concavity meet [L2]'s definition.
Convexity conventions, endpoint scope, dyadic approximation, and the exact use of the Axiom of Choice in the midpoint-convex counterexample
The continuity conclusion for a convex function is an interior conclusion: a convex function on a non-open interval need not have an endpoint derivative, and this development does not impose endpoint continuity beyond what a separate hypothesis supplies.
The midpoint-convex counterexample uses the Axiom of Choice exactly through the existence of a Hamel basis (The Axiom of Choice, Assuming the Axiom of Choice, has a Hamel basis over : there is such that every real is a finite -linear combination of elements of in exactly one way, and each basis vector carries a well-defined -linear coefficient map). No choice principle is used in the dyadic induction or in the passage from continuous midpoint convexity to convexity.
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.