Ants on a square, and how many collisions to expect
Asked at Optiver, IMC
Four ants sit at the four corners of a square. Simultaneously each ant picks one of the two edges at its corner uniformly at random and walks along it at the same speed.
What is the probability that no two ants collide? And what is the expected number of head-on (edge) collisions?
Show a hint
The collision-free outcomes are the ones with a single global structure. For the expected count, do not enumerate, use linearity over the edges.
Your answer
This one is open-ended. Work it through, then check your reasoning against the full solution.