Mathematical Intervals: Definitions, Types, and Applications
In mathematics, an interval is a set of real numbers that contains every number lying between two fixed endpoints, leaving no "gaps." For instance, the set containing 0, 1, and every possible value in between is known as the unit interval, denoted as [0, 1]. Intervals are fundamental building blocks in real analysis and topology, providing a way to describe continuous segments of the number line.
Depending on whether the endpoints are included or excluded, intervals are categorized as open, closed, or semi-open. While many intervals are bounded by finite numbers, others extend infinitely in one or both directions, utilizing the infinity symbol (∞) to denote their lack of a boundary.

Key Facts
- Definition: A subset of real numbers that contains all values between any two numbers within that subset.
- Open Intervals: Exclude both endpoints and are denoted by parentheses ( ).
- Closed Intervals: Include both endpoints and are denoted by square brackets [ ].
- Half-Open Intervals: Include exactly one endpoint, mixing bracket and parenthesis notation.
- Boundedness: An interval is bounded if it has both a finite lower and upper limit; otherwise, it is unbounded.
- Diameter: The length of a bounded interval is the absolute difference between its endpoints.
Types of Intervals and Notation
Open and Closed Intervals
An open interval does not include its endpoints. For example, the notation (a, b) represents all real numbers x such that a < x < b. In topology, open intervals serve as the base for open sets on the real number line. If the endpoints are equal (a, a), the resulting set is the empty set.
A closed interval includes both of its finite endpoints, denoted as [a, b]. This represents all real numbers x such that a ≤ x ≤ b. Closed intervals are always non-empty. A special case occurs when a = b, resulting in a degenerate closed interval, which contains only a single point.
Half-Open Intervals
A half-open (or semi-closed) interval includes one endpoint but excludes the other. These are categorized as:
- Left-open: (a, b], meaning a < x ≤ b.
- Right-open: [a, b), meaning a ≤ x < b.

Bounded and Unbounded Intervals
Intervals are classified by their boundaries. A bounded interval (or finite interval) has both a minimum and maximum limit. Its center (midpoint) is calculated as (a + b)/2, and its radius is |a − b|/2.
Unbounded intervals extend to infinity. For example, the set of all positive real numbers is denoted as (0, ∞), while the set of all real numbers is denoted as (−∞, ∞). The empty set is considered bounded, while the set of all reals is the only interval unbounded at both ends.
Summary of Interval Types
| Interval Type | Notation | Endpoints Included? | Example | Inequality |
|---|---|---|---|---|
| Open | (a, b) | Neither | (0, 1) | 0 < x < 1 |
| Closed | [a, b] | Both | [0, 1] | 0 ≤ x ≤ 1 |
| Half-Open (Left) | (a, b] | Right only | (0, 1] | 0 < x ≤ 1 |
| Half-Open (Right) | [a, b) | Left only | [0, 1) | 0 ≤ x < 1 |
| Unbounded | (a, ∞) | Depends on 'a' | (0, ∞) | x > 0 |
Advanced Concepts and Applications
Dyadic Intervals
A dyadic interval is a bounded interval where the endpoints are fractions with denominators that are powers of two (k/2^n). These intervals are critical in numerical analysis, specifically in wavelet analysis, multigrid methods, and adaptive mesh refinement, as they mirror the structure of an infinite binary tree.
Confidence Intervals in Statistics
In statistics, a confidence interval is a range of values used to estimate an unknown parameter. For example, a 95% confidence level indicates that if the sampling procedure were repeated many times, approximately 95% of the resulting intervals would contain the true parameter value. In a normal distribution, this often corresponds to the region within two standard deviations (σ) of the mean (μ).
Generalizations in Higher Dimensions
The concept of an interval extends beyond the 1D number line:
- Balls: An open finite interval is a 1-dimensional open ball. In 2D, this becomes a disk.
- Hyperrectangles: A Cartesian product of finite intervals creates an axis-aligned hyperrectangle (a rectangle in 2D or a cuboid in 3D).
- Convex Polytopes: The intersection of half-bounded intervals generalizes to convex polytopes in n-dimensional affine space.
Frequently Asked Questions
What is the difference between an open and a closed interval?
An open interval excludes its endpoints, meaning the values can get infinitely close to the boundary but never reach it. A closed interval includes its endpoints as part of the set.
What is a degenerate interval?
A degenerate closed interval is an interval where the start and end points are the same [a, a], resulting in a set that contains only one single point.
How is the length of an interval calculated?
For a bounded interval with endpoints a and b, the length (also called diameter, measure, or size) is the absolute difference between the endpoints: |a − b|.
What are integer intervals?
Integer intervals are sets of integers between two endpoints. Unlike real intervals, they always include their finite endpoints unless explicitly denoted otherwise (e.g., using notation like a + 1 .. b - 1).
What is the relationship between intervals and convex sets?
In the context of real numbers, intervals are precisely the convex subsets of the real line. This means that for any two points in the interval, every point between them is also contained within the interval.