I'm trying to prove that $f(x) = x$ is integrable, using this definition. I've seen somewhere that an equivalent way to prove it is to show that given $\epsilon>0$ we can always have:
$$S(f,P)-s(f,P) <\epsilon$$
Where, duo to the nature of the function $f$, we have:
$$S(f,P) = \sum t_i(t_i-t_{i-1}) = \sum t_i^2-\sum t_i t_{i-1}$$ $$s(f,P) = \sum t_{i-1}(t_i-t_{i-1}) = \sum t_{i-1}t_i-\sum t_{i-1}^2$$
$$S(f,P)-s(f,P) = \sum t_i^2-\sum t_i t_{i-1} -\left(\sum t_{i-1}t_i-\sum t_{i-1}^2\right) =$$ $$\sum t_i^2-2\sum t_it_{i-1}+\sum t_{i-1}^2$$
I don't see how it helps. I know that the sum is in the interval $[0,1]$ so it might help using this. I might take the partition somehow related to the $\epsilon$ so this sum above always end up less than $\epsilon$ but I have no idea of how to do it