Skip to main content

Section 1.7 Comparison Symbols and Notation for Intervals

As you know, \(8\) is larger than \(3\text{;}\) that's a specific comparison between two numbers. We can also make a comparison between two less specific numbers, like if we say that average rent in Portland in 2016 is larger than it was in 2009. That makes a comparison using unspecified amounts. This section will go over the mathematical shorthand notation for making these kinds of comparisons.

In Oregon, only people who are \(18\) years old or older can vote in statewide elections. 1  Does that seem like a statement about the number \(18\text{?}\) Maybe. But it's also a statement about numbers like \(37\) and \(62\text{:}\) it says that people of these ages may vote as well. This section will also get into the mathematical notation for large collections of numbers like this.

Some other states like Washington allow 17-year-olds to vote in primary elections provided they will be 18 by the general election.

Subsection 1.7.1 Comparison Symbols

In everyday language you can say something like “\(8\) is larger than \(3\text{.}\)” In mathematical writing, it's not convenient to write that out in English. Instead the symbol “\(\gt\)” has been adopted, and it's used like this:

\begin{equation*} 8\gt3 \end{equation*}

and read out loud as “\(8\) is greater than \(3\text{.}\)” The symbol “\(\gt\)” is called the greater-than symbol.

Checkpoint 1.7.1.
Remark 1.7.2.

At some point in history, someone felt that \(\gt\) was a good symbol for “is greater than.” In “\(8\gt3\text{,}\)” the tall side of the symbol is with the larger of the two numbers, and the small pointed side is with the smaller of the two numbers.

We have to be careful when negative numbers are part of the comparison though. Is \(-8\) larger or smaller than \(-3\text{?}\) In some sense \(-8\) is larger, because if you owe someone \(8\) dollars, that's more than owing them \(3\) dollars. But that is not how the \(\gt\) symbol works. This symbol is meant to tell you which number is farther to the right on a number line. And if that's how it goes, then \(-3\gt-8\text{.}\)

a number line with marks at -8, -3, and 8; text indicates the numbers to the left are lesser numbers, and numbers to the right are greater numbers; text indicates that -3 > -8 and 8 > -3
Figure 1.7.3. How the \(\gt\) symbol works.
Checkpoint 1.7.4.
Checkpoint 1.7.5.

The greater-than symbol has a close relative, the greater-than-or-equal-to symbol, “\(\geq\text{.}\)” It means just like it sounds: the first number is either greater than, or equal to, the second number. These are all true statements:

\begin{align*} 8\amp\geq3\amp3\amp\geq-8\amp3\amp\geq3\text{,} \end{align*}

but one of these three statements is false:

\begin{align*} 8\amp\gt3\amp3\amp\gt-8\amp3\amp\stackrel{\text{no}}{\gt}3 \end{align*}
Remark 1.7.6.

While it may not be that useful that we can write \(3\geq3\text{,}\) this symbol is quite useful when specific numbers aren't explicitly used on at least one side, like in these examples:

\begin{align*} (\text{hourly pay rate})\amp\geq(\text{minimum wage})\\ (\text{age of a voter})\amp\geq18 \end{align*}

Sometimes you want to emphasize that one number is less than another number instead of emphasizing which number is greater. To do this, we have symbols that are reversed from \(\gt\) and \(\geq\text{.}\) The symbol “\(\lt\)” is the less-than symbol and it's used like this:

\begin{equation*} 3\lt8 \end{equation*}

and read out loud as “\(3\) is less than \(8\text{.}\)”

Table 1.7.7 gives the complete list of all six comparison symbols. Note that we've only discussed three in this section so far, but you already know the equals symbol and have likely also seen the symbol “\(\neq\text{,}\)” which means “not equal to.”

Table 1.7.7. Comparison Symbols
Symbol Means Examples
\(=\) equals \(13=13\qquad\) \(\frac{5}{4}=1.25\) \(5\stackrel{\text{no}}{=}6\)
\(\gt\) is greater than \(13\gt11\) \(\pi\gt3\) \(9\stackrel{\text{no}}{\gt}9\)
\(\geq\) is greater than or equal to \(13\geq11\) \(3\geq3\) \(11.2\stackrel{\text{no}}{\geq}10.2\)
\(\lt\) is less than \(-3\lt8\) \(\frac{1}{2}\lt\frac{2}{3}\) \(2\stackrel{\text{no}}{\lt}-2\)
\(\leq\) is less than or equal to \(-3\leq8\) \(3\leq3\) \(\frac{4}{5}\stackrel{\text{no}}{\leq}\frac{3}{5}\)
\(\neq\) is not equal to \(10\neq20\) \(\frac{1}{2}\neq1.2\) \(\frac{3}{8}\stackrel{\text{no}}{\neq}0.375\)

