The squares of a 2 × 6 0 chessboard are coloured black and white in the standard alternating pattern. At random, exactly half of the black squares are removed from the board. The expected number of white squares that have no neighbours after this process can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
Details and assumptions
Note: The black squares are not removed with probability 2 1 . Rather, it is given that exactly 30 black squares are removed.
A square is a neighbour if it is located directly to the left, right, top or bottom of the initial square. Squares that are connected by exactly 1 vertex are not neighbors.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Suppose we have a corner white square. Since it has two black neighbours, the probability that both are taken is C ( 6 0 , 3 0 ) C ( 5 8 , 2 8 ) . For a non-corner white square, it has three black neighbours, so the probability that all are taken is C ( 6 0 , 3 0 ) C ( 5 7 , 2 7 ) .
Thus, the expected number of white squares without any neighbours is:
2 × C ( 6 0 , 3 0 ) C ( 5 8 , 2 8 ) + 5 8 × C ( 6 0 , 3 0 ) C ( 5 7 , 2 7 ) = 5 9 4 3 5
[ Tip : here's a quick reason why this works. Imagine a set of N = C(60, 30) elements, comprising of all possible ways to remove 30 black squares from 60. We wish to count the overall number of white squares without neighbours then divide by N. For that, we can just focus on each white square and count the number of configurations where it has no neighbours left. ]
Let F(x) and E(x) be the probability that a white square will have no neighbors after removing 30 black squares and the expected number of white squares that have no neighbors respectively.
E(x) = summation of (x k)*F(x k) from k=1 to k=n.
Linearity of Expectation is the best way to use to solve this problem. Linearity of Expectation basically says that the expected value of a sum of random variables is equal to the sum of the individual expectations.
We will consider two probabilities: 1. The probability that a white corner square has both of its neighbors removed. 2. The probability that a white edge square has all of its three neighbors removed.
The probability of 1. is given by:
(30/60)*(29/59) = 29/118
The probability of 2. is given by
(30/60) (29/59) (28/58) = 7/59
Thus, the expected number of white squares is given by:
E(x) = 2 (29/118) + 58 (7/59) = 435/59
The desired sum a+b follows: 435+59 = 494
I tried to use the formatting guide but the moment I preview it, the desired term doesn't appear. I'm very sorry.
Main idea : Use linearity of expected value , compute the probability that each square has no black neighbor, and sum them up.
Complete proof :
Let "to be cut off" mean "to have no neighbors".
First, by linearity of expected value, the value we seek for is equal to the sum of the expected numbers of each white square being cut off. Also note that the expected number of a white square being cut off is essentially the probability of it being cut off.
There are 2 white squares with two black neighbors (at the corners of the board) and 5 8 white squares with three black neighbors (everywhere else).
The probability that a white square having two black neighbors is cut off is equal to the probability that both black squares are chosen to be removed, which means 6 0 3 0 ⋅ 5 9 2 9 (there are 3 0 removed black squares among 6 0 , and after removing one, there are 2 9 more squares to be removed among 5 9 ). Similarly, the probability that a white square having three black neighbors is cut off is equal to 6 0 3 0 ⋅ 5 9 2 9 ⋅ 5 8 2 8 .
So, the expected number of black squares removed is:
2 ⋅ ( 6 0 3 0 ⋅ 5 9 2 9 ) + 5 8 ⋅ ( 6 0 3 0 ⋅ 5 9 2 9 ⋅ 5 8 2 8 )
= ( 6 0 3 0 ⋅ 5 9 2 9 ) ( 2 + 5 8 ⋅ 5 8 2 8 )
= 1 1 8 2 9 ⋅ 3 0
= 5 9 4 3 5
So a = 4 3 5 , b = 5 9 , and so a + b = 4 9 4 .
Motivation : The motivation is pretty clear if you know linearity of expected value. After that, it's just simple bashing of probabilities.
Generalization : Replace 6 0 with 2 n , and you can proceed similarly to obtain the expression 2 ⋅ ( 2 n n ⋅ 2 n − 1 n − 1 ) + ( 2 n − 2 ) ⋅ ( 2 n n ⋅ 2 n − 1 n − 1 ⋅ 2 n − 2 n − 2 ) = 2 ( 2 n − 1 ) n ( n − 1 ) .
Suppose that the black and white squares in the j th column are labelled B j and W j respectively, for 1 ≤ j ≤ 6 0 . Let N j be the random variable N j = { 1 0 W j has no neighbours after the process o t h e r w i s e and let N = N 1 + N 2 + ⋯ + N 6 0 be the number of white squares with no neighbours after the process. Now E [ N 1 ] E [ N 2 ] = = = = P [ N 1 = 1 ] = P [ B 1 , B 2 taken ] ( 2 8 5 8 ) ( 3 0 6 0 ) − 1 = 1 1 8 2 9 P [ N 2 = 1 ] = P [ B 1 , B 2 , B 3 all taken ] ( 2 7 5 7 ) ( 3 0 6 0 ) − 1 = 5 9 7 Indeed it is clear that E [ N j ] = { E [ N 1 ] = 1 1 8 2 9 E [ N 2 ] = 5 9 7 j = 1 , 6 0 2 ≤ j ≤ 5 9 and hence E [ N ] = = E [ N 1 ] + E [ N 2 ] + ⋯ + E [ N 6 0 ] 2 × 1 1 8 2 9 + 5 8 × 5 9 7 = 5 9 4 3 5 giving the final answer 4 3 5 + 5 9 = 4 9 4 .
This use of the so-called indicator functions N 1 , N 2 , … , N 6 0 - events which are equal to 1 when something happens, and 0 otherwise, and adding them up to count the number of times that that thing happens - is a really useful mathematical device. We only need to look at one indicator event at a time when calculating the expectation of the sum, and that means we can avoid all sorts of unpleasant considerations concerning the lack of independence of the various events.
How in a 2x60 chessboard the number of the white squares with no neighbors become 494?!
Log in to reply
Scroll the text to find the fraction 5 9 4 3 5 .
Instead of thinking in terms of neighbouring squares, I found it easier to think in terms of sequences of 0 , 1 .
If we let 0 mean a black square which is not removed, and 1 mean a black square which is removed, and we list the black squares from left to right, then the problem becomes:
"In a sequence of 60 digits, including 30 1 's, what is the expected number of 1 1 1 triples; or 1 1 at the start or end" . Those conditions correspond to white squares with no neighbours.
Since we are counting the expected value, we can do this by considering all possible combinations of digits, and then adding up the total number of cases which match the conditions we are looking for.
I'll do this more generally: for n total digits of which m are 1 . The total number of possible positions is of course ( m n ) .
If we consider positions starting 1 1 , then there are n − 2 places remaining, and m − 2 possible 1 's to fill in. So there are ( m − 2 n − 2 ) total occurrences of this; and similarly for final 1 1 .
For 1 1 1 , there are n − 2 locations it can be found in the string; and then for each of those locations , there are n − 3 remaining digits of which m − 3 are 1, for a total of ( m − 3 n − 3 ) .
Totalling this all up, E = ( m n ) 1 [ 2 ( m − 2 n − 2 ) + ( n − 2 ) ( m − 3 n − 3 ) ] = n ! m ! ( n − m ) ! [ 2 ( m − 2 ) ( n − m ) ( n − 2 ) + ( n − 2 ) ( m − 3 ) ( n − m ) n − 3 ] = n ! m ! ( n − m ) ! ( 2 + ( m − 2 ) ) ( m − 2 ) ( n − m ) n − 2 = n ( n − 1 ) m 2 ( m − 1 )
Filling in n = 6 0 , m = 3 0 gives E = 5 9 2 9 ⋅ 1 5 = 5 9 4 3 5
probability that one square adjacent to corner white square =1/2 .
probability that other square adjacent to corner white square =29/59 .
since there are two corner squares probability that corner squares are neighborless =2(1/2 * 29/59) = 29/59 .
similarly for other squares=58(1/2
29/59 *28/58) = 29/59
14 .
adding = 435/59.
thus answer = 435 +59=494
Problem Loading...
Note Loading...
Set Loading...
We can use linearity of expectation to break up the problem so we only have to consider the probabilities of each white square having its neighbors removed.
The probability a corner square has both of its neighbors removed is 6 0 3 0 ) × ( 5 9 2 9 .
The probability an edge square has all three of its neighbors removed is 6 0 3 0 ) × ( 5 9 2 9 ) × ( 5 8 2 8 .
Hence the expected number of white squares with no neighbors is 2 × ( 6 0 3 0 ) × ( 5 9 2 9 ) + 5 8 × ( 6 0 3 0 ) × ( 5 9 2 9 ) × ( 5 8 2 8 ) = 5 9 4 3 5 .
Hence , a + b = 4 3 5 + 5 9 = 4 9 4 . Thanks.