An interval corresponds to a continuous segment of the real number line. There are a few different types. For all satisfying :
denotes a closed interval, all satisfying ;
denotes an open interval, all satisfying ;
denotes a half-open interval, all satisfying ;
denotes a half-open interval, all satisfying .
Partitions
Let such that . A partition of interval is a set of points satisfying
We use the symbol to designate this partition.
A refinement of some partition is created by adjoining more subdivision points to those of . , also a partition, is said to be finer than . Given two partitions and , the common refinement of and is the partition formed by adjoining the subdivision points of and together.
A function is said to be piecewise monotonic on an interval if there is a partition of such that is monotonic on each open subinterval of .
Step Functions
A function , whose domain is a closed interval , is called a step function if and only if there exists a partition of such that is constant on each open subinterval of .
At each of the endpoints and , the function must have some well-defined value.
Step functions are also called piecewise constant functions.