Go back
Bugs on a Ruler

Bugs on a Ruler

Posers and Puzzles

d

Joined
04 Aug 01
Moves
2408
Clock
09 May 05
Vote Up
Vote Down

Suppose we place 1000 tiny bugs on a meter stick. Once placed, each bug starts moving either to the left or to the right at a constant speed of 1 meter per minute.

If two bugs run into each other, then they both immediately change directions and continue moving at 1 meter per minute.

Once a bug reaches either end of the ruler, it falls off the ruler.

Considering all possible initial configurations of the bugs, what is the maximum amount of time you need to wait before the ruler is bug-free?

A
Lazy Sod

Everywhere

Joined
12 Oct 04
Moves
8623
Clock
09 May 05
Vote Up
Vote Down

Originally posted by davegage
Suppose we place 1000 tiny bugs on a meter stick. Once placed, each bug starts moving either to the left or to the right at a constant speed of 1 meter per minute.

If two bugs run into each other, then they both immediately change directions and continue moving at 1 meter per minute.

Once a bug reaches either end of the ruler, it falls off the ru ...[text shortened]... s of the bugs, what is the maximum amount of time you need to wait before the ruler is bug-free?
Are the bugs evenly spaced to begin with. If so, are they spaced 10 to the centimetre? Are they spaced with equal chance of facing left/right?

d

Joined
04 Aug 01
Moves
2408
Clock
09 May 05
Vote Up
Vote Down

Originally posted by Alcra
Are the bugs evenly spaced to begin with. If so, are they spaced 10 to the centimetre? Are they spaced with equal chance of facing left/right?

The bugs are not necessarily evenly spaced. They can be initially distributed along the ruler in any arbitrary fashion.

The probability that any one bug faces right (or left) initially is also unrestricted.

The problem is to find the maximum amount of time that it could possibly take for all of the bugs to fall off the ruler, so you may want to think about what starting configuration is limiting in this sense.

my hint would be that it is very easy to overthink this problem...

DS
I'm A Mighty Pirateā„¢

PaTROLLING the forum

Joined
01 Dec 04
Moves
36332
Clock
09 May 05
Vote Up
Vote Down

1 minute

d

Joined
04 Aug 01
Moves
2408
Clock
09 May 05
Vote Up
Vote Down

Originally posted by Daemon Sin
1 minute
Why do you think the correct answer is only 1 minute?

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.