Write the same set three ways
Quick review (2 minutes)
Think of directions for a stretch of road.
Use [ or ] for an included endpoint, ( or ) for an excluded endpoint or infinity.
Write intervals from smaller to larger; union (∪) means or, including membership in both sets.
1. Identify the shaded or allowed portion of the number line.
2. Use the closed dot / open dot convention: a filled dot is included and a hollow dot is excluded.
3. State comparisons with <, >, ≤ or ≥ for inequality notation.
4. Put the condition after the bar in {x | condition} for set-builder notation.
5. Write the lower limit first and the upper limit second in interval notation.
6. For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
A number line shades 1 through 3 with filled endpoints, and everything to the right of 5 with a hollow endpoint at 5. Describe the set three ways.
Inequality: 1 ≤ x ≤ 3 or x > 5.
Set-builder: {x | 1 ≤ x ≤ 3 or x > 5}.
Interval: [1, 3] ∪ (5, ∞).
Writing [1, ∞) for [1, 3] ∪ (5, ∞). That would fill the missing region after 3 through 5. The union symbol joins sets without filling gaps.
1. Identify the shaded or allowed portion of the number line.
2. Read a filled dot as included and a hollow dot as excluded.
3. State comparisons with <, >, ≤ or ≥ for inequality notation.
4. Put the condition after the bar in {x | condition} for set-builder notation.
5. Write the lower limit first and the upper limit second in interval notation.
6. For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
Input
The value you choose or supply to a function before its rule calculates an output.
Set
A collection of distinct objects or values. Its members may be listed or described by a condition.
Element
One member of a set. Repeated appearances do not create additional members.
Real number
A number with a position on the number line, including whole numbers, fractions, decimals and numbers such as .
Inequality
A comparison using <, >, ≤ or >=. It describes which amount is smaller or larger and whether equality is allowed.
Compound inequality
Two or more comparisons joined with and or or. And requires every condition; or requires at least one.
Negative
Strictly less than 0. Negative numbers lie to the left of 0 on a number line.
Number line
A straight line placing real numbers in order, with smaller numbers left and greater numbers right.
Inequality notation
Writing allowed values with comparison signs, optionally joining conditions with and or or.
Set-builder notation
Describing a set with a condition inside braces, such as {x | x > 3}, read as x such that x exceeds 3.
Braces
The symbols { and } used to enclose a set's listed members or membership condition.
Such that
The phrase introducing the condition members satisfy in set-builder notation. A vertical bar can stand for this phrase.
Interval notation
Describing a continuous stretch of real numbers with its limits. Brackets include endpoints; parentheses exclude them. Infinity always takes a parenthesis.
Interval
A set containing every real number between its limits, with endpoints included or excluded as specified. It may extend without bound.
Endpoint
A finite boundary value at an interval's end, included or excluded according to its bracket or parenthesis.
Lower limit
The smaller boundary of an interval, written first. It may be −∞ when there is no finite lower bound.
Upper limit
The greater boundary of an interval, written second. It may be ∞ when there is no finite upper bound.
Inclusive
Including the boundary value. Use ≤ or ≥ in a comparison, a bracket in interval notation, or a filled dot.
Exclusive
Excluding the boundary value. Use < or > in a comparison, a parenthesis in interval notation, or a hollow dot.
Bracket
The interval symbols [ and ], indicating that the adjacent finite endpoint belongs to the set.
Parenthesis
In interval notation, ( or ) excludes the adjacent finite endpoint. It also appears beside infinity, which is never an included number.
Infinity
The symbol ∞ describes continuing without a finite bound. It is not a real number or an endpoint you can include.
Union (∪)
The set of elements belonging to either set or both. Shared elements are listed once, and the sets may overlap.
Intersection
The set of elements shared by every specified set. For conditions, it keeps values satisfying all the conditions together.
Closed dot / open dot
A filled dot includes the point. A hollow dot excludes it. Excluded points do not count in the vertical line test.
Graph
A picture of points representing input and output pairs, usually with inputs horizontal and outputs vertical.
Piece
One formula together with the input condition telling you where it is used in a piecewise function.
Boundary
An input where an interval starts or ends, or where a piecewise condition changes. Check which condition includes it.
1 In plain words
Think of directions for a stretch of road. You can say which mile markers a driver may pass, state a condition for an allowed position, or write the beginning and ending markers. These are three descriptions of the same road. Inequality notation states the comparisons. Set-builder notation wraps the condition in braces and reads it as a collection. Interval notation writes the two limits. You must also say whether each boundary is part of the road. A filled dot means you may stand there; a hollow dot means you may get close but that exact position is excluded.
2 Picture it
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
3 Why
The notations are conventions chosen to record the same membership decisions compactly. A square bracket includes its endpoint; a parenthesis excludes it. Ignoring that distinction changes whether an input is allowed. Infinity is a direction of unlimited continuation, not a real endpoint you can reach, so it always takes a parenthesis. Writing the smaller limit first matches the number line's order. A union combines membership in either set, including any overlap. Without it, writing only the outside limits could accidentally fill an excluded gap.
4 The rule
Use [ or ] for an included endpoint, ( or ) for an excluded endpoint or infinity.
Write intervals from smaller to larger; union () means or, including membership in both sets.
The same idea, five ways
Say at least negative two and less than three.
The set includes −2, excludes 3, and contains every real number between them.
- Graph words: closed dot at −2, open dot at 3, shade between
A road segment where one boundary post belongs to your route and the other does not.
The same idea, other ways
An interval gives the stretch between two fence posts. A square bracket keeps a post in your property; a parenthesis leaves the post outside. A missing stretch needs two intervals rather than one.
For [−2, 3), ask whether each candidate satisfies −2 ≤ x < 3. This includes −2 and excludes 3. Set-builder notation records exactly that question.
x ≤ 7, {x | x ≤ 7}, and (−∞, 7] all include 7 and every smaller real number. The descriptions change, but the allowed members do not.
| Inequality notation | Set-builder notation | Interval notation |
|---|---|---|
| x > 5 | {x | x > 5} | (5, ∞) |
| x ≤ 7 | {x | x ≤ 7} | |
| 1 ≤ x ≤ 3 or x > 5 | {x | 1 ≤ x ≤ 3 or x > 5} | [1, 3] ∪ (5, ∞) |
Part 1: Inequality notation
Inequality notation compares a candidate number with its limits. The word and means the candidate must pass both comparisons. The word or means one comparison or the other is enough. Do not turn two separate stretches into a single and statement.
- A strict < or > comparison excludes its boundary.
- A ≤ or ≥ comparison includes its boundary.
- A compound inequality such as −2 ≤ x < 3 means both limits hold.
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say strictly greater than five.
The number must exceed 5, so equality is excluded.
- x > 5
- {x | x > 5}
- (5, ∞)
- Graph words: open dot at 5, shade right
An entry sign admits only positions passing the stated height checks.
Worked example
Notation ladder 1: one open ray
Write x > 5 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Read > as strictly greater than, so 5 is excluded.The inequality has no equality part.
- Write {x | x > 5}.The braces name a set and the bar means such that.
- Write .The set starts beyond 5 and has no upper endpoint; both symbols use parentheses.
- Set-builder: {x | x > 5}.
- Interval: (5, ∞).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Read the comparison aloud before choosing an endpoint symbol.
Part 2: Set-builder notation
Set-builder notation is a sentence compressed into symbols. Braces, { and }, mean the set of. The vertical bar means such that. After the bar comes the condition an element must satisfy. Here x is understood to be a real number unless another kind of input is specified.
- {x | x > 5} reads the set of x such that x is greater than 5.
- A condition may use words as well as inequalities.
- A listed set {2, 7} names its elements; a set-builder condition explains membership.
{x | x ≤ 7}
the set of real x
such that x is at most 7
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say the set of real x such that x is at most seven.
Braces name a set and the bar introduces its membership condition.
- x ≤ 7
- {x | x ≤ 7}
- Graph words: closed dot at 7, shade left
A guest-list rule states who qualifies without listing every possible guest.
{x | x ≤ 7}
the set of real x
such that x is at most 7
Worked example
A closed ray extending to the left
Write x ≤ 7 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include 7 and all smaller real values.The ≤ symbol includes equality.
- Write {x | }.Set-builder notation names the same membership condition.
- Write .The smaller end comes first, and the finite endpoint is included.
- Set-builder: {x | x ≤ 7}.
- Interval: (−∞, 7].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Say the set of at the braces and such that at the bar.
Part 3: Interval notation
Interval notation names a continuous stretch of real numbers by its endpoints. It includes all numbers between those limits, not only integers. Use it for a stretch, but use a list for isolated values. An interval may run without an upper or lower bound.
- Lower limit first, upper limit second: [−2, 3), not (3, −2].
- Inclusive means included; exclusive means excluded.
- A bracket is square, while a parenthesis is curved.
- [c, c] is a one-element set; (c, c) has no elements because no number lies strictly between c and itself.
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say at least negative two and less than three.
The interval contains every real number between −2 and 3, with only the left endpoint included.
- Graph words: closed at −2, open at 3, shade between
Two mile markers describe an unbroken permitted stretch of road.
Worked example
Notation ladder 2: one endpoint in, one out
Write −2 ≤ x < 3 in words, set-builder notation and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include and exclude 3.The left comparison has equality, while the right comparison is strict.
- Say all real numbers at least and less than 3.Both bounds must hold at the same time.
- Write {x | } and .The left bracket includes −2 and the right parenthesis excludes 3.
- Words: at least −2 and less than 3.
- Set-builder: {x | −2 ≤ x < 3}.
- Interval: [−2, 3).
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Ask whether intervening fractions should belong.
Part 4: Union of sets
Union means gather everything belonging to one collection or the other, or both. Picture pouring two trays of labeled keys onto one table. Keep every different label once. The collections may be separated, overlap, or contain only a few isolated members.
- The symbol ∪ joins sets without inventing members.
- Shared members appear once.
- An intersection keeps only members in both sets. It explains why an input must pass all arithmetic restrictions, while union combines allowed pieces.
{2, 4, 6} ∪ {4, 7}
= {2, 4, 6, 7}
The shared member 4 is listed once
Reminder
Reminder: Compound conditions, Order of numbers
- Compound conditions. −2 ≤ x < 3 means x ≥ −2 and x < 3; both must hold.
- Order of numbers. −4 < −1, so −4 is written first in an interval.
The same idea, five ways
Say in either set or in both.
Union collects all members from both sets, listing shared members once.
- {2, 4, 6} ∪ {4, 7} = {2, 4, 6, 7}
- {x | x = 2 or x = 4 or x = 6 or x = 7}
Combine two guest lists and keep each different guest once.
{2, 4, 6} ∪ {4, 7}
= {2, 4, 6, 7}
The shared member 4 is listed once
Worked example
Union can combine overlapping finite sets
Find {2, 4, 6} ∪ {4, 7}.
Show the steps and the answer
{2, 4, 6, 7}.
- We are collecting all members that belong to either set, keeping repeated members once.Naming the requested values tells us which taught method to use.
- Collect members belonging to either set: 2, 4, 6, 4, 7.Union means the first set or the second set or both.
- List 4 once and write {2, 4, 6, 7}.A set records whether an element belongs, not how many times it appears.
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Union keeps either collection's members and removes only repeated listings.
5 How
- Identify the shaded or allowed portion of the number line.
- Use the closed dot / open dot convention: a filled dot is included and a hollow dot is excluded.
- State comparisons with <, >, ≤ or ≥ for inequality notation.
- Put the condition after the bar in {x | condition} for set-builder notation.
- Write the lower limit first and the upper limit second in interval notation.
- For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
Translate an allowed set
- Identify the shaded or allowed portion of the number line.
- Read a filled dot as included and a hollow dot as excluded.
- State comparisons with <, >, ≤ or ≥ for inequality notation.
- Put the condition after the bar in {x | condition} for set-builder notation.
- Write the lower limit first and the upper limit second in interval notation.
- For separate pieces, join conditions with or and intervals with ∪. Keep every gap that is actually excluded.
6 Worked example
Worked example
Textbook: read two shaded intervals
A number line shades 1 through 3 with filled endpoints, and everything to the right of 5 with a hollow endpoint at 5. Describe the set three ways.
Show the steps and the answer
- We are expressing the same allowed values in the requested notation.Naming the requested values tells us which taught method to use.
- For the first shaded piece, write .Both endpoints have filled dots, so both are included.
- For the second piece, write x > 5.The dot at 5 is hollow and the shading continues to the right without a last number.
- Join the conditions with or and the intervals with .Membership in either piece is enough; the unshaded gap is not included.
- Read the braces and bar in {x | or x > 5}.This says the set of real x such that one of the two stated conditions holds.
- Inequality: 1 ≤ x ≤ 3 or x > 5.
- Set-builder: {x | 1 ≤ x ≤ 3 or x > 5}.
- Interval: [1, 3] ∪ (5, ∞).
Ladder: from easy to exam-hard
Try each rung before you open its steps.
Rung 1 of 5
Notation ladder 1: one open ray
Write x > 5 in set-builder and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Read > as strictly greater than, so 5 is excluded.The inequality has no equality part.
- Write {x | x > 5}.The braces name a set and the bar means such that.
- Write .The set starts beyond 5 and has no upper endpoint; both symbols use parentheses.
- Set-builder: {x | x > 5}.
- Interval: (5, ∞).
Rung 2 of 5
Notation ladder 2: one endpoint in, one out
Write −2 ≤ x < 3 in words, set-builder notation and interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Include and exclude 3.The left comparison has equality, while the right comparison is strict.
- Say all real numbers at least and less than 3.Both bounds must hold at the same time.
- Write {x | } and .The left bracket includes −2 and the right parenthesis excludes 3.
- Words: at least −2 and less than 3.
- Set-builder: {x | −2 ≤ x < 3}.
- Interval: [−2, 3).
Rung 3 of 5
Textbook: read two shaded intervals
A number line shades 1 through 3 with filled endpoints, and everything to the right of 5 with a hollow endpoint at 5. Describe the set three ways.
Show the steps and the answer
- We are expressing the same allowed values in the requested notation.Naming the requested values tells us which taught method to use.
- For the first shaded piece, write .Both endpoints have filled dots, so both are included.
- For the second piece, write x > 5.The dot at 5 is hollow and the shading continues to the right without a last number.
- Join the conditions with or and the intervals with .Membership in either piece is enough; the unshaded gap is not included.
- Read the braces and bar in {x | or x > 5}.This says the set of real x such that one of the two stated conditions holds.
- Inequality: 1 ≤ x ≤ 3 or x > 5.
- Set-builder: {x | 1 ≤ x ≤ 3 or x > 5}.
- Interval: [1, 3] ∪ (5, ∞).
Rung 4 of 5
Notation ladder 4: every real number except one
Write x ≠ 2 using inequalities, set-builder notation and intervals.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- Split the allowed inputs into x < 2 or x > 2.Every real number except 2 lies on one side of 2.
- Write {x | }.The condition says to omit that single member.
- Write .Neither interval includes 2, and their union contains everything else.
- Inequality: x < 2 or x > 2.
- Set-builder: {x | x ≠ 2}.
- Interval: (−∞, 2) ∪ (2, ∞).
Rung 5 of 5
Notation ladder 5: overlap and a single-value set
Simplify [0, 4] ∪ [2, 6]. Also write {8} in interval notation.
Show the steps and the answer
- We need a different description with exactly the same allowed members.State what is being found before choosing the calculation.
- The first interval includes every real number from 0 through 4, and the second from 2 through 6.Both use brackets, so all listed endpoints belong.
- The pieces overlap from 2 through 4, leaving no gap between 0 and 6.Union includes elements in either piece and does not duplicate shared elements.
- Write the union as [0, 6].Its smallest member is 0 and largest is 6, and every number between is included.
- Write {8} as [8, 8].The only number between equal included endpoints is that endpoint itself.
- Union: [0, 6].
- Single-value interval: [8, 8].
Counterexamples
What it is not, and the tempting wrong moves.
Tips and tricks
- Translate one endpoint at a time: equality means included, and strict means excluded.
- Write or next to ∪ as a memory cue.
- Test one boundary and one gap value to check that a notation translation has kept the same set.
7 The trap
Writing [1, ∞) for [1, 3] ∪ (5, ∞). That would fill the missing region after 3 through 5. The union symbol joins sets without filling gaps.
Comes back in
- Rate of change and average rate of change
- Increasing, decreasing, and constant
- A composite domain has two gates
- Combine shifts and read the domain and range
- Domain and range trade places
- Restricting a domain so an inverse exists
- Domain and range of a quadratic
- The domain of a rational function
- Graphing a rational function from its features
- Why a quadratic needs its domain cut to have an inverse
- Radical functions and their domains
Problems marked OpenStax come from Precalculus 2e by Jay Abramson, published by OpenStax, under the CC BY-NC-SA 4.0 licence. Access for free at https://openstax.org/books/precalculus-2e/pages/1-introduction-to-functions.