In mathematics, particularly in the study of set theory, the algebra of setsa defines the properties and laws of sets, the set-theoretic operations of union, intersection, and complementation and the relations of set equality and set inclusion. It also provides systematic procedures for evaluating expressions and performing calculations involving these operations and relations.
Any set of sets closed under the set-theoretic operations forms a Boolean algebra with the join operator being union, the meet operator being intersection, the complement operator being set complement,1 the bottom being and the top being the universe set under consideration.
Fundamentals
A set is a collection of many mathematical objects. Examples of such objects are numbers, symbols, points in space, lines, other geometric shapes, variables, functions, or even other sets.2 A set is usually denote a upper-case letter and curly braces, as in and .
Union and intersection
The algebra of sets studies the properties and laws of sets algebraically. Foundationally, there are two set-theoretic operations of union (), intersection and (). A union is a set-theoretic operation that collects all members of two or more sets into a single set. An intersection collects the common elements of two or more sets. For instance, let and . Then , . Analogically, the algebra of sets can be interpreted as the algebra of numbers. Just as arithmetic addition and multiplication are associative and commutative, so are set union and intersection.3b Similarly for the arithmetic relation "less than or equal" is reflexive, antisymmetric and transitive, so is the set relation of "subset".4 Several of these identities or "laws" are the following.5
-
-
-
-
-
-
The union and intersection of sets may be seen as analogous to the addition and multiplication of numbers. Like addition and multiplication, the operations of union and intersection are commutative and associative, and intersection distributes over union.3 However, unlike addition and multiplication, union also distributes over intersection.
Empty set, universe set, and the complement of a set
Two additional pairs of properties involve the special sets called the empty set and the universe set . These sets have no members, and the universe set has all possible members (in a particular context), respectively. A set where the members are not in a set is the complement; the operator denotes or (read as "A prime"). Equivalently, the complement of a set is a set that is included in a universe set and not in ; i.e., .6
- Identity
-
-
- Complement
-
-
The identity expressions (together with the commutative expressions) say that, just like 0 and 1 for addition and multiplication,7 and are the identity elements for union and intersection, respectively.
Unlike addition and multiplication, union and intersection do not have inverse elements. However, the complement laws give the fundamental properties of the somewhat inverse-like unary operation of set complementation.
The preceding five pairs of formulae—the commutative, associative, distributive, identity, and complement formulae—encompass all of set algebra, in the sense that every valid proposition in the algebra of sets can be derived from them.
If the complement formulae are weakened to the rule , then this is exactly the algebra of propositional linear logic.
Principle of duality
Each of the identities stated above is one of a pair of identities such that each can be transformed into the other by interchanging and , while also interchanging and .
These are examples of an extremely important and powerful property of set algebra, namely, the principle of duality for sets, which asserts that for any true statement about sets, the dual statement obtained by interchanging unions and intersections, interchanging and and reversing inclusions is also true. A statement is said to be self-dual if it is equal to its own dual.
Some additional laws for unions and intersections
For any subsets and of a universe set , the following identities hold:
- idempotent laws
- domination laws
-
-
Intersection can be expressed in terms of set difference:
-
Some additional laws for complements
Let and be subsets of a universe , then:
-
-
- double complement or involution law
-
- complement laws for the universe set and the empty set
-
-
Notice that the double complement law is self-dual. The following is also self-dual, saying that the complement of a set is the only set that satisfies the complement laws. In other words, complementation is characterized by the complement laws: Let and be subsets of a universe ,
- uniqueness of complements
- If , and , then
Algebra of inclusion
The algebra of sets include the inclusion of sets. That is, the binary relation of one set being a subset of another, which is a partial order. If , and are sets then the following hold:
-
- and if and only if
- If and , then
For any set , the power set of , ordered by inclusion, is a bounded lattice, and hence together with the distributive and complement laws above, shows that it is a Boolean algebra. That is, if , and are subsets of a set then the following hold:
- existence of a least element and a greatest element
-
- existence of joins
-
- If and , then
- existence of meets
-
- If and , then
The inclusion set is equivalent to various other statements involving unions, intersections, and complements. That is, for any two sets and , the following are equivalent:
-
-
-
-
-
This shows that the relation of set inclusion can be characterized by either of the operations of set union or set intersection, meaning that the notion of set inclusion is axiomatically superfluous.
Algebra of relative complements
The following proposition lists several identities concerning relative complements and set-theoretic differences.
PROPOSITION 9: For any universe and subsets , and of , the following identities hold:
-
-
-
-
-
-
-
-
-
-
-
-
-
See also
See also
- σ-algebra is an algebra of sets, completed to include countably infinite operations.
- Axiomatic set theory
- Image (mathematics) § Properties
- Field of sets
- List of set identities and relations
- Naive set theory
- Set (mathematics)
- Topological space — a subset of , the power set of , closed with respect to arbitrary union, finite intersection, and containing and .
Notes
Notes
Explanatory
- Not to be confused with the mathematical structure of an algebra of sets
- Some sources use and to denote the union and intersection of two sets and , respectively. This regards the analogy of how union and intersection operators work, as do the addition and multiplication.3
Notes on proofs
- A proof is given below for the idempotent law for union.
by the identity law of intersection by the complement law for union by the distributive law of union over intersection by the complement law for intersection by the identity law for union - The following proof illustrates that the dual of the above proof is the proof of the dual of the idempotent law for union, namely the idempotent law for intersection.
by the identity law for union by the complement law for intersection by the distributive law of intersection over union by the complement law for union by the identity law for intersection - A proof is given below for the absorption law for union.
by the identity law of intersection by the distributive law of intersection over union by the domination law for union by the identity law of intersection - A proof is given below for the absorption law for intersection.
by the identity law for union by the distributive law of union over intersection by the domination law for intersection by the identity law for union
References
- Halmos (2018), p. 3–8.
- Halmos (1960), p. 1.
- Courant, Robbins & Stewart (1996), p. 110.
- Courant, Robbins & Stewart (1996), p. 109.
- Halmos (1960), pp. 14–15.
- Halmos (1960), p. 17.
- Courant, Robbins & Stewart (1996), p. 110–111, I and O denote a universe set and an empty set, respectively. See pp. 108–109.
- Halmos, Paul R. (1960). Naive Set Theory. Princeton: Nostrand.
- Halmos, Paul R. (2018). Lectures on Boolean Algebras. Dover Publications.
- Stoll, Robert R.; Set Theory and Logic, Mineola, N.Y.: Dover Publications (1979) ISBN 0-486-63829-4. "The Algebra of Sets", pp 16—23.
- Courant, Richard; Robbins, Herbert; Stewart, Ian (1996). What is mathematics?: An Elementary Approach to Ideas and Methods. Oxford University Press US. ISBN 978-0-19-510519-3.