Subsection 1.7.2 Set-Builder and Interval Notation

If you say

\begin{equation*} (\text{age of a voter})\geq18 \end{equation*}

and have a particular voter in mind, what is that person's age? There's no way to know for sure. Maybe they are \(18\text{,}\) but maybe they are older. When we want to represent an unknown or changing numerical quantity, we use a variable to do so. For example, it's helpful to use a variable, in this case the letter \(a\text{,}\) to represent age (in years) and then to visualize the possibilities with a number line, as in Figure 1.7.8.

a number line, where the number 18 is marked; the portion of the number line to the right of 18 has a thick line overlaying it with an arrow pointing to the right; at 18, there is a left bracket character; text indicates the right area represents possibilities for age
Figure 1.7.8. \((\text{age of a voter})\geq18\)

The shaded portion of the number line in Figure 1.7.8 is a mathematical interval. For now, that just means a collection of certain numbers. In this case, it's all the numbers \(18\) and above.

The number line in Figure 1.7.8 is a graphical representation of a collection of certain numbers. We have two notations, set-builder notation and interval notation, that we also use to represent such collections of numbers.

Definition 1.7.9. Set-Builder Notation.

Set-builder notation attempts to directly say the condition that numbers in the interval satisfy, where a variable, usually \(x\) is used to represent an arbitrary number in the interval. In general, we write set-builder notation like:

\begin{equation*} \left\{x\mid\text{condition on }x\right\} \end{equation*}

and read it out loud as “the set of all \(x\) such that ….” For example,

\begin{equation*} \left\{x\mid x\geq18\right\} \end{equation*}

is read out loud as “the set of all \(x\) such that \(x\) is greater than or equal to \(18\text{.}\)” The breakdown is as follows.

\(\highlight{\{}\lowlight{x\mid x\geq18}\highlight{\}}\) the set of
\(\lowlight{\{}\highlight{x}\lowlight{{}\mid x\geq18\}}\) all \(x\)
\(\lowlight{\{x}\highlight{{}\mid{}}\lowlight{x\geq18\}}\) such that
\(\lowlight{\{x\mid{}}\highlight{x\geq18}\lowlight{\}}\) \(x\) is greater than or equal to \(18\)
Definition 1.7.10. Interval Notation.

Interval notation represents a collection of numbers by only stating where the collection starts and stops, using parentheses and square brackets to show if the end values are included (or not). For example, in Figure 1.7.8, the interval starts at \(18\text{.}\) To the right, the interval extends forever and has no end, so we use the \(\infty\) symbol (meaning "infinity"). This particular interval is denoted:

\begin{equation*} [18,\infty) \end{equation*}

Why use “\([\)” on one side and “\()\)” on the other? The square bracket tells us that \(18\) is part of the interval and the round parenthesis tells us that \(\infty\) is not part of the interval. 2 

And how could it be, since \(\infty\) is not even a number?

In general there are four types of infinite intervals. Take note of the different uses of round parentheses and square brackets.

a number line with a mark at a; the portion of the number line from a to the right has a thick line overlaying it; there is a left parenthesis at a and an arrow on the right pointing right
Figure 1.7.11. An open, infinite interval denoted by \((a,\infty)\) means all numbers \(a\) or larger, not including \(a\text{.}\)
a number line with a mark at a; the portion of the number line from a to the right has a thick line overlaying it; there is a left bracket at a and an arrow on the right pointing right
Figure 1.7.12. A closed, infinite interval denoted by \([a,\infty)\) means all numbers \(a\) or larger, including \(a\text{.}\)
a number line with a mark at a; the portion of the number line from a to the left has a thick line overlaying it; there is a right parenthesis at a and an arrow on the left pointing left
Figure 1.7.13. An open, infinite interval denoted by \((-\infty,a)\) means all numbers \(a\) or smaller, not including \(a\text{.}\)
a number line with a mark at a; the portion of the number line from a to the left has a thick line overlaying it; there is a right bracket at a and an arrow on the left pointing left
Figure 1.7.14. A closed, infinite interval denoted by \((-\infty,a]\) means all numbers \(a\) or smaller, including \(a\text{.}\)
Checkpoint 1.7.15. Interval and Set-Builder Notation from Number Lines.

