Power set

Last updated
Power set
Hasse diagram of powerset of 3.svg
The elements of the power set of {x, y, z} ordered with respect to inclusion.
Type Set operation
Field Set theory
StatementThe power set is the set that contains all subsets of a given set.
Symbolic statement

In mathematics, the power set (or powerset) of a set S is the set of all subsets of S, including the empty set and S itself. [1] In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is postulated by the axiom of power set. [2] The powerset of S is variously denoted as P(S), 𝒫(S), P(S), , , or 2S. [lower-alpha 1] Any subset of P(S) is called a family of sets over S.

Contents

Example

If S is the set {x, y, z}, then all the subsets of S are

and hence the power set of S is {{}, {x}, {y}, {z}, {x, y}, {x, z}, {y, z}, {x, y, z}}. [3]

Properties

If S is a finite set with the cardinality |S| = n (i.e., the number of all elements in the set S is n), then the number of all the subsets of S is |P(S)| = 2n. This fact as well as the reason of the notation 2S denoting the power set P(S) are demonstrated in the below.

An indicator function or a characteristic function of a subset A of a set S with the cardinality |S| = n is a function from S to the two-element set {0, 1}, denoted as IA : S → {0, 1}, and it indicates whether an element of S belongs to A or not; If x in S belongs to A, then IA(x) = 1, and 0 otherwise. Each subset A of S is identified by or equivalent to the indicator function IA, and {0,1}S as the set of all the functions from S to {0, 1} consists of all the indicator functions of all the subsets of S. In other words, {0, 1}S is equivalent or bijective to the power set P(S). Since each element in S corresponds to either 0 or 1 under any function in {0, 1}S, the number of all the functions in {0, 1}S is 2n. Since the number 2 can be defined as {0, 1} (see, for example, von Neumann ordinals), the P(S) is also denoted as 2S. Obviously |2S| = 2|S| holds. Generally speaking, XY is the set of all functions from Y to X and |XY| = |X||Y|.

Cantor's diagonal argument shows that the power set of a set (whether infinite or not) always has strictly higher cardinality than the set itself (or informally, the power set must be larger than the original set). In particular, Cantor's theorem shows that the power set of a countably infinite set is uncountably infinite. The power set of the set of natural numbers can be put in a one-to-one correspondence with the set of real numbers (see Cardinality of the continuum).

