In my Functional Analysis course, we're discussing the Spectral Theorem and the like. One question from a previous exam states the following:
Let $H$ be Hilbert over $\mathbb C$, let $T \in B(H)$ be selfadjoint. Show that there is a selfadjoint projection $P \in B(H)$ with $TP - 2P$ and $2(I-P) - T(I-P)$ positive (in the sense that $(Ax,x) \geq 0$ for all $x \in H$).
This has to do with its resolution of the identity, I'm sure. I have the feeling $P = E([2, \infty) \cap \sigma(T))$ will do the trick, with $E$ the resolution of the identity (as in, just project onto a part of the spectrum), but cannot prove it. Anybody?
\begin{align} TP-2P&=(T-2I)P,\\ 2(I-P)-T(I-P)&=-(T-2I)(I-P) \end{align} $P=E[2,\infty)$ does the job because $I-P=E(-\infty,2]$.