A function $f: [a,b] \to \mathbb{R}$ is called Riemann integrable, with integral $K$, if the following condition is satisfied:
For every $\epsilon > 0$, there is some $\delta > 0$, such that for all partitions $P$ with $\Vert P \Vert < \delta$ and for all tags $T$ of $P$, we have $|S(f,P,T)- K| < \epsilon$.
($S(f,P,T)$ is a Riemann sum)
I don't understand intuitively why we need to include the tag requirement in the definition, and I have two questions:
(1) Can someone explain why we intuitively need this? Can't we just capture the behaviour of the function in the partitions point or in the middle of it, by letting the partitions vary? (See question (2) for an alternative definition, which I believe is weaker)
(2) Suppose I would adapt the definition:
For every $\epsilon > 0$, there is some $\delta > 0$, such that for all partitions $P$ with $\Vert P \Vert < \delta$, we have $|S(f,P)- K| < \epsilon$
where $P = (x_0, \dots x_n); S(f,P):= \sum_{i=1}^n f((x_i+x_{i-1})/2) (x_i-x_{i-1})$
Can you give me a function that is integrable in this sense but not Riemann integrable?