Exercises 1.7.3 Exercises

Review and Warmup
1.

Write the decimal number as a fraction.

\(0.45\) =

2.

Write the decimal number as a fraction.

\(0.55\) =

3.

Write the decimal number as a fraction.

\(6.35\) =

4.

Write the decimal number as a fraction.

\(7.85\) =

5.

Write the decimal number as a fraction.

\(0.852\) =

6.

Write the decimal number as a fraction.

\(0.916\) =

7.

Write the fraction as a decimal number.

  1. \({{\frac{3}{4}}}\) =

  2. \({{\frac{11}{25}}}\) =

8.

Write the fraction as a decimal number.

  1. \({{\frac{1}{4}}}\) =

  2. \({{\frac{7}{8}}}\) =

9.

Write the mixed number as a decimal number.

  1. \({8 {\textstyle\frac{4}{5}}}\) =

  2. \({1 {\textstyle\frac{3}{4}}}\) =

10.

Write the mixed number as a decimal number.

  1. \({6 {\textstyle\frac{5}{8}}}\) =

  2. \({6 {\textstyle\frac{17}{20}}}\) =

Ordering Numbers
11.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {0}\quad{-2}\quad{3}\quad{-5}\quad{8} \end{equation*}
12.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {2}\quad{-8}\quad{-10}\quad{-9}\quad{8} \end{equation*}
13.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {4.17}\quad{5.06}\quad{-0.93}\quad{5.49}\quad{6.29} \end{equation*}
14.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {5.85}\quad{-2.94}\quad{6.81}\quad{-1.33}\quad{-2.84} \end{equation*}
15.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {{\frac{19}{2}}}\quad{-{\frac{35}{4}}}\quad{-4}\quad{-6}\quad{6} \end{equation*}
16.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {2}\quad{-{\frac{36}{7}}}\quad{-{\frac{59}{7}}}\quad{{\frac{25}{9}}}\quad{-{\frac{63}{8}}} \end{equation*}
17.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {{\frac{1}{2}}}\quad{\sqrt{3}}\quad{-7}\quad{-2}\quad{{\frac{2}{7}}}\quad{\frac{\pi }{2}} \end{equation*}
18.

Use the \(\gt\) symbol to arrange the following numbers in order from greatest to least. For example, your answer might look like 4>3>2>1>0.

\begin{equation*} {-10}\quad{\pi }\quad{-5}\quad{{\frac{3}{7}}}\quad{{\frac{1}{5}}}\quad{\frac{\pi }{2}} \end{equation*}
True/False
19.

Decide if each comparison is true or false.

  1. \(-9\lt-9\)

    • True

    • False

  2. \(3\gt3\)

    • True

    • False

  3. \(9\geq9\)

    • True

    • False

  4. \(-1\gt-2\)

    • True

    • False

  5. \(3\leq2\)

    • True

    • False

  6. \(6\geq1\)

    • True

    • False

20.

Decide if each comparison is true or false.

  1. \(-1\geq2\)

    • True

    • False

  2. \(1\neq6\)

    • True

    • False

  3. \(1\neq1\)

    • True

    • False

  4. \(4\leq4\)

    • True

    • False

  5. \(-3\geq-3\)

    • True

    • False

  6. \(-1=-1\)

    • True

    • False

21.

Decide if each comparison is true or false.

  1. \({\frac{5}{6}}\geq{\frac{5}{6}}\)

    • True

    • False

  2. \({\frac{17}{8}}\geq{\frac{25}{3}}\)

    • True

    • False

  3. \({\frac{9}{4}}\gt{\frac{9}{4}}\)

    • True

    • False

  4. \(-{\frac{41}{5}}\gt{\frac{9}{2}}\)

    • True

    • False

  5. \({\frac{3}{5}}\leq{\frac{9}{15}}\)

    • True

    • False

  6. \(-{\frac{57}{9}}\lt-{\frac{27}{7}}\)

    • True

    • False

22.

