1 Sets
A set is any collection of objects. Here, the word ‘object’ is used in its most general sense: an object may be a diode, an aircraft, a number, or a letter, for example.
A set is often described by listing the collection of objects - these are the members or elements of the set. We usually write this list of elements in curly brackets, and denote the full set by a capital letter. For example,
The elements of set , above, are the resistors produced in a factory on a particular day. These could be individually labeled and listed individually but as the number is large it is not practical or sensible to do this. Set lists the two possible states of a simple switch, and the elements of set are the digits used in the decimal system.
Sometimes we can describe a set in words. For example,
‘ is the set all odd numbers’.
Clearly all the elements of this set cannot be listed.
Similarly,
‘ is the set of binary digits’ i.e. .
has only two elements.
A set with a finite number of elements is called a finite set . and are finite sets. The set has an infinite number of elements and so is not a finite set. It is called an infinite set .
Two sets are equal if they contain exactly the same elements. For example, the sets and are equal since the order in which elements are written is unimportant. Note also that repeated elements are ignored. The set is equal to the set .
1.1 Subsets
Sometimes one set is contained completely within another set. For example if then all the elements of are also elements of . We say that is a subset of and write .
Example 1
Given , and , state which sets are subsets of other sets.
Solution
is a subset of , that is
is a subset of , that is
is a subset of , that is .
Task!
A factory produces cars over a five day period; Monday to Friday. Consider the following sets,
- = {cars produced from Monday to Friday}
- = {cars produced from Monday to Thursday}
- = {cars produced on Friday}
- = {cars produced on Wednesday}
- = {cars produced on Wednesday or Thursday}
State which sets are subsets of other sets.
- is a subset of , that is, .
- is a subset of , that is, .
- is a subset of , that is, .
- is a subset of , that is, .
- is a subset of , that is, .
- is a subset of , that is, .
- is a subset of , that is, .
1.2 The symbol
To show that an element belongs to a particular set we use the symbol . This symbol means is a member of or ‘belongs to’. The symbol means is not a member of or ‘does not belong to’.
For example if then we may write , , and .
1.3 The empty set and the universal set
Sometimes a set will contain no elements. For example, suppose we define the set by
Since there are no odd numbers which are divisible by 4, then has no elements. The set with no elements is called the empty set , and it is denoted by .
On the other hand, the set containing all the objects of interest in a particular situation is called the universal set , denoted by . The precise universal set will depend upon the context. If, for example, we are concerned only with whole numbers then . If we are concerned only with the decimal digits then .
1.4 The complement of a set
Given a set and a universal set we can define a new set, called the complement of and denoted by . The complement of contains all the elements of the universal set that are not in .
Example 2
Given , and state
Solution
-
The elements of
are those which belong to
but not to
.
Sometimes a set is described in a mathematical way. Suppose the set contains all numbers which are divisible by 4 and 7. We can write
The symbol : stands for ‘such that ’. We read the above as ‘ is the set comprising all elements , such that is divisible by 4 and by 7’.