Math 2.0

Mathematical logic and foundations Proof

Proof of the cardinality of the power set by indicator functions

Builds on Power setIndicator functionBijective iff it has a two-sided inverseEquinumerous setsCardinality

Proof

We give a map with a two-sided inverse.

  1. Let AA be a set, and let {0,1}A\{0, 1\}^A be the set of functions from AA to {0,1}\{0, 1\}.
  2. Define Φ ⁣:𝒫(A)→{0,1}A\Phi \colon \mathcal{P}(A) \to \{0, 1\}^A on the power set by Φ(S)=𝟏S\Phi(S) = \mathbf{1}_S, the indicator function of SS. So 𝟏S(a)=1\mathbf{1}_S(a) = 1 if a∈Sa \in S, and 𝟏S(a)=0\mathbf{1}_S(a) = 0 if a∉Sa \notin S.
  3. Define Ψ ⁣:{0,1}A→𝒫(A)\Psi \colon \{0, 1\}^A \to \mathcal{P}(A) by Ψ(χ)={a∈A:χ(a)=1}\Psi(\chi) = \{a \in A : \chi(a) = 1\}.
  4. Let S⊆AS \subseteq A. Then Ψ(Φ(S))={a∈A:𝟏S(a)=1}=S\Psi(\Phi(S)) = \{a \in A : \mathbf{1}_S(a) = 1\} = S. So Ψ∘Φ\Psi \circ \Phi is the identity of 𝒫(A)\mathcal{P}(A).
  5. Let χ∈{0,1}A\chi \in \{0, 1\}^A and put S=Ψ(χ)S = \Psi(\chi). For a∈Aa \in A, 𝟏S(a)=1\mathbf{1}_S(a) = 1 exactly when a∈Sa \in S, that is, when χ(a)=1\chi(a) = 1.
  6. Both functions take only the values 00 and 11. So step 5 gives 𝟏S(a)=χ(a)\mathbf{1}_S(a) = \chi(a) for all aa, and Φ(Ψ(χ))=χ\Phi(\Psi(\chi)) = \chi.
  7. By steps 4 and 6, Φ\Phi has a two-sided inverse, so Φ\Phi is a bijection, since a map with a two-sided inverse is bijective. Thus 𝒫(A)\mathcal{P}(A) and {0,1}A\{0, 1\}^A are equinumerous.
  8. The cardinal 2∣A∣2^{|A|} is by definition the cardinality of {0,1}A\{0, 1\}^A. So step 7 gives ∣𝒫(A)∣=∣{0,1}A∣=2∣A∣|\mathcal{P}(A)| = |\{0, 1\}^A| = 2^{|A|}.

Idea

A subset of AA is the same information as a yes-or-no answer for each element of AA. The indicator function records these answers, and reading off the "yes" answers gives the subset back.

Reading path

To understand this page from the ground up, read these 28 pages in order. The foundations come first. The path takes the proof Proof that a function is bijective iff it has a two-sided inverse.

Show the path as a graph
Element, definition, no evidence levelElementdefinitionProposition, concept, no evidence levelPropositionconceptSet, definition, no evidence levelSetdefinitionImplication, definition, no evidence levelImplicationdefinitionPredicate, definition, no evidence levelPredicatedefinitionOrdered pair, definition, no evidence levelOrdered pairdefinitionExistential quantifier, definition, no evidence levelExistential quantifierdefinitionUniversal quantifier, definition, no evidence levelUniversal quantifierdefinitionCartesian product, definition, no evidence levelCartesian productdefinitionSubset, definition, no evidence levelSubsetdefinitionUniqueness quantifier, definition, no evidence levelUniqueness quantifierdefinitionBinary relation, definition, no evidence levelBinary relationdefinitionPower set, definition, no evidence levelPower setdefinitionFunction, definition, no evidence levelFunctiondefinitionCodomain, definition, no evidence levelCodomaindefinitionFunction composition, definition, no evidence levelFunction compositiondefinitionIdentity function, definition, no evidence levelIdentity functiondefinitionInjective function, definition, no evidence levelInjective functiondefinitionIndicator function, definition, no evidence levelIndicator functiondefinitionSurjective function, definition, no evidence levelSurjective functiondefinitionLeft inverse, definition, no evidence levelLeft inversedefinitionRight inverse, definition, no evidence levelRight inversedefinitionBijective function, definition, no evidence levelBijective functiondefinitionEquinumerous sets, definition, no evidence levelEquinumerous setsdefinitionProof that a function is bijective iff it has a two-sided inverse, proof, no evidence levelProof that a function…proofCardinality, definition, no evidence levelCardinalitydefinitionBijective iff it has a two-sided inverse, statement, no evidence levelBijective iff it has …statementProof of the cardinality of the power set by indicator functions, proof, no evidence levelProof of the cardinal…proof
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Proposition concept
  3. Set definition
  4. Implication definition
  5. Predicate definition
  6. Ordered pair definition
  7. Existential quantifier definition
  8. Universal quantifier definition
  9. Cartesian product definition
  10. Subset definition
  11. Uniqueness quantifier definition
  12. Binary relation definition
  13. Power set definition
  14. Function definition
  15. Codomain definition
  16. Function composition definition
  17. Identity function definition
  18. Injective function definition
  19. Indicator function definition
  20. Surjective function definition
  21. Left inverse definition
  22. Right inverse definition
  23. Bijective function definition
  24. Equinumerous sets definition
  25. Proof that a function is bijective iff it has a two-sided inverse proof
  26. Cardinality definition
  27. Bijective iff it has a two-sided inverse statement
  28. Proof of the cardinality of the power set by indicator functions proof

Where this leads

3 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Power_set, Representing subsets as functions
About this page
TagFQY7VCE2AJ
URIm2://FQY7VCE2AJ
Kindproof
WritingW0 stub
MSC03E10
ProvesCardinality of the power set
UsesPower set, Indicator function, Bijective iff it has a two-sided inverse, Equinumerous sets, Cardinality
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.