Even More Induction: Showing 2n Subsets in n Element Set

In summary, the conversation discusses using induction to prove that a set with n elements has 2n subsets. The conversation includes attempts at finding a solution for the case of n = 1 and for the general case of n = p + 1. Through the use of concrete examples and explanations, it is shown that if the statement is true for n = p, it is also true for n = p + 1. This proves the statement using induction.
  • #1
Moridin
692
3

Homework Statement



Show with induction that a set with n elements have 2n subsets.

The Attempt at a Solution



I assume this should only be for all natural numbers, but I cannot even show that it applies to n = 1. Let's say we have a set S = {x(1)}. That has 1 element, but only 1 subset, not 2? I'm confused. Have I missed something from basic set theory?
 
Physics news on Phys.org
  • #2
It has two subsets. {x(1)} and the empty set {}.
 
  • #3
Of course. Thanks a bunch. Here is another go at it.

The Attempt at a Solution



(1) Show that it is true for n = 1:

A set S contains the element x(1). S can form two subsets S' and S'', where S' = {x(1)} and S'' = {}.

(2) Show that if it is true for n = p, then it is true for n = p + 1

Assume that if a set P contain p elements, then 2p subsets can formed from it.

P = {x(1), x(2),..., x(p)}
Q = {x(1), x(2),..., x(p), x(p+1)}

So P contains 2p subsets. Naturally, Q must contain 2p + C number of subsets, where C is a unknown constant. For (2) to be true 2p + C must be equal to 2p+1. This seems to mean that the power set P' contains 2p elements. So this means that I should attempt to figure out exactly how many elements are added to P' to form the power set Q' if you add an element to P? I'm not entire sure how to do this.
 
  • #4
Moridin said:
P = {x(1), x(2),..., x(p)}
Q = {x(1), x(2),..., x(p), x(p+1)}

How many subsets are there that don't contain x(p+1)? (inductive hypothesis)

then count how many have x(p+1) in it...add those two together.
 
  • #5
How many new possible subsets can you create, when you have one more element to pick?
 
  • #6
Every subset of Q (with x(p+1) added) is of two kinds: those that do not have x(p+1) in them and those that do not. How many subsets of Q do NOT have x(p+1) in them (remember that those would also be subsets of P)?

And every subset of Q that does contain x(p+1) is a subset of P union {x(p+1)}.
 
  • #7
HallsofIvy said:
Every subset of Q (with x(p+1) added) is of two kinds: those that do not have x(p+1) in them and those that do not. How many subsets of Q do NOT have x(p+1) in them (remember that those would also be subsets of P)? And every subset of Q that does contain x(p+1) is a subset of P union {x(p+1)}.

That would be 2p?

Kurret said:
How many new possible subsets can you create, when you have one more element to pick?

Too hard question.

The first subset would be {x(p+1)}.
Then we have the {x(n), x(p+1)} subsets, where n goes from 1 to p and so on with more elements added.

I know no general principle or line of thought to answer your question.
 
  • #8
Let be concrete here. Take P to be the set of {1,2,3...p}. Take Q to be the set of {1,2,3...p,p+1}. All of the subset of P are also subsets of Q. And there are 2^p of them by the inductive hypothesis. All of the subsets of P are also subsets of Q. The only new subsets consist of a subset S of P that contains also contains p+1. Right? So there are 2^p new subsets. What's 2^p+2^p?
 
  • #9
Dick said:
Let be concrete here. Take P to be the set of {1,2,3...p}. Take Q to be the set of {1,2,3...p,p+1}. All of the subset of P are also subsets of Q. And there are 2^p of them by the inductive hypothesis. All of the subsets of P are also subsets of Q. The only new subsets consist of a subset S of P that contains also contains p+1. Right? [bb]So there are 2^p new subsets.[/b] What's 2^p+2^p?

That's 2p+1, which proves that if it is true for n = p, it is also true for n = p+1. I understand that all subsets of P are also subsets of Q. However, I do not understand how the text in bold follows. How can you show how many more subsets can form when you add another element?
 
  • #10
You have 2^p sets without that element. If you add that new element to each of the 2^p sets, you get 2^p additional sets. If you put them all together you get all sets made from p+1 elements. For a total of 2^(p+1).
 
  • #11
Dick said:
You have 2^p sets without that element. If you add that new element to each of the 2^p sets, you get 2^p additional sets. If you put them all together you get all sets made from p+1 elements. For a total of 2^(p+1).

Of course. That makes sense. Thanks a bunch.
 

FAQ: Even More Induction: Showing 2n Subsets in n Element Set

How does induction prove that there are 2n subsets in an n element set?

Induction is a mathematical proof technique that uses the principle of proving a statement for a base case and then showing that if the statement holds for any given case, it also holds for the next case. In the case of showing 2n subsets in an n element set, we can prove the statement for the base case of n=1, which has 2 subsets (the empty set and the set itself). Then, using the inductive step, we can show that if the statement holds for n=k, it also holds for n=k+1. This way, we can prove that the statement holds for all positive integers, and thus there are 2n subsets in an n element set.

Can you provide an example of using induction to show 2n subsets in an n element set?

Sure, let's take the base case of n=2. An n=2 element set has 2 subsets: {a,b} and the empty set {}. Now, for the inductive step, we assume that the statement holds for n=k, and we want to show that it also holds for n=k+1. So, for n=3, we can take the k=2 case (n=2, with subsets {a,b} and {}) and add element c to each subset, giving us {a,b,c} and {c}. This gives us 4 subsets, which is indeed 2n for n=3. Thus, the statement holds for n=k+1 and by the principle of induction, it holds for all positive integers.

Are there any limitations to using induction to prove the 2n subsets in n element set statement?

Yes, there are some limitations. Induction can only be used for statements that can be expressed in terms of integers (like counting or sets). It cannot be used for continuous or uncountable sets. Also, induction can only prove statements for all positive integers, so it cannot be used to prove statements for negative integers or fractions.

Can you use induction to prove statements about sets with more than 2 elements?

Yes, induction can be used to prove statements about sets with any number of elements. The statement may become more complex as the number of elements increases, but the principle of induction remains the same. We can still use a base case and an inductive step to prove the statement for all positive integers.

Is induction the only method for proving the 2n subsets in n element set statement?

No, there are other methods for proving this statement. One alternative method is to use the binomial theorem, which states that (a+b)^n has n+1 terms. Using this theorem, we can show that for an n element set, there are 2^n subsets, which includes the empty set and the set itself, giving us a total of 2n subsets. However, induction is a commonly used and efficient method for proving this statement.

Back
Top