Let $B \subset \mathbb{R}^{n}$ be compact and $C(B)$ be the vector space of continuous functions $f: B \rightarrow \mathbb{R}$. Prove that $$ \begin{aligned} \|f\|_{L^{1}} &:=\int_{B}|f(x)| d x \\ \|f\|_{L^{\infty}} &:=\sup \{|f(x)|: x \in B\} \end{aligned} $$ are two norms on $C(A)$ which are not equivalent.
First, can I say that f is a continuous function on a compact set and thus Riemann integrable? and that Riemann integral will be equal to Lebesgue integral? I thought to take an example for 1D but not sure that it's enough to show that these norms are not equivalent
In this case $$\|f\|_{L^{1}}\leq \|f\|_{L^{\infty}} |B|$$ where $|B|$ denotes the volume of the compact set $B$.
Now, to show the norms are not equivalent we have to show that the inequality $$\|f\|_{L^{\infty}}\leq C \|f\|_{L^{1}} \qquad (1) $$ is not true for any constant $C$ independent of $f$.
Simply consider the functions $f_{n}(x)= \frac{1}{\sqrt{x+\frac{1}{n}}}$ on the compact set $B=[0,1]$. Then $\|f_n\|_{\infty}=\sqrt{n}$. But $\|f_n\|_{L^1} \sim \frac{1}{\sqrt{n}}$.
Notice that $\|f_n\|_{L^1}=2(\sqrt{n+1}-\sqrt{n})=2\frac{1}{\sqrt{n+1}+\sqrt{n}}<\frac{1}{\sqrt{n}}$. More imprtantly, we have shown that $$\|f_n\|_{L^{\infty}}/\|f_n\|_{L^{1}}>n.$$ Therefore (1) is not true with a constant $C$ independent of $f$.