Math 2.0

Combinatorics Proof

Proof of the number of subsets of a finite set by indicator functions

Builds on Power setIndicator functionNumber of functions between finite setsBijection principleBijective iff it has a two-sided inverse

Proof

We build a bijection from the power set to a set of functions.

  1. Let F={0,1}XF = \set{0, 1}^X be the set of all functions from XX to {0,1}\set{0, 1}.
  2. Define Φ:𝒫(X)→F\Phi : \mathcal{P}(X) \to F by Φ(S)=1S\Phi(S) = 1_S, the indicator function of SS. So 1S(x)=11_S(x) = 1 for x∈Sx \in S and 1S(x)=01_S(x) = 0 for x∈X∖Sx \in X \setminus S.
  3. Define Ψ:F→𝒫(X)\Psi : F \to \mathcal{P}(X) by Ψ(φ)={x∈X:φ(x)=1}\Psi(\varphi) = \set{x \in X : \varphi(x) = 1}.
  4. For S⊆XS \subseteq X, the set Ψ(Φ(S))\Psi(\Phi(S)) is the set of xx with 1S(x)=11_S(x) = 1. This is SS.
  5. For φ∈F\varphi \in F, let T=Ψ(φ)T = \Psi(\varphi). Then 1T(x)=1=φ(x)1_T(x) = 1 = \varphi(x) for x∈Tx \in T.
  6. For x∉Tx \notin T we have φ(x)≠1\varphi(x) \ne 1. Since φ\varphi takes values in {0,1}\set{0, 1}, this gives φ(x)=0=1T(x)\varphi(x) = 0 = 1_T(x). So Φ(Ψ(φ))=φ\Phi(\Psi(\varphi)) = \varphi.
  7. Thus Φ\Phi has a two-sided inverse, so it is a bijection by the inverse criterion.
  8. By the number of functions between finite sets, FF is finite and ∣F∣=2n|F| = 2^n.
  9. A numbering of FF composed with Ψ\Psi numbers 𝒫(X)\mathcal{P}(X). So 𝒫(X)\mathcal{P}(X) is finite, and the bijection principle gives ∣𝒫(X)∣=∣F∣=2n|\mathcal{P}(X)| = |F| = 2^n.

Idea

A subset is determined by answering "in or out?" for each element. The answers form a function from XX to {0,1}\set{0, 1}, and every such function arises from exactly one subset. So subsets are counted by functions, and there are 2n2^n of those.

Reading path

To understand this page from the ground up, read these 44 pages in order. The foundations come first. The path takes the proofs Proof that a composition of injections is injective, Proof that a function is bijective iff it has a two-sided inverse, Proof of the rule of product, Proof of the number of functions between finite sets, Proof that a composition of surjections is surjective, Proof of the rule of sum, Proof of the bijection principle.

  1. Cardinality of a finite set definition
  2. Element definition
  3. Proposition concept
  4. Set definition
  5. Conjunction definition
  6. Implication definition
  7. Predicate definition
  8. Empty set object
  9. Ordered pair definition
  10. Intersection definition
  11. Existential quantifier definition
  12. Universal quantifier definition
  13. Cartesian product definition
  14. Disjoint sets definition
  15. Subset definition
  16. Uniqueness quantifier definition
  17. Binary relation definition
  18. Power set definition
  19. Function definition
  20. Codomain definition
  21. Function composition definition
  22. Identity function definition
  23. Injective function definition
  24. Indicator function definition
  25. Restriction of a function definition
  26. Surjective function definition
  27. Left inverse definition
  28. Right inverse definition
  29. Proof that a composition of injections is injective proof
  30. Proof that a composition of surjections is surjective proof
  31. Bijective function definition
  32. Composition of injections is injective statement
  33. Composition of surjections is surjective statement
  34. Proof of the rule of sum proof
  35. Proof that a function is bijective iff it has a two-sided inverse proof
  36. Rule of sum statement
  37. Bijective iff it has a two-sided inverse statement
  38. Proof of the rule of product proof
  39. Proof of the bijection principle proof
  40. Rule of product statement
  41. Bijection principle statement
  42. Proof of the number of functions between finite sets proof
  43. Number of functions between finite sets statement
  44. Proof of the number of subsets of a finite set by indicator functions proof

Where this leads

3 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Cardinality_of_Power_Set_of_Finite_Set
About this page
TagAXAH8H9YHP
URIm2://AXAH8H9YHP
Kindproof
WritingW0 stub
MSC05A05
ProvesNumber of subsets of a finite set
UsesPower set, Indicator function, Number of functions between finite sets, Bijection principle, Bijective iff it has a two-sided inverse
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)
  • a source with a locator (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.