I have this,
Having a set X with n objects. The power set of X has 2n elements, i.e. the number of subsets of X is 2n.
We can consider the following statement:
P(n):|P(X)|=2n
i) P(0) is true, in fact |P(X)|=1 i.e. it contains the empty set as unique element.
ii) Assuming true for P(n−1), we have to prove for n. We can consider the set X with n objects as the union of two sets : Y={a1,a2,…,an−1} and {an}, hence,
X={a1,a2,…,an−1}∪{an}
For inductive hypothesis the numbers of subsets of Y is 2n−1, so it is true, but, I have problems in proving the truth for 2n.
Please, can you help me? Many thanks!
Answer
All the elements of P(X) either contain an or they do not.
1) There are 2n−1 elements of P(X) that do not contain an by the induction hypothesis.
2) Take any of the elements that do not contain an and add an to it. You get a new unique subset. There are 2n−1 elements that can be created this way, again by the induction hypothesis. These are all the elements of P(X) that contain an.
In total there are thus 2n−1+2n−1=2n elements in P(X), which proves the statement.
No comments:
Post a Comment