Let . Prove
is minimal when is the arithmetic mean of .
Proof. Recall that the arithmetic mean of is given by
Now, consider the given sum
To find the minimum we first take the derivative, using the linearity of the derivative over this (finite) sum, (i.e., using that ),
Setting this equal to 0 and solving,