Where a convex function is differentiable #
The continuity theory of one-sided derivatives, read as an existence theory for derivatives. A
convex function on the line has a two-sided derivative off a countable set, and that derivative is
continuous and nondecreasing there. In a fixed direction y, the two-sided directional derivative
exists exactly where x ↦ f'(x; y) is continuous, and that happens on a dense subset of
int (dom f).
Main results #
continuousAt_rightDeriv_iff— a continuity criterion:f'₊is continuous atxexactly whenf'₋(x) = f'₊(x).countable_leftDeriv_ne_rightDeriv— the jump set off'₊is countable.differentiableAtFn_iff_leftDeriv_eq_rightDeriv— on the line, differentiability at an interior point ofdom fis the equality of the two one-sided derivatives.countable_not_differentiableAtFn,continuousAt_rightDeriv_of_differentiableAtFn,subset_closure_differentiableAtFn— a countable exceptional set, continuity of the derivative where it exists, and density of the points of differentiability (Theorem 25.3 in [^1]).continuousAt_dirDeriv_iff,subset_closure_twoSided_dirDeriv— the same in a fixed direction (Theorem 25.4 in [^1]).
Implementation notes #
rightDeriv f is defined on the whole line, not only on the set D where the derivative exists,
so the continuity assertions here are the ordinary ContinuousAt, stronger than the book's
"continuous relative to D". Monotonicity is likewise global.
Three of the classical hypotheses are absent. The countability and density clauses need no
closedness of f, because only the easy half of the continuity criterion is used; closedness
enters only in the converse, through the one-sided limit formulas for f'₊. The directional form
needs no y ≠ 0, since at y = 0 both sides hold, and its density clause is proved by restricting
to a line rather than through Lebesgue measure, so it needs no finite-dimensionality.
References #
[^1]: R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970, §25.
A continuity criterion for f'₊ #
Continuity of f'₊ at x forces the two-sided derivative: monotonicity gives
f'₊(z) → ⨆ {f'₊(z) | z < x} as z ↑ x, continuity identifies that supremum with f'₊(x), and
every f'₊(z) with z < x lies below f'₋(x). Unlike the converse this needs no closedness.
For a closed proper convex function on the line, the nondecreasing function f'₊ is continuous
at x exactly when it agrees with f'₋ there.
The two-sided derivative on the line #
On the line a two-sided derivative makes f'(x; ·) linear: positive homogeneity reduces
f'(x; v) to the directions ±1, where the values are f'₊(x) and -f'₋(x).
On the line, a convex function is differentiable at an interior point of its effective domain exactly when its two one-sided derivatives agree there.
Differentiability off a countable set #
First assertion: a convex function on the line is differentiable at all but countably many
points of the interior of its effective domain. No closedness is needed, so the usual preliminary
extension of f to a closed proper convex function on ℝ is not made.
Second assertion: the derivative is continuous where it exists. Stronger than "continuous
relative to D": rightDeriv f is continuous at x on the whole line.
Third assertion: the points of differentiability are dense in the interior of the effective
domain, a countable subset of ℝ having dense complement.
Restriction to a line #
The restriction of f to the line t ↦ x + t • y is convex.
The restriction of f to a line through a point of dom f is proper.
The one-dimensional restriction computes the directional derivative along the line. This is what lets the one-dimensional theory be applied in a fixed direction.
The two-sided derivative in a fixed direction #
For a fixed direction y, the function z ↦ f'(z; y) is upper semicontinuous at every
interior point of dom f.
For every λ > 0, f'(x - λ y; y) ≤ (f x - f (x - λ y)) / λ ≤ -f'(x; -y): the first
inequality is the term of the defining infimum at x - λ y with step λ, which lands exactly on
x, and the second is the corresponding term at x in the direction -y, negated. No convexity
and no interiority are used, only properness.
First assertion: on the interior of dom f, the set where the two-sided directional
derivative in the direction y exists is exactly the set where x ↦ f'(x; y) is continuous. The
usual y ≠ 0 is not needed — at y = 0 both sides hold.
Density: the points of int (dom f) at which the two-sided directional
derivative in the direction y exists are dense in int (dom f). Proved on a line rather than
through Lebesgue measure: t ↦ f (x + t • y) is a proper convex function of one variable whose
one-sided derivatives at t are f'(x + t y; ±y), and its jump set is countable.