A Puzzle
#1
Posted 2014-May-15, 11:02
Late at night Circle Line trains are now only three per hour (i.e. three in every hour, not an average of three per hour), at random intervals. I just miss one. What is my average wait for another, assuming that the last train has not left?
And what would my average wait have been if I had not just missed one?
#2
Posted 2014-May-15, 11:17
If you divide the day into 24 hours and only consider those 24 hours, that is a different question.
Edit: If you have just missed one, you know there will only be two in the next 60 minutes, so the question is equivalent to "what is the expected value of the lowest of two random numbers in the range [0,60)." This is 20 minutes.
If you have not missed one you are now looking at three numbers in the range [0,60]. This gives 15 minutes.
(The expected value of the mth lowest number out of n in the range [0,1] is m/(n+1))
#3
Posted 2014-May-15, 11:22
#4
Posted 2014-May-15, 11:28
StevenG, on 2014-May-15, 11:17, said:
Yeah, I was wondering if he meant 3 between 11 and 12, 3 between 12 and 1, and so on.
But in this case, to answer you'd need to know what the current time is and how many of this hour's trains you missed. If it's 11:50 and you just missed the first train of the hour, you expect 2 trains in the next 10 minutes so your average wait would be 3 minutes 20 seconds. But if it's 11:30 and you just missed the second train, the average wait would be 15 minutes.
#5
Posted 2014-May-15, 11:36
(it's silly to talk about three buses every hour at random intervals, because your analysis gets all higglety pigglety if you start measuring hours as running from 10:15 to 11:15 rather than 10:00 - 11:00)
#6
Posted 2014-May-15, 11:42
hrothgar, on 2014-May-15, 11:36, said:
Isn't that what it would be if the premise were "an average of 3 busses per hour"? But the question specifically says this is not the case.
So I think StevenG is right that they can't actually be at random intervals, they have to be every 20 minutes exactly, unless they go by clock hours as I described.
#7
Posted 2014-May-15, 11:51
"You are waiting at a train station; 3 trains will arrive randomly within the next hour; what is your expected wait?"
Because that seems relatively simple. (15 minutes; see Steven's formula above)
Or is that not what is meant by the OP? The puzzle as written seems badly formulated.
Also from a practical point of view you can't have randomly distributed trains because they can't realistically arrive within a minute or so of each others. I'm assuming light-fast trains and passengers.
#8
Posted 2014-May-15, 11:53
barmar, on 2014-May-15, 11:42, said:
So I think StevenG is right that they can't actually be at random intervals, they have to be every 20 minutes exactly, unless they go by clock hours as I described.
I don't think any of us are disagreeing
All three of us are indicating that the question, as framed, contains an inconsistency.
You prefer to relax the "at random" constraint.
I prefer to relax the constraint that all hours contain exactly three buses.
#9
Posted 2014-May-15, 11:59
It seems to me the missed train is irrelevant - the average wait for any of three trains appearing within any one hour would be 20 minutes.
#10
Posted 2014-May-15, 12:21
-gwnn
#11
Posted 2014-May-15, 12:44
can claim their interpretation is the best:)))))) the questions seems to assume
we are dealing with one specific hour and that within that one hour there are going
to be three trains with no rhyme or reason as far as when those trains will depart
the station you are at. The question seems to further assume all three trains could
leave at the same time and that the timing of the departures during this hour in no
way shape or form affect when the trains will depart the following hour.
Note that we are also missing what time you arrived so your arrival time could be
anywhere from zero hour to 5959.
Longest wait??? assume the three trains all departed at zero hour and you arrived at 0001
the next hour all three trains could leave at 5959 so you would wait 1hour 59 min and 58
seconds.
Shortest zero since the train could depart at the precise moment you step into the train.
Average sighhhhhhhhhhhhhh it seems that the average overall time btn trains will average
out to 20 min btn departures. This means your average wait if you just missed a train
(presumably by 1 second) would be 19 min 59 seconds. If you arrived at any other random
time (and assuming any time after 1 second made further calculation impossible) your
average wait would be half that (unless you are a bridge player than my money is on
the full 1hour 59 min 58 seconds can trumps please stop breaking 50 please:)
#12
Posted 2014-May-15, 13:41
A
- Place 3 dots (trains), randomly on a circle, circumference 60 units (mins)
- Designate another random dot as yourself.
- What is the expected distance along the cirumference, from yourself to a train in a clockwise direction.
- Arguably, the answer is (60 / 4 = ) 15 units (mins).
B
- Place 3 trains as above.
- Designate yourself as (almost) coincident with any train.
- What is the average distance along the arc from yourself to the next train in a clockwise direction.
- Arguably, the answer is (60 / 3 =) 20 units (mins).
The circle line really is a circle but that doesn't seem to be relevant
This post has been edited by nige1: 2014-June-13, 12:58
#13
Posted 2014-May-15, 14:07
#14
Posted 2014-May-15, 16:43
Tom is applying for a job as a signalman for the local railroad, and is told to meet the inspector at the signal box.
The inspector decides to give Tom a pop quiz, asking, "What would you do if you realized that two trains were heading towards each other on the same track?"
Tom says, "I would switch one train to another track."
"What if the lever broke?" asks the inspector.
"I'd run down to the tracks and use the manual lever," answers Tom.
"What if that had been struck by lightning?" challenges the inspector.
"Then," Tom continues, "I'd run back up here and use the phone to call the next signal box."
"What if the phone was busy?"
"In that case," Tom argues, "I'd run to the street level and use the public phone near the station".
"What if that had been vandalized?"
"Oh, well," says Tom, "in that case I'd run into town and get my Uncle Leo."
This puzzles the inspector, so he asks, "Why would you do that?"
"Because he's never seen a train crash."
#15
Posted 2014-May-16, 01:38
I suspect that you have had enough of this problem, and will not want to prove that when there are n trains in every hour, at random intervals, the waiting time is 1/(n+1) hours!
#16
Posted 2014-May-16, 01:58
George Carlin
#17
Posted 2014-May-16, 02:01
George Carlin
#18
Posted 2014-May-16, 02:15
It may sound contraintuitive that the average interval length is 20 minutes if you arrive at the beginning of the interval while 30 minutes if you arrive at some random time. But think of it this way: some intervals will be longer than others. Arriving at the beginning of an interval, all intervals are equally likely, so you get the unbiased average which is 20 minutes. But if you arrive at a random time, you are more likely to arrive at a long interval.
Here is a similar (easier) classical puzzle: A man works in Manhattan and he has two lovers, one living in Brooklyn and one in Bronx. There are 6 trains per hour in each direction, at regular intervals. He goes to the tube station at random time points and take the train that comes first, in whichever direction it happens to go. He ends up visting his Bronx lover four times as frequently as his Brooklyn lover. Why?
#19
Posted 2014-May-16, 03:26
helene_t, on 2014-May-16, 02:15, said:
The Bronx train runs through the station at 00, 10, 20, 30, 40, 50 minutes in the hour. The Brooklyn train runs through the station at 02, 12, 22, 32, 42, 52. Therefore 20% of the time he arrives after a Bronx train but before a Brooklyn train (00-02, 10-12, 20-22, 30-32, 40-42, 50-52) but 80% of the time he arrives after a Brooklyn but before a Bronx train (02-10, 12-20, 22-30, 32-40, 42-50, 52-00). So 80% of the time he goes to the Bronx which is 4 times the 20% he goes to Brooklyn.
#20
Posted 2014-May-16, 03:35
StevenG, on 2014-May-15, 11:17, said:
(The expected value of the mth lowest number out of n in the range [0,1] is m/(n+1))
Shouldn't this be three numbers in (0,60]?
George Carlin