A set is a collection of elements. These elements can be both numbers, letters, functions, or anything else you would like to group together. An important type of sets are called intervals, and they are often used to describe solutions to exercises. When you want to explain that an element belongs in a given set you use the symbol . If an element doesn’t belong in a given set you use the symbol . There are three types of intervals:
Theory
is the set of all numbers between and . That is, means that .
or is the set of all numbers greater than and less than or equal to or the set of all numbers greater than or equal to and less than . That means that is the same as ( can be all numbers between and , including but not including , and is the same as ( can be all numbers between and , including but not including .
is the set of all numbers between and including both and . That is, is the same as .
If you need to add together several intervals to make one set (for example the solution space), you can use the symbol , called the union, for example: . If you want to remove from one interval everything inside another interval, you can use the symbol like this: . If you have infinite intervals, you can show that by using the infinity symbol: ( is greater than or equal to ) and ( is less than ). The side of the interval that goes toward infinity is always an open interval.
Example 1
: is an element in
: is not an element in