Sub topic 5
Writing Solution Sets in Set-Builder Notation
Prerequisites and notation
This chapter assumes you can solve linear equations and inequalities, order real numbers, and use interval notation. Set-builder notation is a compact way to describe a set by stating a rule that every member must satisfy.
A set-builder expression has this general form:
\[ \{x \mid \text{condition on }x\} \]
Read the vertical bar \(\mid\) as “such that.” Thus,
\[ \{x \mid x<-2\} \]
means “the set of all \(x\) such that \(x\) is less than \(-2\).”
The variable \(x\) is a placeholder for any number in the set. The condition after the bar determines which numbers belong.
Translating an inequality
To write an inequality solution in set-builder notation:
- Identify the variable.
- Write the variable inside braces.
- Add a vertical bar or colon.
- Write the condition that the variable must satisfy.
For example, the solution to
\[ -3x+5>11 \]
is \(x<-2\). In set-builder notation, write:
\[ \{x\mid x<-2\} \]
The endpoint \(-2\) is excluded because the inequality is strict. Set-builder notation shows that exclusion through the symbol \(<\), rather than through an open circle.
The same solution can be represented in several ways:
| Representation | Solution |
|---|---|
| Inequality | \(x<-2\) |
| Set-builder notation | \(\{x\mid x<-2\}\) |
| Interval notation | \((-\infty,-2)\) |
All three forms describe the same set of numbers.
Common inequality symbols
The condition in a set-builder expression can use any inequality symbol.
| Symbol | Meaning | Example |
|---|---|---|
| \(<\) | less than | \(\{x\mid x<4\}\) |
| \(>\) | greater than | \(\{x\mid x>4\}\) |
| \(\le\) | less than or equal to | \(\{x\mid x\le4\}\) |
| \(\ge\) | greater than or equal to | \(\{x\mid x\ge4\}\) |
The symbols \(\le\) and \(\ge\) include the endpoint. For instance,
\[ \{x\mid x\ge4\} \]
contains \(4\), as well as every number greater than \(4\).
Compound inequalities
Set-builder notation also describes compound inequalities. For an “and” inequality, include both conditions:
\[ -2\le x<3 \]
becomes
\[ \{x\mid -2\le x<3\}. \]
This means \(x\) must be at least \(-2\) and less than \(3\). The left endpoint is included, while the right endpoint is excluded.
For an “or” inequality, write the two conditions joined by “or”:
\[ x\le-2\text{ or }x\ge4 \]
becomes
\[ \{x\mid x\le-2\text{ or }x\ge4\}. \]
Special solution sets
If every real number satisfies an inequality, write:
\[ \{x\mid x\in\mathbb R\} \]
This means “the set of all real numbers.”
If no real number satisfies it, write:
\[ \varnothing \]
The symbol \(\varnothing\) means the empty set. You can also write \(\{x\mid \text{false statement}\}\), but \(\varnothing\) is usually clearer.
Exercise
Write the solution \(x\ge \frac{3}{2}\) in set-builder notation. Then state whether \(\frac{3}{2}\) belongs to the solution set.
Show answer
The set-builder form is \(\{x\mid x\ge\frac{3}{2}\}\). Yes, \(\frac{3}{2}\) belongs because the inequality includes equality.