Oscillation

The amount a function varies on a set or interval.
Oscillation

An oscillation of a bounded function ff on a set ARA\subseteq\mathbb R is the number

osc(f;A)=sup{f(x)f(y):x,yA}. \operatorname{osc}(f;A)=\sup\{|f(x)-f(y)|:x,y\in A\}.

If AA is an interval, this equals sup{f(x):xA}inf{f(x):xA}\sup\{f(x):x\in A\}-\inf\{f(x):x\in A\}.

Oscillation is used in the for , and it also detects continuity: xx is a exactly when the oscillation over shrinking intervals around xx fails to go to 00.

Examples:

  • For f(x)=xf(x)=x on [0,1][0,1], one has osc(f;[0,1])=1\operatorname{osc}(f;[0,1])=1.
  • If ff is the indicator function of Q[a,b]\mathbb Q\cap[a,b], then on every nontrivial subinterval I[a,b]I\subseteq[a,b] one has osc(f;I)=1\operatorname{osc}(f;I)=1.