Definition:Real Interval
From ProofWiki
Contents |
[edit] Definition
The set of all real numbers between any two given real numbers a and b is called a (real) interval.
An arbitrary interval is frequently denoted
, although some sources use just I.
[edit] Endpoints
The numbers
are known as the endpoints (or end points) of the interval.
a is sometimes called the left hand endpoint and b the right hand end point of the interval.
[edit] Length
The difference
between the endpoints is called the length of the interval.
[edit] Midpoint
The midpoint of an interval is the number
.
[edit] Property Defining an Interval
An interval has the property
.
That is, if two numbers belong to an interval, then so does every number in between them.
This is proved in Interval Defined by Betweenness.
[edit] Definitions of Interval Types
It is usual to define intervals in terms of inequalities.
These are in the form of a pair of brackets, either round or square, enclosing the two endpoints of the interval separated by two dots.
Whether the bracket at either end is round or square depends on whether the end point is inside or outside the interval, as specified in the following.
Suppose
.
[edit] Open Interval
The open interval from a to b is defined as:
[edit] Half Open Interval
There are two half open intervals from a to b, defined as:
[edit] Closed Interval
The closed interval from a to b is defined as:
Such an interval can also be referred to as compact.
[edit] Unbounded Half Open Interval
There are two unbounded half open intervals involving a real number a, defined as:
[edit] Unbounded Open Interval
There are two unbounded open intervals involving a real number a, defined as:
Using the same symbology, the set
can be represented as an unbounded open interval with no end points:
[edit] Empty Interval
When a > b, we have:
When a = b, we have:
[edit] Singleton Interval
When a = b, we have:
[edit] Higher Dimensional Intervals
An interval in
is the cartesian product:
where
are intervals in
.
The interval
is called an n-dimensional interval.
[edit] Real Number Line as a Metric Space
From Real Number Line is Metric Space, one can define an open interval in terms of an ε-neighborhood.
Thus any open interval
can be expressed as: :
where
and
.
Hence
is the ε-neighborhood
.
[edit] Notation
The notation as used here is a fairly recent innovation, and was introduced by C. A. R. Hoare and Lyle Ramshaw. [1]
These are the notations usually seen for intervals:
-
for
;
-
for
;
-
for
;
-
for
.
... but they can be confused with other usages for these (in particular, we have the danger of taking
to mean an ordered pair and goodness knows what else).
Some authors try to get around this ambiguity problem by using the following notations for open and half-open intervals:
-
for
;
-
for
;
-
for
.
... but these are both ugly and confusing, and not many people like those either.
The "double dots" notation used to denote an interval has a worthy precedent in the sphere of computer languages. For example, Pascal uses the same notation for a closed interval.
[edit] Comment
Compare the definition of a closed interval on a general totally ordered set.
Note that only in the case of the closed interval are both endpoints actually included in the interval.
[edit] References
- ↑ Graham, Knuth and Patashnik, Concrete Mathematics: A Foundation for Computer Science, 2nd ed., (Reading, Massachusetts: Addison-Wesley, 1994), chapter 3.2.

