Given a function $f:[a,b]\to \mathbb R$ it could make sense, depending on the situation, to define the integral of $f$ in either of the following ways:
- Standard Riemann integral, assuming it exists.
- Limit as $\varepsilon\to 0$ of the Riemann integral over $[a+\varepsilon, b]$, assuming the latter integral exists for sufficiently small $\varepsilon$.
Does anyone know an example of a function $f$ for which these two do not coincide? For instance a function for which the second method is well-defined but the Riemann integral does not exist?