Let $H$ be a Hilbert space and $T \in B(H)$, the set of all bounded operator on $H$, such that $T$ is self-adjoint. Let $\left\{P_k\right\}_{k=1}^n$ be a finite family of orthogonal projections in $B(H)$ such that $\displaystyle\sum_{k=1}^n P_k=I,$ $I$ being the identity element in $B(H)$ and $TP_k=P_kT,~\forall k\in \{1,2,\cdots,n\}.$ Then I want to show that $\|T\|=\max\{\|TP_k\|:k\in\{1,2,\cdots,n\}\}$,
First I start with only two projections, say $P$ and $I-P$. Since $T=T^*$, then by definition we have $$\|T\|:=\sup\{\langle Tx,x\rangle: x \in H, \|x\|=1\}.$$ So we have, $$ \begin{align}\|T\| &=\sup\{\langle T(Px+(I-P)x),Px+(I-P)x\rangle: x \in H, \|x\|=1\} \\ &=\sup\{\langle TPx,Px\rangle+\langle T(I-P)x,(I-P)x\rangle: x \in H, \|x\|=1\}\end{align}$$ Now I am unable to proceed from here.Please help me to solve this. Thank you for your time and help.