Power set
|
In mathematics, a set S, the power set of S, written <math>\mathcal{P}(S)<math> or 2S, is the set of all subsets of S. In axiomatic set theory (as developed e.g. in the ZFC axioms), the existence of power set of any set is postulated by the axiom of power set.
Any subset F of <math>\mathcal{P}(S)<math> is called a family of sets over S.
For example, if S is the set {A, B, C} then the complete list of subsets of a is as follows:
- {} (the empty set)
- {A}
- {B}
- {C}
- {A, B}
- {A, C}
- {B, C}
- {A, B, C}
and hence the power set of S is
- <math>\mathcal{P}(S) = \{<math>{}, {A}, {B}, {C}, {A, B}, {A, C}, {B, C}, {A, B, C}<math>\}\,\!<math>
If S is a finite set with |S|=n elements, then the power set of S contains <math>|\mathcal{P}(S)| = 2^n<math> elements. (One can - and computers actually do - represent the elements of <math>\mathcal{P}(S)<math> as n-bit numbers; the n-th bit refers to presence or absence of the n-th element of S. There are 2n such numbers.)
One can also consider the power set of infinite sets. Cantor's diagonal argument shows that the power set of a set (infinite or not) always has strictly higher cardinality than the set itself (informally the power set must be 'greater' than the original set). The power set of the set of natural numbers for instance can be put in a one-to-one correspondence with the set of real numbers (by identifying an infinite 0-1 sequence with the set of indices where the ones occur).
The power set of a set S, together with the operations of union, intersection and complement forms the prototypical example of a boolean algebra. In fact, one can show that any finite boolean algebra is isomorphic to the boolean algebra of the power set of a finite set. For infinite boolean algebras this is no longer true, but every infinite boolean algebra is a subalgebra of a power set boolean algebra.
The power set of a set S forms an Abelian group when considered with the operation of symmetric difference (with the empty set as its unit and each set being its own inverse) and a commutative semigroup when considered with the operation of intersection. It can hence be shown (by proving the distributive laws) that the power set considered together with both of these operations forms a commutative ring.
The notation 2S
In set theory, XY is the set of all functions from Y to X. As 2 can be defined as {0,1} (see natural number), 2S is the set of all functions from S to {0,1}. By identifying a function in 2S with the corresponding preimage of 1, we see that there is a bijection between 2S and <math>\mathcal{P}(S)<math>, where each function is the characteristic function of the subset in <math>\mathcal{P}(S)<math> with which it is identified. Hence 2S and <math>\mathcal{P}(S)<math> could be considered identical set-theoretically.
External link
- "Power Set" on MathWorld (http://mathworld.wolfram.com/PowerSet.html)cs:Potenční množina
de:Potenzmenge es:Conjunto de partes nl:Machtsverzameling ja:冪集合 pl:Zbiór potęgowy ru:Булеан zh:冪集