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!