Prove that in $C[a,b]$ the uniform norm is not equivalent to the $L^p$ norm for $(1\leq p < \infty)$ I am stuck on showing that the function below satifies the claim. I know that f is continuous and the uniform norm gives a finite result. Im not sure how to proceed. In the normed linear vector space $(C[a,b],\|.\|)$ we have to find a function where the norms are not equivalent, i.e.: $\nexists C,c C>c>0$ such that $c\|f\|_{L^p}\leq \|f\|_{\infty} \leq C\|f\|_{L^p}$ $$\|f\|_{L^p}= \left(\int_a^b \lvert\,f(t)\rvert^p d \mu\right)^{\frac{1}{p}}, \quad \|f\|_\infty = \sup_{x \in [a,b]}\lvert f(x)\rvert.$$ Take $f_n(x) =\left\{ \begin{array}{ll} 1-nx & \mbox{on } x \leq 1/n \\ 0 & \mbox{on } x > 1/n \end{array} \right.$
thanks for any help!
Another example, with functions $f_n$ in $C^\infty([0,+\infty))$: $$ f_n(x)=\mathrm e^{-nx}.$$ Then $\|f_n\|_\infty=1$ and $\|f_n\|_p=(np)^{-1/p}\to0$ hence the inequality $\|f\|_\infty\leqslant C\|f\|_p$ for every $f$ in $C^\infty([0,+\infty))$ and for some finite constant $C$ independent of $f$, is impossible.