Jensen’s inequality states:

Meaning that taking two points and of a convex function, every point on their linear convex combinations (meaning the set of all points on the line that crosses the two points) is bigger than the point at that coordinate taken on the actual curve.

Visual representation of Jensen’s inequality

Visual representation of Jensen’s inequality

If Jensen’s inequality is true for each possible pairs of points of a function, than the function is convex.

We can find the minimum by computing the derivative of the function and putting it to zero. If the function is convex, than we have the guarantee that there is only a minimum; if the function is non-convex, than there may be multiple minima, and only one global minimum.

In a convex function, the global minimizer is where .

The Jensen’s inequality principle is true also for more than two dimensions. In this case the notion of derivative is replaced with the notion of gradient, that is the vector of partial derivative with respect to each single parameter.

We also have the global optimality condition, that states: