Give an example of a continuous function $f : [0, ∞) \to [0, ∞)$ such that $\int_{0}^{\infty}f(x)dx$ exists but $f$ is unbounded.
I have been thinking about this. And I have come to the conclusion that I will need to construct a function, $f$, such that $f$ is a sequence of triangles of increasing height, but decreasing base. I obviously need $f$ such that both the height of the triangles and the sum of the bases tend to infinity. But I also need that the $\sum (\text{height} \times \text{base}) \leq \infty $