Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

The New Coffee Room

  1. TNCR
  2. General Discussion
  3. Puzzle time - bugs on a ruler

Puzzle time - bugs on a ruler

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 45 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • jon-nycJ Offline
    jon-nycJ Offline
    jon-nyc
    wrote on last edited by
    #1

    24 tiny bugs are placed randomly on a meter-long ruler; each bug is facing toward one end or the other with equal probability. At a signal, they proceed to march forward (that is, in whatever direction they are facing) at 1 cm/sec; whenever two bugs collide, they reverse directions.

    How long does it take before you can be certain that all the bugs are off the rod?

    Thank you for your attention to this matter.

    KlausK 1 Reply Last reply
    • KlausK Offline
      KlausK Offline
      Klaus
      wrote on last edited by
      #2

      I would like to congratulate you for formulating the puzzle using the metric system.

      1 Reply Last reply
      • KlausK Offline
        KlausK Offline
        Klaus
        wrote on last edited by
        #3

        I do note that 24 = 4! . Is that a coincidence?

        1 Reply Last reply
        • jon-nycJ Offline
          jon-nycJ Offline
          jon-nyc
          wrote on last edited by
          #4

          I'm a fan of the metric system except for temperature, where Fahrenheit is so obviously superior.

          Thank you for your attention to this matter.

          1 Reply Last reply
          • jon-nycJ jon-nyc

            24 tiny bugs are placed randomly on a meter-long ruler; each bug is facing toward one end or the other with equal probability. At a signal, they proceed to march forward (that is, in whatever direction they are facing) at 1 cm/sec; whenever two bugs collide, they reverse directions.

            How long does it take before you can be certain that all the bugs are off the rod?

            KlausK Offline
            KlausK Offline
            Klaus
            wrote on last edited by Klaus
            #5

            @jon-nyc said in Puzzle time - bugs on a ruler:

            whenever two bugs collide, they reverse directions.

            :::

            Maybe I misunderstand something but why is that relevant? Isn't that equivalent to the bugs not colliding and just continuing their travel?

            If that is so, I'd say the answer is simply 100s (the maximum time it takes for a single bug).

            :::

            1 Reply Last reply
            • AxtremusA Offline
              AxtremusA Offline
              Axtremus
              wrote on last edited by
              #6

              :::

              Without trying to tighten the lower bound, I would say a comfortable upper bound is something like (half the # of bugs) * (time for one bug to travel the full length of the rod twice), so 12 * 200 seconds = 2400 seconds.

              Worst case (maybe worse than the actual realizable worst case) is the remaining bugs keep colliding while the two "outermost" bugs are walking off the rod. One outermost bug would take at most 200 seconds (allows for one collision for the worst case) to completely walk off the rod, and there are 12 "pairs" of "outermost bugs" to work through. So 12 * 200 seconds = 2400 seconds at most.

              The results can definitely be improved upon but I think it will not get any worse than 2400 seconds.

              :::

              1 Reply Last reply
              • jon-nycJ Offline
                jon-nycJ Offline
                jon-nyc
                wrote on last edited by
                #7

                Klaus

                :::

                You got it.

                :::

                Thank you for your attention to this matter.

                1 Reply Last reply
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups