Set notation and interval notation
In a nutshell
When solving a linear inequality, the answer obtained is usually also written as an inequality. These inequalities can be written using set notation or interval notation.
Set notation and interval notation
When an answer is an inequality given in the form x≥7, it can be written in the set notation {x:x≥7}. This is read as 'x such that x is greater than or equal to 7'.
This can also be written as an interval notation: [7, ∞). This means that the solution lies in the interval from 7 to ∞. Unless otherwise stated, x is assumed to be a real number, therefore ∞ is not included in the interval.
Common notation
NOTATION | MEANING |
x∈(a,b) | a<x<b |
x∈[a,b] | a≤x≤b |
x∈(a,b] | a<x≤b |
x∈[a,b) | a≤x<b |
Example 1
Write the following in set notation:
i) x≥2
ii) x<19
i)
{x:x≥2}
ii)
{x:x<19}
Combining notations
Two different notations can be combined using a union or an intersection.
x∈A ∪ B is the union of A and B. This means that x can be in either A or B or both.
x∈A ∩ B is the intersection of A and B. This means that x is in both A and B.
When there are no solutions to an inequality, you can write x∈∅, where ∅ represents the empty set.
Example 2
Write the following in set notation:
i) x>2 or x<−4
ii) x>5 and x<3
iii) 2≤x≤10
i) x is greater than 2 or x is less than −4, therefore a union is needed:i
{x:x>2} ∪ {x:x<−4}
ii) x cannot be greater than 5 and less than 3, therefore there are no solutions:
x∈∅
iii) x is greater than or equal to 2 and less than or equal to 10, therefore an intersection is needed:
{x:x≥2} ∩ {x:x≤10}