Consider the following function:
$$ f(x)=\begin{cases} 0 & x\text{ is a rational number}, \\ 1 & x\text{ is an irrational number}. \end{cases} \ $$
Show that the function $f(x)$ is not integrable over any interval $[a,b]$.
Consider the following function:
$$ f(x)=\begin{cases} 0 & x\text{ is a rational number}, \\ 1 & x\text{ is an irrational number}. \end{cases} \ $$
Show that the function $f(x)$ is not integrable over any interval $[a,b]$.
The function does not have left-hand and right-hand limits at each point, hence it is not regulated, hence it is not Riemann-integrable.