# Use notations to specify domain and range

In the previous examples, we used inequalities and lists to describe the domain of functions. We can also use inequalities, or other statements that might define sets of values or data, to describe the behavior of the variable in set-builder notation. For example, [latex]\left\{x|10\le x<30\right\}[/latex] describes the behavior of [latex]x[/latex] in set-builder notation. The braces { } are read as "the set of," and the vertical bar | 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 | |
---|---|---|---|

5 < h ≤ 10 |
{ h | 5 < h ≤ 10} |
(5, 10] | |

5 ≤ h < 10 |
{ h | 5 ≤ h < 10} |
[5, 10] | |

5 < h < 10 |
{ h | 5 < 10 } |
(5, 10) | |

h < 10 |
{ h | h < 10 } |
( −∞, 10) | |

h ≥ 10 |
{ h | h ≥ 10 } |
[10, ∞ ) | |

All real numbers | ℝ | ( −∞, ∞ ) |

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

### 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.

- Identify the intervals to be included in the set by determining where the heavy line overlays the real line.
- 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).
- 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).
- Use the union symbol [latex]\cup [/latex] to combine all intervals into one set.

### Example 5: Describing Sets on the Real-Number Line

Describe the intervals of values shown in Figure 4 using inequality notation, set-builder notation, and interval notation.**Figure 4**

### Solution

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\text{or}x>5[/latex] |

Set-builder notation |
[latex]\left\{x|1\le x\le 3\text{or}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 5

Given Figure 5, specify the graphed set in

- words
- set-builder notation
- interval notation

## Licenses & Attributions

### CC licensed content, Shared previously

- Precalculus.
**Provided by:**OpenStax**Authored by:**Jay Abramson, et al..**Located at:**https://openstax.org/books/precalculus/pages/1-introduction-to-functions.**License:**CC BY: Attribution.**License terms:**Download For Free at : http://cnx.org/contents/[email protected].. - Interval Notation.
**Authored by:**Mathispower4u.**License:**All Rights Reserved.**License terms:**Standard YouTube License. - Set-Builder Notation.
**Authored by:**Mathispower4u.**License:**All Rights Reserved.**License terms:**Standard YouTube License.