In mathematics, an interval is the set of all real numbers lying between two fixed lower or upper bounds ("endpoints") with no "gaps". For example, the set of real numbers consisting of 0, 1, and all numbers in between is an interval, denoted [0, 1] and called the unit interval. An interval may contain neither endpoint (called an open interval), both endpoints (called a closed interval), or either endpoint (called a semi-open or semi-closed interval). The intervals just described are the bounded intervals. Often intervals are also allowed to extend without bound in one or both directions, with the unbounded side being denoted by a positive or negative infinity symbol. The set of all positive real numbers is an interval in this sense, denoted (0, ∞); the set of all real numbers is an interval that is unbounded on both ends, denoted (−∞, ∞). 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. For example, 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 can be defined more generally on any totally ordered set, such as integers or rational numbers. The notation of integer intervals is considered in the special section below.
Definitions and terminology
Definition of an interval An interval is a subset of the real numbers that contains all real numbers lying between any two numbers of the subset. Examples are the numbers x from one to two, 1≤x≤2, and the numbers y greater than 10, i.e. y>10. Under this definition, the empty set and the entire set of real numbers are both intervals. The endpoints of an interval are its supremum (least upper bound), and its infimum (greatest lower bound), if they exist as real numbers. If the infimum does not exist and the interval is not empty, one says often that the corresponding endpoint is negative infinity, written −∞. Similarly, if the supremum of a non-empty interval does not exist, one says that the corresponding endpoint is positive infinity, written +∞. Non-empty intervals are completely determined by their endpoints and whether each endpoint belongs to the interval. This is a consequence of the least-upper-bound property of the real numbers, which implies that if the elements of a non-empty interval are all less than some finite value, then the interval has a supremum. This characterization is used to specify intervals by means of interval notation, where a square or rounded bracket (parenthesis) indicates whether or not an endpoint belongs to the interval.
Open and closed intervals An open interval does not include any endpoint and can be succinctly indicated with parentheses. For example, (0,1)={x∣0<x<1} is the interval of all real numbers greater than 0 and less than 1. (This interval can also be denoted by ]0,1[, see below). The open interval (0,+∞) consists of real numbers greater than 0, i.e., positive real numbers. The open intervals have thus one of the forms
(a,b)={x∈ℝ∣a<x<b},(−∞,b)={x∈ℝ∣x<b},(a,+∞)={x∈ℝ∣a<x},(−∞,+∞)=ℝ,(a,a)=∅︀, where a and b are real numbers such that a<b. In the last case, the resulting interval is the empty set and does not depend on a. The open intervals are those intervals that are open sets for the usual topology on the real numbers, and they form a base of the open sets. A closed interval is an interval which includes both endpoints, which are finite. A closed interval is denoted with square brackets. For example, [0, 1] is the closed interval with contents greater than or equal to 0 and less than or equal to 1. Closed intervals are by definition non-empty. Thus every closed interval has the form
[a,b]={x∈ℝ∣a≤x≤b} where a<b. The interval consisting of a single point [a,a]={a} is sometimes called a degenerate closed interval. In addition to the closed intervals [a,b] common in analysis, unbounded intervals that include their finite endpoint such as [a,∞) or (−∞,b] are topologically closed (meaning that they contain all of their boundary points that are real numbers) but are not usually called "closed intervals" in analysis, that term being reserved for the closed and bounded case. The (bounded) closed intervals together with the semi-infinite closed intervals, and the interval (−∞,∞) comprise those intervals that are closed sets for the usual topology on the real numbers.
Half-open intervals A half-open interval has two distinct finite endpoints, and includes one but not the other. It is said to be 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. For example, (0, 1] means greater than 0 and less than or equal to 1, while [0, 1) means greater than or equal to 0 and less than 1. The half-open intervals have the form
(a,b]={x∈ℝ∣a<x≤b},[a,b)={x∈ℝ∣a≤x<b}. 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 ∅︀ and ℝ that are both open and closed.
Degenerate intervals A degenerate interval is any set consisting of a single real number (i.e., an interval of the form [a, a]). 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.
… excerpt ends here. Continue reading the full article.
