Define $f$ on $[0,1]$ by $$f(x)=\begin{cases}x^2 ~~\text{if $x$ is rational}\\ x^3 ~~\text{if $x$ is irrational}\end{cases}$$ Then
- $f$ is not Riemann integrable on $[0,1]$
- $f$ is Riemann integrable and $\int_{0}^{1}f(x)dx=\frac{1}{4}$
- $f$ is Riemann integrable and $\int_{0}^{1}f(x)dx=\frac{1}{3}$
- $\frac{1}{4}=\underline\int_{0}^{1}f(x)dx< \overline\int_{0}^{1}f(x)dx=\frac{1}{3}.$
I have not solved this kind of problems before in Riemann integration. So I have no idea how to approach. Few thoughts that came to my mind are like- if somehow I prove that the function is not continuous then option 1 is true. For checking the upper sum and lower sum, I have to partition the interval and calculate. But I am confused about, if the intervals end with rational points, then how to take care of the irrational part of the function? Please, any kind of help in solving and understanding this problem will be greatly helpful. Thanks
Option $1$ and $4$ are correct
HINT:
If you partition the interval $[0,1]$ into disjoint intervals, however small it may be there is always an irrational number and a rational number inside it,
So in every interval of the partition the maximum is obtained from the rationals as $x^3<x^2$ in the interval $(0,1)$, so the lower integral is the integration of $x^3$ from $0$ to $1$ and the upper integral is basically the integration of $x^2$ from $0$ to $1$ which are different, hence it's also not Riemann integrable.