Mathematics — Real Analysis · riemann-integrability
Problem
(Hard) Show that the Thomae or popcorn function (see Example 3.2.12) is Riemann integrable. Therefore, there exists a function discontinuous at all rational numbers (a dense set) that is Riemann integrable.
That is, define f:[0,1]→R by
f(x):={1/k0if x=m/k where m,k∈N and m and k have no common divisors,if x is irrational.
Show ∫01f=0.