The answer is false and we give the reason in the following proof.ProofGiven the function f(x)={02if x is rationalif x is irrationalif [a,b]⊂[2,3] with a<b then [a,b]inff=0 and [a,b]supf=2 since [a,b] contains both rational and irrational numbers.Thus L(f,P,[2,3])=0 and U(f,P,[2,3])=2 for every partition P of [2,3].Hence we have that L(f,[2,3])=0 and U(f,[2,3])=2.Since L(f,[2,3])=U(f,[2,3]) we conclude that f is not Riemann integrable.
Comments