How to Calculate the Average Number of Boxes with Different Ball Distributions?

  • Thread starter Thread starter Ionophore
  • Start date Start date
  • Tags Tags
    Balls
Ionophore
Messages
17
Reaction score
0
Hi all,

I’m trying to distribute M balls into N boxes. Each box has two compartments (thus 2N compartments total), each of which can hold one ball. There are more compartments total than balls. What I would like to do is calculate the number of boxes, on average:

1) With no balls (2 empty compartments)
2) With 1 ball (1 full compartment and one empty compartment)
3) With 2 balls (2 full compartments)

My first hunch was to say that, because I just want to scatter the balls randomly, the probability of a compartment being occupied is M/(2N), and therefore the probability of a compartment being empty is 1-M/(2N). Then the probability of encountering a full box should be the probability that the first compartment is full x the probability that the second compartment is full, and so forth, giving me:

P_full = (M/(2N))^2

P_1/2 = (M/(2N))(1-M/(2N))

P_empty = (1-M/(2N))^2

But these don’t add to one! What’s going on?
Thanks in advance.
 
Physics news on Phys.org
You need to double P_1/2, since the are 2 possibilities: comp. 1 empty or comp. 2 empty.
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.
Back
Top