We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Studienführer > College Algebra CoRequisite Course

Standard Notation for Defining Sets

Learning Outcomes

  • Write sets using set-builder, inequality, and interval notation
  • Describe sets on the real number line using set builder, interval, and inequality notation
There are several ways to define sets of numbers or mathematical objects. The reason we are introducing this here is because we often need to define the sets of numbers that make up the inputs and outputs of a function. How we write sets that make up the domain and range of functions often depends on how the relation or function are defined or presented to us.  For example, we can use lists to describe the domain of functions that are given as sets of ordered pairs. If we are given an equation or graph, we might use inequalities or intervals to describe domain and range. In this section, we will introduce the standard notation used to define sets, and give you a chance to practice writing sets in three ways, inequality notation, set-builder notation, and interval notation. Consider the set [latex]\left\{x|10\le x<30\right\}[/latex], which describes the behavior of [latex]x[/latex] in set-builder notation. The braces [latex]\{\}[/latex] are read as "the set of," and the vertical bar [latex]|[/latex] is read as "such that," so we would read [latex]\left\{x|10\le x<30\right\}[/latex] as "the set of x-values such that 10 is less than or equal to [latex]x[/latex], and [latex]x[/latex] is less than 30." The table below compares inequality notation, set-builder notation, and interval notation.
Inequality Notation Set-builder Notation Interval Notation
1 [latex]5<h\le10[/latex] [latex]\{h | 5 < h \le 10\}[/latex] [latex](5,10][/latex]
2 [latex]5\le h<10[/latex] [latex]\{h | 5 \le h < 10\}[/latex] [latex][5,10)[/latex]
3 [latex]5<h<10[/latex] [latex]\{h | 5 < h < 10\}[/latex] [latex](5,10)[/latex]
4 [latex]h<10[/latex] [latex]\{h | h < 10\}[/latex] [latex](-\infty,10)[/latex]
5 [latex]h>10[/latex] [latex]\{h | h > 10\}[/latex] [latex](10,\infty)[/latex]
6 All real numbers [latex]\mathbf{R}[/latex] [latex](−\infty,\infty)[/latex]
To combine two intervals using inequality notation or set-builder notation, we use the word "or." As we saw in earlier examples, we use the union symbol, [latex]\cup [/latex], to combine two unconnected intervals. For example, the union of the sets [latex]\left\{2,3,5\right\}[/latex] and [latex]\left\{4,6\right\}[/latex] is the set [latex]\left\{2,3,4,5,6\right\}[/latex]. It is the set of all elements that belong to one or the other (or both) of the original two sets. For sets with a finite number of elements like these, the elements do not have to be listed in ascending order of numerical value. If the original two sets have some elements in common, those elements should be listed only once in the union set. For sets of real numbers on intervals, another example of a union is

[latex]\left\{x|\text{ }|x|\ge 3\right\}=\left(-\infty ,-3\right]\cup \left[3,\infty \right)[/latex]

This video describes how to use interval notation to describe a set. https://www.youtube.com/watch?v=hqg85P0ZMZ4 This video describes how to use Set-Builder notation to describe a set. https://www.youtube.com/watch?v=rPcGeaDRnyc&feature=youtu.be

A General Note: Set-Builder Notation and Interval Notation

Set-builder notation is a method of specifying a set of elements that satisfy a certain condition. It takes the form [latex]\left\{x|\text{statement about }x\right\}[/latex] which is read as, "the set of all [latex]x[/latex] such that the statement about [latex]x[/latex] is true." For example,

[latex]\left\{x|4<x\le 12\right\}[/latex]

Interval notation is a way of describing sets that include all real numbers between a lower limit that may or may not be included and an upper limit that may or may not be included. The endpoint values are listed between brackets or parentheses. A square bracket indicates inclusion in the set, and a parenthesis indicates exclusion from the set. For example,

[latex]\left(4,12\right][/latex]

How To: Given a line graph, describe the set of values using interval notation.

  1. Identify the intervals to be included in the set by determining where the heavy line overlays the real line.
  2. At the left end of each interval, use [ with each end value to be included in the set (solid dot) or ( for each excluded end value (open dot).
  3. At the right end of each interval, use ] with each end value to be included in the set (filled dot) or ) for each excluded end value (open dot).
  4. Use the union symbol [latex]\cup [/latex] to combine all intervals into one set.

Example: Describing Sets on the Real-Number Line

Describe the intervals of values shown below using inequality notation, set-builder notation, and interval notation. Line graph of 1<=x<=3 and 5<x.

Answer: To describe the values, [latex]x[/latex], included in the intervals shown, we would say, " [latex]x[/latex] is a real number greater than or equal to 1 and less than or equal to 3, or a real number greater than 5."

Inequality [latex]1\le x\le 3\hspace{2mm}\text{or}\hspace{2mm}x>5[/latex]
Set-builder notation [latex]\left\{x|1\le x\le 3\hspace{2mm}\text{or}\hspace{2mm}x>5\right\}[/latex]
Interval notation [latex]\left[1,3\right]\cup \left(5,\infty \right)[/latex]
Remember that, when writing or reading interval notation, using a square bracket means the boundary is included in the set. Using a parenthesis means the boundary is not included in the set.

Try It

Given the graph below, specify the graphed set in
  1. words
  2. set-builder notation
  3. interval notation
Line graph of -2<=x, -1<=x<3.

Answer: Words: values that are less than or equal to –2, or values that are greater than or equal to –1 and less than 3. Set-builder notation: [latex]\left\{x|x\le -2\hspace{2mm}\text{or}\hspace{2mm}-1\le x<3\right\}[/latex]; Interval notation: [latex]\left(-\infty ,-2\right]\cup \left[-1,3\right)[/latex]

The table below gives a summary of interval notation. Summary of interval notation. Row 1, Inequality: x is greater than a. Interval notation: open parenthesis, a, infinity, close parenthesis. Row 2, Inequality: x is less than a. Interval notation: open parenthesis, negative infinity, a, close parenthesis. Row 3, Inequality x is greater than or equal to a. Interval notation: open bracket, a, infinity, close parenthesis. Row 4, Inequality: x less than or equal to a. Interval notation: open parenthesis, negative infinity, a, close bracket. Row 5, Inequality: a is less than x is less than b. Interval notation: open parenthesis, a, b, close parenthesis. Row 6, Inequality: a is less than or equal to x is less than b. Interval notation: Open bracket, a, b, close parenthesis. Row 7, Inequality: a is less than x is less than or equal to b. Interval notation: Open parenthesis, a, b, close bracket. Row 8, Inequality: a, less than or equal to x is less than or equal to b. Interval notation: open bracket, a, b, close bracket.

Licenses & Attributions

CC licensed content, Original

CC licensed content, Shared previously

  • College Algebra. Provided by: OpenStax Authored by: Abramson, Jay et al.. Located at: https://openstax.org/books/college-algebra/pages/1-introduction-to-prerequisites. License: CC BY: Attribution. License terms: Download for free at http://cnx.org/contents/[email protected].
  • Question ID 108347. Authored by: Coulston,Charles R. License: CC BY: Attribution. License terms: IMathAS Community License CC-BY + GPL.
  • Question ID 3190, 3191. Authored by: Anderson,Tophe. License: CC BY: Attribution. License terms: IMathAS Community License CC-BY + GPL.