Math and science::INF ML AI
Jensen's inequality
If
If
Intuition
A few ways of visualizing Jensen's inequality.
Sense of stretching

Interpolation across
Regardless of the weightings (probabilities) of

A similar visualization with more points (from Mark Reid's blog post):

A similar take (from Andrew Ng's notes for CS229):

Example
Q1: Three squares
Three squares have average area . The average of the lengths of their sides is . What can be said about the size of the largest of the three squares?
A1:
Let be the length of the side of a square, and let the probability of be over the three lengths, . Then the information that we have is:
*
*
More visualization:
