For a convex function, averaging inputs before applying the function cannot exceed averaging the transformed inputs, provided the expectations exist. Geometrically, each chord lies above the graph. For , the difference is variance: spread in the inputs raises the average squared value.对于凸函数,在相关期望存在时,先对输入求平均、再代入函数,结果不会超过先计算函数值、再求平均。几何上,这对应曲线上的弦位于图像上方。取 时,两种计算结果之差就是方差:输入越分散,平方值的平均就越大。
The green parabola is ; the gold chord joins inputs and . A weight moves the mean . The cyan segment measures the gap , which vanishes when all weight is placed on either endpoint.绿色抛物线表示 ,金色弦连接输入 与 。权重 改变时,均值 随之移动。青色线段表示差值 ;全部权重落在任一端点时,这个差值为零。