CTK Exchange
CTK Wiki Math
Front Page
Movie shortcuts
Personal info
Awards
Terms of use
Privacy Policy

Interactive Activities

Cut The Knot!
MSET99 Talk
Games & Puzzles
Arithmetic/Algebra
Geometry
Probability
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
My Logo
Math Poll
Other Math sit's
Guest book
News sit's

Recommend this site

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Products to download and subscription Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

CTK Exchange

Subject: "One Lane Highway Question"     Previous Topic | Next Topic
Printer-friendly copy     Email this topic to a friend    
Conferences The CTK Exchange This and that Topic #908
Reading Topic #908
Dominic
guest
Aug-31-09, 07:24 PM (EST)
 
"One Lane Highway Question"
 
   Found this puzzle on XKCD, attached is my solution.

One-lane Highway

You have N cars that are all traveling the same direction on an infinitely long one-lane highway. Unfortunately, they are all going different speeds, and cannot pass each other. Eventually the cars will clump up in one or more traffic jams.
In terms of N, what is the expected number of clumps of cars?

My Solution

We have N cars, the expected location of the slowest car is in the middle thus forming one group from the back up to the mid point (we have at least 1 group), consider all the cars ahead of this group as the new subset M, perform the same operation and we'll have another group that goes up to the 3/4 N mark from the back for 2 groups. We can do this as far as till the next subset X is at least 1 car long. So for N starting cars we'd expect X number of clumps where 2^X = N giving X = lnN/ln2. (This makes more sense for N being a large number and doesn't make sense at all for N = 2 as in that situation we'd expect 1.5 groups where as my formula would give 1) -- Dominic Leung 31 Aug 2009


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexb
Charter Member
2434 posts
Aug-31-09, 07:41 PM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
1. "RE: One Lane Highway Question"
In response to message #0
 
   A very nice insight indeed. Clustering in stochastic processes usually obey power laws, like the one you describe. Many examples of the phenomena can be found in M. Schroeder's Fractals, Chaos, Power Laws that was recently republished by Dover.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Dominic
guest
Aug-31-09, 08:28 PM (EST)
 
2. "RE: One Lane Highway Question"
In response to message #1
 
   No idea what any of that means ...


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
alexb
Charter Member
2434 posts
Aug-31-09, 08:54 PM (EST)
Click to EMail alexb Click to send private message to alexb Click to view user profileClick to add this user to your buddy list  
3. "RE: One Lane Highway Question"
In response to message #2
 
   What you call "clumps" is more often is designated as "clusters".

The relation 2X = N that you found is quite often referred to as a "power law".

The book I mentioned describes a huge number of physical and mathematical phenomena that obeys such laws.

For example , consider a big square grid and fill randomly the grid squares with color. A cluster is a connected component of the set of the filled squares. Then the number n(s) of clusters that consist of s squares is proportional to s-t, where t = 187/91; believe it or not.

In particular, you have such power laws every time there is self-similarity - exactly of the sort you played on. N/2 cars behave similarly to N cars so that ...

Fractals grew out of these ideas.


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top
Dominic
guest
Aug-31-09, 10:37 PM (EST)
 
4. "RE: One Lane Highway Question"
In response to message #3
 
   oo interesting

will check up on that


  Alert | IP Printer-friendly page | Reply | Reply With Quote | Top

Conferences | Forums | Topics | Previous Topic | Next Topic

You may be curious to have a look at the old CTK Exchange archive.
Please do not post there.

Copyright © 1996-2018 Alexander Bogomolny

Search:
Keywords:

Google
Web CTK