MathorynMathematical Formula Database

Set Theory & Logic

Number of Subsets (Power Set)

A set with nn elements has 2n2^n subsets, because each element is either in or out of a subset. The set of all subsets is the power set. It is used in counting, probability and in Cantor's theorem that the power set is always larger than the set.

∣P(A)∣=2∣A∣|\mathcal P(A)|=2^{|A|}
LaTeX|\mathcal P(A)|=2^{|A|}

Variables

P(A)\mathcal P(A)
power set of A
∣A∣|A|
number of elements of A

Example

How many subsets does {a,b,c,d,e}\{a,b,c,d,e\} have? How many proper subsets?

  1. 25=322^5=32 subsets.
  2. Excluding the set itself: 32−132-1.

Answer: 3232 subsets, 3131 proper subsets.

Related formulas