In a proof, the author states that it is clear that:
Given $x\geq 1$ and $ n-x \geq 1$ and finally also $n\geq 2$
$${x\choose 2}+{n-x\choose 2} \leq {n-1\choose 2}$$
This is not immediately clear to me. Of course, If I have $n$ objects and I split them up in $x$ and $n-x$ objects and then I choose to form pairs, amongst these two subsets, I end up with fewer pairs than if I would consider the bigger set, so it is certainly smaller than $ n \choose 2$.
I just don't see how it is smaller than $ {n-1\choose 2}$.
We need to prove that $$\frac{x(x-1)}{2}+\frac{(n-x)(n-x-1)}{2}\leq\frac{(n-1)(n-2)}{2}$$ or $$x^2-x+n^2-(2x+1)n+x^2+x\leq n^2-3n+2$$ or $$x^2-nx+n-1\leq0$$ or $$(x-1)(x+1-n)\leq0,$$ which is true for $1\leq x\leq n-1.$