Decide if each comparison is true or false.

  1. \(-{\frac{5}{5}}\lt-{\frac{10}{10}}\)

    • True

    • False

  2. \(-{\frac{7}{6}}\geq-{\frac{21}{18}}\)

    • True

    • False

  3. \(-{\frac{49}{9}}\neq-{\frac{10}{7}}\)

    • True

    • False

  4. \({\frac{1}{8}}\gt{\frac{2}{16}}\)

    • True

    • False

  5. \(-{\frac{52}{9}}\lt-{\frac{22}{4}}\)

    • True

    • False

  6. \({\frac{84}{9}}={\frac{33}{8}}\)

    • True

    • False

Comparisons
23.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{-\frac{2}{7}}\)

  • <

  • >

  • =

\(\displaystyle{-\frac{9}{8}}\)

24.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{-\frac{1}{9}}\)

  • <

  • >

  • =

\(\displaystyle{-\frac{9}{7}}\)

25.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\({{\frac{1}{4}}} + {{\frac{3}{2}}}\)

  • <

  • >

  • =

\({{\frac{5}{2}}} \div {{\frac{2}{3}}}\)

26.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\({{\frac{1}{2}}} + {{\frac{5}{4}}}\)

  • <

  • >

  • =

\({{\frac{3}{2}}} \div {{\frac{3}{4}}}\)

27.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\({{\frac{5}{17}}} \div {{\frac{5}{17}}}\)

  • <

  • >

  • =

\(\frac{6}{14} - \frac{3}{7}\)

28.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\({{\frac{8}{11}}} \div {{\frac{8}{11}}}\)

  • <

  • >

  • =

\(\frac{28}{24} - \frac{7}{6}\)

29.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{{-5 {\textstyle\frac{1}{2}}}}\)

  • <

  • >

  • =

\(\displaystyle{-5}\)

30.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{{-4 {\textstyle\frac{1}{3}}}}\)

  • <

  • >

  • =

\(\displaystyle{-4}\)

31.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{{-8 {\textstyle\frac{1}{2}}}}\)

  • <

  • >

  • =

\(\displaystyle{3}\)

32.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{{-9 {\textstyle\frac{1}{2}}}}\)

  • <

  • >

  • =

\(\displaystyle{2}\)

33.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{ \left\lvert {-{\frac{11}{20}}} \right\rvert }\)

  • <

  • >

  • =

\(\displaystyle{ \left\lvert {0.55} \right\rvert }\)

34.

Choose \(\lt \text{,}\) \(>\text{,}\) or \(=\) to make a true statement.

\(\displaystyle{ \left\lvert {-{\frac{3}{4}}} \right\rvert }\)

  • <

  • >

  • =

\(\displaystyle{ \left\lvert {0.75} \right\rvert }\)

Set-builder and Interval Notation
35.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

36.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

37.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

38.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

39.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

40.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

41.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

42.

For the interval expressed in the number line, write it using set-builder notation and interval notation.

In set-builder notation:

In interval notation:

Convert to Interval Notation
43.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \leq -10 \} }\)

44.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \leq -8 \} }\)

45.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \geq -5 \} }\)

46.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \geq -3 \} }\)

47.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid{{x}} \lt -1 \} }\)

48.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid{{x}} \lt 2 \} }\)

49.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \gt 4 \} }\)

50.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {{x}} \gt 6 \} }\)

51.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {9} \gt {x} \} }\)

52.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {-10} \gt {x} \} }\)

53.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {-8} \geq {x} \} }\)

54.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {-5} \geq {x} \} }\)

55.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x\mid{-3} \leq {x} \} }\)

56.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x\mid{-1} \leq {x} \} }\)

57.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {2} \lt {x} \} }\)

58.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {4} \lt {x} \} }\)

59.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \left\{ x \mid {{{\frac{9}{8}}}} \lt {x} \right\} }\)

60.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \left\{ x \mid {{{\frac{10}{3}}}} \lt {x} \right\} }\)

61.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \left\{ x \mid {{x}} \leq {-{\frac{1}{2}}} \right\} }\)

62.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \left\{ x \mid {{x}} \leq {-{\frac{2}{9}}} \right\} }\)

63.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid {x} \leq 0 \} }\)

64.

A set is written using set-builder notation. Write it using interval notation.

\(\displaystyle{ \{ x \mid 0 \lt {x} \} }\)