I am trying to solve this problem: Expected falling time of all $500$ random ants I need help with understanding why my thought process is flawed. (highlighted below)
Question: 500 ants are randomly put on a 1-foot string (independent uniform distribution for each ant between 0 and 1). Each ant randomly moves toward on end of the string (equal probability to the left or the right) at constant speed of 1 foot/minute until it falls of a t one end of the string. Also assume that the size of the ant is infinitely small. When two ants collide head-on, they both immediately change directions and keep on moving at 1 foot/min. What is the expected time for all ants to fall off the string?
I totally get that when ants collide they exchange labels, so we just consider that ants never collide and keep on walking till one end of the string.
My flawed thought process: When an ant lands on a point "x" foot away it can go either left or right (equal probability). So expected time taken by it is 0.5x + 0.5(1-x) = 0.5, which is independent of x. So all ants regardless where they land will take an expected time of 0.5min.
However the solution says that the time taken is x or 1-x and we can just solve for expected value of maximum value of 500 X's. ( because x , 1-x are symmetric.) .
What am I missing here ?