# Interval Notation

We can think of an interval as a **subset** of real numbers. For instance, the set of integers [latex]\mathbb{Z}[/latex] is a subset of the set of real numbers [latex]\mathbb{R}[/latex].

So an **interval notation** is simply a compact way of representing subsets of real numbers using two numbers (left and right endpoints), the comma symbol, parentheses ( ), brackets [ ], and infinity symbols (positive or negative).

If you want to see how much you already know about interval notation, you can click on the link below to do some practice problems before moving on to the lesson.

**Interval Notation Practice Problems with Answers**

Here’s a quick example of an interval notation showing its parts:

Geometrically, it can be thought of as a **line segment** which is a part (i.e. portion) of the real number line.

An interval notation may look exactly like a point so don’t mix things up! Here is an example.

What does the interval [latex]\large{(a,b)}[/latex] represent?

- It is
**not**a point. [latex]\large{a}[/latex] does not stand for the x-coordinate and [latex]\large{b}[/latex] does not stand for the y-coordinate.

- However, it represents all real numbers between [latex]\large{a}[/latex] and [latex]\large{b}[/latex].

Let’s go over the different cases of interval notations.

## Cases of Interval Notations

**Case 1**: [latex]\Large{\left( {{\color{red}a},\infty } \right)}[/latex]

- The left endpoint is [latex]\large{a}[/latex] and the use of the parenthesis ( ) implies that [latex]\large{a}[/latex] is
**not**included (excluded).

- The right endpoint is not a real number (positive infinity [latex]+\infty[/latex] symbol), it suggests that the interval is unbounded on the right which means that it goes on indefinitely.

In words:

All real numbers that are greater than [latex]\large{a}[/latex].

As a set builder notation:

[latex]\large{\{ {x|x > a}\}}[/latex]

As an inequality:

[latex]\large{x > a}[/latex]

As a graph in number line:

We use a **hollow dot** (unshaded) for [latex]\color{red}\large{a}[/latex] to indicate that it not included in the interval.

**Case 2**: [latex]\Large{\left[ {{\color{red}a},\infty } \right)}[/latex]

- The left endpoint is [latex]\large{a}[/latex] and the use of the square bracket [ ] implies that [latex]\large{a}[/latex] is included.

- The right endpoint is positive infinity ([latex]+\infty[/latex]) which implies that the interval goes on indefinitely to the right.

In words:

All real numbers that are greater than or equal to [latex]\large{a}[/latex].

As a set builder notation:

[latex]\large{\{ {x|x \ge a}\}}[/latex]

As an inequality:

[latex]\large{x \ge a}[/latex]

As a graph in number line:

We use a **solid dot** (shaded) for [latex]\color{red}\large{a}[/latex] to indicate that it included in the interval.

**Case 3**: [latex]\Large{\left( { – \infty ,{\color{blue}b}} \right)}[/latex]

- The left endpoint is not a number rather the negative infinity symbol ([latex]\large{- \infty}[/latex]). It means that the interval is unbounded on the left.

- The right endpoint is [latex]\large{b}[/latex] and the use of the parenthesis ( ) implies that [latex]\large{b}[/latex] is
**not**included (excluded).

In words:

All real numbers that are less than [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|x < b}\}}[/latex]

As an inequality:

[latex]\large{x < b}[/latex]

As a graph in number line:

We use a **hollow dot** (unshaded) for [latex]\color{blue}\large{b}[/latex] to indicate that it not included in the interval.

**Case 4**: [latex]\Large{\left( { – \infty ,{\color{blue}b}} \right]}[/latex]

- The left endpoint is negative infinity ([latex]\large{- \infty}[/latex]) thus it goes on to the left indefinitely.

- The right endpoint is [latex]\large{b}[/latex] and the use of the square bracket [ ] implies that [latex]\large{b}[/latex] is included in the interval.

In words:

All real numbers that are less than or equal to [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|x \le b}\}}[/latex]

As an inequality:

[latex]\large{x \le b}[/latex]

As a graph in number line:

We use a **solid dot** (shaded) for [latex]\color{blue}\large{b}[/latex] to indicate that it not included in the interval.

**Case 5**: [latex]\Large{\left( {{\color{red}a},{\color{blue}b}} \right)}[/latex]

