set
\PMlinkescapephrase
basic set
1 Introduction
A set is a collection, , or conglomerate11However, not every collection has to be a set (in fact, all collections can’t be sets: there is no set of all sets or of all ordinals for example). See proper class for more details..
Sets can be of “” objects or mathematical objects, but the sets themselves are purely conceptual. This is an important point to note: the set of all cows (for example) does not physically exist, even though the cows do. The set is a “gathering” of the cows into one conceptual that is not part of physical reality. This makes it easy to see why we can have sets with an infinite number of elements; even though we may not be able to point out infinitely many objects in the real world, we can construct conceptual sets which an infinite number of elements (see the examples below).
The symbol denotes set membership. For example, would be read “ is an element of ”.
We write if for all we have and we then say contains . We sometimes write “ contains ” when contains the set whose only element is .
Mathematics is thus built upon sets of purely conceptual, or mathematical, objects. Sets are usually denoted by upper-case roman letters (such as ). Sets can be defined by listing the members, as in
Or, a set can be defined from a predicate (called “set builder notation”). This type of statement defining a set is of the form
where is the symbol denoting the set, is the variable we are introducing to represent a generic element of the set (note that, by the so called axiom of comprehension (or axiom of subsets), must be a member of some set which has already been defined. This is necessary in order to avoid Russell’s paradox22One needs to be careful when defining a set by a predicate only, since (for example) “ is not in ” is a perfectly good predicate. Either one needs to restrict the kind of predicate, or, more commonly, one needs to define only subsets by predicates. So while one cannot do , if one already has a set , one can do ..) and is some property which must be true for any element of the set (that is, is equivalent to and holds.) Sometimes, we write a set definition as , where is a transformation of that variable. In this case, we can simply replace the set by , where in order to define the set as above.
Sets are, in fact, completely specified by their elements. If two sets have the same elements, they are equal. This is called the axiom of extensionality, and it is one of the most important characteristics of sets that distinguishes them from predicates or properties.
Some examples of sets are:
-
•
The standard number sets , , , and .
-
•
The set of all even integers:
-
•
The set of all prime numbers (sometimes denoted ): , where denotes implies and denotes divides.
-
•
The set of all real functions of one real parameter (sometimes denoted by ): or, more formally, .
-
•
The unit circle : , where is the modulus of .
The most basic set is the empty set (denoted , or ).
The astute reader may have noticed that all of our examples of sets utilize sets, which does not suffice for rigorous definition. We can be more rigorous if we postulate only the empty set, and define a set in general as anything which one can construct from the empty set and the ZFC axioms. The non-negative integers, for instance, are defined by and the successor of , A non-negative integer is thus the set of all its predecessors (for example, we have )33Note however that the existence of the set of non-negative integers needs an additional axiom beside those which are required to define its members: the axiom of infinity..
All objects in modern mathematics are constructed via sets. An important point to be made about this is that the construction of the object is less important than the way it will behave. As an example, we usually define an ordered pair as the set : what matters here is that, for two ordered pairs and , we have if and only if and , and this is true with the given definition, as one can easily see. We could, however, also have taken as the definition of , in which case the needed property also holds and we have a valid definition (we chose the first only because it is simpler).
2 Set Notions
An important set notion is cardinality. Cardinality is roughly the same as the intuitive notion of “size” or number of elements. While this intuitive definition works well for finite sets, intuition breaks down for sets with an infinite number of elements. The cardinality of a set is denoted (sometimes or ) and we say that sets and have the same cardinality if and only if there is a bijection from one to the other. For more detail, see the cardinality entry.
Another important set concept is that of subsets. A subset of a set is any set which contains only elements that appear in . Subsets are denoted with the symbol, i.e. (in which case is called a superset of B). Also useful is the notion of a proper subset, denoted (or sometimes, )44Beware — some authors use to mean proper subset, while most use it to mean subset with equality (the same as ), which can make the notation ambiguous., which adds the restriction that must also not be equal to . The set of all subsets of a set is called the power set of , denoted (the existence of this set is also axiomatic: it is guaranteed by the axiom of the power set). Note that does not need to have a lower cardinality than to be a proper subset, i.e., is a proper subset of , but both have the same cardinality, (In fact, a set is infinite if and only if it has the same cardinality as some proper subset).
3 Set Operations
There are a number of standard (common) operations which are used to manipulate sets, producing new sets from combinations of existing sets (sometimes with entirely different types of elements). These standard operations are:
-
•
union (http://planetmath.org/Union)
- •
- •
- •
- •
- •
-
•
power set (http://planetmath.org/PowerSet)
Title | set |
Canonical name | Set |
Date of creation | 2013-03-22 12:15:09 |
Last modified on | 2013-03-22 12:15:09 |
Owner | Mathprof (13753) |
Last modified by | Mathprof (13753) |
Numerical id | 24 |
Author | Mathprof (13753) |
Entry type | Definition |
Classification | msc 03E99 |
Related topic | ZermeloFraenkelAxioms |
Related topic | Mapping |
Related topic | SetTheory |
Related topic | Class |
Related topic | DeMorgansLaws |
Related topic | NotationInSetTheory |
Related topic | CardinalityOfAFiniteSetIsUnique |
Related topic | OneToOneFunctionFromOntoFunction |
Related topic | Collection |
Related topic | FunctorCategory2 |
Related topic | Algebras2 |
Related topic | SetMembership |
Defines | contains |
Defines | subset |
Defines | proper subset |