Let $f(x) = \begin{cases} x &\mbox{if } x\in [0,1]\bigcap\mathbb{Q} \\ -x & \mbox{if } x\in [0,1]\bigcap\mathbb{Q}^c. \end{cases}$
I want to show that $f:[0,1]$ is not integrable.
My professor said that my result is not rigorous enough and should incorporate more Darboux Sum ideas? I keep looking at this and I feel it makes sense. So where did I go wrong and how do I make it more rigorous?
Here's my proof: By definition of Riemann integral we know f is integrable if the lower integral of $f$ on $[a,b]$ is the same as the upper integral of $f$ on $[a,b]$. So for them to not be integrable the lower and upper integral must not be equal.
Let $P=\{x_0,\ldots,x_1\}$ be a partition of $[0,1]$. Since the rationals and irrationals are dense in R for each index i greater than one such that $m_i=0$ and $M_i=1$ the collection of lower darboux sums consist of $0$. By definition of supremum the lower integral is $0$. On the other hand the collection of upper Darboux sums consist of $1$ and by infimum the upper integral is $1$. Since $0\neq1$ we have our result.