Let and be positive real numbers such that is a constant. Prove that is maximized when .
Proof. From the equation we obtain,
Then, we want to find the maximum of the function
The derivative then has a zero when
We then have
Therefore, is increasing for and decreasing for ; hence, has a maximum at . By our equation for we then have
Hence, we indeed have maximal when