- [latex]\large{a}[/latex] is the left endpoint, and the parenthesis ( ) indicates that [latex]\large{a}[/latex] is
**not**included.

- [latex]\large{b}[/latex] is the right endpoint, and the parenthesis ( ) indicates that [latex]\large{b}[/latex] is
**not**included (excluded).

- This type of interval is known as
**open interval**.

In words:

All real numbers between [latex]\large{a}[/latex] and [latex]\large{b}[/latex], but **not** including both [latex]\large{a}[/latex] and [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|a < x < b}\}}[/latex]

As an inequality:

[latex]\large{a < x < b}[/latex]

As a graph in number line:

Both [latex]\color{red}\large{a}[/latex] and [latex]\color{blue}\large{b}[/latex] are not included in the interval so we use **hollow dots**.

**Case 6**: [latex]\Large{\left[ {{\color{red}a},{\color{blue}b}} \right)}[/latex]

- [latex]\large{a}[/latex] is the left endpoint, and the square bracket [ ] indicates that [latex]\large{a}[/latex] is included.

- [latex]\large{b}[/latex] is the right endpoint, and the parenthesis ( ) indicates that [latex]\large{b}[/latex] is
**not**included (excluded).

- This type of internal is known as
**half-open**or**half-closed**interval.

In words:

All real numbers between [latex]\large{a}[/latex] and [latex]\large{b}[/latex], including [latex]\large{a}[/latex] but **not** including [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|a \le x < b}\}}[/latex]

As an inequality:

[latex]\large{a \le x < b}[/latex]

As a graph in number line:

We use a **solid dot** for [latex]\color{red}\large{a}[/latex] because it included while a **hollow dot** for [latex]\color{blue}\large{b}[/latex] because it is not included.

**Case 7**: [latex]\Large{\left( {{\color{red}a},{\color{blue}b}} \right]}[/latex]

- [latex]\large{a}[/latex] is the left endpoint, and the parenthesis ( ) indicates that [latex]\large{a}[/latex] is
**not**included (excluded).

- [latex]\large{b}[/latex] is the right endpoint, and the square bracket [ ] indicates that [latex]\large{b}[/latex] is included.

- This type of interval is known as
**half-open**or**half-closed**interval.

In words:

All real numbers between [latex]\large{a}[/latex] and [latex]\large{b}[/latex], **not** including (excluding) [latex]\large{a}[/latex] but including [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|a < x \le b}\}}[/latex]

As an inequality:

[latex]\large{a < x \le b}[/latex]

As a graph in number line:

We use a **hollow dot** for [latex]\color{red}\large{a}[/latex] because it not included while a **solid dot** for [latex]\color{blue}\large{b}[/latex] because it is included.

**Case 8**: [latex]\Large{\left[ {{\color{red}a},{\color{blue}b}} \right]}[/latex]

- [latex]\large{a}[/latex] is the left endpoint, and the parenthesis [ ] indicates that [latex]\large{a}[/latex] is included in the interval.

- [latex]\large{b}[/latex] is the right endpoint, and the square bracket [ ] indicates that [latex]\large{b}[/latex] is included in the interval.

- This type of interval is known as
**closed**interval.

In words:

All real numbers between [latex]\large{a}[/latex] and [latex]\large{b}[/latex], including both [latex]\large{a}[/latex] and [latex]\large{b}[/latex].

As a set builder notation:

[latex]\large{\{ {x|a \le x \le b}\}}[/latex]

As an inequality:

[latex]\large{a \le x \le b}[/latex]

As a graph in number line:

Both [latex]\color{red}\large{a}[/latex] and [latex]\color{blue}\large{b}[/latex] are included in the interval so we use **solid dots**.

**Case 9**: [latex]\Large{\left( { {\color{red}- \infty} ,{\color{blue}\infty} } \right)}[/latex]

- The
**negative infinity symbol**([latex]\color{red}{ – \infty }[/latex]) at the left endpoint denotes that the interval is unbounded to the**LEFT**.

- The
**positive infinity symbol**([latex]\color{blue}{ + \infty }[/latex]) at the right endpoint denotes that the interval is unbounded to the**RIGHT**.

In words:

All real numbers

As a set builder notation:

As a graph in number line:

**You may also be interested in these related math lessons or tutorials:**