Jump to content

Interval (mathematics): Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
→‎External links: *[http://developers.sun.com/prodtech/cc/numerics_index.html Sun Studio compilers] - implement interval arithmetic
Ezh (talk | contribs)
wording
Line 1: Line 1:
In [[elementary algebra]], an '''interval''' is a set that contains every [[real number]] between two indicated numbers and possibly the two numbers themselves. '''Interval notation''' is the notation in which permitted values for a [[variable]] are expressed as ranging over a certain interval; "<math>5 < x < 9</math>" is an example of the application of interval notation. In conventional interval notation, [[parentheses]] ( <math>(...)</math> ) indicate exclusion while [[square brackets]] ( <math>[...]</math> ) indicate inclusion. For example, the interval "<math>(10,20)</math>" indicates the set of all real numbers between <math>10</math> and <math>20</math> but does ''not'' include <math>10</math> or <math>20</math>, the first and last numbers of the interval, respectively. On the other hand, the interval "<math>[10,20]</math>" includes every number between <math>10</math> and <math>20</math> ''as well as'' <math>10</math> and <math>20</math>. Other possibilities are listed below.
In [[elementary algebra]], an '''interval''' is a set that contains every [[real number]] between two indicated numbers and may contain the two numbers themselves. '''Interval notation''' is the notation in which permitted values for a [[variable]] are expressed as ranging over a certain interval; "<math>5 < x < 9</math>" is an example of the application of interval notation. In conventional interval notation, [[parentheses]] ( <math>(...)</math> ) indicate exclusion while [[square brackets]] ( <math>[...]</math> ) indicate inclusion. For example, the interval "<math>(10,20)</math>" indicates the set of all real numbers between <math>10</math> and <math>20</math> but does ''not'' include <math>10</math> or <math>20</math>, the first and last numbers of the interval, respectively. On the other hand, the interval "<math>[10,20]</math>" includes every number between <math>10</math> and <math>20</math> ''as well as'' <math>10</math> and <math>20</math>. Other possibilities are listed below.


Because an interval is also a [[neighbourhood (mathematics)|neighborhood]] of every real number ''x'' lying inside the interval, the term '''interval''' is sometimes loosely used as a synonym for '''neighborhood''' when discussing multi-dimensional metric spaces, such as the complex plane.
Because an interval is also a [[neighbourhood (mathematics)|neighborhood]] of every real number ''x'' lying inside the interval, the term '''interval''' is sometimes loosely used as a synonym for '''neighborhood''' when discussing multi-dimensional metric spaces, such as the complex plane.

Revision as of 00:57, 23 May 2007

In elementary algebra, an interval is a set that contains every real number between two indicated numbers and may contain the two numbers themselves. Interval notation is the notation in which permitted values for a variable are expressed as ranging over a certain interval; "" is an example of the application of interval notation. In conventional interval notation, parentheses ( ) indicate exclusion while square brackets ( ) indicate inclusion. For example, the interval "" indicates the set of all real numbers between and but does not include or , the first and last numbers of the interval, respectively. On the other hand, the interval "" includes every number between and as well as and . Other possibilities are listed below.

Because an interval is also a neighborhood of every real number x lying inside the interval, the term interval is sometimes loosely used as a synonym for neighborhood when discussing multi-dimensional metric spaces, such as the complex plane.

Higher mathematics

In higher mathematics, a formal definition is the following: An interval is a subset of a totally ordered set with the property that whenever and are in and then is in .

As mentioned above, a particularly important case is when , the set of real numbers.

Intervals of are of the following eleven different types (where and are real numbers, with ):

  1. itself, the set of all real numbers
  2. , the empty set
  3. , singleton

The last two are called degenerate intervals. In each case where they appear above, a and b are known as endpoints of the interval.

If one considers the extended reals, seven new cases arise:

Intervals using the round brackets ( or ) as in the general interval (a,b) or specific examples (-1,3) and (2,4) are called open intervals and the endpoints are not included in the set. Intervals using the square brackets [ or ] as in the general interval [a,b] or specific examples [-1,3] and [2,4] are called closed intervals and the endpoints are included in the set. Intervals using both square and round brackets [ and ) or ( and ] as in the general intervals (a,b] and [a,b) or specific examples [-1,3) and (2,4] are called half-closed intervals or half-open intervals.

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.

Intervals are precisely the connected subsets of . They are also precisely the convex subsets of . Since a continuous image of a connected set is connected, it follows that if is a continuous function and I is an interval, then its image is also an interval. This is one formulation of the intermediate value theorem.

Intervals in order theory

In order theory, the concept of an interval can be extended to {{#invoke:preorder|interval|those in a preordered set}}. For example, given a partially ordered set (P, ≤) and two elements a and b of P, one defines the set

[a, b] = { x | axb }

One may choose to restrict this definition to pairs of elements with the property that ab. Alternatively, the intervals without this condition will just coincide with the empty set, which in the former case would not be considered as an interval.

In a subset S of an ordered set P, where the order on S is the restriction of that on P, an interval [a, b] is the intersection of S and the interval [a, b] in P, and similarly for open intervals. In a subset S of R there is an empty open interval (a, b) with a < b if and only if S is not dense in R.

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 obtaining 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] = [ad, bc]
  • [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.

Relational operations

Relational operations on intervals can be defined in tri-state logic {true, false, uncertain}:

  • T · S is true if for any x in T, and any y in S, x · y is true
  • T · S is false if for any x in T, and any y in S, x · y is false
  • otherwise T · S is uncertain

Often intervals are considered as estimations of some individual numbers. In that case for both arithmetic and relational interval operations the following is true: if x in T and y in S, then the result of T · S contains x · y.

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:

  • ]a,b[ = { x | a < x < b }
  • [a,b] = { x | axb }
  • [a,b[ = { x | ax < b }
  • ]a,b] = { x | a < xb }

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.

See also