Convex function
Let be an interval and . is convex on if for all and :
It is concave if the inequality runs the other way (); equivalently, if is convex.
is a convex combination of the two points: as runs from to it sweeps every point between and . The left side is the height of the graph at ; the right side is the height of the chord joining and at that same . Convex means the graph stays below its chords, concave means above.
. The chord value (the convex combination of the two heights) sits above the curve value , at every interior point.
A function is convex iff its epigraph is a convex set.
Convex functions
Concave functions
.