A set1 is a collection of objects, called elements of the set. If x is an element of the set A, then we write ; otherwise, we write . For example, if z is the set of integers, then and .
One set that appears frequently is the set of real numbers, which we denote by R throughout this text.
Two sets A and B are called equal, written , if they contain exactly the same elements. Sets may be described in one of two ways:
By listing the elements of the set between set braces .
By describing the elements of the set in terms of some characteristic property.
For example, the set consisting of the elements 1, 2, 3, and 4 can be written as or as
Note that the order in which the elements of a set are listed is immaterial, and listing an element in a set more than once does not change the set. Hence
Let A denote the set of real numbers strictly between 1 and 2. Then A may be written as
A set B is called a subset of a set A, written or , if every element of B is an element of A. For example, . If , and , then B is called a proper subset of A. Observe that if and only if and , a fact that is often used to prove that two sets are equal.
The empty set, denoted by , is the set containing no elements. The empty set is a subset of every set.
Sets may be combined to form other sets in two basic ways. The union of two sets A and B, denoted , is the set of elements that are in A, or B, or both; that is,
The intersection of two sets A and B, denoted , is the set of elements that are in both A and B; that is,
Two sets are called disjoint if their intersection equals the empty set.
Let and . Then
Likewise, if and , then
Thus x and y are disjoint sets.
The union and intersection of more than two sets can be defined analogously. Specifically, if are sets, then the union and intersections of these sets are defined, respectively, by
and
In this situation, we have one set for each . It can be convenient to regard these sets as being indexed by the set . When doing so, I is called an index set for the collection .
The use of an index set is especially useful with an infinite collection of sets, as in Example 3 below. If is an index set and is a collection of sets, the union and intersection of these sets are defined, respectively, by
and
Let , and let
for each . Then
By a relation on a set A, we mean a rule for determining whether or not, for any elements x and y in A, x stands in a given relationship to y. To make this concept precise, we define a relation on A to be any set S of ordered pairs of elements of A, and say that the elements x and y of A satisfy the relation S if and only if . On the set of real numbers, for instance, “is equal to,” “is less than,” and “is greater than or equal to” are familiar relations. If S is a relation on a set A, we often write in place of .
A relation S on a set A is called an equivalence relation on A if the following three conditions hold:
For each (reflexivity).
If , then (symmetry).
If and , then (transitivity).
For example, if we define to mean that is divisible by a fixed integer n, then is an equivalence relation on the set of integers.
52.14.76.200