Copyright © University of Cambridge. All rights reserved.

'Two's Company' printed from https://nrich.maths.org/

Show menu


Ahan from Tanglin Trust School in Singapore used probability. There is a small mistake in Ahan's work, which is explained.
There is a $\frac17$ chance that the first ball goes in the middle and whenever this happens we win.

There is a further $\frac16$ chance that the second ball lands in the middle. This too guarantees a win. In fact, this probability is $\frac67\times\frac16$, because for the second ball to land in the middle, the first ball must not land in the middle, which happens with probability $\frac67$.

To calculate the chance that 2 balls are next to each other we first must calculate the chance of it happening if both balls land outside the center. No matter where the first ball lands (outside the center) there are 5 places the second ball can land. If it goes in two of these you win. This means that the chance of winning when it lands outside is $\frac25$.

But since only $\frac{29}{42}$ of the time you don't get a middle (this probability becomes $\frac57$) the chance you win by to outside balls is $\frac{58}{210}$ (this becomes $\frac25\times\frac57 = \frac57$) 
Add that to the $\frac{65}{210}$ that comes from having one in the center (which is actually $\frac27$) the probability of winning is $\frac{123}{210}$ or $\frac{41}{70}$ (which becomes $\frac47$).


Dashiell from Sequoyah in the USA foun the numbers of ways there are to win and lose.
I did that by drawing seven marbles in a circle (one in the middle six surrounding it)
and then I numbered the marbles. For example, the two marbles that have a 1 [in] them are a winning possibility, same with the marbles with 2 [in them] and so on.

Then I did the same thing, but with losing possibilities. 

 The winning possibilities was 12 and the losing possibilities was 9 
12 + 9 = 21
$\frac{12}{21}$ = 0.571428
So 57.1428% is the probability of winning.

On the live problem I did the run 100 test. After that I added the mean for one hundred tries. Then two hundred, three hundred, and so on. The answer kept getting closer. The closest I got was 0.5714547933.


NS from TCS in the USA used factorials.
"Four factorial" is written $4!$ and means $4\times3\times2\times1$. There are $4!$ ways to arrange $4$ marbles in $4$ spaces because:
There are $4$ empty spaces in which to place the first marble
For each of these $4$ options for the first marble, there will be $3$ options left for the second marble
For each of these $4\times3$ arrangements for the first two marbles, there will be $2$ options left for the third marble, and only $1$ for the fourth.

This is NS' work:

Even though colors are interchangeable, lets work with numbering the balls $1$ to $7.$
There are $7!$ combinations.
Let's number the spots by row
 
Let's put Blue-$1$ Ball in spot $1$. There are $3$ adjacent spots where Blue-$2$ can be in order to be touching. Same for all the spots except spot $4$ which is center.

For each of the outer spots, total permutations possible are $1\times3\times5!$ ($1$ for the first blue ball, $3$ for the second, and $5!$ for the $5$ balls which are not blue)
Total for out spots = $6\times3\times5!$
For the center spot = $1\times6\times5!$

sum $=8\times3\times5!$
probability $=\dfrac{8\times3\times5! }{7!} = \dfrac{24}{42}$


We received one more solution which was not correct, but looks very convincing:
One of the blue balls will come at the edge of the container in order to be adjacent to another blue ball. Now, the other ball has three possible positions to fulfil the winning criteria:
• At the centre
• To the left side
• To the right side
The following rectangles represent the possible positions for the other blue ball.
 
After the first blue ball has arranged itself at one of the edge positions, there are 6 balls left which includes the other blue ball.
The probability that the other blue ball falls in the first box is $\frac16$
The probability that the other blue ball falls in the second box is $\frac16$
The probability that the other blue ball falls in the third box is $\frac16$
So the total probability will be the addition of the three probabilities
$\frac16+\frac16+\frac16 = \frac36  = \frac12 = 50\%$

The problem is that this only applies if the first blue ball lands in one of the edge positions. If, instead, the first blue ball lands in the middle, it doesn't matter where the second blue ball lands - you win regardless. The probability of this happening is $\frac17$.

The probability that the first blue ball lands in one of the edge positions is $\frac67$, so the probability that the first blue ball lands in an edge position and the second blue ball lands next to it is $\frac67\times\frac12 = \frac37$.

Total probability is still $\frac47$