example of a non Riemann integrable function
Let be any closed interval andconsider the Dirichlet’s function
Then is not Riemann integrable. In fact given any interval with one has
because every interval contains both rational and irrational points.So all upper Riemann sums are equal to and all lower Riemann sums are equal to .