!main_tags!Power Set - discrete-mathematics | What's Your IQ !main_header!

Definition

Basic Concept

Power set of a set S: collection of all subsets of S, including empty set and S itself.

Formal Definition

Given set S, power set P(S) = { A | A βŠ† S }.

Set Inclusion

Every element of P(S) is a subset of S. P(S) βŠ† β„˜(U) if S βŠ† U.

Notation and Terminology

Symbol

Power set denoted by 𝒫(S), 2^S, or β„˜(S).

Subsets

Elements of power set called subsets or members of 𝒫(S).

Universal Set Context

Power set depends on base set S; universal set U may contain S, but irrelevant to definition.

Cardinality

Formula

|𝒫(S)| = 2^|S|, where |S| is cardinality of S.

Finite Sets

If S finite with n elements, 𝒫(S) has 2^n elements.

Infinite Sets

For infinite S, |𝒫(S)| > |S| by Cantor's theorem (uncountably infinite).

Construction Methods

Iterative Approach

Start with empty set; add elements one by one; generate subsets by union.

Recursive Definition

𝒫(βˆ…) = {βˆ…}; for x βˆ‰ S, 𝒫(S βˆͺ {x}) = 𝒫(S) βˆͺ { A βˆͺ {x} | A ∈ 𝒫(S) }.

Algorithmic Generation

Use bitmask or backtracking to enumerate all subsets.

Examples

Empty Set

𝒫(βˆ…) = {βˆ…} with cardinality 1.

Singleton Set

For S = {a}, 𝒫(S) = {βˆ…, {a}}.

Set with Two Elements

For S = {a,b}, 𝒫(S) = {βˆ…, {a}, {b}, {a,b}}.

Set S Power Set 𝒫(S) Cardinality
βˆ… {βˆ…} 1
{a} {βˆ…, {a}} 2
{a,b} {βˆ…, {a}, {b}, {a,b}} 4

Binary Representation

Mapping to Bit Strings

Each subset corresponds to an n-bit binary vector; bit 1 means element included.

Example

For S = {a,b,c}, subset {a,c} maps to 101 (a=1,b=0,c=1).

Enumeration Algorithm

Iterate i = 0 to 2^n -1; i's binary form indicates subset.

for i in 0..2^n-1: subset = {} for j in 0..n-1: if (i >> j) & 1 == 1:  subset.add(S[j]) output subset

Properties

Containment

𝒫(S) always contains βˆ… and S.

Closure

Closed under union, intersection, complement (with respect to S).

Partial Order

Ordered by βŠ†; forms a partially ordered set (poset).

Boolean Algebra

𝒫(S) with union, intersection, complement forms Boolean algebra.

Algebraic Structure

Lattice

𝒫(S) is a lattice with meet = intersection, join = union.

Distributivity

Lattice is distributive: meet and join distribute over each other.

Complementation

Complement of subset A is S \ A; unique complement exists.

Given A βŠ† S: complement(A) = { x ∈ S | x βˆ‰ A }

Applications

Combinatorics

Counting subsets, combinations, binomial coefficients.

Logic and Boolean Algebra

Modeling propositions, truth assignments, logical expressions.

Computer Science

State space exploration, power set construction in automata theory.

Probability

Event space representation, sigma-algebras start from power sets.

Computational Aspects

Algorithmic Complexity

Generating 𝒫(S) takes O(2^n) time and space for |S|=n.

Data Structures

Bit vectors, arrays, trees used to store or traverse 𝒫(S).

Practical Limitations

Exponential growth limits use to small or structured sets.

Limitations and Complexity

Exponential Growth

Size doubles with each new element; infeasible for large sets.

Memory Constraints

Storing 2^n subsets requires exponential memory.

Computational Hardness

Many problems on subsets are NP-hard due to power set size.

Set Size (n) Power Set Size (2^n) Remarks
10 1,024 Manageable
20 1,048,576 High resource use
30 1,073,741,824 Impractical

References

  • Halmos, P.R., Naive Set Theory, Springer, 1974, pp. 37-45.
  • Enderton, H.B., Elements of Set Theory, Academic Press, 1977, pp. 55-60.
  • Rosen, K.H., Discrete Mathematics and Its Applications, McGraw-Hill, 7th Ed., 2011, pp. 164-170.
  • Simmons, H., Introduction to Topology and Modern Analysis, McGraw-Hill, 1963, pp. 21-27.
  • GrΓ€tzer, G., General Lattice Theory, BirkhΓ€user, 2003, pp. 5-15.
!main_footer!