Skip to content
FiftyCalc Free calculators for all 50 states

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

Sample figures

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.

Set Builder Notation Calculator

Lower end

Lower end: choose Included (closed, ≤), Excluded (open, <) or No lower bound (−∞). Prefilled example: Included (closed, ≤).

Lower endpoint value: enter a number. Prefilled example: -2.

Upper end

Upper end: choose Included (closed, ≤), Excluded (open, <) or No upper bound (+∞). Prefilled example: Included (closed, ≤).

Upper endpoint value: enter a number. Prefilled example: 5.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Lower end: choose Included (closed, ≤), Excluded (open, <) or No lower bound (−∞).
  2. Lower endpoint value: enter a number.
  3. Upper end: choose Included (closed, ≤), Excluded (open, <) or No upper bound (+∞).
  4. Upper endpoint value: enter a number.
  5. 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 endIncluded (closed, ≤)
Lower endpoint value-2
Upper endIncluded (closed, ≤)
Upper endpoint value5
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.

Related calculators