Problem:
Find a non-negative function $f$ on $[0,1]$ such that $$\lim_{t\to\infty} t\cdot m(\{x : f(x) \geq t\}) = 0,$$ but $f$ is not integrable, where $m$ is Lebesgue measure.
My Attempt:
Let $f(x) = \frac{\chi_{(0,1]}}{\sqrt{x}}$. Then, \begin{align*} \lim_{t\to\infty} t\cdot m(\{x \in [0,1]: f(x) \geq t\}) &= \lim_{t\to\infty} t \cdot m(\{x\in (0,1]: 1/\sqrt{x} \geq t\})\\ &=\lim_{t\to\infty} t \cdot m(\{x\in (0,1]: x \leq (1/t^2)\})\\ &= \lim_{t\to\infty} t \cdot m((0, (1/t^2)))\\ &= \lim_{t\to\infty} \frac{t}{t^2} = 0. \end{align*}
However, $f(x)$ is integrable over this interval. I have tried functions looking like $f(x) = 1/x^p$ but I cannot find any that will work here. There is a hint that says there is a monotonic function that fits this description.
Also, does anyone know of a list of non-Lebesgue integrable functions on $[0,1]$? I feel as though I could use this for many counterexamples if one were to exist. Thanks!
The example given in the previous answer was not quite accurate and in any case overcomplicated. Let $I_n$ denote the interval $(\delta_{n+1},\delta_n)$, where $\delta_n=2^{-n}/n$ and let $$ f(x)=\sum_{n\geqslant 1}2^n\mathbf{1}_{I_n}(x). $$ Then $f$ is non-negative, $2^km(f\geqslant 2^k)=\sum_{n\geqslant k}m(I_n)=\frac 1k$ and $$ \int fdm=\sum_{n\geqslant 1 }2^n m(I_n) $$ and $2^n m(I_n)$ behaves like $1/n$.