Let f {\displaystyle f} be a real-valued function of a real variable. The oscillation of f {\displaystyle f} on an interval I {\displaystyle I} in its domain is the difference between the supremum and infimum of f {\displaystyle f} :