If a (Lebesgue) measurable function $f: ℝ→ℝ$ satisfies $∫_a^b f(x)dx = 0$ for any $a, b ∈ ℝ$, does $f(x)=0, a.e.$?
I understand that $f(x)=0$ follows if $f$ is continuous, but I was not sure if the same is true for a measurable function.
Edit:
Almost same question was here: Prove that the Lebesgue integral of $f\chi$ equals to $0$ indicates that $f=0$ a.e.
(I missed it, thank you for letting me know!)
In reality, if the range of f (in my question) is [0, ∞), then ∫_{-n}^n f(x) dx = 0, and ∫_ℝ f(x) dx = 0, so f=0 a.e. is straightforward to see.
– Jaborandi Kakapo Jun 02 '24 at 15:05