next up previous
Next: Inference problems Up: Exercises Previous: Life in

Counting combinations

Professor Hinton lives in a city where all streets run on the lines of a Cartesian grid. He walks to work, which is E blocks east and S blocks south of his residence. Assuming that he always takes one of the shortest routes, how many routes to work does he have available? Professor Neal, living in the same city as Professor Hinton, likes to choose at random from a greater variety of routes than just the shortest routes. Assuming his workplace is S blocks south and E blocks east and that he selects at random from all walks of length (S+E+2) blocks, how many walks to work does he have, and what is the probability that he will in a single walk traverse one block in both directions? How many walks are available if he chooses from all walks of length (S+E+2n)?

{

Two normal dice are thrown repeatedly; the outcome of each throw is the sum of the numbers showing. Joe Shark, who says that 6 and 8 are his lucky numbers, bets even money that a 6 will be thrown before the first 7 is thrown. If you were a gambler, would you take the bet? What is your probability of winning? Joe then bets even money that an 8 will be thrown before the first 7 is thrown. Would you take the bet? Having gained your confidence, Joe suggests combining the two bets into a single bet: he bets a larger sum, still at even odds, that an 8 and a 6 will be thrown before two 7s have been thrown. Would you take the bet? What is your probability of winning?

Optional hard bit -- not necessary to solve the above problem: what is the probability that you win on the nth roll?

}


next up previous
Next: Inference problems Up: Exercises Previous: Life in

David J.C. MacKay
Sat May 10 23:05:10 BST 1997