Interval (mathematics)
In mathematics, an interval is a set of real numbers with the property that any number that lies between two numbers in the set is also included in the set.
For example, the set of all numbers <math>x</math> satisfying <math>0\le x\le 1</math> is an interval
which contains <math>0</math> and <math>1</math>, as well as all numbers between them. The set of positive numbers is also an interval.
Notations for intervals
The interval of numbers between <math>a</math> and <math>b</math> including <math>a</math> and <math>b</math> is often denoted <math>[a,b]</math>. If one of the endpoints is to be omitted, then the corresponding square bracket is replaced by a parenthesis. Thus, in set builder notation,
- <math>(a,b)=\{x\in\R\,|\,a<x<b\}</math>,
- <math>[a,b)=\{x\in\R\,|\,a\le x<b\}</math>,
- <math>(a,b]=\{x\in\R\,|\,a<x\le b\}</math>,
- <math>[a,b]=\{x\in\R\,|\,a\le x\le b\}</math>.
In the above, we may take <math>a=-\infty</math> or <math>b=\infty</math> at an omitted endpoint. For example, <math>(0,\infty)</math> is the interval of positive numbers.
Alternative notation
International standard ISO 31-11 also defines another notation for intervals, which is the one commonly taught in many European and South American countries (e.g., Germany, France, Brazil) in secondary school:
- <math>\left]a,b\right[ = \{x\,|\, a< x < b\}</math>
- <math>\left[a,b\right[ = \{x\,|\, a\le x < b\}</math>
- <math>\left]a,b\right] = \{x\,|\, a< x \le b\}</math>
- <math>[a,b] = \{ x \,| \,a \le x \le b \}</math>
This notation is somewhat easier to remember (inwards pointing bracket for inclusion, outwards-pointing bracket for exclusion). Another advantage is that this notation does not overlap with the tuple notation, which is equally commonly used in set theory.
Where numbers are written with a decimal comma, the endpoints in the interval notation may also be separated by a semicolon instead of a comma, to avoid ambiguity.
Types of intervals
Intervals in <math>\mathbb{R}</math> are of the following eleven different types (where <math>a</math> and <math>b</math> are real numbers, with <math>a < b</math>):
Bounded nondegenerate intervals:
- <math>(a,b)=\{x\,|\,a<x<b\}</math>
- <math>[a,b]=\{x\,|\,a\leq x\leq b\}</math>
- <math>[a,b)=\{x\,|\,a\,\leq x<b\}</math>
- <math>(a,b]=\{x\,|\,a<x\leq b\}</math>
Unbounded intervals:
- <math>(a,\infty)=\{x\,|\,x>a\}</math>
- <math>[a,\infty)=\{x\,|\,x\geq a\}</math>
- <math>(-\infty,b)=\{x\,|\,x<b\}</math>
- <math>(-\infty,b]=\{x\,|\,x\leq b\}</math>
- <math>(-\infty,\infty)=\mathbb{R}</math>, the set of all real numbers
Degenerate intervals:
- <math>\varnothing</math>, the empty set
- <math>[a,a]=\{a\}\,</math>, singleton
Terminology
In each case where they appear above, a and b are known as endpoints of the interval.
The bounded intervals are the intervals of types 1 – 4, 10 and 11. These are precisely the intervals that are bounded sets, in the sense that their diameter is finite.
The interior of an interval <math>I</math> is the set of points in <math>I</math> which are not endpoints of <math>I</math>.
An interval is open if it is equal to its interior. In the above list, the intervals of types 1, 5, 7, 9, and 10 are open. For example, the intervals <math>(-\infty,\infty)</math> and <math>\varnothing</math> do not have endpoints, and therefore are open.
An interval is closed if it contains all of its endpoints. In the above list, the intervals of types 2, 6, 8, 9, 10 and 11 are closed.
The intervals <math>\varnothing</math> and <math>\R</math> are open and closed.
The notions of interior, open and closed arise from topology. The open intervals are precisely the intervals that are open sets, and the closed intervals are precisely the intervals that are closed sets.
Intervals of the form <math>[a,b)</math> and <math>(a,b]</math> (with <math>-\infty<a<b<\infty</math>) are called either half-closed intervals or half-open intervals. These terms are specific to intervals, and do not extend to general topological spaces.
The intervals <math>\varnothing</math> (which is open and closed) and <math>[a,a]=\{a\}</math> (which is closed) are called degenerate intervals; these are exactly the intervals with empty interior.
Alternative definitions
An interval can alternatively be defined as a connected subsets of <math>\mathbb{R}</math>. They are also precisely the convex subsets of <math>\mathbb{R}</math>. Since a continuous image of a connected set is connected, it follows that if <math>f\colon \mathbb{R}\rightarrow\mathbb{R}</math> is a continuous function and I is an interval, then its image <math>f(I)</math> is also an interval. This is one formulation of the intermediate value theorem.
Use in the context of integration
Intervals play an important role in the theory of integration, because they are the simplest sets whose "size" or "measure" or "length" is easy to define (see above). The concept of measure can then be extended to more complicated sets, leading to the Borel measure and eventually to the Lebesgue measure.
Dyadic intervals
A special class of intervals on the real line are the dyadic intervals. These are intervals of the form <math>\left[\frac{j}{2^n}, \frac{j+1}{2^n}\right)</math>, where j and n are integers. (In some literature, other intervals with the same endpoints, such as <math>\left[\frac{j}{2^n}, \frac{j+1}{2^n}\right]</math> and <math>\left(\frac{j}{2^n}, \frac{j+1}{2^n}\right)</math>, are also considered to be dyadic intervals.) Dyadic intervals have some nice properties, such as the following:
- Every dyadic interval is contained in exactly one "parent" dyadic interval of twice the length.
- Every dyadic interval can be partitioned into two "child" dyadic intervals of half the length.
- If two dyadic intervals overlap, then one of them must be a subset of the other.
The dyadic intervals thus have a structure very similar to an infinite binary tree.
Dyadic intervals are often used in harmonic analysis, for instance to build the Haar wavelet system.
Intervals in order theory
In order theory, the concept of an interval can be extended to totally ordered sets. An interval in a totally ordered set <math>(\Omega,\le)</math> is a subset <math>S</math> of <math>\Omega</math> such that whenever <math>x<y<z</math> and <math>x,z\in S</math>, then also <math>y\in S</math>. The notations <math>(a,b)</math>, <math>[a,b)</math>, etc. are also used in this context. Thus, <math>[a,b)=\{z\in \Omega\,|\,a\le z < b\}</math>, for example.
Interval arithmetic
Interval arithmetic, also called interval mathematics, interval analysis, and interval computation, has been developed by mathematicians since the 1950s and 1960s as an approach to putting bounds on rounding errors in mathematical computation and thus developing numerical methods that yield very reliable results. Where classical arithmetic defines operations on individual numbers, interval arithmetic defines a set of operations on intervals:
- T · S = { x | there is some y in T, and some z in S, such that x = y · z }.
The basic operations of interval arithmetic are, for two intervals [a, b] and [c, d] that are subsets of the real line (-∞,∞),
- [a,b] + [c,d] = [a + c, b + d]
- [a,b] − [c, d] = [a − d, b −c]
- [a,b] × [c,d] = [min (ac, ad, bc, bd), max (ac, ad, bc, bd)]
- [a,b] / [c,d] = [min (a/c, a/d, b/c, b/d), max (a/c, a/d, b/c, b/d)]
Division by an interval containing zero is not defined under the basic interval arithmetic. The addition and multiplication operations are commutative, associative and sub-distributive: the set X ( Y + Z ) is a subset of XY + XZ.
There are interval versions of standard algorithms, such as Newton's method.
See also: comprehensive German Wikipedia article on Interval arithmetic
See also
References
External links
- A Lucid Interval by Brian Hayes: An American Scientist article provides an introduction.
- Interval Notation Basics
- Interval computations website
- Interval computations research centers
- Interval Notation by George Beck, The Wolfram Demonstrations Project.
- Template:MathWorld
ca:Interval (matemàtiques) cs:Interval (matematika) da:Interval (matematik) de:Intervall (Mathematik) eo:Intervalo (matematiko) ko:구간 is:Bil (stærðfræði) it:Intervallo (matematica) he:קטע (מתמטיקה) lt:Atkarpa hu:Intervallum nl:Interval (wiskunde) sl:Interval (matematika) sr:Интервал (математика) su:Interval (matematika) uk:Інтервал