Possible Subsets of Even Numbers in a Set of Size n?

In summary, the homework statement asks what are all the possible subsets that contain only even numbers. There are ##2^n -1## of those, and the empty set is one of them.
  • #1
agargento
39
2

Homework Statement



Given {1,2,...,n}, n is an even number. What are all the possible subsets that contain only even numbers? (Notice that ∅ is also defined as such a subset).

Homework Equations



2n - all possibilities for group A with n objects

The Attempt at a Solution



I think the answer is 2n/2 ... to include just even numbers. Is my reasoning correct?
 
Physics news on Phys.org
  • #2
agargento said:
I think the answer is 2n/2 ... to include just even numbers. Is my reasoning correct?
You should add a few sentences to explain your reasoning. And the question is "what are", not "how many", so can you say something more about them?.
 
  • #3
FactChecker said:
You should add a few sentences to explain your reasoning. And the question is "what are", not "how many", so can you say something more about them?.

Just bad translation on my part. "How many" is more correct. As for reasoning, we were taught in class that for n objects, you have 2n possibilities for subsets. So I thought that because we have n/2 objects (we want only even numbers) 2n/2 is the answer.
 
  • #4
agargento said:
Just bad translation on my part. "How many" is more correct. As for reasoning, we were taught in class that for n objects, you have 2n possibilities for subsets. So I thought that because we have n/2 objects (we want only even numbers) 2n/2 is the answer.
That is better. It never hurts to add a brief explanation like that.
 
  • #5
FactChecker said:
That is better. It never hurts to add a brief explanation like that.

But is it correct?
 
  • #6
agargento said:
But is it correct?
It is correct. The odd numbers are irrelevant.
 
  • #7
PeroK said:
It is correct. The odd numbers are irrelevant.

Hmm ok. But what about ∅ ? If it is even, it should be included, but it does not seem to be included in {1...n}...
 
  • #8
That's the empty set. That is included as one of the ##2^n## subsets. If you are looking for non-empty subsets then there are only ##2^n -1## of those.

In this case you were explicitly told to count the empty set.
 
  • #9
PeroK said:
That's the empty set. That is included as one of the ##2^n## subsets. If you are looking for non-empty subsets then there are only ##2^n -1## of those.

In this case you were explicitly told to count the empty set.
Oh now I got it. Thanks!
 

Related to Possible Subsets of Even Numbers in a Set of Size n?

1. What is the difference between combinations and permutations?

Combinations and permutations are both ways to arrange a set of objects, but they differ in the order in which the objects are arranged. Combinations do not take into account the order, while permutations do. For example, the combinations of ABC are ABC, ACB, BAC, BCA, CAB, CBA, while the permutations are ABC, ACB, BAC, BCA, CAB, CBA.

2. How do I calculate the number of possible combinations or permutations?

The formula for calculating combinations is nCr = n! / r!(n-r)!, where n is the total number of objects and r is the number of objects being selected. The formula for permutations is nPr = n! / (n-r)!, where n is the total number of objects and r is the number of objects being selected.

3. What is the principle of inclusion-exclusion in combinatorics?

The principle of inclusion-exclusion is a counting technique used to calculate the size of a set that is the union of multiple smaller sets. It states that the size of the union of two sets is equal to the sum of their sizes minus the size of their intersection.

4. How can I use combinatorics to solve real-world problems?

Combinatorics can be used to solve problems in a variety of fields, such as genetics, computer science, and economics. For example, it can be used to calculate the number of possible outcomes in a genetics cross, the number of possible outcomes in a computer password, or the number of possible combinations of items in a store.

5. What is the difference between a set and a subset?

A set is a collection of distinct objects, while a subset is a set that contains only some of the objects from a larger set. In other words, a subset is a smaller set within a larger set. For example, the set {1, 2, 3} is a subset of the set {1, 2, 3, 4}.

Similar threads

  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
1
Views
552
  • Calculus and Beyond Homework Help
Replies
4
Views
532
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
598
  • Calculus and Beyond Homework Help
Replies
3
Views
777
  • Calculus and Beyond Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
917
  • Calculus and Beyond Homework Help
Replies
3
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
Back
Top