Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

convex function

A function whose graph curves upward everywhere — the chord between any two points lies on or above the graph.

A function f on a convex set is convex if, for every x,y in its domain and \theta\in[0,1], f(\theta x+(1-\theta)y) \le \theta f(x)+(1-\theta)f(y) — the value along any chord never dips below the graph itself. Equivalently (see first-order-convexity-condition, second-order-convexity-condition), a differentiable convex function's graph never lies below any tangent line, and a twice-differentiable one has a positive semidefinite Hessian everywhere.

Read the full section →
Graph settings

Calculator