Skip to main content

1.2 Subsets, Power Sets & Set Membership Algebra

πŸ“šModule 01: Set Theory & CardinalityTopic 1.2: Subsets, Power Sets & Set Membership Algebra⏱️5 min read
🎯High-Yield For:Semester Exams β€’ GATE CSE β€’ Technical Interviews

πŸ’‘ Core Intuition: The 3-Second Mental Model​

🍳 The Everyday Analogy: The Operating System Directory Tree​

Imagine inspecting a directory tree on a modern operating system:

  1. The Direct Item (Element ∈\in): A file report.pdf sitting inside folder Project/ is an element of that folder (report.pdf ∈\in Project/).
  2. The Archive / Sub-Collection (Subset βŠ†\subseteq): If you create a zip archive containing a subset of the files from Project/, that archive is a subset of Project/. Every file inside the archive is also inside Project/.
  3. The Subdirectory Trap (Nested Sets): If Project/ contains a subdirectory named backup/, that subdirectory itself is an element of Project/. But the files inside backup/ are not loose in Project/! They cannot be referenced as direct files of Project/ without traversing the inner container first.
  4. The Power Set: The power set is the collection of all possible zip archives you could ever create by picking any combination of files from Project/β€”from the empty archive containing nothing, up to the full archive containing everything!

πŸ’» Bridging to Computer Science: Bitmask State Spaces & Access Control Matrices​

In hardware design and software engineering, the power set represents the state space of an nn-bit configuration register or the space of all possible cache line configurations. In database access control, permissions are evaluated over power sets: if an application defines nn user privileges (read, write, execute, admin), the security engine evaluates access across all 2n2^n possible permission combinations.


βš–οΈ Equivalent Sets vs Equal Sets​

Before examining subsets, we must distinguish between sets that share the same magnitude and sets that share the same identity.

1. Equivalent Sets​

Two sets AA and BB are equivalent (denoted A∼BA \sim B or Aβ‰ˆBA \approx B) if and only if they possess identical cardinality:

πŸ“–Definition 1.5: Set Equivalencedefinition
A∼Bβ€…β€ŠβŸΊβ€…β€Šβˆ£A∣=∣B∣A \sim B \iff |A| = |B|

For finite sets, equivalence means they have the exact same count of elements. For infinite sets, equivalence requires a 1-to-1 bijective mapping between them (e.g., ∣N∣=∣Z∣=β„΅0|\mathbb{N}| = |\mathbb{Z}| = \aleph_0).

2. Equal Sets​

Two sets AA and BB are equal if and only if every element of AA belongs to BB, and every element of BB belongs to AA:

πŸ“–Definition 1.6: Set Equalitydefinition
A=Bβ€…β€ŠβŸΊβ€…β€Šβˆ€x(x∈A↔x∈B)β€…β€ŠβŸΊβ€…β€Š(AβŠ†B∧BβŠ†A)A = B \iff \forall x (x \in A \leftrightarrow x \in B) \iff (A \subseteq B \land B \subseteq A)
Equal Sets (A = B)          ==>  Always Equivalent (|A| = |B|)
Equivalent Sets (|A| = |B|) ==> NOT Necessarily Equal (Elements may differ)

Concrete Example:

  • Let A={1,2,3}A = \{1, 2, 3\} and B={x,y,z}B = \{x, y, z\}. Here ∣A∣=3|A| = 3 and ∣B∣=3|B| = 3. Hence, A∼BA \sim B (equivalent), but Aβ‰ BA \neq B.
  • Now let C={3,1,2}C = \{3, 1, 2\}. Here A=CA = C and ∣A∣=∣C∣=3|A| = |C| = 3. Equal sets are always equivalent.

πŸ“¦ Subset Inclusion & Proper Subsets​

A set AA is a subset of set BB (denoted AβŠ†BA \subseteq B) if every element belonging to AA also belongs to BB.

