So I don't really understand integrals as much as I had hoped... can someone help me figure out this really simple problem?
Find the lower and upper integrals of if f : [0,1] R is given by
f(x):=
x if x Q [0,1]
-x if x (R \ Q) [0,1]
Inside every interval, no matter how small, there exist both rational and irrational numbers. If, while doing your "Riemann sums", you evaluated f(x) only at irrational numbers you function would look exactly like y= x. What is the integral of that from 0 to 1? If, while doing your "Riemann sums", you evaluated f(x) only at rational numbers you function would look exactly like y= -x. What is the integral of that from 0 to 1?