[Math] Show that the integral of a positive function is positive

real-analysisriemann-integration

Suppose $f:[0,1] \to (0,\infty)$ is a Riemann integrable function. Prove that the integral of the function from $0$ to $1$ is strictly positive.

I have been trying to do this for awhile but I can't seem to get it. Here is my thought process: If the function is Riemann integrable, then its set of discontinuities has measure zero (Lebesgue). I am not sure how to connect this to the integral being positive

Best Answer

Say $f$ is continuous at $x$. Then there exist $r>0$ and $\delta>0$ so that $f\ge r$ on $[x-\delta,x+\delta]$. This shows easily that $$\int_0^1 f\ge\int_{x-\delta}^{x+\delta}f\ge2\delta r>0.$$