How to write a solution set

A solution set is the set of all values that make an equation or inequality true, written in braces, in set-builder notation or in interval notation. Which form you use depends on the answer:

A mechanical pencil pointing at a white measuring tape with numbers
Numbered marks on a white measuring tape, the number line a solution set describes.Photo: qimono / Pixabay
  1. 1

    A few values

    List them in braces: {−3, 3}.

  2. 2

    A range of values

    Interval notation: (4, ∞).

  3. 3

    A condition

    Set-builder: {x | x > 4}.

  4. 4

    No solution

    The empty set: ∅ or { }.

Do your homework in Evernote. The AI Assistant explains any problem you photograph, step by step.

Keep your formulas in Evernote

How to write the solution set of an inequality in 4 steps

  1. 1

    Solve for the variable

    Isolate x as you would in an equation. When you multiply or divide by a negative number, flip the inequality sign.

  2. 2

    Decide which endpoints are included

    ≤ and ≥ include the endpoint; < and > do not.

  3. 3

    Write it in interval notation

    Use [ ] for included endpoints and ( ) for excluded ones. Infinity always gets a parenthesis.

  4. 4

    Or write it in set-builder notation

    {x | condition}, read "the set of all x such that...". Use whichever form your class asks for.

Solution set examples

An inequality, an equation with two answers, and one with none

Write the solution set of −2x + 5 ≥ −3. Then of x² = 9, and of x + 1 = x + 2.

  1. 1Solve−2x ≥ −8, then divide by −2 and flip the sign: x ≤ 4
  2. 2Endpoint≤, so 4 is included
  3. 3Interval(−∞, 4]
  4. 4Set-builder{x | x ≤ 4}
  5. 4Other answersx² = 9 → {−3, 3}. x + 1 = x + 2 → 1 = 2, false → ∅

(−∞, 4], or {x | x ≤ 4}; {−3, 3}; ∅

An equation that is always true, like 2(x + 1) = 2x + 2, has every real number as a solution: ℝ, or (−∞, ∞).

Inequality, interval and set-builder notation

Four ways to write the same set of numbers.

InequalityIntervalSet-builder
x > 4(4, ∞){x | x > 4}
x ≤ 4(−∞, 4]{x | x ≤ 4}
−1 ≤ x < 3[−1, 3){x | −1 ≤ x < 3}
x < −2 or x > 2(−∞, −2) ∪ (2, ∞){x | x < −2 or x > 2}
All real numbers(−∞, ∞){x | x is a real number}

OpenStax College Algebra 2e, section 2.7 "Linear Inequalities and Absolute Value Inequalities".

Trusted by Millions Worldwide

4.4

2,100+ reviews on G2

4.4

8,200+ reviews on Capterra

4.4

73,000+ reviews on App Store

248M

Registered users

Solution set questions

What is a solution set?

All the values of the variable that make the equation or inequality true. It can have one value, several, infinitely many or none.

How do I write a solution set with no solution?

Use the empty set symbol ∅, or empty braces { }. Do not write {∅}: that is a set containing the empty set.

When do I use brackets or parentheses?

A bracket [ ] includes the endpoint (≤ or ≥). A parenthesis ( ) excludes it (< or >). Infinity always gets a parenthesis.

How do I write "or" and "and" solutions?

"Or" combines intervals with the union symbol ∪: (−∞, −2) ∪ (2, ∞). "And" means the overlap, for example one interval like [−1, 3).

How do I write the solution set of a quadratic equation?

List the roots in braces: x² − 5x + 6 = 0 has the solution set {2, 3}. A double root is listed once.

What does the vertical bar mean in set-builder notation?

"Such that". {x | x > 4} reads "the set of all x such that x is greater than 4". Some books use a colon instead.

How to keep your algebra notes with Evernote

Keep a Math notebook with your algebra formula sheet and a note for each problem you photograph.

  1. 1

    Build a formula sheet.

    Ask the AI Assistant to add interval and set-builder notation to your algebra formula sheet, with one worked example. It writes the formula in a formula block, so it reads like the textbook.

  2. 2

    Explain a problem.

    Add a photo of your algebra problem, such as the inequality −2x + 5 ≥ −3, and ask the Assistant to explain it step by step. It reads the photo and adds the steps under it.

  3. 3

    Practice before the test.

    Ask the Assistant for a repeating practice task, such as 10 solution set problems every Tuesday and Thursday until the test. You get a reminder each time.

  • You can also search for a word in your photographed worksheets and find the page.
  • You can also draw a graph by hand in a sketch block.
  • You can also ask the AI Assistant to write practice problems from your notes, with answers.

Keep every formula and worked example in one place

Build a formula sheet, photograph a problem for a step-by-step explanation, and practice on a schedule before the test.

Start for free