Calvin fills in a 7 × 7 grid with the numbers 1 through 4 9 in a random arrangement. He then erases his work and does the same thing again, to obtain two different random arrangements of the numbers in the grid. What is the expected number of pairs of numbers that occur in either the same row as each other or the same column as each other in both of the two arrangements?
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.
Sorry, but how is it possible to get more than 49 matches out of 49 trials?
I think the argument goes like this: for any given number to match, we can first pick the first location. Then, there are 13 locations out of 49 for the second number to match. Thus, for each number, there is an added 13/49 expected value, and 13/49*49 = 13.
Log in to reply
What do you mean? The problem asks for PAIRS not individual numbers as individuals. Thus it is possible to have more than 49.
Another solution is like this.
Each pair of numbers of 49 has a ( 2 4 9 ) 1 4 ( 2 7 ) = 4 1 probability in being in the same row or column in any orientation. This is because you choose a row/column and then choose two squares.
Thus, the probability a pair is on the same row/column in two orientations is ( 4 1 ) 2 . Since there are ( 2 4 9 ) pairs, the total expected value is ( 2 4 9 ) ⋅ ( 4 1 ) 2 = 7 3 . 5
Due to Linearity of Expectation, which states: Given any random variables, X 1 , X 2 , . . . , X n , we always have
E [ X 1 + X 2 + . . . + X n ] = E [ X 1 ] + . . . + E [ X n ]
regardless of dependency,
we can set each variable as a pair of squares, which allows us to kill this problem easily.
Problem Loading...
Note Loading...
Set Loading...
Since expected value is linear, we only need to calculate the expected value of one pair. If we fix the original configuration, we will only look at row pairs and column pairs. In each row or column there are 7 terms. Thus there are 1 4 ( 2 7 ) for all of the rows and columns. Let's denote S as the expected value.
For each pair i = 1 , 2 , . . . , 1 4 ( 2 7 ) we define S i as:
S i = d e f { 1 0 pair in the same row or column otherwise
Because of the linearity of expected value, we know that
E ( S ) = E ( S 1 ) + E ( S 2 ) + . . . E ( S 1 4 ( 2 7 ) )
It is easy to see that E ( S i ) = P ( S i = 1 ) = ( 2 4 9 ) ( 2 7 ) 1 4 = 4 1
Reason for the Probability: There are 1 4 ways to choose a row/column for the pair to be on and ( 2 7 ) ways to choose the place where the pair will occupy. There are a total of ( 2 4 9 ) ways to choose the place for the pair. (Notice how even though the terms in the pair are distinguishable, if I count consistently, in this case, consistently indistinguishable, the counting will still be valid )
Now, since expected value is linear, we just have to multiply this probability by the number of pairs which implies that the answer is
1 4 ( 2 7 ) ⋅ 4 1 = 2 1 4 7 = 7 3 . 5