Editing 246: Labyrinth Puzzle

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
This comic alludes to a famous {{w|Knights and Knaves}} logic puzzle, and specifically to the version featured in the {{w|Jim Henson}} movie ''{{w|Labyrinth (1986 film)|Labyrinth}}'', with ''two'' doors and ''two'' guards. One guard always lies, and the other always tells the truth. One of the doors leads to freedom, and you can only ask one guard one question. The solutions to this riddle (and there are several, though all are somewhat similar) involve a tricky question indeed. If you want to give the original puzzle a try for yourself, don't read the spoilers below.
+
This comic alludes to a famous {{w|Knights and Knaves}} logic puzzle, and specifically to the version featured in the Jim Henson movie {{w|Labyrinth (film)|Labyrinth}}, with ''two'' doors and ''two'' guards. One guard always lies, and the other always tells the truth. One of the doors leads to freedom, and you can only ask one guard one question. The solutions to this riddle (and there are several, though all are somewhat similar) involve a tricky question indeed. If you want to give the original puzzle a try for yourself, don't read the spoilers below.
 
 
 
*Solution 1: Ask one guard (it doesn't matter which one) which door the ''other'' guard would say leads out. ''Both'' guards will indicate the same door, which will be the door that ''doesn't'' lead out: the truthful guard knows the lying guard would point to the door that leads to certain death, and says so, while the lying guard, knowing the truthful guard would point to the right door, says the opposite, indicating the door to certain death.
 
*Solution 1: Ask one guard (it doesn't matter which one) which door the ''other'' guard would say leads out. ''Both'' guards will indicate the same door, which will be the door that ''doesn't'' lead out: the truthful guard knows the lying guard would point to the door that leads to certain death, and says so, while the lying guard, knowing the truthful guard would point to the right door, says the opposite, indicating the door to certain death.
 
*Solution 2: Ask one guard (it doesn't matter which one) what his answer would be if asked what door leads to freedom. Again, both guards will indicate the same door, which is indeed the door to freedom: the truth guard would, straightforwardly, tell you the truth, while the liar, if asked what door leads to freedom, would point to the opposite, and, if asked his answer, must give the opposite of ''that'' — the true door.
 
*Solution 2: Ask one guard (it doesn't matter which one) what his answer would be if asked what door leads to freedom. Again, both guards will indicate the same door, which is indeed the door to freedom: the truth guard would, straightforwardly, tell you the truth, while the liar, if asked what door leads to freedom, would point to the opposite, and, if asked his answer, must give the opposite of ''that'' — the true door.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)