Now suppose there are several ants on the stick, starting from random positions and facing either left or right. When two ants collide they turn around and walk back the other way until they either collide again or fall off the stick.
Can you see through the resulting mayhem and work out what is the longest possible time that at least one ant will remain on the stick?
Use the simulation below to help solve this problem — see how long it takes a single ant to fall off the stick, then experiment with more ants. Does it ever take longer for all the ants to fall?
The other buttons toggle the available options:
This activity illustrates the beauty of mathematical problem solving — specifically how a key insight can reduce a confusing tangle of a problem into something simple and beautiful. The underlying nature of the ants motion in this problem becomes clear when the ants are given flags, and it is seen that while the motion of the ants is haphazard, the motion of the flags is wonderfully simple and admits a direct and obvious solution to the problem.