0:00 / 0:00

Interval Notation

Interval notation is a way of writing subsets of the real number line.

Closed Interval

  • A closed interval is one that includes its endpoints
  • We use square brackets [ ].

Example 1
[-5, 1] denotes the set of real numbers between -5 and 1 inclusively and can be shown on a number line as follows:

Open Interval

  • An open interval is one that excludes its endpoints
  • We use parentheses ( ).

Example 2
(-5, 1) denotes the set of real numbers between -5 and 1 exclusively and can be shown on a number line as follows:


Wize Tip
A closed interval contains its endpoints → the endpoints are solid dots.

An open interval does not contain its endpoints → the endpoints are hollow dots.

PAGE BREAK

Mixed Intervals

Mixed intervals contain both open and closed intervals.


Example 1
[3, 8) denotes the set of real numbers between 3 and 8 that are greater than or equal to 3 but strictly less than 8. On a number line, it is shown as follows:

Infinite Intervals

Infinite intervals are intervals that tend towards infinity in one or both directions.


Example 2
[4,)[4,\infin) denotes the set of real numbers greater than or equal to 4 and can be shown on a number line as follows:

Note: When working with positive & negative infinity, ±\pm\infin, parenthesis are always used next to infinity.

PAGE BREAK

Union of Sets

The union of two sets A and B is the set of elements in A, in B, or in both.
  • The symbol used to indicate the union of two sets is \cup
  • We use the union symbol to combine two or more intervals together

Example
The interval x<5  or  x3x<-5~~\text{or}~~x\ge3 denotes the set of real numbers less than -5 and greater than or equals to 3. On a number line, this it looks like:
In interval notation, we can express the above interval & number line as:
(,5)  [3,)(-\infin,-5)~\cup~[3,\infin)

0:00 / 0:00

Set Notation


Set notation is a flexible (but slightly more complicated) way of writing down sets and it is an alternative method to interval notation.

What is a set?

A set is a collection of well-defined objects and we encounter sets in math frequently.


Example
Let us look at the list of numbers 0, 1, 2, 3, 4, 5. We can call our list of numbers a set and label it whatever we like so let us call this set X. Therefore, the list of numbers in set X is:
X = {0,1,2,3,4,5}X~=~\big\{0, 1, 2, 3, 4, 5\big\}

Note: Sets and set notation are delimited by curly braces { }.


PAGE BREAK

Common Sets

N={1,2,3,4,5,...}Natural NumbersW={0,1,2,3,4,...}Whole NumbersZ={0,±1,±2,...}  IntegersQ={x x=ab, b0}Rational NumbersI={x xab, b0}Irrational NumbersR=Q  I                  Real Numbers\begin{array} {l r} \mathbb{N}=\{1, 2, 3, 4, 5,...\}\rightarrow&\text{Natural Numbers}\\\\ \mathbb{W}=\{0, 1, 2, 3, 4,...\}\rightarrow&\text{Whole Numbers}\\\\ \mathbb{Z}=\{0,\pm1,\pm2,\,...\}~~\rightarrow&\text{Integers}\\\\ \mathbb{Q}=\{x|~x=\frac{a}{b},~b\neq0\}\rightarrow&\text{Rational Numbers}\\\\ \mathbb{I}=\{x|~x\neq\frac{a}{b},~b\neq0\}\rightarrow&\text{Irrational Numbers}\\\\ \mathbb{R}=\mathbb{Q}~\cup~\mathbb{I}~~~~~~~~~~~~~~~~~~\rightarrow&\text{Real Numbers} \end{array}


PAGE BREAK

Set Notation

We can also use set notation instead of interval notation.

Example 1
[-5, 1] denotes the set of real numbers between -5 and 1 inclusively and can be shown on a number line as follows:
In set notation, our answer would be:
{xR 5x1}\{x\in\mathbb{R}|~-5\leq{x}\leq{1}\}



Example 2
(-5, 1) denotes the set of real numbers between -5 and 1 exclusively and can be shown on a number line as follows:
In set notation, our answer would be:
{xR 5<x<1}\{x\in\mathbb{R}|~-5<{x}<1\}


0:00 / 0:00

Example: Interval Notation vs. Set Notation

Express the following inequalities in both interval notation and set notation:
  1. 2x4-2\leq{x}\leq{4}
Interval NotationSet Notation[2, 4]    Inclusive{xR 2x4}\begin{array} {l|l} \text{Interval Notation}&\text{Set Notation}\\ \hline \\ [-2,~4]~~{\color{red}\rightarrow}~~\color{magenta}\scriptsize{\text{Inclusive}}&\{x\in\mathbb{R}|~-2\leq{x}\leq{4}\} \end{array}

  1. x<4  or  x9x<4~~\text{or}~~x\ge9
Interval Notation Set Notation(, 4)  [9, )        {xR x<4  &  x9}\begin{array} {l|l} \text{Interval Notation}&\text{~Set Notation}\\ \hline \\ (-\infin,~4)~\cup~[9,~\infin)~~~~~~~&~\{x\in\mathbb{R}|~x<4~~\&~~x\geq{9}\} \end{array}

  1. x>3  and  x14x>3~~\text{and}~~x\leq{14}
Interval NotationSet NotationExclusive    (3, 14]    Inclusive{xR 3<x14}\begin{array} {l|l} \text{Interval Notation}&\text{Set Notation}\\ \hline \\ {\scriptsize{\color{magenta}\text{Exclusive}}}~~{\color{red}\leftarrow}~~(3,~14]~~{\color{red}\rightarrow}~~{\scriptsize{\color{magenta}\text{Inclusive}}}&\{x\in\mathbb{R}|~3<{x}\leq{14}\} \end{array}

Practice: Interval Notation vs. Set Notation

Match the interval with its appropriate notation.
A.
{xR 6<x<3}\{x\in\mathbb{R}|~-6<x<3\}
B.
[6, 3][-6,~3]
C.
{xR x<8}\{x\in\mathbb{R}|~x<8\}
D.
[10, )[-10,~\infin)
E.
(, 7](-\infin,~7]
x10x\ge-10
6x3-6\leq{x}\leq3
6<x<3-6<x<3
x7x\le7
x<8x<8
Convert the following set into set notation:
A={4,3,2,1,0}\text{A}=\{-4, -3, -2, -1, 0 \}

Extra Practice