Do Two Random Subsets of X Have the Same Number of Elements?

Click For Summary

Homework Help Overview

The discussion revolves around the probability that two randomly chosen subsets A and B of a set X, containing n elements, have the same number of elements. Participants explore the combinatorial aspects of subset selection and the associated probabilities.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the total number of subsets and the probabilities associated with subsets having a specific number of elements. There are inquiries about the probability of subsets having n elements versus r elements, and how these probabilities relate to the overall problem.

Discussion Status

Some participants have provided insights into calculating probabilities using binomial coefficients. There is an ongoing exploration of how to sum probabilities as the number of elements varies, with hints offered to guide the reasoning process without providing direct solutions.

Contextual Notes

Participants note potential confusion regarding the notation and the implications of reusing variables, particularly the variable n, which represents both the total number of elements in the set and the number of elements in subsets.

utkarshakash
Gold Member
Messages
852
Reaction score
13

Homework Statement


Let X be a set containing n elements. If two subsets A and B of X are picked at random, the probability that A and B have the same number of elements is

Homework Equations



The Attempt at a Solution


Total number of subsets possible is 2^n. Now the subsets containing 1 element=n. For 2 elements it is n(n-1). Similarly for n elements it is n!. Now A and B can belong to anyone of the above.

P=\dfrac{^nC_2+^{n(n-1)}C_2+^{n(n-1)(n-2)}C_2...+^{n!}C_2}{^{2^n}C_2}
 
Physics news on Phys.org
What's the probability that A has n elements? That both have n elements?
 
haruspex said:
What's the probability that A has n elements? That both have n elements?

The probability that A has n elements is 1/n. But I'm not sure.:confused:
 
utkarshakash said:
The probability that A has n elements is 1/n. But I'm not sure.:confused:
Sorry, I just realized I may have confused you by reusing n. I should have asked for the probability that A has, say, r elements. It isn't 1/r.
You have stated the total number of subsets, and they're all equally likely. How many have r elements?
 
haruspex said:
Sorry, I just realized I may have confused you by reusing n. I should have asked for the probability that A has, say, r elements. It isn't 1/r.
You have stated the total number of subsets, and they're all equally likely. How many have r elements?

nCr.
 
utkarshakash said:
nCr.
Right, so what is the probability that an arbitrary subset A has r elements? What is the probability that A and B each have r elements? Thus, what is the probability that A and B have the same number of elements?
 
haruspex said:
Right, so what is the probability that an arbitrary subset A has r elements? What is the probability that A and B each have r elements? Thus, what is the probability that A and B have the same number of elements?

The probability that A has r elements is nCr/2^n and the probability that A and B both have r elements is nCr*nCr/2^2n. Now I'll have to sum this as r varies from 0 to n. But I find this a bit difficult. I only know that 2^n=C0+C1+C2...Cn. But how do I get squares on the coefficients?
 
utkarshakash said:
The probability that A has r elements is nCr/2^n and the probability that A and B both have r elements is nCr*nCr/2^2n. Now I'll have to sum this as r varies from 0 to n. But I find this a bit difficult. I only know that 2^n=C0+C1+C2...Cn. But how do I get squares on the coefficients?
Here's a couple of hints.

Try doing that sum for a few small values of n. Do the numbers that result look familiar?

A sum like that can arise from multiplying together two series. E.g. suppose you multiply the expansions of (1+x)a and (1+x)b and collect up terms with the same power of x. Can you see how that would lead to sums of products of binomial coefficients? Can you find an a and b that would lead to a sum like the one we need to solve?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
10
Views
3K
Replies
16
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
4
Views
4K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K