How can I prove that the constant in classical Hardy's inequality is optimal?
$$\int_0^{\infty}\left(\frac{1}{x}\int_0^xf(s)ds\right)^p dx\leq \left(\frac{p}{p-1}\right)^p\int_0^{\infty}(f(x))^pdx,$$ where $f\geq0$ and $f\in L^p(0,\infty)$.
This inequality fails for $p=1$ and $p=\infty$ ?