Since $f$ is increasing, you can't "undo" a jump upwards. Therefore $n$ jumps of size at least $\epsilon$ contribute an increase of at least $n\epsilon$, and this has to be less than the total increase $B-A$.
Since $f$ is increasing, you can't "undo" a jump upwards. Therefore $n$ jumps of size at least $\epsilon$ contribute an increase of at least $n\epsilon$, and this has to be less than the total increase $B-A$.