Set Theory Question. Trouble defining a function precisely.

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
jmjlt88
Messages
94
Reaction score
0
Let A={1,...,n}. Show that there is a bijection of P(A) with the cartesian product Xn, where X is the two element set X={0,1} and P(A) is the power set of A.


Below is the start of my proof. I just want to make sure that my function "makes sense." Proof: Let A={1,...n}, and X={0,1}. Define f: P(A) -> Xn by f(A0)=(x1,...,xn), where A0 is a subset of A (and therefore an element of P(A)) and (x1,...,xn) is the element of Xn such that xi=1 if i ε A0 and xi=0 is i is not an element of A0...In the next step, I let A0=A1, and show that their image in Xn is the same. I suppose my question is really "how do I ensure f is well-defined?"
 
Physics news on Phys.org
I'd just take an arbitrary element of P(A) and show that it maps to a single element in Xn, then take an arbitrary element in Xn and show exactly one element of P(A) is mapped there. That's enough right?