notations: $v^\bot$ be the perpendicular part of $v$ to $1_n$ and $v^\|$ the parallel part of $v$ to $1_n$ such that $v=v^\bot + v^\|$
Let $x$ be a vector parallel to $1_n=(\frac{1}{n}, \frac{1}{n}, ..., \frac{1}{n})$ and $y$ perpendicular to $1_n$. $B\subseteq \{1,...,n\}$ and P be an $n\times n$ matrix such that $P_{i,i}=1$ for $i\in B$ and 0 anywhere else, $|B|=\gamma n$.
prove that:
$\| (Px)^\bot \| \leq \sqrt{\gamma (1 - \gamma)} \|x\|$
$\| (Py)^\| \| \leq \sqrt{\gamma (1 - \gamma)} \|y\|$
i was able to prove the first inequality by just writing x as $c 1_n$ for some $c$ (and i got that they actually equal is that possible?) and for the second inequality i managed to find out that $\| (Py)^\| \| \leq \sqrt{\gamma} \|y\|$ and $\| (Py)^\| \| \leq \sqrt{1-\gamma} \|y\|$ using cauchy shwartz inequality but i cant find out how to prove the $\| (Py)^\| \| \leq \sqrt{\gamma (1 - \gamma)} \|y\|$ ineqality