There's probably a nicer proof, but here is one anyway:

Let . The derivative of the function is , which is equal to 0 at , and respectively negative and positive at the left and right of this point. As a consequence, for every , which is exactly what we want.

Laurent.