One Question, Two Roads

  • Medium
  • Logical puzzles
  • Tests: Composing a question that survives either answerer

The puzzle

A road forks. One branch leads to the village, the other to the swamp. A single local stands there; they are either someone who always tells the truth or someone who always lies, and you cannot tell which.

You may ask one yes-or-no question. What do you ask?

Stuck?

One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.

Hint 1

You cannot find out whether they are a liar. You do not need to.

Hint 2

Make them report what the OTHER kind of person would say. A lie about a lie is the truth.

Show the answer Hide the answer

Ask: "If I asked you whether the left road leads to the village, would you say yes?" Then take the left road if they answer yes.

How to get there

Take a truth-teller. If the left road is right, they would say yes, and asked what they would say, they report yes truthfully. If it is wrong, they report no.

Take a liar. If the left road is right, they would say no - but asked what they would say, they must lie about that too, so they say yes. If it is wrong, they would say yes, and lying about it, they say no.

So both answer yes exactly when the left road is correct. The embedded question forces the liar to negate twice, and two negations cancel. The same trick answers every "one question, unknown answerer" variant - including the version where there are two locals and you may ask only one of them.

The technique worth keeping

Do not try to identify the answerer. Build a question whose answer is the same from either, usually by asking what they WOULD say rather than what is true - a liar asked to report their own lie tells the truth by accident.