Introduction to Sets
Defining sets
Set theory is the foundation of modern mathematics. Every mathematical notion is built on some set. What is a set? This is a very deep question beyond the scope of this lecture. Instead, we give the following very rough, informal definition.
Definition (very informal)
A set is a collection of distinct objects. Objects of a set are called elements of the set.To denote a set, we can enumerate its elements, enclosed by curly brackets. For example,
It is important that the elements of a set are distinct. For example,
is not a set because there are two
In a set, we don't care about the order of elements. For example,
and
and
and so on, are all the same set.
Definition (Cardinality of a set)
If the number of elements of the set is finite, say , then we say the set is of cardinality , and write If the set does not have a finite number of elements, then we say it is a set of infinite cardinality.
Example. For the set , its cardinality is . □
Subsets and set equivalence
A set may be contained completely in another set. This is the notion of subsets. But what does it mean, exactly? Here's the definition.Definition
LetExample:
" " may be regarded as a relation between sets.
is transitive. That is, if and , then .
ProofLemma
The subset relationSince , implies , which, in turn, implies because . Hence, implies . ■
Here is what we mean by "two sets are equal":
Definition
If and , then we say that the sets and are equal and write .
That is, two sets are equal if each set is a subset of the other set. You should try to validate that the two sets, say, and are indeed equal according to the above definition.
Remark: Note that may mean the sets and are actually equal sets (that is, if also holds). For this reason, some people prefer to to denote the subset relation. When we want to express that is a subset of, but not equal to, , we specifically write
Definition
If and , we say that is a proper subset of and write .
This definition means that is a proper subset of if and there exists an element such that .
Definition
The set with no elements is called the empty set and is denoted . That is, The empty set is a subset of any set.
Note that and are two different sets. The former is the empty set, and the latter is a non-empty set, the only element of which is the empty set.
An alternative way to specify a set
When a set contains a finite number of elements, we can specify it by enumerating all the elements enclosed in curly brackets. For example, is a set of three integers, 1, 2, and 3. When a set contains infinitely many elements, how can we specify it? Let's consider the set of even natural numbers. In this case, we can exploit the regularity so we may write to indicate that the " " are the rest of the elements with the same regularity (i.e., even natural numbers). But, what if there are no simple regularities? In such cases, we can use the following notation: where is some set that is already defined and is a logical proposition that depends on the value of (such propositions are called predicates). Sometimes, we may omit the superset . This expression reads:
consists of elements of such that the predicate is true.
That is, we pick each element, say
For example, we may specify the set of even natural numbers is the following way: where is the set of natural numbers. This definition says:
See also: If you are interested in a more rigorous treatment of set theory, refer to, for example, Zermelo-Fraenkel set theory (Wikipedia).
Comments
Post a Comment