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 - Car Chase edition

Puzzle Time - Car Chase edition

Scheduled Pinned Locked Moved General Discussion
10 Posts 3 Posters 56 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 Online
    jon-nycJ Online
    jon-nyc
    wrote on last edited by jon-nyc
    #1

    You're involved in a car chase, but a very civilized one. You and the pursuer are both following traffic laws and stopping at all red lights.

    You're trying to make it to the city limit, and you're currently one block ahead of your pursuer.

    You're both stopped at traffic lights, which will turn green at the exact same time. Then you both proceed at a speed of 1 city block per minute.

    Every time that you come to an intersection, there’s a 50 percent chance the light is green, in which case you coast right on through. But there’s also a 50 percent chance the light is red, in which case it takes exactly one minute for the light to turn green again. These same probabilities govern the pursuer —at each intersection, he has a 50 percent chance of encountering a green light and a 50 percent chance of encountering a red light and having to wait one minute, entirely independent of whatever you might have encountered at that same intersection.

    Including the light at which you are now stopped, there are five traffic lights between you and the city limit, as illustrated below. That means there are six lights for your pursuer.

    unnamed-11.jpg

    What are the odds you'll make it past the city limit without getting caught?

    Thank you for your attention to this matter.

    1 Reply Last reply
    • MikM Offline
      MikM Offline
      Mik
      wrote on last edited by
      #2

      Well, if it's crosstown, there's very little chance you will move more than three blocks that day.

      "The intelligent man who is proud of his intelligence is like the condemned man who is proud of his large cell." Simone Weil

      1 Reply Last reply
      • HoraceH Offline
        HoraceH Offline
        Horace
        wrote on last edited by Horace
        #3

        So there’s a random walk where each step is the difference between two random flips of heads or tails, where heads is 0 and tails is 1. The walk starts at -1 and the question is the probability it reaches 0 within six steps. Easy enough to simulate but for closed form formula I’m not sure. 25 percent chance of getting caught at light one, then it gets complicated.

        Education is extremely important.

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

          I have an answer with a fairly high degree of confidence.

          Thank you for your attention to this matter.

          1 Reply Last reply
          • jon-nycJ Online
            jon-nycJ Online
            jon-nyc
            wrote on last edited by
            #5

            The extra credit question is : if the city becomes infinite, what’s the expected number of minutes until you’re caught.

            We need closed form for that. Maybe I’ll work on it

            Thank you for your attention to this matter.

            HoraceH 1 Reply Last reply
            • jon-nycJ jon-nyc

              The extra credit question is : if the city becomes infinite, what’s the expected number of minutes until you’re caught.

              We need closed form for that. Maybe I’ll work on it

              HoraceH Offline
              HoraceH Offline
              Horace
              wrote on last edited by
              #6

              @jon-nyc said in Puzzle Time - Car Chase edition:

              The extra credit question is : if the city becomes infinite, what’s the expected number of minutes until you’re caught.

              We need closed form for that. Maybe I’ll work on it

              Does an average make sense when working with unbounded numbers? It makes sense to ask how many steps before you have a > 50% chance of being caught.

              Education is extremely important.

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

                That would be the expected value.

                Thank you for your attention to this matter.

                HoraceH 1 Reply Last reply
                • jon-nycJ jon-nyc

                  That would be the expected value.

                  HoraceH Offline
                  HoraceH Offline
                  Horace
                  wrote on last edited by
                  #8

                  @jon-nyc said in Puzzle Time - Car Chase edition:

                  That would be the expected value.

                  You have interesting personal definitions. Expected values are meant to include tails of distributions.

                  Education is extremely important.

                  1 Reply Last reply
                  • jon-nycJ Online
                    jon-nycJ Online
                    jon-nyc
                    wrote on last edited by jon-nyc
                    #9

                    The official question uses the word average.

                    You can have unbounded probability distributions with finite means and finite variance, or finite means and infinite variance.

                    A normal distribution has finite means and variance but is unbounded. A Cauchy distribution is unbounded and has an infinite means and variance (well, ‘undefined’)

                    Thank you for your attention to this matter.

                    1 Reply Last reply
                    • HoraceH Offline
                      HoraceH Offline
                      Horace
                      wrote on last edited by
                      #10

                      It helps if the distribution has a mean by definition, and symmetric unbounded tails. But I suppose this one has a mean too. I am not too sure about your notion that the mean is the 50% cumulative probability point.

                      Education is extremely important.

                      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