This result is an easy application of the arithmetic-geometric mean inequality. But if you want to use it as an exercise in several-variable calculus, then you can regard it as asking you to find the minimum value of the function in the region , subject to the constraint It then becomes an exercise in the use of Lagrange multipliers, and you can find that the minimum value of f is n, occurring at the point