Content deleted Content added
No edit summary Tag: Reverted |
m Reverted edits by 142.186.113.79 (talk): editing tests (HG) (3.4.13) |
||
Line 4:
[[Image:Grafico 3d x2+xy+y2.png|right|300px|thumb|A graph of the [[polynomial#Number of variables|bivariate]] convex function {{nowrap| ''x''<sup>2</sup> + ''xy'' + ''y''<sup>2</sup>}}.]]
[[File:Convex vs. Not-convex.jpg|thumb|right|300px|Convex vs. Not convex]]
In [[mathematics]], a [[real-valued function]] is called '''convex''' if the [[line segment]] between any two distinct points on the [[graph of a function|graph of the function]] lies above or on the graph between the two points. Equivalently, a function is convex if its [[epigraph (mathematics)|''epigraph'']] (the set of points on or above the graph of the function) is a [[convex set]].
In simple terms, a convex function graph is shaped like a cup <math>\cup</math> (or a straight line like a linear function), while a [[concave function]]'s graph is shaped like a cap <math>\cap</math>.
|