$1\leq p < \infty$. Space is $L^p(\mathbb{R}^n)$.
Let $\delta >0,\ R>0$ be constants. $Q$ is the open cube centered at origin such that $||y||<\frac{\delta}{2}, \forall y \in Q$.
Let $Q_1, \dots, Q_N$ be mutually non overlapping translates of $Q$ such that $B(0,R)\subset \bigcup_{i=1}^N Q_i $.
Define projection map, $P:L^p(\mathbb{R}^n) \rightarrow L^p(\mathbb{R}^n)\ $ as
$$Pf= \sum_{i=1}^N \bigg( \frac{1}{|Q_i|} \int_{Q_i}f(z)dz \bigg) \chi_{Q_i}$$
where, $|Q_i|=$ Lebesgue measure of $Q_i$ ; $\chi_{Q_i}$ is the characteristic function of $Q_i$.
I have to show that $||P||=1$.
Can this be done by the definition that, $||P||= Sup_{||f||_p \leq 1} ||Pf||_p$? I am getting stuck because there is a double integration involved. Any help is appreciated.