# Convex function

**Topic:** Maths · Mathematical analysis  
**Page:** https://curium.ctopass.com/en/c/fonction-convexe  
**Updated:** 2026-09-28

## The three levels

### Beginner — How do you recognise a convex function at a glance from its curve?

By the chord: joining any two points on the curve with a line segment, the segment stays entirely above the curve. Viewed from below, the curve bulges upward. The square function is convex: the chord between points with x-coordinates 1 and 3 passes through (2, 5), above the point (2, 4) on the parabola.

### Intermediate — What do you gain by minimizing a convex function rather than another?

The certainty that a valley is the bottom: any local minimum of a convex function is a global minimum. Elsewhere, an algorithm that descends can get stuck in a secondary basin. The practical criterion: a function twice differentiable is convex if and only if its second derivative is positive or zero, like the exponential function or x⁴.

### Expert — Is a convex function necessarily continuous?

On an open interval, yes: it even admits a left derivative and a right derivative at every point, and is non-differentiable at at most a countable number of points. At the boundaries of a closed interval, no: the value f(a) can exceed the right-hand limit. And in infinite dimension, a non-continuous linear form is convex without being continuous.

## Explore next

- [Derivative](https://curium.ctopass.com/en/c/derivee.md)
- [Arithmetic sequence](https://curium.ctopass.com/en/c/suite-arithmetique.md)
- [Geometric sequence](https://curium.ctopass.com/en/c/suite-geometrique.md)
- [Sequence](https://curium.ctopass.com/en/c/suite-numerique.md)
- [Bolzano-Weierstrass theorem](https://curium.ctopass.com/en/c/theoreme-de-bolzano-weierstrass.md)
- [Rolle's theorem](https://curium.ctopass.com/en/c/theoreme-de-rolle.md)
- [Mean value theorem](https://curium.ctopass.com/en/c/theoreme-des-accroissements-finis.md)
- [Intermediate value theorem](https://curium.ctopass.com/en/c/theoreme-des-valeurs-intermediaires.md)
- [Taylor's theorem](https://curium.ctopass.com/en/c/theoreme-de-taylor.md)
- [Fundamental theorem of calculus](https://curium.ctopass.com/en/c/theoreme-fondamental-de-l-analyse.md)

---

Curium — Knowledge, one question at a time.

App Store: https://apps.apple.com/fr/app/curium/id6793886587
Google Play: https://play.google.com/store/apps/details?id=com.ctopass.curium
