Interval (mathematics)
Template:Short description Template:About
In mathematics, a real interval is the set of all real numbers lying between two fixed endpoints with no "gaps". Each endpoint is either a real number or positive or negative infinity, indicating the interval extends without a bound. A real interval can contain neither endpoint, either endpoint, or both endpoints, excluding any endpoint which is infinite.
For example, the set of real numbers consisting of Template:Math, Template:Math, and all numbers in between is an interval, denoted Template:Math and called the unit interval; the set of all positive real numbers is an interval, denoted Template:Math; the set of all real numbers is an interval, denoted Template:Math; and any single real number Template:Mvar is an interval, denoted Template:Math.
Intervals are ubiquitous in mathematical analysis. For example, they occur implicitly in the epsilon-delta definition of continuity; the intermediate value theorem asserts that the image of an interval by a continuous function is an interval; integrals of real functions are defined over an interval; etc.
Interval arithmetic consists of computing with intervals instead of real numbers for providing a guaranteed enclosure of the result of a numerical computation, even in the presence of uncertainties of input data and rounding errors.
Intervals are likewise defined on an arbitrary totally ordered set, such as integers or rational numbers. The notation of integer intervals is considered in the special section below.
{{#invoke:Hatnote|hatnote}}
Definitions and terminologyEdit
An interval is a subset of the real numbers that contains all real numbers lying between any two numbers of the subset. In particular, the empty set <math>\varnothing</math> and the entire set of real numbers <math>\R</math> are both intervals.
The endpoints of an interval are its supremum, and its infimum, if they exist as real numbers.<ref name="bertsekas">Template:Cite book</ref> If the infimum does not exist, one says often that the corresponding endpoint is <math>-\infty.</math> Similarly, if the supremum does not exist, one says that the corresponding endpoint is <math>+\infty.</math>
Intervals are completely determined by their endpoints and whether each endpoint belong to the interval. This is a consequence of the least-upper-bound property of the real numbers. This characterization is used to specify intervals by mean of Template:Vanchor, which is described below.
An Template:Visible anchor does not include any endpoint, and is indicated with parentheses.<ref name="strichartz">Template:Cite book</ref> For example, <math>(0, 1) = \{x \mid 0 < x < 1\}</math> is the interval of all real numbers greater than Template:Math and less than Template:Math. (This interval can also be denoted by Template:Math, see below). The open interval Template:Math consists of real numbers greater than Template:Math, i.e., positive real numbers. The open intervals have thus one of the forms
- <math>\begin{align}
(a,b) &= \{x\in\mathbb R \mid a<x<b\}, \\ (-\infty, b) &= \{x\in\mathbb R \mid x<b\}, \\ (a, +\infty) &= \{x\in\mathbb R \mid a<x\}, \\ (-\infty, +\infty) &= \R, \\ (a,a)&=\emptyset,
\end{align}</math> where <math>a</math> and <math>b</math> are real numbers such that <math>a< b.</math> In the last case, the resulting interval is the empty set and does not depend on Template:Tmath. The open intervals are those intervals that are open sets for the usual topology on the real numbers.
A Template:Visible anchor is an interval that includes all its endpoints and is denoted with square brackets.<ref name="strichartz" /> For example, Template:Closed-closed means greater than or equal to Template:Math and less than or equal to Template:Math. Closed intervals have one of the following forms in which Template:Mvar and Template:Mvar are real numbers such that <math>a< b\colon</math>
- <math>\begin{align}
\;[a,b] &= \{x\in\mathbb R \mid a\le x\le b\}, \\ \left(-\infty, b\right] &= \{x\in\mathbb R \mid x\le b\}, \\ \left[a, +\infty\right) &= \{x\in\mathbb R \mid a\le x\}, \\ (-\infty, +\infty) &= \R,\\ \left[a,a\right]&=\{a\}.
\end{align}</math> The closed intervals are those intervals that are closed sets for the usual topology on the real numbers.
A Template:Visible anchor has two endpoints and includes only one of them. It is said left-open or right-open depending on whether the excluded endpoint is on the left or on the right. These intervals are denoted by mixing notations for open and closed intervals.<ref name=":2">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> For example, Template:Open-closed means greater than Template:Math and less than or equal to Template:Math, while Template:Closed-open means greater than or equal to Template:Math and less than Template:Math. The half-open intervals have the form
- <math>\begin{align}
\left(a,b\right] &= \{x\in\R \mid a<x\le b\}, \\ \left[a,b\right) &= \{x\in\R \mid a\le x<b\}. \\
\end{align}</math>
In summary, a set of the real numbers is an interval, if and only if it is an open interval, a closed interval, or a half-open interval. The only intervals that appear twice in the above classification are Template:Tmath and Template:Tmath that are both open and closed.<ref name="eom">Template:Eom</ref><ref name="tao">Template:Cite book See Definition 9.1.1.</ref>
A Template:Visible anchor is any set consisting of a single real number (i.e., an interval of the form Template:Closed-closed).<ref name="cramer">Template:Cite book</ref> Some authors include the empty set in this definition. A real interval that is neither empty nor degenerate is said to be proper, and has infinitely many elements.
Template:AnchorAn interval is said to be left-bounded or right-bounded, if there is some real number that is, respectively, smaller than or larger than all its elements. An interval is said to be bounded, if it is both left- and right-bounded; and is said to be unbounded otherwise. Intervals that are bounded at only one end are said to be half-bounded. The empty set is bounded, and the set of all reals is the only interval that is unbounded at both ends. Bounded intervals are also commonly known as finite intervals.
Bounded intervals are bounded sets, in the sense that their diameter (which is equal to the absolute difference between the endpoints) is finite. The diameter may be called the length, width, measure, range, or size of the interval. The size of unbounded intervals is usually defined as Template:Math, and the size of the empty interval may be defined as Template:Math (or left undefined).
The centre (midpoint) of a bounded interval with endpoints Template:Mvar and Template:Mvar is Template:Math, and its radius is the half-length Template:Math. These concepts are undefined for empty or unbounded intervals.
An interval is said to be left-open if and only if it contains no minimum (an element that is smaller than all other elements); right-open if it contains no maximum; and open if it contains neither. The interval Template:Math, for example, is left-closed and right-open. The empty set and the set of all reals are both open and closed intervals, while the set of non-negative reals, is a closed interval that is right-open but not left-open. The open intervals are open sets of the real line in its standard topology, and form a base of the open sets.
An interval is said to be left-closed if it has a minimum element or is left-unbounded, right-closed if it has a maximum or is right unbounded; it is simply closed if it is both left-closed and right closed. So, the closed intervals coincide with the closed sets in that topology.
The interior of an interval Template:Mvar is the largest open interval that is contained in Template:Mvar; it is also the set of points in Template:Mvar which are not endpoints of Template:Mvar. The closure of Template:Mvar is the smallest closed interval that contains Template:Mvar; which is also the set Template:Mvar augmented with its finite endpoints.
For any set Template:Mvar of real numbers, the interval enclosure or interval span of Template:Mvar is the unique interval that contains Template:Mvar, and does not properly contain any other interval that also contains Template:Mvar.
An interval Template:Mvar is a subinterval of interval Template:Mvar if Template:Mvar is a subset of Template:Mvar. An interval Template:Mvar is a proper subinterval of Template:Mvar if Template:Mvar is a proper subset of Template:Mvar.
However, there is conflicting terminology for the terms segment and interval, which have been employed in the literature in two essentially opposite ways, resulting in ambiguity when these terms are used. The Encyclopedia of Mathematics<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> defines interval (without a qualifier) to exclude both endpoints (i.e., open interval) and segment to include both endpoints (i.e., closed interval), while Rudin's Principles of Mathematical Analysis<ref>Template:Cite book</ref> calls sets of the form [a, b] intervals and sets of the form (a, b) segments throughout. These terms tend to appear in older works; modern texts increasingly favor the term interval (qualified by open, closed, or half-open), regardless of whether endpoints are included.
Notations for intervalsEdit
The interval of numbers between Template:Mvar and Template:Mvar, including Template:Mvar and Template:Mvar, is often denoted Template:Closed-closed. The two numbers are called the endpoints of the interval. In countries where numbers are written with a decimal comma, a semicolon may be used as a separator to avoid ambiguity.
Including or excluding endpointsEdit
To indicate that one of the endpoints is to be excluded from the set, the corresponding square bracket can be either replaced with a parenthesis, or reversed. Both notations are described in International standard ISO 31-11. Thus, in set builder notation,
- <math>\begin{align}
(a,b) = \mathopen{]}a,b\mathclose{[} &= \{x\in\R \mid a<x<b\}, \\[5mu] [a,b) = \mathopen{[}a,b\mathclose{[} &= \{x\in\R \mid a\le x<b\}, \\[5mu] (a,b] = \mathopen{]}a,b\mathclose{]} &= \{x\in\R \mid a<x\le b\}, \\[5mu] [a,b] = \mathopen{[}a,b\mathclose{]} &= \{x\in\R \mid a\le x\le b\}. \end{align}</math>
Each interval Template:Open-open, Template:Closed-open, and Template:Open-closed represents the empty set, whereas Template:Closed-closed denotes the singleton set Template:Math. When Template:Math, all four notations are usually taken to represent the empty set.
Both notations may overlap with other uses of parentheses and brackets in mathematics. For instance, the notation Template:Math is often used to denote an ordered pair in set theory, the coordinates of a point or vector in analytic geometry and linear algebra, or (sometimes) a complex number in algebra. That is why Bourbaki introduced the notation Template:Math to denote the open interval.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The notation Template:Math too is occasionally used for ordered pairs, especially in computer science.
Some authors such as Yves Tillé use Template:Math to denote the complement of the interval Template:Open-open; namely, the set of all real numbers that are either less than or equal to Template:Mvar, or greater than or equal to Template:Mvar.
Infinite endpointsEdit
In some contexts, an interval may be defined as a subset of the extended real numbers, the set of all real numbers augmented with Template:Math and Template:Math.
In this interpretation, the notations Template:Closed-closed , Template:Open-closed , Template:Closed-closed , and Template:Closed-open are all meaningful and distinct. In particular, Template:Open-open denotes the set of all ordinary real numbers, while Template:Closed-closed denotes the extended reals.
Even in the context of the ordinary reals, one may use an infinite endpoint to indicate that there is no bound in that direction. For example, Template:Open-open is the set of positive real numbers, also written as <math>\mathbb{R}_+.</math> The context affects some of the above definitions and terminology. For instance, the interval Template:Open-open = <math>\R</math> is closed in the realm of ordinary reals, but not in the realm of the extended reals.
Integer intervalsEdit
When Template:Mvar and Template:Mvar are integers, the notation ⟦a, b⟧, or Template:Closed-closed or Template:Math or just Template:Math, is sometimes used to indicate the interval of all integers between Template:Mvar and Template:Mvar included. The notation Template:Closed-closed is used in some programming languages; in Pascal, for example, it is used to formally define a subrange type, most frequently used to specify lower and upper bounds of valid indices of an array.
Another way to interpret integer intervals are as sets defined by enumeration, using ellipsis notation.
An integer interval that has a finite lower or upper endpoint always includes that endpoint. Therefore, the exclusion of endpoints can be explicitly denoted by writing Template:Math , Template:Math , or Template:Math. Alternate-bracket notations like Template:Closed-open or Template:Math are rarely used for integer intervals.Template:Citation needed
PropertiesEdit
The intervals are precisely the connected subsets of <math>\R.</math> It follows that the image of an interval by any continuous function from <math>\mathbb R</math> to <math>\mathbb R</math> is also an interval. This is one formulation of the intermediate value theorem.
The intervals are also the convex subsets of <math>\R.</math> The interval enclosure of a subset <math>X\subseteq \R</math> is also the convex hull of <math>X.</math>
The closure of an interval is the union of the interval and the set of its finite endpoints, and hence is also an interval. (The latter also follows from the fact that the closure of every connected subset of a topological space is a connected subset.) In other words, we haveTemplate:Sfnp
- <math>\operatorname{cl}(a,b)=\operatorname{cl}(a,b]=\operatorname{cl}[a,b)=\operatorname{cl}[a,b]=[a,b],</math>
- <math>\operatorname{cl}(a,+\infty)=\operatorname{cl}[a,+\infty)=[a,+\infty),</math>
- <math>\operatorname{cl}(-\infty,a)=\operatorname{cl}(-\infty,a]=(-\infty,a],</math>
- <math>\operatorname{cl}(-\infty,+\infty)=(-\infty,\infty).</math>
The intersection of any collection of intervals is always an interval. The union of two intervals is an interval if and only if they have a non-empty intersection or an open end-point of one interval is a closed end-point of the other, for example <math>(a,b) \cup [b,c] = (a,c].</math>
If <math>\R</math> is viewed as a metric space, its open balls are the open bounded intervals Template:Open-open, and its closed balls are the closed bounded intervals Template:Closed-closed. In particular, the metric and order topologies in the real line coincide, which is the standard topology of the real line.
Any element Template:Mvar of an interval Template:Mvar defines a partition of Template:Mvar into three disjoint intervals Template:Mvar1, Template:Mvar2, Template:Mvar3: respectively, the elements of Template:Mvar that are less than Template:Mvar, the singleton <math>[x,x] = \{x\},</math> and the elements that are greater than Template:Mvar. The parts Template:Mvar1 and Template:Mvar3 are both non-empty (and have non-empty interiors), if and only if Template:Mvar is in the interior of Template:Mvar. This is an interval version of the trichotomy principle.
Dyadic intervalsEdit
A dyadic interval is a bounded real interval whose endpoints are <math>\tfrac{j}{2^n}</math> and <math>\tfrac{j+1}{2^n},</math> where <math>j</math> and <math>n</math> are integers. Depending on the context, either endpoint may or may not be included in the interval.
Dyadic intervals have the following properties:
- The length of a dyadic interval is always an integer power of two.
- Each dyadic interval is contained in exactly one dyadic interval of twice the length.
- Each dyadic interval is spanned by two dyadic intervals of half the length.
- If two open dyadic intervals overlap, then one of them is a subset of the other.
The dyadic intervals consequently have a structure that reflects that of an infinite binary tree.
Dyadic intervals are relevant to several areas of numerical analysis, including adaptive mesh refinement, multigrid methods and wavelet analysis. Another way to represent such a structure is p-adic analysis (for Template:Math).<ref>Template:Cite journal</ref>
GeneralizationsEdit
BallsEdit
An open finite interval <math>(a, b)</math> is a 1-dimensional open ball with a center at <math>\tfrac12(a + b)</math> and a radius of <math>\tfrac12(b - a).</math> The closed finite interval <math>[a, b]</math> is the corresponding closed ball, and the interval's two endpoints <math>\{a, b\}</math> form a 0-dimensional sphere. Generalized to <math>n</math>-dimensional Euclidean space, a ball is the set of points whose distance from the center is less than the radius. In the 2-dimensional case, a ball is called a disk.
If a half-space is taken as a kind of degenerate ball (without a well-defined center or radius), a half-space can be taken as analogous to a half-bounded interval, with its boundary plane as the (degenerate) sphere corresponding to the finite endpoint.
Multi-dimensional intervalsEdit
A finite interval is (the interior of) a 1-dimensional hyperrectangle. Generalized to real coordinate space <math>\R^n,</math> an axis-aligned hyperrectangle (or box) is the Cartesian product of <math>n</math> finite intervals. For <math>n=2</math> this is a rectangle; for <math>n=3</math> this is a rectangular cuboid (also called a "box").
Allowing for a mix of open, closed, and infinite endpoints, the Cartesian product of any <math>n</math> intervals, <math>I = I_1\times I_2 \times \cdots \times I_n</math> is sometimes called an <math>n</math>-dimensional interval.Template:Cn
A facet of such an interval <math>I</math> is the result of replacing any non-degenerate interval factor <math>I_k</math> by a degenerate interval consisting of a finite endpoint of <math>I_k.</math> The faces of <math>I</math> comprise <math>I</math> itself and all faces of its facets. The corners of <math>I</math> are the faces that consist of a single point of <math>\R^n.</math>Template:Cn
Convex polytopesEdit
Any finite interval can be constructed as the intersection of half-bounded intervals (with an empty intersection taken to mean the whole real line), and the intersection of any number of half-bounded intervals is a (possibly empty) interval. Generalized to <math>n</math>-dimensional affine space, an intersection of half-spaces (of arbitrary orientation) is (the interior of) a convex polytope, or in the 2-dimensional case a convex polygon.
DomainsEdit
An open interval is a connected open set of real numbers. Generalized to topological spaces in general, a non-empty connected open set is called a domain.
Complex intervalsEdit
Intervals of complex numbers can be defined as regions of the complex plane, either rectangular or circular.<ref>Complex interval arithmetic and its applications, Miodrag Petković, Ljiljana Petković, Wiley-VCH, 1998, Template:ISBN</ref>
Intervals in posets and preordered setsEdit
DefinitionsEdit
The concept of intervals can be defined in arbitrary partially ordered sets or more generally, in arbitrary preordered sets. For a preordered set <math>(X,\lesssim)</math> and two elements <math>a,b\in X,</math> one similarly defines the intervals<ref name="Vind">Template:Cite book</ref>Template:Rp
- <math>(a,b) =\{x\in X \mid a<x<b\},</math>
- <math>[a,b] =\{x\in X \mid a\lesssim x\lesssim b\},</math>
- <math>(a,b] =\{x\in X \mid a<x\lesssim b\},</math>
- <math>[a,b) =\{x\in X \mid a\lesssim x<b\},</math>
- <math>(a,\infty) =\{x\in X \mid a<x\},</math>
- <math>[a,\infty) =\{x\in X \mid a\lesssim x\},</math>
- <math>(-\infty,b) =\{x\in X \mid x<b\},</math>
- <math>(-\infty,b] =\{x\in X \mid x\lesssim b\},</math>
- <math>(-\infty,\infty) =X,</math>
where <math>x<y</math> means <math>x\lesssim y\not\lesssim x.</math> Actually, the intervals with single or no endpoints are the same as the intervals with two endpoints in the larger preordered set
- <math>\bar X=X\sqcup\{-\infty,\infty\}</math>
- <math>-\infty<x<\infty\qquad(\forall x\in X)</math>
defined by adding new smallest and greatest elements (even if there were ones), which are subsets of <math>X.</math> In the case of <math>X=\mathbb R</math> one may take <math>\bar\mathbb R</math> to be the extended real line.
Convex sets and convex components in order theoryEdit
Template:Main article A subset <math>A\subseteq X</math> of the preordered set <math>(X,\lesssim)</math> is (order-)convex if for every <math>x,y\in A</math> and every <math>x\lesssim z\lesssim y</math> we have <math>z\in A.</math> Unlike in the case of the real line, a convex set of a preordered set need not be an interval. For example, in the totally ordered set <math>(\mathbb Q,\le)</math> of rational numbers, the set
- <math>\mathbb Q=\{x\in\mathbb Q \mid x^2<2\}</math>
is convex, but not an interval of <math>\mathbb Q,</math> since there is no square root of two in <math>\mathbb Q.</math>
Let <math>(X,\lesssim)</math> be a preordered set and let <math>Y\subseteq X.</math> The convex sets of <math>X</math> contained in <math>Y</math> form a poset under inclusion. A maximal element of this poset is called a convex component of <math>Y.</math><ref name="Heath">Template:Cite journal</ref>Template:Rp<ref name="Steen">Template:Cite journal</ref>Template:Rp By the Zorn lemma, any convex set of <math>X</math> contained in <math>Y</math> is contained in some convex component of <math>Y,</math> but such components need not be unique. In a totally ordered set, such a component is always unique. That is, the convex components of a subset of a totally ordered set form a partition.
PropertiesEdit
A generalization of the characterizations of the real intervals follows. For a non-empty subset <math>I</math> of a linear continuum <math>(L,\le),</math> the following conditions are equivalent.<ref name="Munkres">Template:Cite book</ref>Template:Rp
- The set <math>I</math> is an interval.
- The set <math>I</math> is order-convex.
- The set <math>I</math> is a connected subset when <math>L</math> is endowed with the order topology.
For a subset <math>S</math> of a lattice <math>L,</math> the following conditions are equivalent.
- The set <math>S</math> is a sublattice and an (order-)convex set.
- There is an ideal <math>I\subseteq L</math> and a filter <math>F\subseteq L</math> such that <math>S=I\cap F.</math>
ApplicationsEdit
In general topologyEdit
Every Tychonoff space is embeddable into a product space of the closed unit intervals <math>[0,1].</math> Actually, every Tychonoff space that has a base of cardinality <math>\kappa</math> is embeddable into the product <math>[0,1]^\kappa</math> of <math>\kappa</math> copies of the intervals.<ref name="Engelking">Template:Cite book</ref>Template:Rp
The concepts of convex sets and convex components are used in a proof that every totally ordered set endowed with the order topology is completely normal<ref name="Steen" /> or moreover, monotonically normal.<ref name="Heath" />
Topological algebraEdit
Template:More citations needed
Intervals can be associated with points of the plane, and hence regions of intervals can be associated with regions of the plane. Generally, an interval in mathematics corresponds to an ordered pair Template:Math taken from the direct product <math>\R \times \R</math> of real numbers with itself, where it is often assumed that Template:Math. For purposes of mathematical structure, this restriction is discarded,<ref>Kaj Madsen (1979) Review of "Interval analysis in the extended interval space" by Edgar KaucherTemplate:Dead link from Mathematical Reviews</ref> and "reversed intervals" where Template:Math are allowed. Then, the collection of all intervals Template:Math can be identified with the topological ring formed by the direct sum of <math>\R</math> with itself, where addition and multiplication are defined component-wise.
The direct sum algebra <math>( \R \oplus \R, +, \times)</math> has two ideals, { [x,0] : x ∈ R } and { [0,y] : y ∈ R }. The identity element of this algebra is the condensed interval Template:Math. If interval Template:Math is not in one of the ideals, then it has multiplicative inverse Template:Math. Endowed with the usual topology, the algebra of intervals forms a topological ring. The group of units of this ring consists of four quadrants determined by the axes, or ideals in this case. The identity component of this group is quadrant I.
Every interval can be considered a symmetric interval around its midpoint. In a reconfiguration published in 1956 by M Warmus, the axis of "balanced intervals" Template:Math is used along with the axis of intervals Template:Math that reduce to a point. Instead of the direct sum <math>R \oplus R,</math> the ring of intervals has been identified<ref>D. H. Lehmer (1956) Review of "Calculus of Approximations"Template:Dead link from Mathematical Reviews</ref> with the hyperbolic numbers by M. Warmus and D. H. Lehmer through the identification
- <math>z = \tfrac12(x + y) + \tfrac12(x - y)j,</math>
where <math>j^2 = 1.</math>
This linear mapping of the plane, which amounts of a ring isomorphism, provides the plane with a multiplicative structure having some analogies to ordinary complex arithmetic, such as polar decomposition.
See alsoEdit
- Arc (geometry)
- Inequality
- Interval graph
- Interval finite element
- Interval (statistics)
- Line segment
- Partition of an interval
- Unit interval
ReferencesEdit
BibliographyEdit
- T. Sunaga, "Theory of interval algebra and its application to numerical analysis" Template:Webarchive, In: Research Association of Applied Geometry (RAAG) Memoirs, Ggujutsu Bunken Fukuy-kai. Tokyo, Japan, 1958, Vol. 2, pp. 29–46 (547-564); reprinted in Japan Journal on Industrial and Applied Mathematics, 2009, Vol. 26, No. 2-3, pp. 126–143.
External linksEdit
- A Lucid Interval by Brian Hayes: An American Scientist article provides an introduction.
- Interval computations website Template:Webarchive
- Interval computations research centers Template:Webarchive
- Interval Notation by George Beck, Wolfram Demonstrations Project.
- {{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web
|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:Interval%7CInterval.html}} |title = Interval |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}