Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Power set

From Wikipedia, the free encyclopedia
Mathematical set of all subsets of a set
For the search engine developer, seePowerset (company).
Power set
The elements of the power set of {x,y,z}ordered with respect toinclusion.
TypeSet operation
FieldSet theory
StatementThe power set is the set that contains all subsets of a given set.
Symbolic statementxP(S)xS{\displaystyle x\in P(S)\iff x\subseteq S}

Inmathematics, thepower set (orpowerset) of asetS is the set of allsubsets ofS, including theempty set andS itself.[1] Inaxiomatic set theory (as developed, for example, in theZFC axioms), the existence of the power set of any set ispostulated by theaxiom of power set.[2] The powerset ofS is variously denoted asP(S),𝒫(S),P(S),P(S){\displaystyle \mathbb {P} (S)}, or2S.[a]Any subset ofP(S) is called afamily of sets overS.

Example

[edit]

IfS is the set{x,y,z}, then all the subsets ofS are

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

Properties

[edit]

IfS is a finite set with thecardinality|S| =n (i.e., the number of all elements in the setS isn), then the number of all the subsets ofS is|P(S)| = 2n. This fact as well as the reason of the notation2S denoting the power setP(S) are demonstrated in the below.

Anindicator function or a characteristic function of a subsetA of a setS with the cardinality|S| =n is a function fromS to the two-element set{0, 1}, denoted asIA :S → {0, 1}, and it indicates whether an element ofS belongs toA or not; Ifx inS belongs toA, thenIA(x) = 1, and0 otherwise. Each subsetA ofS is identified by or equivalent to the indicator functionIA, and{0,1}S as the set of all the functions fromS to{0, 1} consists of all the indicator functions of all the subsets ofS. In other words,{0, 1}S is equivalent orbijective to the power setP(S). Since each element inS corresponds to either0 or1 under any function in{0, 1}S, the number of all the functions in{0, 1}S is2n. Since the number2 can be defined as{0, 1} (see, for example,von Neumann ordinals), theP(S) is also denoted as2S. Obviously|2S| = 2|S| holds. Generally speaking,XY is the set of all functions fromY toX and|XY| = |X||Y|.

Cantor's diagonal argument shows that the power set of a set (whether infinite or not) always has strictly highercardinality 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 acountably infinite set isuncountably infinite. The power set of the set ofnatural numbers can be put in aone-to-one correspondence with the set ofreal numbers (seeCardinality of the continuum).

The power set of a setS, together with the operations ofunion,intersection andcomplement, is aσ-algebra overS and can be viewed as the prototypical example of aBoolean algebra. In fact, one can show that anyfinite Boolean algebra isisomorphic to the Boolean algebra of the power set of a finite set. Forinfinite Boolean algebras, this is no longer true, but every infinite Boolean algebra can be represented as asubalgebra of a power set Boolean algebra (seeStone's representation theorem).

The power set of a setS forms anabelian group when it is considered with the operation ofsymmetric difference (with the empty set as the identity element and each set being its own inverse), and acommutativemonoid when considered with the operation of intersection (with the entire setS as the identity element). It can hence be shown, by proving thedistributive laws, that the power set considered together with both of these operations forms aBoolean ring.

Representing subsets as functions

[edit]

Inset theory,XY is the notation representing the set of allfunctions fromY toX. As "2" can be defined as{0, 1} (see, for example,von Neumann ordinals),2S (i.e.,{0, 1}S) is the set of allfunctions fromS to{0, 1}. Asshown above,2S and the power set ofS,P(S), are considered identical set-theoretically.

This equivalence can be applied to the exampleabove, in whichS = {x,y,z}, to get theisomorphism with the binary representations of numbers from 0 to2n − 1, withn being the number of elements in the setS 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 ofS in a sequence of binary digits such as{x,y} = 011(2);x ofS is located at the first from the right of this sequence andy is at the second from the right, and 1 in the sequence means the element ofS corresponding to the position of it in the sequence exists in the subset ofS for the sequence while 0 means it does not.

For the whole power set ofS, 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 aninjective mapping fromP(S) to integers is arbitrary, so this representation of all the subsets ofS 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 fromP(S) to the integers without changing the number of one-to-one correspondences.)

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

Relation to binomial theorem

[edit]

Thebinomial theorem is closely related to the power set. Ak–elements combination from some set is another name for ak–elements subset, so the number ofcombinations, denoted asC(n,k) (also calledbinomial coefficient) is a number of subsets withk elements in a set withn elements; in other words it's the number of sets withk elements which are elements of the power set of a set withn elements.

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

  • C(3, 0) = 1 subset with0 elements (the empty subset),
  • C(3, 1) = 3 subsets with1 element (the singleton subsets),
  • C(3, 2) = 3 subsets with2 elements (the complements of the singleton subsets),
  • C(3, 3) = 1 subset with3 elements (the original set itself).

Using this relationship, we can compute|2S| using the formula:|2S|=k=0|S|(|S|k){\displaystyle \left|2^{S}\right|=\sum _{k=0}^{|S|}{\binom {|S|}{k}}}

