All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
Maze (Posted on 2002-06-26) Difficulty: 3 of 5
You're trapped in a maze. There is a way out. Path junctions are all 3-way.

If you use the strategy of always taking the path going right, what will happen?

(Note: This problem is deliberarely vague.)

  Submitted by Cheradenine    
Rating: 2.5556 (9 votes)
Solution: (Hide)
My puzzle as far as i know, corrections welcome..

Since the maze's structure is not specified, then a random treatment is in order. In this way the path you take at any point is a random variable.

There are two possibilities in the long term:

  1. you escape from the maze
  2. you are trapped forever in an infinite loop
Case 2 is a consequence of the strategy. More precisely, if any point during your journey you take the same path twice, you will be stuck in a loop forever. moreover, if you take a certain path twice, it follows that youre previous path was also taken twice, and so on until the first path you took from the beginning.

The 2 possibilities are then:

  1. you escape
  2. you come back to your initial path
Which can be rewritten as
  1. you find the exit path
  2. you find your first path
Where the exit path is like any other path except it connects a junction to the exit. Now, consider that you have already taken 1 path (this is your first path). Each possibility above is clearly equally likely, since each is represented by 1 path. So, after your first path, there is 1/2 chance you'll escape and 1/2 chance youll be stuck forever. At the start, there is 0 chance that youll retake your first path and 1/n chance that youll take the exit path, where n is the total number of paths. So
        P(escape) = (1/n * 1) + n-1/n * 1/2
        P(trapped) = (1/n * 0) + n-1/n * 1/2
        P(trapped) = 1 - P(escape)
n is approximately 3 * the number of junctions. as the maze size increases the first term is neglibible and P(trapped) = P(escape) = 1/2

So the best answer to the question is:
"There is equal chance that youll either escape or be trapped forever."

Comments: ( You must be logged in to post comments.)
  Subject Author Date
Puzzle Thoughts K Sengupta2024-02-09 21:10:07
SolutionWell...Jessica2006-01-19 18:08:09
Some ThoughtsA thoughtTristan2004-05-29 19:48:16
re: I'm not getting something.Cheradenine2003-06-02 01:33:16
I'm not getting something.Charlie2003-02-23 10:43:15
re(4): possible results (qball)Cheradenine2002-07-07 22:55:56
re(3): possible results (qball)qball2002-07-06 23:18:08
re(2): possible results (qball)TomM2002-07-06 13:25:16
i might be stupidqball2002-07-06 00:46:45
re: possible resultsqball2002-07-06 00:28:15
re: possible resultsCheradenine2002-07-05 07:40:00
Hints/Tipspossible resultsCheradenine2002-07-05 07:35:20
re(16): About theCheradenine2002-07-05 05:42:15
re(15): About thefriedlinguini2002-07-05 03:42:14
re(14): About theCheradenine2002-07-04 23:57:32
re(14): About theCheradenine2002-07-04 23:56:55
re(13): About thefriedlinguini2002-07-04 08:06:41
re(12): About theCheradenine2002-07-04 06:51:14
re(11): About thefriedlinguini2002-07-04 05:41:56
Hints/Tipsre(10): About theCheradenine2002-07-03 23:40:18
re(9): About thefriedlinguini2002-07-03 06:38:43
re(8): About theCheradenine2002-07-03 06:11:37
re(7): About thefriedlinguini2002-07-03 05:46:45
Questionre(7): About thelevik2002-07-03 05:10:58
re(6): About theCheradenine2002-07-03 04:57:12
re(5): About thefriedlinguini2002-07-03 04:02:16
re(4): About theCheradenine2002-07-02 23:06:41
re(3): About thefriedlinguini2002-07-02 07:23:11
Some Thoughtsre: About theCheradenine2002-07-02 06:31:13
Some Thoughtsre(2): About theCheradenine2002-07-02 06:27:02
re: About thefriedlinguini2002-07-02 06:18:43
About the "official" solutionTomM2002-07-02 05:52:15
re: picture herefriedlinguini2002-07-01 06:27:00
re(3): this is the real picture of the treefriedlinguini2002-07-01 06:25:26
Some Thoughtspicture hereqball2002-06-28 14:56:15
Some Thoughtsfrieds proposed mazeqball2002-06-28 14:55:07
re(2): this is the real picture of the treeqball2002-06-28 14:30:12
re: this is the real picture of the treefriedlinguini2002-06-28 06:21:16
this is the real picture of the treequddous behrouzi2002-06-27 20:24:24
a picture i made of a treequddous behrouzi2002-06-27 20:23:00
also side notequddous behrouzi2002-06-27 13:32:23
damn i hate it when that happensquddous behrouzi2002-06-27 13:28:22
Hints/Tipsre(2): hintCheradenine2002-06-27 04:44:27
re: hintTomM2002-06-27 03:57:58
Hints/TipshintCheradenine2002-06-26 22:51:09
re(5): Depends.TomM2002-06-26 07:32:51
re(5): Depends.Cheradenine2002-06-26 07:31:52
Inside the mazeTomM2002-06-26 07:22:44
re(4): Depends.friedlinguini2002-06-26 07:00:08
re(3): Depends.TomM2002-06-26 06:46:38
:-P>friedlinguini2002-06-26 06:01:12
re(2): Depends.Cheradenine2002-06-25 22:57:05
re: Depends.TomM2002-06-25 20:48:05
Depends.TomM2002-06-25 20:19:21
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (22)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information