Answer on Question #69111 – Math – Real Analysis
Question
Show that the function f:[0,1]→R defined by f(x)={1,2,x∈Qx∈/Q is not Riemann integrable.
Proof
The definition of Riemann integral is here:
https://en.wikipedia.org/wiki/Riemann_integral#Definition
Let us take an arbitrary partition of interval [0,1]: 0=x0<x1<⋯<xn=1. Now we shall take the tagged partition P(x,t) of [0,1] in two different ways:
1) ti∈[xi,xi+1]∩Q;
2) ti∈[xi,xi+1], and ti∈/Q.
Then the lower (with respect to the first way) and upper (with respect to the second way) Darboux sums are
L(f,P)=i=0∑n−1t∈[xi,xi+1]inff(t)(xi+1−xi)=i=0∑n−1(xi+1−xi)=1−0=1;U(f,P)=i=0∑n−1t∈[xi,xi+1]supf(t)(xi+1−xi)=i=0∑n−12(xi+1−xi)=2⋅(1−0)=2.
We see that \max_{i\in [0,n - 1]}(x_{i + 1} - x_i)\to 0}\left(U(f,P) - L(f,P)\right) = 2 - 1 = 1\neq 0, so the function f is not Riemann integrable
(see https://www.encyclopediaofmath.org/index.php/Darboux_sum).
Remark. A slightly different way to prove this fact we can find here:
https://en.wikipedia.org/wiki/Riemann_integral#Examples
Answer provided by https://www AssignmentExpert.com