[example: Multiplication By A Bounded Function]
Let $(E,\mathcal E,\mu)$ be a [measure space](/page/Measure%20Space), let $1 \le p \le \infty$, and let $m \in L^\infty(E)$. Define $M_m:L^p(E)\to L^p(E)$ by $(M_m f)(x)=m(x)f(x)$ for representatives. Linearity follows pointwise: for scalars $a,b$ and functions $f,g$,
\begin{align*}
M_m(af+bg)(x)=m(x)(af(x)+bg(x))=a(M_m f)(x)+b(M_m g)(x).
\end{align*}
For $1\le p<\infty$, the defining property of the essential supremum gives $|m(x)|\le \|m\|_{L^\infty}$ for almost every $x$, hence
\begin{align*}
\|M_m f\|_{L^p}^p=\int_E |m(x)f(x)|^p\,d\mu(x)\le \int_E \|m\|_{L^\infty}^p |f(x)|^p\,d\mu(x)=\|m\|_{L^\infty}^p\|f\|_{L^p}^p.
\end{align*}
Taking $p$th roots gives $\|M_m f\|_{L^p}\le \|m\|_{L^\infty}\|f\|_{L^p}$. For $p=\infty$, the same almost-everywhere bound gives
\begin{align*}
\|M_m f\|_{L^\infty}=\operatorname*{ess\,sup}_{x\in E}|m(x)f(x)|\le \|m\|_{L^\infty}\|f\|_{L^\infty}.
\end{align*}
Thus $M_m$ is bounded and $\|M_m\|_{\mathcal L(L^p(E))}\le \|m\|_{L^\infty}$.
To see the reverse inequality in the non-degenerate case, fix $0<c<\|m\|_{L^\infty}$ and set $A_c=\{x\in E:|m(x)|>c\}$. By the definition of essential supremum, $\mu(A_c)>0$. For $p=\infty$, take $f=\mathbf 1_{A_c}$; then $\|f\|_{L^\infty}=1$ and
\begin{align*}
\|M_m f\|_{L^\infty}=\operatorname*{ess\,sup}_{x\in A_c}|m(x)|\ge c.
\end{align*}
For $1\le p<\infty$, whenever $A_c$ contains a measurable subset $B$ with $0<\mu(B)<\infty$, take $f=\mathbf 1_B$. Then $\|f\|_{L^p}=\mu(B)^{1/p}$ and
\begin{align*}
\|M_m f\|_{L^p}^p=\int_B |m(x)|^p\,d\mu(x)\ge \int_B c^p\,d\mu(x)=c^p\mu(B)=c^p\|f\|_{L^p}^p.
\end{align*}
Hence $\|M_m\|\ge c$. Since this holds for every $c<\|m\|_{L^\infty}$, we get $\|M_m\|_{\mathcal L(L^p(E))}=\|m\|_{L^\infty}$ in the usual non-zero $L^p$ setting. The zero space is the degenerate exception. This example already suggests that the spectrum of an operator should remember the essential range of a function, not only eigenvalues.
[/example]