Suppose we have Hermitian operators $P_1$ and $P_2$ on Hilbert space $\mathbb{H} \cong \mathbb{C}^n$, such that: $P_1^2=P_1$, $P_2^2=P_2$, $\{P_1, P_2\} = 0$. Let $x$ be a unit $L_2$-norm vector.
Show that $(x^TP_1x)^2 + (x^TP_2x)^2 \leq 1$
I can only see how one can show that the same inequality holds for $RHS=2$. That can be easily seen because of the fact that a projection of a vector is always "shorter" than the vector. But I'm confused about the $RHS=1$ case.
I think I should somehow use the restriction on the anticommutator, but I can't figure that out. It is easy to prove that in this case $P_1+P_2$ is also a projector but I can't see how this helps here.