Let $f$ be a measurable nonnegative function with domain $\mathbb{R}$, such that \begin{equation} \int_a^b f(x) \ dx > 0 \end{equation} when $a < b$. Can we say that $f>0$ almost everywhere? (or $f\neq 0$ almost everywhere, because is a nonnegative function)
We work with Lebesgue measure and the integral above is a Lebesgue integral.
I'm thinking that the answer is yes, but I can't prove it.
I tried to get a contradiction if I suppose that $m(\{ f=0 \}) > 0$, or maybe a subset of $\{ f=0 \}$ with measure greater than $0$, but I got stuck.
I already showed that for any open set $G$ we have \begin{equation} \int_G f(x) \ dx > 0 \end{equation} So maybe I could find an open set $G$ such that $m(G) = m(\{ f=0 \})$, but I can't.
And that's it, I have no more ideas :(
Thanks