πŸ“–Definition 1.7: Subset Inclusion & Proper Subsetdefinition
AβŠ†Bβ€…β€ŠβŸΊβ€…β€Šβˆ€x(x∈Aβ€…β€ŠβŸΉβ€…β€Šx∈B)A \subseteq B \iff \forall x (x \in A \implies x \in B)AβŠ‚Bβ€…β€ŠβŸΊβ€…β€Š(AβŠ†B∧Aβ‰ B)A \subset B \iff (A \subseteq B \land A \neq B)

Conversely, to prove that AA is not a subset of BB (AβŠ†ΜΈBA \not\subseteq B), we must find at least one witness element xx such that:

βˆƒx(x∈A∧xβˆ‰B)\exists x (x \in A \land x \notin B)

When AβŠ†BA \subseteq B, we also say that BB is a superset of AA (denoted BβŠ‡AB \supseteq A).

Subsets Cardinality Formulas​

πŸ“Formula 1.1: Combinatorial Subset Counting Formulasformula

For any finite set AA with ∣A∣=n|A| = n elements:

  1. Total Number of Subsets: Nsubsets=2nN_{\text{subsets}} = 2^n
  2. Total Number of Proper Subsets: Nproper=2nβˆ’1(excludingΒ theΒ improperΒ subsetΒ AΒ itself)N_{\text{proper}} = 2^n - 1 \quad \text{(excluding the improper subset } A \text{ itself)}
  3. Total Number of Non-Empty Proper Subsets: Nnon-emptyΒ proper=2nβˆ’2(excludingΒ βˆ…Β andΒ A)N_{\text{non-empty proper}} = 2^n - 2 \quad \text{(excluding } \emptyset \text{ and } A\text{)}

Foundational Properties of Subsets​

  • The Empty Set Invariant: βˆ…βŠ†A\emptyset \subseteq A for every set AA.
    • Formal Proof via Vacuous Truth: The condition requires βˆ€x(xβˆˆβˆ…β€…β€ŠβŸΉβ€…β€Šx∈A)\forall x (x \in \emptyset \implies x \in A). Because the empty set has no elements, the premise xβˆˆβˆ…x \in \emptyset is identically False for all xx. Under formal logic, a conditional statement with a False antecedent is always True (Fβ†’P≑T\mathbf{F} \to P \equiv \mathbf{T}). Therefore, βˆ…βŠ†A\emptyset \subseteq A holds universally.
  • Reflexivity: AβŠ†AA \subseteq A for every set AA.
  • Transitivity: If AβŠ†BA \subseteq B and BβŠ†CB \subseteq C, then AβŠ†CA \subseteq C.
  • Antisymmetry: If AβŠ†BA \subseteq B and BβŠ†AB \subseteq A, then A=BA = B.

πŸ” The Element vs Subset Disambiguation Matrix​

The boundary between element membership (∈\in) and subset containment (βŠ†\subseteq) is one of the most vital distinctions in discrete mathematics.

Element Membership (∈) vs Subset Inclusion (βŠ†)

The fundamental syntactic and structural boundary in set theory

Membership

Element Membership (x ∈ A)

🎯
Dominant Architecture / DomainDirect Container Association
  • β€’Relates an individual element x directly to a container set A.
  • β€’x must appear explicitly as a top-level item inside the braces of A.
  • β€’Strip away the outer braces of A: if x is directly listed, then x ∈ A.
  • β€’Example: If A = {1, {2}}, then 1 ∈ A and {2} ∈ A, but 2 βˆ‰ A.
"x ∈ A asks: 'Is x directly sitting on the shelf inside container A?'"
Inclusion

Subset Inclusion (X βŠ† A)

πŸ“¦
Dominant Architecture / DomainSub-Collection Relationship
  • β€’Relates one container set X to another container set A.
  • β€’Every single element belonging to X must independently belong to A.
  • β€’Take every item inside X: each item must satisfy item ∈ A.
  • β€’Example: If A = {1, {2}}, then {1} βŠ† A and {{2}} βŠ† A, but {2} ⊈ A.
"X βŠ† A asks: 'Is every single item inside box X also sitting on the shelf inside A?'"

The Diagnostic Test Case​

Consider the test set:

A={1,β€…β€Š2,β€…β€Š{3},β€…β€Šβˆ…}A = \{1, \; 2, \; \{3\}, \; \emptyset\}

Let us evaluate the exact truth value of 10 classic membership and inclusion statements:

StatementTruth ValueJustification & Verification Rule
1∈A1 \in ATrue11 is an explicitly enumerated top-level member of AA.
{1}∈A\{1\} \in AFalseThe singleton {1}\{1\} is not an element of AA; only the naked integer 11 is.
{1}βŠ†A\{1\} \subseteq ATrueThe element inside {1}\{1\} is 11, which satisfies 1∈A1 \in A.
3∈A3 \in AFalse33 is encapsulated inside an inner set {3}\{3\}; not a direct element of AA.
{3}∈A\{3\} \in ATrueThe object {3}\{3\} is explicitly listed as a member of AA.
{3}βŠ†A\{3\} \subseteq AFalseFor {3}βŠ†A\{3\} \subseteq A, 33 must belong to AA, but 3βˆ‰A3 \notin A.
{{3}}βŠ†A\{\{3\}\} \subseteq ATrueThe element inside {{3}}\{\{3\}\} is {3}\{3\}, and {3}∈A\{3\} \in A.
βˆ…βˆˆA\emptyset \in ATrueβˆ…\emptyset is explicitly written as a member of AA.
βˆ…βŠ†A\emptyset \subseteq ATrueUniversally true for every set (vacuous truth).
{βˆ…}βŠ†A\{\emptyset\} \subseteq ATrueThe element inside {βˆ…}\{\emptyset\} is βˆ…\emptyset, and βˆ…βˆˆA\emptyset \in A.

The Classic Nested Trap: Sets with Nested Empty Elements​

Consider the classic trap set A={βˆ…,{βˆ…}}A = \{\emptyset, \{\emptyset\}\}:

  • Cardinality: ∣A∣=2|A| = 2 (the two top-level elements are βˆ…\emptyset and {βˆ…}\{\emptyset\}).
  • Power Set: Contains 22=42^2 = 4 subsets: P(A)={βˆ…,β€…β€Š{βˆ…},β€…β€Š{{βˆ…}},β€…β€Š{βˆ…,{βˆ…}}}\mathcal{P}(A) = \big\{ \emptyset, \; \{\emptyset\}, \; \{\{\emptyset\}\}, \; \{\emptyset, \{\emptyset\}\} \big\}
PropositionEvaluationMental Model Rule
βˆ…βˆˆA\emptyset \in ATrueβˆ…\emptyset is the first top-level element.
βˆ…βŠ†A\emptyset \subseteq ATrueβˆ…\emptyset is a subset of every set.
{βˆ…}∈A\{\emptyset\} \in ATrue{βˆ…}\{\emptyset\} is the second top-level element.
{βˆ…}βŠ†A\{\emptyset\} \subseteq ATrueIts member βˆ…βˆˆA\emptyset \in A.
{{βˆ…}}∈A\{\{\emptyset\}\} \in AFalse{{βˆ…}}\{\{\emptyset\}\} is not listed as a top-level element.
{{βˆ…}}βŠ†A\{\{\emptyset\}\} \subseteq ATrueIts member {βˆ…}∈A\{\emptyset\} \in A.
A∈P(A)A \in \mathcal{P}(A)TrueEvery set is an element of its own power set.
AβŠ†P(A)A \subseteq \mathcal{P}(A)Falseβˆ…βˆˆA\emptyset \in A and βˆ…βˆˆP(A)\emptyset \in \mathcal{P}(A), but {βˆ…}∈A\{\emptyset\} \in A while {βˆ…}βŠ†A\{\emptyset\} \subseteq A (an element vs set mismatch).

⚑ The Power Set & Combinatorial Cardinality​

The power set of a set AA, denoted by P(A)\mathcal{P}(A) or 2A2^A, is the set of all possible subsets of AA.

πŸ“–Definition 1.8: The Power Setdefinition
P(A)=2A={S∣SβŠ†A}\mathcal{P}(A) = 2^A = \{S \mid S \subseteq A\}S∈P(A)β€…β€ŠβŸΊβ€…β€ŠSβŠ†AS \in \mathcal{P}(A) \iff S \subseteq A
πŸ”Proof 1.2: Combinatorial Proof of Power Set Cardinalityproof

Theorem: If a set AA has cardinality ∣A∣=n|A| = n, then ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n.

Proof: Let A={a1,a2,…,an}A = \{a_1, a_2, \dots, a_n\}. To construct any arbitrary subset SβŠ†AS \subseteq A, we examine each element aia_i sequentially and make a binary choice:

  • Choice 1: Include aia_i in SS (11).
  • Choice 2: Exclude aia_i from SS (00).

Because the decision for each of the nn elements is mutually independent:

∣P(A)∣=2Γ—2Γ—2Γ—β‹―Γ—2⏟nΒ decisions=2n|\mathcal{P}(A)| = \underbrace{2 \times 2 \times 2 \times \dots \times 2}_{n \text{ decisions}} = 2^n

Equivalently, summing the binomial coefficients over all subset sizes k∈{0,1,…,n}k \in \{0, 1, \dots, n\}:

∣P(A)∣=βˆ‘k=0n(nk)=(n0)+(n1)+β‹―+(nn)=2n|\mathcal{P}(A)| = \sum_{k=0}^{n} \binom{n}{k} = \binom{n}{0} + \binom{n}{1} + \dots + \binom{n}{n} = 2^n

Concrete Expansion of the Power Set​

For A={a,b,c}A = \{a, b, c\} where ∣A∣=3|A| = 3, the power set contains 23=82^3 = 8 subsets:

P(A)={βˆ…,β€…β€Š{a},β€…β€Š{b},β€…β€Š{c},β€…β€Š{a,b},β€…β€Š{b,c},β€…β€Š{a,c},β€…β€Š{a,b,c}}\mathcal{P}(A) = \big\{ \emptyset, \; \{a\}, \; \{b\}, \; \{c\}, \; \{a, b\}, \; \{b, c\}, \; \{a, c\}, \; \{a, b, c\} \big\}

πŸ—οΈ Iterated Power Sets & Recursive Towers​

What happens when we recursively apply the power set operation to the empty set? This generates the foundational set-theoretic hierarchy of numbers.

Recursive Iterated Power Set Construction from the Empty Set

Step-by-step expansion trace of iterated power set operations starting from the null set

Base State (P⁰)
Level 1 (PΒΉ)
Level 2 (PΒ²)
Level 3 (PΒ³)
1
Base State (P⁰)β†’Level 1 (PΒΉ)

Power Set of Empty Set: P(βˆ…)

2
Level 1 (PΒΉ)β†’Level 2 (PΒ²)

Power Set of P(βˆ…): P({βˆ…})

3
Level 2 (PΒ²)β†’Level 3 (PΒ³)

Power Set of P(P(βˆ…)): P({βˆ…, {βˆ…}})

Iteration Trace and Cardinality Growth​

Let Pk(S)\mathcal{P}^k(S) denote kk repeated applications of the power set operation:

  1. Iteration 0: S0=βˆ…β€…β€ŠβŸΉβ€…β€Šβˆ£S0∣=0S_0 = \emptyset \implies |S_0| = 0
  2. Iteration 1: S1=P(βˆ…)={βˆ…}β€…β€ŠβŸΉβ€…β€Šβˆ£S1∣=20=1S_1 = \mathcal{P}(\emptyset) = \{\emptyset\} \implies |S_1| = 2^0 = 1
  3. Iteration 2: S2=P(P(βˆ…))={βˆ…,β€…β€Š{βˆ…}}β€…β€ŠβŸΉβ€…β€Šβˆ£S2∣=21=2S_2 = \mathcal{P}(\mathcal{P}(\emptyset)) = \{\emptyset, \; \{\emptyset\}\} \implies |S_2| = 2^1 = 2
  4. Iteration 3: S3=P(P(P(βˆ…)))={βˆ…,β€…β€Š{βˆ…},β€…β€Š{{βˆ…}},β€…β€Š{βˆ…,{βˆ…}}}β€…β€ŠβŸΉβ€…β€Šβˆ£S3∣=22=4S_3 = \mathcal{P}(\mathcal{P}(\mathcal{P}(\emptyset))) = \big\{ \emptyset, \; \{\emptyset\}, \; \{\{\emptyset\}\}, \; \{\emptyset, \{\emptyset\}\} \big\} \implies |S_3| = 2^2 = 4
  5. Iteration 4: ∣S4∣=∣P4(βˆ…)∣=24=16|S_4| = |\mathcal{P}^4(\emptyset)| = 2^4 = 16
  6. Iteration 5: ∣S5∣=∣P5(βˆ…)∣=216=65,536|S_5| = |\mathcal{P}^5(\emptyset)| = 2^{16} = 65{,}536
πŸ“Formula 1.2: Iterated Power Set Tower Cardinalityformula
∣Pk(βˆ…)∣=222…0(kΒ levelsΒ ofΒ exponentiation)|\mathcal{P}^k(\emptyset)| = 2^{2^{2^{\dots^0}}} \quad (k \text{ levels of exponentiation})

πŸ›οΈ Fundamental Power Set Algebraic Theorems​

Core Invariants of Power Set Algebra

Universal algebraic rules governing power set inclusion, intersection, and union

🎯

Universal Membership Invariant

Membership Identity
  • For any arbitrary set A, the empty set βˆ… is ALWAYS an element: βˆ… ∈ P(A).
  • For any arbitrary set A, the set A itself is ALWAYS an element: A ∈ P(A).
  • These hold because βˆ… βŠ† A and A βŠ† A are universal subset truths.
πŸ”—

Intersection Distributivity

Exact Equality
  • The power set distributes perfectly over set intersection.
  • P(A ∩ B) = P(A) ∩ P(B) holds with strict equality for all sets A and B.
  • A subset S βŠ† (A ∩ B) if and only if S βŠ† A and S βŠ† B simultaneously.
⚠️

Union Non-Distributivity Trap

Strict Subset Only
  • The power set does NOT distribute equally over set union!
  • P(A) βˆͺ P(B) βŠ† P(A βˆͺ B) holds, but equality FAILS in general.
  • Subsets containing mixed elements from both A and B belong to P(A βˆͺ B) but not P(A) βˆͺ P(B).
♾️

Cantor's Theorem

Cardinality Growth
  • For any set A (whether finite or infinite), |A| < |P(A)| strictly.
  • There can never exist a surjective mapping from A onto its power set P(A).
  • Guarantees an infinite hierarchy of strictly larger infinities: β„΅β‚€ < 2^(β„΅β‚€) < 2^(2^(β„΅β‚€)).
πŸ“Theorem 1.1: Power Set Intersection Distributivitytheorem
P(A∩B)=P(A)∩P(B)\mathcal{P}(A \cap B) = \mathcal{P}(A) \cap \mathcal{P}(B)

A subset XX satisfies XβŠ†(A∩B)X \subseteq (A \cap B) if and only if XβŠ†AX \subseteq A and XβŠ†BX \subseteq B.

⚑Law 1.2: Power Set Union Non-Distributivity Invariantlaw
P(A)βˆͺP(B)βŠ†P(AβˆͺB)\mathcal{P}(A) \cup \mathcal{P}(B) \subseteq \mathcal{P}(A \cup B)P(A)βˆͺP(B)=P(AβˆͺB)β€…β€ŠβŸΊβ€…β€Š(AβŠ†B∨BβŠ†A)\mathcal{P}(A) \cup \mathcal{P}(B) = \mathcal{P}(A \cup B) \iff (A \subseteq B \lor B \subseteq A)

In general, strict equality fails because mixed subsets containing elements from both AA and BB belong to P(AβˆͺB)\mathcal{P}(A \cup B) but are absent from P(A)βˆͺP(B)\mathcal{P}(A) \cup \mathcal{P}(B).


🌍 Real-World Engineering Context​

  1. Bitmasking & Dynamic Programming: In competitive programming and optimization algorithms (such as the Travelling Salesperson Problem via the Bellman-Held-Karp algorithm), subsets of a set of nn vertices are represented as integers from 00 to 2nβˆ’12^n - 1. The ii-th bit being 1 represents xi∈Sx_i \in S, and bitwise operations (S | (1 << i), S & ~(1 << i)) perform O(1)O(1) set insertion and removal.
  2. Access Control Matrices (RBAC): In cloud platforms like AWS IAM or GCP Cloud IAM, roles are sets of permission strings. When evaluating whether a role assignment R1R_1 is subsumed by role R2R_2, the policy engine executes a formal subset check: R1βŠ†R2R_1 \subseteq R_2.
  3. Model Checking & State Space Exploration: In formal verification of hardware circuits and concurrent protocols, the power set represents the reachable state configurations. State explosion arises precisely because an nn-variable boolean system possesses ∣P(V)∣=2n|\mathcal{P}(V)| = 2^n distinct global states.

πŸ“ Step-by-Step Worked Examples​

Example 1: Disambiguating Nested Set Membership and Inclusion​

Problem Statement:
Given the set S={a,{a},{b},{βˆ…}}S = \{a, \{a\}, \{b\}, \{\emptyset\}\}, evaluate the truth value of the following 6 statements:

  1. a∈Sa \in S
  2. {a}∈S\{a\} \in S
  3. {a}βŠ†S\{a\} \subseteq S
  4. {{b}}βŠ†S\{\{b\}\} \subseteq S
  5. βˆ…βˆˆS\emptyset \in S
  6. βˆ…βŠ†S\emptyset \subseteq S

Step-by-Step Solution:

  1. a∈Sa \in S: Inspecting SS, the element aa appears as the first top-level element. True.
  2. {a}∈S\{a\} \in S: The set {a}\{a\} appears as the second top-level element. True.
  3. {a}βŠ†S\{a\} \subseteq S: The only element inside {a}\{a\} is aa. Because a∈Sa \in S (from Step 1), the subset condition holds. True.
  4. {{b}}βŠ†S\{\{b\}\} \subseteq S: The only element inside {{b}}\{\{b\}\} is {b}\{b\}. Inspecting SS, {b}\{b\} is indeed a top-level element ({b}∈S\{b\} \in S). Therefore, the subset relation holds. True.
  5. βˆ…βˆˆS\emptyset \in S: Inspecting SS, the elements are aa, {a}\{a\}, {b}\{b\}, and {βˆ…}\{\emptyset\}. The symbol βˆ…\emptyset does not appear directly on its own (only wrapped inside braces as {βˆ…}\{\emptyset\}). Therefore, βˆ…βˆ‰S\emptyset \notin S. False.
  6. βˆ…βŠ†S\emptyset \subseteq S: The empty set is a subset of every set without exception. True.

Key Takeaway:
An element inside nested braces cannot be directly referenced as a subset of the outer container without preserving its exact container depth.


Example 2: Cardinality of Iterated Power Sets​

Problem Statement:
Let A={x∈R∣x2+1=0}A = \{x \in \mathbb{R} \mid x^2 + 1 = 0\}. Determine the exact numerical value of:

∣P(P(P(A)))∣|\mathcal{P}(\mathcal{P}(\mathcal{P}(A)))|

Step-by-Step Solution:

  1. Determine Set AA:
    • The equation is x2+1=0β€…β€ŠβŸΉβ€…β€Šx2=βˆ’1β€…β€ŠβŸΉβ€…β€Šx=Β±ix^2 + 1 = 0 \implies x^2 = -1 \implies x = \pm i.
    • But the domain is restricted to real numbers: x∈Rx \in \mathbb{R}.
    • Since there are no real roots, AA contains zero elements: A=βˆ…A = \emptyset.
    • Therefore, ∣A∣=0|A| = 0.
  2. First Power Set P(A)\mathcal{P}(A): ∣P(A)∣=2∣A∣=20=1|\mathcal{P}(A)| = 2^{|A|} = 2^0 = 1
  3. Second Power Set P(P(A))\mathcal{P}(\mathcal{P}(A)): ∣P(P(A))∣=2∣P(A)∣=21=2|\mathcal{P}(\mathcal{P}(A))| = 2^{|\mathcal{P}(A)|} = 2^1 = 2
  4. Third Power Set P(P(P(A)))\mathcal{P}(\mathcal{P}(\mathcal{P}(A))): ∣P(P(P(A)))∣=2∣P(P(A))∣=22=4|\mathcal{P}(\mathcal{P}(\mathcal{P}(A)))| = 2^{|\mathcal{P}(\mathcal{P}(A))|} = 2^2 = 4

Key Takeaway:
The base case for iterated power sets over the empty set is ∣P(βˆ…)∣=1|\mathcal{P}(\emptyset)| = 1, not 00.


Example 3: Proof of Power Set Intersection Distributivity​

Problem Statement:
Prove that for any two arbitrary sets AA and BB:

P(A∩B)=P(A)∩P(B)\mathcal{P}(A \cap B) = \mathcal{P}(A) \cap \mathcal{P}(B)

Step-by-Step Solution:

To prove set equality, we must prove mutual inclusion: (i) P(A∩B)βŠ†P(A)∩P(B)\mathcal{P}(A \cap B) \subseteq \mathcal{P}(A) \cap \mathcal{P}(B) and (ii) P(A)∩P(B)βŠ†P(A∩B)\mathcal{P}(A) \cap \mathcal{P}(B) \subseteq \mathcal{P}(A \cap B).

  • Part (i): Forward Direction:

    1. Let X∈P(A∩B)X \in \mathcal{P}(A \cap B).
    2. By definition of power set, this means XβŠ†(A∩B)X \subseteq (A \cap B).
    3. By definition of intersection, every element x∈Xx \in X satisfies x∈Ax \in A and x∈Bx \in B.
    4. Hence, XβŠ†AX \subseteq A and XβŠ†BX \subseteq B.
    5. By definition of power set, X∈P(A)X \in \mathcal{P}(A) and X∈P(B)X \in \mathcal{P}(B).
    6. Therefore, X∈P(A)∩P(B)X \in \mathcal{P}(A) \cap \mathcal{P}(B).
    7. This establishes P(A∩B)βŠ†P(A)∩P(B)\mathcal{P}(A \cap B) \subseteq \mathcal{P}(A) \cap \mathcal{P}(B).
  • Part (ii): Reverse Direction:

    1. Let Y∈P(A)∩P(B)Y \in \mathcal{P}(A) \cap \mathcal{P}(B).
    2. By definition of intersection, Y∈P(A)Y \in \mathcal{P}(A) and Y∈P(B)Y \in \mathcal{P}(B).
    3. This implies YβŠ†AY \subseteq A and YβŠ†BY \subseteq B.
    4. If an element y∈Yy \in Y, then y∈Ay \in A and y∈Bβ€…β€ŠβŸΉβ€…β€Šy∈(A∩B)y \in B \implies y \in (A \cap B).
    5. Therefore, YβŠ†(A∩B)Y \subseteq (A \cap B).
    6. By definition of power set, Y∈P(A∩B)Y \in \mathcal{P}(A \cap B).
    7. This establishes P(A)∩P(B)βŠ†P(A∩B)\mathcal{P}(A) \cap \mathcal{P}(B) \subseteq \mathcal{P}(A \cap B).

