Cardinalities of power set vs B^A

  • Context: Graduate 
  • Thread starter Thread starter Gh0stZA
  • Start date Start date
  • Tags Tags
    Power Power set Set
Click For Summary

Discussion Overview

The discussion centers on the relationship between the set of functions from a set A to the binary set B = {0, 1} (denoted as B^A) and the power set of A (denoted as P(A)). Participants explore the concept of characteristic functions and their role in establishing a correspondence between these two sets.

Discussion Character

  • Exploratory, Technical explanation, Conceptual clarification

Main Points Raised

  • One participant proposes proving that |B^A| = |P(A)| by defining mappings from A to B and suggests a method involving specific elements of A.
  • Another participant notes that every map from A to {0, 1} serves as the characteristic function of some subset of A.
  • A later reply elaborates that defining a set E based on the function f leads to a one-to-one correspondence between maps in B^A and elements of P(A).
  • Further clarification is provided using an analogy of sorting elements into "YES" and "NO" buckets, explaining how this relates to defining subsets and binary functions.
  • One participant expresses their understanding of the concept but requests further explanation, indicating that the notation is new to them.
  • Another participant reiterates their understanding and attempts to provide a clearer explanation, emphasizing the simplicity of the correspondence between binary functions and subsets.

Areas of Agreement / Disagreement

Participants generally agree on the correspondence between binary functions and subsets, but there is no explicit consensus on the proof or the initial proposal regarding |B^A| = |P(A)|.

Contextual Notes

Some participants express uncertainty regarding the notation and concepts from pure set theory, indicating a potential limitation in their understanding of the topic.

Gh0stZA
Messages
25
Reaction score
0
Hi everyone,

If [tex]B^A[/tex] is the set of functions mapping from [tex]A \rightarrow B = \{ 0, 1 \}[/tex], prove that [tex]|B^A| = |P(A)|[/tex], where P(A) is the power set of A.

Is it as simple as letting the mapping from B to A be denoted by [tex]\phi[/tex] and defining [tex]a_1, a_2 \in A, a_1 \ne a_2[/tex] such that [tex]\phi (a_1) = 0[/tex] and repeating that for the empty set, and [tex]\phi (a_2) = 1[/tex] and then [tex]\phi ( \{ a_1, a_2 \} ) = \{ 0, 1 \}[/tex] ?

All help appreciated.
 
Physics news on Phys.org
Just notice that every map A→{0,1} is the characteristic function of some subset of A.
 
jgens said:
Just notice that every map A→{0,1} is the characteristic function of some subset of A.

Can you please elaborate on this?
 
Suppose [itex]f \in 2^A[/itex] and define [itex]E=\{x \in A:f(x)=1\}[/itex]. Then [itex]f = \chi_E[/itex] and this induces a one-to-one correspondence between the maps in [itex]2^A[/itex] and elements of [itex]\mathcal{P}(A)[/itex].
 
Gh0stZA said:
Can you please elaborate on this?

In words rather than symbols: You have two buckets, marked YES and NO. You take each element of A and toss it into one of the two buckets. When you're done tossing elements of A into one of the two buckets, whatever's in the YES bucket is a particular subset. But you've also just defined a function from A -> {0,1}.

So subsets and binary functions are the exact same thing. A subset is just the set of elements that got mapped to 1 by some binary function, and vice versa.

The characteristic function of a set is the function that maps the elements of the set to 1, and everything else to 0. For example in the integers, the characteristic function of the even numbers maps 2, 4, 6, etc. to 1, and 1, 3, 5, ... to 0.

So if you have a subset of some set, the characteristic function of the subset is the function that maps each element of the subset to 1. It's the function that tosses exactly those elements into the YES bucket. It's a binary function. Each binary function is the characteristic function of some subset.
 
I think I understand this concept now. The notation is still a little new to me and I haven't done a lot of "pure" set theory before, especially not recently, but I think I got the basic idea from this.

Thanks guys.
 
Gh0stZA said:
I think I understand this concept now. The notation is still a little new to me and I haven't done a lot of "pure" set theory before, especially not recently, but I think I got the basic idea from this.

Thanks guys.

Do you mind if I try another explanation? Because once you get this, you'll go, "AHA. That's so OBVIOUS!" rather than, "I think I understand." Because this is really simply once you get it. It's one of those things that just pop into your understanding all at once.

What is a function from a set A to the set {0, 1}. It's simply an assignment of either a zero or a one to each element of the set. You go through the elements of the set one by one and assign each element either a zero or a 1.

Now when you're done, you see that the collection of elements that got assigned 1 is a subset of the original set. So a binary function gives you a subset.

But if you had a subset, you can get back a binary function: namely, the characteristic function of the subset -- the function that assigns 1 to the elements of the subset, and 0 to everything else.

So you see there's a one-to-one correspondence between binary functions and subsets. Given a binary function it defines a subset; given a subset it defines a binary function.

If you just think about this and work out a few simple examples (using finite sets, say) then at some point the obviousness of this correspondence is just going to make you go OH. That is SIMPLE! Once you see it, it's obvious. Until you see it, it's mysterious.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 15 ·
Replies
15
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
8
Views
2K