What is an example of a function which is not Riemann integrable on [0,1] but for which |f| is Riemann integrable on [0,1]? What is the upper integral and the lower integral of this function f, which are not equal, thus not Riemann integrable?
Asked
Active
Viewed 2,850 times
1 Answers
6
Take the function $f$ equal to $1$ for $x$ rational and to $-1$ for $ x$ irrational. Upper integral is $1$ and lower integral $-1$.
mathcounterexamples.net
- 70,018
-
Thanks, that makes sense, as |f| would just be y=1. I am a little confused about how to calculate the upper and lower integral. For this example, it seemed intuitive, but others, it is more complex, where you have to take partitions and sup's and make some calculations. – Remy Nov 21 '16 at 21:04
-
2The upper integral is equal to $1$ as all open interval contains a rational number (the rationals are dense in $\mathbb R$). Hence the supremum of $f$ on all open interval is equal to $1$. – mathcounterexamples.net Nov 21 '16 at 21:07