Therefore, one can deduce the following identity, assuming|S| =n:|2S|=2n=k=0n(nk){\displaystyle \left|2^{S}\right|=2^{n}=\sum _{k=0}^{n}{\binom {n}{k}}}

Recursive definition

[edit]

IfS is afinite set, then arecursive definition ofP(S) proceeds as follows:

  • IfS = {}, thenP(S) = { {} }.
  • Otherwise, leteS andT =S ∖ {e}; thenP(S) =P(T) ∪ {t ∪ {e} :tP(T)}.

In words:

  • The power set of theempty set is asingleton whose only element is the empty set.
  • For a non-empty setS, lete{\displaystyle e} be any element of the set andT itsrelative complement; then the power set ofS is aunion of a power set ofT and a power set ofT whose each element is expanded with thee element.

Subsets of limited cardinality

[edit]

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

Power object

[edit]
This sectiondoes notcite anysources. Please helpimprove this section byadding citations to reliable sources. Unsourced material may be challenged andremoved.
Find sources: "Power set" – news ·newspapers ·books ·scholar ·JSTOR
(February 2025) (Learn how and when to remove this message)

A set can be regarded as analgebra having no nontrivial operations or defining equations. From this perspective, the concept of the power set ofX as the set of all subsets ofX generalizes naturally to the set to all subalgebras of analgebraic 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 thelattice 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 analgebraic lattice, and every algebraic lattice arises as the lattice of subalgebras of some algebra.[4] 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 of2 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 ofmultigraphs. Given two multigraphsG andH, ahomomorphismh :GH consists of two functions, one mapping vertices to vertices and the other mapping edges to edges. The setHG of homomorphisms fromG toH 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 multigraphG are in bijection with the graph homomorphisms fromG to the multigraphΩ definable as thecomplete 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 ofG as the multigraphΩG, called thepower object ofG.

What is special about a multigraph as an algebra is that its operations are unary. A multigraph has two sorts of elements forming a setV of vertices andE of edges, and has two unary operationss,t :EV giving the source (start) and target (end) vertices of each edge. An algebra all of whose operations are unary is called apresheaf. Every class of presheaves contains a presheafΩ that plays the role for subalgebras that2 plays for subsets. Such a class is a special case of the more general notion of elementarytopos as acategory that isclosed (and moreovercartesian closed) and has an objectΩ, called asubobject classifier. Although the term "power object" is sometimes used synonymously withexponential objectYX, in topos theoryY is required to beΩ.

Functors and quantifiers

[edit]

There is both a covariant and contravariant power setfunctor,P: Set → Set andP: Setop → Set. The covariant functor is defined more simply as the functor which sends a setS toP(S) and a morphismf:ST (here, a function between sets) to the image morphism. That is, forA={x1,x2,...}P(S),Pf(A)={f(x1),f(x2),...}P(T){\displaystyle A=\{x_{1},x_{2},...\}\in {\mathsf {P}}(S),{\mathsf {P}}f(A)=\{f(x_{1}),f(x_{2}),...\}\in {\mathsf {P}}(T)}. Elsewhere in this article, the power set was defined as the set of functions ofS into the set with 2 elements. Formally, this defines a natural isomorphismP¯Set(,2){\displaystyle {\overline {\mathsf {P}}}\cong {\text{Set}}(-,2)}. The contravariant power set functor is different from the covariant version in that it sendsf to thepreimage morphism, so that iff(A)=BT,P¯f(B)=A{\displaystyle f(A)=B\subseteq T,{\overline {\mathsf {P}}}f(B)=A}. This is because a general functorC(,c){\displaystyle {\text{C}}(-,c)} takes a morphismh:ab{\displaystyle h:a\rightarrow b} to precomposition byh, so a functionh:C(b,c)C(a,c){\displaystyle h^{*}:C(b,c)\rightarrow C(a,c)}, which takes morphisms fromb toc and takes them to morphisms froma toc, throughb viah.[5]

Incategory theory and the theory ofelementary topoi, theuniversal quantifier can be understood as theright adjoint of afunctor between power sets, theinverse image functor of a function between sets; likewise, theexistential quantifier is theleft adjoint.[6]

See also

[edit]

Notes

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

References

[edit]
  1. ^abWeisstein
  2. ^Devlin 1979, p. 50
  3. ^Puntambekar 2007, pp. 1–2
  4. ^Birkhoff, Garrett; Frink, Orrin, Jr. (1948)."Representations of Lattices by Sets"(PDF).Transactions of the American Mathematical Society.64 (2):299–316.doi:10.1090/S0002-9947-1948-0027263-2.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  5. ^Riehl, Emily (16 November 2016).Category Theory in Context. Courier Dover Publications.ISBN 978-0486809038.
  6. ^Mac Lane & Moerdijk 1992, p. 58

Bibliography

[edit]

External links

[edit]
Look uppower set in Wiktionary, the free dictionary.
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Overview
Venn diagram of set intersection
Axioms
Operations
  • Concepts
  • Methods
Set types
Theories
Set theorists
Retrieved from "https://en.wikipedia.org/w/index.php?title=Power_set&oldid=1317871559"
Category:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp