Let $p,q \in \mathbb R$, and $p+q=1$. Prove that $$pq \le \frac{1}{4}.$$
The first thing I did was define 3 possibilities that we can have from $p+q=1$:
1º $p$ or $q$ is negative. Example:
$p=-10$, $q=11$
$-10+11=1$
$(-10)(11)=-110$
So if $p$ or $q$ are negative the inequality $pq$ $\le$ $\frac14$ holds.
2º $p$ or $q$ is $0$, that makes the inequality $pq$ $\le$ $\frac14$ be $0$ $\le$ $\frac14$, the inequality holds.
3º The final possibility I saw was $0$ $\lt$ $p,q$ $\lt 1$, here i just see that the max value from $p,q$ can be $p,q = 1/2$ making $\frac12 + \frac12 = 1$ and $(\frac12) (\frac12) \le \frac14$, but i do not see the elegant way of proving that with other values the inequality holds.
I apologize in advance if I made any mistake or missed something.