Jump to content

Convex function

From Simple English Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Convex function on an interval.
A function (in black) is convex if and only if the region above its graph (in green) is a convex set.

In mathematics, a convex function is any function with value of the weighted average of 2 points is less than or equal to the weighted average of the function at those points. Also, a function is convex if and only if its epigraph is a convex set.

Examples

Three examples are:

  • A line:
  • A parabola:
  • Absolute value: