Problem:
A point lies at the center of square . A sequence of points is determined by , and given point , point is obtained by reflecting over one of the four lines , , , , chosen uniformly at random and independently for each . What is the probability that ?
, 2019
Solutions — 2
Solution 1
Solution:
WLOG, and are horizontal line segments and and are vertical. Then observe that we can consider the reflections over vertical lines separately from those over horizontal lines, as each reflection over a vertical line moves horizontally to point , and vice versa. Now consider only the reflections over horizontal segments and . Note that it is impossible for to be in the same vertical location as if there are an odd number of these reflections. Then we consider the reflections in pairs: let denote reflecting twice over , let denote reflecting over and then , let denote reflecting over and then , and let denote reflecting twice over . Note that both and preserve the position of our point. Also note that in order to end at the same vertical location as , we must have an equal number of 's and 's. Now we count the number of sequences of length at most 4 with this property:
- Case 1: Length 0
There is just the empty sequence here, so 1.
- Case 2: Length 1
There are just the sequences and , so 2.
- Case 3: Length 2
We may either have an and a or two characters that are either or . There are 2 sequences of the former type and 4 of the latter, for 6 total.
- Case 4: Length 3
There are 12 sequences with an , a , and either a or a , and 8 sequences of only 's and 's, for 12 total.
- Case 5: Length 4
There are 6 sequences of 's and 's, 48 with one of each and two terms that are either or , and 16 of just 's and 's, for a total of 70.
Now let the number of such sequences of length be (so ). Note that these counts work also if we consider only reflections over vertical line segments and . Now to finish, we only need to count the number of ways to combine 2 valid sequences of total length 4. This is
as there are sequences of reflections over and , sequences of reflections over and such that there are 8 total reflections, and ways to choose which of the 8 reflections will be over or . We compute that this sum is total sequences of reflections that place at . There are of course total sequences of 8 reflections, each chosen uniformly at random, so our answer is .
Solution 2
Solution:
Suppose that is the origin and the four lines are and . We consider a permutation of the lattice points on the coordinate plane, where all points with even -coordinates are reflected across the -axis and all points with even -coordinates are reflected across the -axis, so that the - and -coordinates are both rearranged in the following order:
It is not difficult to see that a reflection across one of the lines corresponds to changing one of the coordinates from one number to either the previous number or the next number. Therefore, after the permutation, the question is equivalent to asking for the number of lattice walks of length 8 that returns to the origin. For such a lattice walk to return to origin, there needs to be the same number of up and down moves, and the same number of left and right moves. This condition is equivalent to having four moves that are left or up (LU), and four moves that are right or up (RU). Moreover, knowing whether a move is LU and whether it is RU uniquely determines what the move is, so it suffices to designate four LU moves and four RU moves, giving possible walks. Hence the probability is .