I have three variables $p \geq 0$, $q \geq 0$, $r \geq 0$ and a positive constant $m$. Let $m = p + q +r$.
How can I show that the maximum value of $pq + r$ is no more than $\frac{m^2}{4}$?
It's easy to see that decreasing $r$ (thus increasing $p + q$) will give us higher value. It's also easy to see that the maximum value of $pq + r$ when $r = 0$ is achieved at $p = q = \frac{m}{2}$. But I believe there must be mathematically better way to proof this.