Canonical: https://knowlpedia.com/real-analysis/interval/

# Interval

A subset of the real line that contains every point between any two of its points.

An **interval** is a [subset](https://knowlpedia.com/shared-foundations/subset/) \(I\subseteq\mathbb R\) such that whenever \(a,c\in I\) and \(a<b<c\), then \(b\in I\).

## Remarks

Intervals are the basic “connected pieces” of the ordered real line (using the [order axioms](https://knowlpedia.com/real-analysis/order-axioms/)). In the usual topology on \(\mathbb R\) coming from the [metric](https://knowlpedia.com/topology/metric/) \(d(x,y)=|x-y|\), open intervals are fundamental examples of [open sets](https://knowlpedia.com/topology/open-set/).

## Examples

- \((0,1)=\{x\in\mathbb R: 0<x<1\}\) is an interval.
- \([0,\infty)=\{x\in\mathbb R: x\ge 0\}\) is an interval.
