This article is about sets in mathematics. See also
- Set (god) for the figure from ancient Egyptian mythology.
- Set game for the card game.
- Set (computer science) as datatype that is a collection of values.
- set (drama) discusses dramatic sets
- Small appliance
In mathematics, a set is a collection of objects such that two sets are equal if, and only if, they contain the same objects. A finite set is a set that can be put into bijective correspondence with a set {1, 2, ..., n}; the alternative is an infinite set. For a discussion of the properties and axioms concerning the construction of sets, see naive set theory and axiomatic set theory. Here we give only a brief overview of the concept.
Sets are one of the basic concepts of mathematics. A set is, more or less, just a collection of objects, called its elements. Standard notation uses braces around the list of elements, as in:
- {red, green, blue}
- {red, red, blue, red, green, red, red, green, red, red, blue}
- {x : x is an additive primary color}
| Table of contents |
|
2 Examples of Sets of Numbers 3 Special Remarks About Terminology |
If and are sets and every in is also contained in , then is said to be a subset of , denoted . If at least one element in is not also in , is called a proper subset of , denoted . Every set has as subsets itself, called the improper subset, and the empty set {} or . The fact that an element belongs to the set is denoted .
The union of a collection of sets is the set of all elements contained in at least one of the sets
The intersection of a collection of sets is the set of all elements contained in all of the sets.
These unions and intersections are denoted
The "number of elements" in a certain set is called the cardinal number of the set and denoted for a set (for a finite set this is an ordinary number, for an infinite set it differentiates between different "degrees of infiniteness", named (aleph zero), ).
The set of all subsets of is called its power set and is denoted or .
This power set is a Boolean algebra under the operations of union and intersection.
The set of functions from a set A to a set B is sometimes denoted by BA. It is a generalisation of the power set in which 2 could be regarded as the set {0,1} (see natural number).
The cartesian product of two sets A and B is the set
Care must be taken with verbal descriptions of sets. One can describe in words a set whose existence is paradoxical. If one assumes such a set exists, an apparent paradox or antinomy may occur. Axiomatic set theory was created to avoid these problems.
For example, suppose we call a set "well-behaved" if it doesn't contain itself as an element.
Now consider the set S of all well-behaved sets.
Is S itself well-behaved?
There is no consistent answer; this is Russell's paradox.
In axiomatic set theory, the set S is either not allowed (in the case of the Zermelo-Frankel axioms) or is considered to be a proper class (in the case of the von Neumann-Bernays-Godel axioms), and we have no paradox.Set Terminology
and
respectively.
The sum of two sets A and B is the set
Examples of Sets of Numbers
Special Remarks About Terminology