The power set of a set S, together with the operations of union, intersection and complement, is a Σ-algebra over S and can be viewed as 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 can be represented as a subalgebra of a power set Boolean algebra (see Stone's representation theorem).

The power set of a set S forms an abelian group when it is considered with the operation of symmetric difference (with the empty set as the identity element and each set being its own inverse), and a commutative monoid 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 Boolean ring.

Representing subsets as functions

In set theory, XY is the notation representing the set of all functions from Y to X. As "2" can be defined as {0, 1} (see, for example, von Neumann ordinals), 2S (i.e., {0, 1}S) is the set of all functions from S to {0, 1}. As shown above, 2S and the power set of S, P(S), are considered identical set-theoretically.

This equivalence can be applied to the example above, in which S = {x, y, z}, to get the isomorphism with the binary representations of numbers from 0 to 2n − 1, with n being the number of elements in the set S or |S| = n. First, the enumerated set { (x, 1), (y, 2), (z, 3) } is defined in which the number in each ordered pair represents the position of the paired element of S in a sequence of binary digits such as {x, y} = 011(2); x of S is located at the first from the right of this sequence and y is at the second from the right, and 1 in the sequence means the element of S corresponding to the position of it in the sequence exists in the subset of S for the sequence while 0 means it does not.

For the whole power set of S, we get:

SubsetSequence
of binary digits
Binary
interpretation
Decimal
equivalent
{ }0, 0, 0000(2)0(10)
{ x }0, 0, 1001(2)1(10)
{ y }0, 1, 0010(2)2(10)
{ x, y }0, 1, 1011(2)3(10)
{ z }1, 0, 0100(2)4(10)
{ x, z }1, 0, 1101(2)5(10)
{ y, z }1, 1, 0110(2)6(10)
{ x, y, z }1, 1, 1111(2)7(10)

Such an injective mapping from P(S) to integers is arbitrary, so this representation of all the subsets of S is not unique, but the sort order of the enumerated set does not change its cardinality. (E.g., { (y, 1), (z, 2), (x, 3) } can be used to construct another injective mapping from P(S) to the integers without changing the number of one-to-one correspondences.)

However, such finite binary representation is only possible if S can be enumerated. (In this example, x, y, and z are enumerated with 1, 2, and 3 respectively as the position of binary digit sequences.) The enumeration is possible even if S has an infinite cardinality (i.e., the number of elements in S is infinite), such as the set of integers or rationals, but not possible for example if S is the set of real numbers, in which case we cannot enumerate all irrational numbers.

Relation to binomial theorem

The binomial theorem is closely related to the power set. A k–elements combination from some set is another name for a k–elements subset, so the number of combinations, denoted as C(n, k) (also called binomial coefficient) is a number of subsets with k elements in a set with n elements; in other words it's the number of sets with k elements which are elements of the power set of a set with n elements.

For example, the power set of a set with three elements, has:

Using this relationship, we can compute |2S| using the formula:

Therefore, one can deduce the following identity, assuming |S| = n:

Recursive definition

If S is a finite set, then a recursive definition of P(S) proceeds as follows:

In words:

Subsets of limited cardinality

The set of subsets of S of cardinality less than or equal to κ is sometimes denoted by Pκ(S) or [S]κ, and the set of subsets with cardinality strictly less than κ is sometimes denoted P<κ(S) or [S]<κ. Similarly, the set of non-empty subsets of S might be denoted by P≥1(S) or P+(S).

Power object

A set can be regarded as an algebra having no nontrivial operations or defining equations. From this perspective, the idea of the power set of X as the set of subsets of X generalizes naturally to the subalgebras of an algebraic structure or algebra.

The power set of a set, when ordered by inclusion, is always a complete atomic Boolean algebra, and every complete atomic Boolean algebra arises as the lattice of all subsets of some set. The generalization to arbitrary algebras is that the set of subalgebras of an algebra, again ordered by inclusion, is always an algebraic lattice, and every algebraic lattice arises as the lattice of subalgebras of some algebra. So in that regard, subalgebras behave analogously to subsets.

However, there are two important properties of subsets that do not carry over to subalgebras in general. First, although the subsets of a set form a set (as well as a lattice), in some classes it may not be possible to organize the subalgebras of an algebra as itself an algebra in that class, although they can always be organized as a lattice. Secondly, whereas the subsets of a set are in bijection with the functions from that set to the set {0, 1} = 2, there is no guarantee that a class of algebras contains an algebra that can play the role of 2 in this way.

Certain classes of algebras enjoy both of these properties. The first property is more common; the case of having both is relatively rare. One class that does have both is that of multigraphs. Given two multigraphs G and H, a homomorphism h : GH consists of two functions, one mapping vertices to vertices and the other mapping edges to edges. The set HG of homomorphisms from G to H can then be organized as the graph whose vertices and edges are respectively the vertex and edge functions appearing in that set. Furthermore, the subgraphs of a multigraph G are in bijection with the graph homomorphisms from G to the multigraph Ω definable as the complete directed graph on two vertices (hence four edges, namely two self-loops and two more edges forming a cycle) augmented with a fifth edge, namely a second self-loop at one of the vertices. We can therefore organize the subgraphs of G as the multigraph ΩG, called the power object of G.

What is special about a multigraph as an algebra is that its operations are unary. A multigraph has two sorts of elements forming a set V of vertices and E of edges, and has two unary operations s, t : EV giving the source (start) and target (end) vertices of each edge. An algebra all of whose operations are unary is called a presheaf. Every class of presheaves contains a presheaf Ω that plays the role for subalgebras that 2 plays for subsets. Such a class is a special case of the more general notion of elementary topos as a category that is closed (and moreover cartesian closed) and has an object Ω, called a subobject classifier. Although the term "power object" is sometimes used synonymously with exponential object YX, in topos theory Y is required to be Ω.

Functors and quantifiers

There is both a covariant and contravariant power set functor, P: Set → Set and P: Set op → Set. The covariant functor is defined more simply. as the functor which sends a set S to P(S) and a morphism f: ST (here, a function between sets) to the image morphism. That is, for . Elsewhere in this article, the power set was defined as the set of functions of S into the set with 2 elements. Formally, this defines a natural isomorphism . The contravariant power set functor is different from the covariant version in that it sends f to the preimage morphism, so that if . This is because a general functor takes a morphism to precomposition by h, so a function , which takes morphisms from b to c and takes them to morphisms from a to c, through b via h. [4]

In category theory and the theory of elementary topoi, the universal quantifier can be understood as the right adjoint of a functor between power sets, the inverse image functor of a function between sets; likewise, the existential quantifier is the left adjoint. [5]

See also

Notes

  1. The notation 2S, meaning the set of all functions from S to a given set of two elements (e.g., {0, 1}), is used because the powerset of S can be identified with, is equivalent to, or bijective to the set of all the functions from S to the given two-element set. [1]

Related Research Articles

<span class="mw-page-title-main">Boolean algebra (structure)</span> Algebraic structure modeling logical operations

In abstract algebra, a Boolean algebra or Boolean lattice is a complemented distributive lattice. This type of algebraic structure captures essential properties of both set operations and logic operations. A Boolean algebra can be seen as a generalization of a power set algebra or a field of sets, or its elements can be viewed as generalized truth values. It is also a special case of a De Morgan algebra and a Kleene algebra.

<span class="mw-page-title-main">Group action</span> Transformations induced by a mathematical group

In mathematics, many sets of transformations form a group under function composition; for example, the rotations around a point in the plane. It is often useful to consider the group as an abstract group, and to say that one has a group action of the abstract group that consists of performing the transformations of the group of transformations. The reason for distinguishing the group from the transformations is that, generally, a group of transformations of a structure acts also on various related structures; for example, the above rotation group acts also on triangles by transforming triangles into triangles.

<span class="mw-page-title-main">Monoid</span> Algebraic structure with an associative operation and an identity element

In abstract algebra, a branch of mathematics, a monoid is a set equipped with an associative binary operation and an identity element. For example, the nonnegative integers with addition form a monoid, the identity element being 0.

In mathematics, a complete lattice is a partially ordered set in which all subsets have both a supremum (join) and an infimum (meet). A lattice that satisfies at least one of these properties is known as a conditionally complete lattice. For comparison, in a general lattice, only pairs of elements need to have a supremum and an infimum. Every non-empty finite lattice is complete, but infinite lattices may be incomplete.

In mathematics, rings are algebraic structures that generalize fields: multiplication need not be commutative and multiplicative inverses need not exist. Informally, a ring is a set equipped with two binary operations satisfying properties analogous to those of addition and multiplication of integers. Ring elements may be numbers such as integers or complex numbers, but they may also be non-numerical objects such as polynomials, square matrices, functions, and power series.

In mathematics, specifically category theory, adjunction is a relationship that two functors may exhibit, intuitively corresponding to a weak form of equivalence between two related categories. Two functors that stand in this relationship are known as adjoint functors, one being the left adjoint and the other the right adjoint. Pairs of adjoint functors are ubiquitous in mathematics and often arise from constructions of "optimal solutions" to certain problems, such as the construction of a free group on a set in algebra, or the construction of the Stone–Čech compactification of a topological space in topology.

In order theory, a field of mathematics, an incidence algebra is an associative algebra, defined for every locally finite partially ordered set and commutative ring with unity. Subalgebras called reduced incidence algebras give a natural construction of various types of generating functions used in combinatorics and number theory.

In mathematics, a Heyting algebra (also known as pseudo-Boolean algebra) is a bounded lattice (with join and meet operations written ∨ and ∧ and with least element 0 and greatest element 1) equipped with a binary operation ab of implication such that (ca) ≤ b is equivalent to c ≤ (ab). From a logical standpoint, AB is by this definition the weakest proposition for which modus ponens, the inference rule AB, AB, is sound. Like Boolean algebras, Heyting algebras form a variety axiomatizable with finitely many equations. Heyting algebras were introduced by Arend Heyting (1930) to formalize intuitionistic logic.

In abstract algebra, a semiring is an algebraic structure. It is a generalization of a ring, dropping the requirement that each element must have an additive inverse. At the same time, it is a generalization of bounded distributive lattices.

This is a glossary of some terms used in various branches of mathematics that are related to the fields of order, lattice, and domain theory. Note that there is a structured list of order topics available as well. Other helpful resources might be the following overview articles:

In mathematics, especially in order theory, a complete Heyting algebra is a Heyting algebra that is complete as a lattice. Complete Heyting algebras are the objects of three different categories; the category CHey, the category Loc of locales, and its opposite, the category Frm of frames. Although these three categories contain the same objects, they differ in their morphisms, and thus get distinct names. Only the morphisms of CHey are homomorphisms of complete Heyting algebras.

In mathematics, a join-semilattice is a partially ordered set that has a join for any nonempty finite subset. Dually, a meet-semilattice is a partially ordered set which has a meet for any nonempty finite subset. Every join-semilattice is a meet-semilattice in the inverse order and vice versa.

In abstract algebra, an interior algebra is a certain type of algebraic structure that encodes the idea of the topological interior of a set. Interior algebras are to topology and the modal logic S4 what Boolean algebras are to set theory and ordinary propositional logic. Interior algebras form a variety of modal algebras.

In mathematics, a field of sets is a mathematical structure consisting of a pair consisting of a set and a family of subsets of called an algebra over that contains the empty set as an element, and is closed under the operations of taking complements in finite unions, and finite intersections.

In mathematics, a simplicial set is an object composed of simplices in a specific way. Simplicial sets are higher-dimensional generalizations of directed graphs, partially ordered sets and categories. Formally, a simplicial set may be defined as a contravariant functor from the simplex category to the category of sets. Simplicial sets were introduced in 1950 by Samuel Eilenberg and Joseph A. Zilber.

In mathematics, a complete Boolean algebra is a Boolean algebra in which every subset has a supremum. Complete Boolean algebras are used to construct Boolean-valued models of set theory in the theory of forcing. Every Boolean algebra A has an essentially unique completion, which is a complete Boolean algebra containing A such that every element is the supremum of some subset of A. As a partially ordered set, this completion of A is the Dedekind–MacNeille completion.

In mathematics, a free Boolean algebra is a Boolean algebra with a distinguished set of elements, called generators, such that:

  1. Each element of the Boolean algebra can be expressed as a finite combination of generators, using the Boolean operations, and
  2. The generators are as independent as possible, in the sense that there are no relationships among them that do not hold in every Boolean algebra no matter which elements are chosen.

In mathematics and abstract algebra, a relation algebra is a residuated Boolean algebra expanded with an involution called converse, a unary operation. The motivating example of a relation algebra is the algebra 2X 2 of all binary relations on a set X, that is, subsets of the cartesian square X2, with RS interpreted as the usual composition of binary relations R and S, and with the converse of R as the converse relation.

Boolean algebra is a mathematically rich branch of abstract algebra. Stanford Encyclopaedia of Philosophy defines Boolean algebra as 'the algebra of two-valued logic with only sentential connectives, or equivalently of algebras of sets under union and complementation.' Just as group theory deals with groups, and linear algebra with vector spaces, Boolean algebras are models of the equational theory of the two values 0 and 1. Common to Boolean algebras, groups, and vector spaces is the notion of an algebraic structure, a set closed under some operations satisfying certain equations.

References

  1. 1 2 Weisstein
  2. Devlin 1979, p. 50
  3. Puntambekar 2007, pp. 1–2
  4. Riehl, Emily. Category Theory in Context. ISBN   978-0486809038.
  5. Mac Lane & Moerdijk 1992, p. 58

Bibliography