Analysis, Geometry · Siblings

“Convex” describes both sets and functions, and the two meanings are linked. A convex set contains the segment between every two of its points, and a convex function lies on or below the segment between every two points on its graph. A function is convex exactly when the region on and above its graph is a convex set.

Definitions

Missing definition: convex_set

Missing definition: convex_function

Examples

Example convex_set convex_function Why
The closed unit disk $D = \setdef{(x, y) \suchthat x^2 + y^2 \leq 1}$ ✓–
convex_set: The closed unit disk is convex, because the segment between two points of the disk stays in the disk.
The ring $\setdef{(x, y) \suchthat 1 \leq x^2 + y^2 \leq 4}$ (an annulus) ✗–
convex_set: The annulus is not convex, because the segment between $(-1.5, 0)$ and $(1.5, 0)$ passes through the hole at the origin.
$f(x) = x^2$ on $\reals$ –✓ The squaring function, as a function $f : \reals \to \reals$.
$f(x) = \abs{x}$ –✓
convex_function: The function $x \mapsto \abs{x}$ is convex, because the segment between two points on its V-shaped graph lies on or above the graph.
$x \mapsto \sin x$ –✗
convex_function: The function $\sin$ is not convex, because its second derivative, $-\sin x$, is negative on $(0, \pi)$.

See also

All distinctions · All definitions · Notation