Set Builder Notation Calculator
Test cases replayed : 4 of 4 match · Methodology · No outside source listed
Pick the type of each endpoint and its value. You get the same set of real numbers written in set-builder notation, in interval notation and as an inequality.
Result
Set-builder notation
Interval notation
- Inequality
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Lower end: choose Included (closed, ≤), Excluded (open, <) or No lower bound (−∞).
- Lower endpoint value: enter a number.
- Upper end: choose Included (closed, ≤), Excluded (open, <) or No upper bound (+∞).
- Upper endpoint value: enter a number.
- Read the result: Set-builder notation; the panel also shows Interval notation and Inequality.
How this calculator works
Set-builder notation {x ∈ ℝ | condition} reads "the set of real numbers x such that the condition holds". The condition here is the inequality bounding x.
Interval notation uses a square bracket for an endpoint that belongs to the set (≤) and a parenthesis for one that does not (<). Infinity is never included, so it always takes a parenthesis.
When the lower bound is above the upper bound, or both are equal with an open end, no number satisfies the condition and the set is empty (∅).
Worked example
| Lower end | Included (closed, ≤) |
|---|---|
| Lower endpoint value | -2 |
| Upper end | Included (closed, ≤) |
| Upper endpoint value | 5 |
| Set-builder notation | {x ∈ ℝ | -2 ≤ x ≤ 5} |
|---|---|
| Interval notation | [-2, 5] |
| Inequality | -2 ≤ x ≤ 5 |
Frequently asked questions
How do I write all real numbers greater than 3 in set-builder notation?
{x ∈ ℝ | x > 3}, which is the interval (3, ∞).
What does the vertical bar mean?
It reads "such that". Some textbooks write a colon instead, {x ∈ ℝ : x > 3}, with the same meaning.
Can set-builder notation describe integers only?
Yes, by changing the set after ∈, for example {x ∈ ℤ | 1 ≤ x ≤ 4} = {1, 2, 3, 4}. This calculator writes intervals of real numbers.