Let $p,q\in(1,\infty)$ be conjugate exponents (i.e., $1/p+1/q=1$) and let $f:(0,\infty)\to\mathbb R_+$ be a Lebesgue-measurable function such that $\int_0^{\infty} f(x)^q\,\mathrm dx<\infty$. It follows fairly easily from Hölder's inequality that $$\int_0^x f(t)\,\mathrm dt\leq x^{1/p}\cdot\|f\|_q\quad\forall x>0,$$ so that the (continuous) function $x\mapsto \int_0^x f(t)\,\mathrm dt$ must diverge no faster than $x^{1/p}$. (The notation $\int_0^x$ means Lebesgue integral on the set $\{t\in(0,\infty)\,|\,t<x\}$).
I want to show that the divergence of this partial integral is actually strictly slower than that of $x^{1/p}$, that is: $$\lim_{x\to\infty}x^{-1/p}\int_0^x f(t)\,\mathrm dt=0.$$ I put in considerable effort into trying to prove this, but none of my ideas worked. Any hint would be greatly appreciated.
It is not hard if $f$ is a linear combination of characteristic functions of sets of finite measure.
Then we use an approximation argument and the inequality $$\int_0^x|g(x)|\mathrm dt\leqslant x^{1/p}\lVert g\rVert_q$$ for any positive $x$ and $g\in L^q$.