I have a question which asked for a combinatorial proof. I have no clue how to do do a combinatorial proof.
The question is
prove that the total number of subsets in {x1,x2,x3,...,xn} is 2n
I understand how it works. As in
for n=2 we have
(21)+(22)+1=4
for n=3 we have
(31)+(32)+(33)+1=8
and so on.
So there is a pattern which can be generalised with 2n
but how would i show this using a combinatorial proof? I dont even now where to start. Could you lead me?
Thanks
Answer
This is quite simple. You want the total number of subsets formed from {x1,x2,x3,...,xn}. Now, say S is a subset. Ask yourself, "Is x1 in S?" You have two choices, yes or no. Then ask yourself, "Is x2 in S?", again two choices. Do this for all x's. Every string of answers will define a unique subset S, clearly. The multiplication rule tells you that the total number of strings will be 2⋅2⋅2…2=2n.
No comments:
Post a Comment