Probability of Recurring Pairings in Random Groupings

  • Context: Undergrad 
  • Thread starter Thread starter courtrigrad
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around the probability of recurring pairings in random groupings of 16 people into 8 groups of 2. Participants explore the likelihood of specific pairings reoccurring across multiple trials, considering both theoretical and computational approaches to the problem.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Technical explanation

Main Points Raised

  • One participant proposes calculating the probability of a specific pairing (e.g., person A with person B) reoccurring, suggesting a probability of 1/15 for each trial.
  • Another participant corrects the initial claim about the probability of all groups being the same, providing a different calculation of 1/2027025.
  • A participant clarifies that the probability of any group being paired again is higher than that of a specific group, citing a probability of 836353/2027025.
  • One participant expresses interest in alternative methods to brute force enumeration for solving the problem, noting the complexity due to dependencies between pairings.
  • Another participant discusses an approximate theoretical probability approach, suggesting a formula that estimates the likelihood of at least one pairing recurring, converging to a limiting value for large groups.

Areas of Agreement / Disagreement

Participants express differing views on the correct probabilities and methods for calculating them. There is no consensus on a single approach or solution, and multiple competing models and calculations are presented.

Contextual Notes

Some participants note the challenge of the problem due to the dependencies between pairings, which complicates the use of simple probability calculations. The discussion includes various assumptions and approximations that may affect the results.

Who May Find This Useful

This discussion may be of interest to those studying probability theory, combinatorial mathematics, or computer science, particularly in contexts involving random groupings and enumeration problems.

courtrigrad
Messages
1,236
Reaction score
2
Lets say you have 16 people. You want to make 8 groups. You choose the groups randomly. There are 2 people per group. What is the probability that 1 of the 8 groups is the same for a certain number of trials? For example, if person A is with person B this trial, what is the probability that person A will be with person B in the next trial (or many more trials after that)? I know the probability of all the groups being the same is [tex]\frac{1}{120}[/tex].

ThanksPS: I posted this question on the Calculus forums, but thought it more suitable to be here
 
Last edited:
Physics news on Phys.org
'A' could be with any of the other 15 letters, so the chances of it being with B are 1/15, for that to happen n times is (1/15)^n

EDIT: And for all the groups being the same it is not 1/120, it is [tex]\frac{2^8.8!}{16!} = 1/2027025[/tex]
 
Last edited:
Suppose the groupings in one trial are labeled (AB, CD, EF, GH, IJ, KL, MN, OP). I gather you are asking what the probability is of getting anyone (or more) of the groups the same on another trial, not just one particular group (say AB). As Joffe answered, the probability of getting AB paired again in some other trial is 1/15. The probability of getting any group paired once again is much higher: 836353/2027025.
 
how did you get that DH? That is the correct answer.

Thanks
 
any ideas?
 
courtrigrad said:
how did you get that DH? That is the correct answer.
Thanks

Embarrasingly, I obtained the solution by brute force using Matlab.
 
Just reviving this slightly oldish thread to ask if anyone knows if this problem can be done by means other than brute force.

I was also wondering if perhaps this problem was given in a computer science type context rather than a theoretical probability context. Courtrigrad (if you're still around) can you shed any light on the origins of this problem.

It certainly is an interesting little computer programming problem to try and enumerate all the possible grouping combinations and count those that contain a common pairing. I can't even see an easy way to do it (in general) without resorting to recusion, which is generally considered a bit nasty unless absolutely necessary. DH (if you're still around) can you give any more details on the code for your brute force attack.

BTW. The thing that makes this problem hard (for other than brute force enumeration) is that the event that a given pairing is common is obviously not independent of the events of other pairings occurring. Neither are those event multually exclusive, so simple addition of probabilies or multiplication of complementary probabilites is out.

One "theoretical probability" approach that I did find to give an interesting result to this problem was to try approximating the solution by considering the event that a particular pairing does NOT re-occur to be approximately independent of other pairings in that group not recurring. This should be approx true for large groups.

Using the above gives the result that the probability that at least one pairing recurrs when you regroup is [tex]P \simeq 1 - ( (2n-2)/(2n-1) )^n[/tex], where "n" is the number of pairs in the group.

So for example in the given case of 8 pairs then [tex]P \simeq 1 - (14/15)^8[/tex] which gives an approx answer of about 42% (which compares reasonably well with the exact answer given earlier by DH).

The thing that is particularly interesting about this method however is that it's easy to show that it converges to a limiting value of [tex]1 - 1/\sqrt{e}[/tex] (about 39.4%) for large n. I thought that was kind of neat.
 
Last edited:

Similar threads

  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
Replies
10
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
Replies
1
Views
2K