Combining Parts (i) and (ii) completes the proof: P(A∩B)=P(A)∩P(B)\mathcal{P}(A \cap B) = \mathcal{P}(A) \cap \mathcal{P}(B).

Key Takeaway:
Power set distributes over intersection with strict equality, but only forms a subset relationship under union.


🎯 Exam & Interview Pitfall Check​

Core Conceptual Questions

Question 1: "Why is A ∈ P(A) always true, but A βŠ† P(A) almost always false?"
Key Focus Points:

  • Element vs Subset of P(A): P(A)\mathcal{P}(A) is the set of all subsets of AA. Because AβŠ†AA \subseteq A (reflexivity), AA is one of the listed subsets inside P(A)\mathcal{P}(A), making A∈P(A)A \in \mathcal{P}(A) always true.
  • Type Incompatibility: For AβŠ†P(A)A \subseteq \mathcal{P}(A) to hold, every element of AA must itself be a subset of AA. If A={1,2}A = \{1, 2\}, the elements of AA are numbers (1,21, 2), but the elements of P(A)\mathcal{P}(A) are sets (βˆ…,{1},{2},{1,2}\emptyset, \{1\}, \{2\}, \{1, 2\}). Since 1βˆ‰P(A)1 \notin \mathcal{P}(A), AβŠ†ΜΈP(A)A \not\subseteq \mathcal{P}(A).

Question 2: "Why does P(A) βˆͺ P(B) β‰  P(A βˆͺ B) in general? Give a concrete minimal counterexample."
Key Focus Points:

  • Mixed Subsets: P(AβˆͺB)\mathcal{P}(A \cup B) contains subsets that combine elements from both AA and BB.
  • Minimal Counterexample: Let A={1}A = \{1\} and B={2}B = \{2\}.
    • P(A)={βˆ…,{1}}\mathcal{P}(A) = \{\emptyset, \{1\}\} and P(B)={βˆ…,{2}}\mathcal{P}(B) = \{\emptyset, \{2\}\}.
    • P(A)βˆͺP(B)={βˆ…,{1},{2}}\mathcal{P}(A) \cup \mathcal{P}(B) = \{\emptyset, \{1\}, \{2\}\} (size 3).
    • AβˆͺB={1,2}β€…β€ŠβŸΉβ€…β€ŠP(AβˆͺB)={βˆ…,{1},{2},{1,2}}A \cup B = \{1, 2\} \implies \mathcal{P}(A \cup B) = \{\emptyset, \{1\}, \{2\}, \{1, 2\}\} (size 4).
    • {1,2}∈P(AβˆͺB)\{1, 2\} \in \mathcal{P}(A \cup B), but {1,2}βˆ‰P(A)βˆͺP(B)\{1, 2\} \notin \mathcal{P}(A) \cup \mathcal{P}(B).
Common Interview Traps: Architectural Trade-Offs

Trap 1: How many proper subsets does an n-element set have? Is the empty set counted as proper?
Answer: 2nβˆ’12^n - 1. Yes, the empty set βˆ…\emptyset is counted as a valid proper subset for any non-empty set! The only subset excluded is the improper subset AA itself. If a question asks for non-empty proper subsets, the answer is 2nβˆ’22^n - 2.

Trap 2: If A has n elements, what is the cardinality of P(P(A))?
Answer: 22n2^{2^n}, not 4n4^n. The first power set has cardinality ∣P(A)∣=2n|\mathcal{P}(A)| = 2^n. The second power set exponentiates that cardinality: ∣P(P(A))∣=2∣P(A)∣=22n|\mathcal{P}(\mathcal{P}(A))| = 2^{|\mathcal{P}(A)|} = 2^{2^n}.


πŸ’¬

Discussion & Doubts