What would the other villager tell me to do in order to reach my destination?

  • Thread starter Thread starter Mr Davis 97
  • Start date Start date
  • Tags Tags
    Logic Puzzle
AI Thread Summary
To determine which road to take at a fork, a tourist can ask a villager a cleverly constructed question that accounts for the villager's truthfulness or deceit. The discussion highlights that while there may be systematic approaches to formulating such questions, many find it challenging without prior knowledge of the trick involved. Participants note that once the solution is revealed, it seems obvious, but arriving at it independently can be difficult. Suggestions include embedding two questions into one to ensure consistent answers from both truth-tellers and liars. Ultimately, the conversation emphasizes the importance of strategic questioning in logic puzzles.
Mr Davis 97
Messages
1,461
Reaction score
44

Homework Statement


Each inhabitant of a remote village always tells the truth or always lies. A villager will only give a "yes or a "no" response to a question a tourist asks. Suppose that you are a tourist visiting this are and come to a fork in the road. One branch leads to where you want to go, and the other leads to the deep jungle. A villager is standing at a fork in the road. What question can you ask the villager to determine which branch to take?

Homework Equations

The Attempt at a Solution


I am not sure where to start. For these types of logic puzzles, I am not sure if there exists some systematic way to deduce a question to ask based on propositional logic and truth tables, or if you just have to come up with one through trial and error.
 
Physics news on Phys.org
Mr Davis 97 said:
I am not sure where to start. For these types of logic puzzles, I am not sure if there exists some systematic way to deduce a question to ask based on propositional logic and truth tables, or if you just have to come up with one through trial and error.
I agree. I know the answer to this one but I didn't get it, had to be told (about 50 years ago --- it's an oldie). Once you know the trick, many such become easy.

There may BE a way, but if so, I've never figured it out. Hope someone else has and will post it.
 
Mr Davis 97 said:

Homework Statement


Each inhabitant of a remote village always tells the truth or always lies. A villager will only give a "yes or a "no" response to a question a tourist asks. Suppose that you are a tourist visiting this are and come to a fork in the road. One branch leads to where you want to go, and the other leads to the deep jungle. A villager is standing at a fork in the road. What question can you ask the villager to determine which branch to take?

Homework Equations

The Attempt at a Solution


I am not sure where to start. For these types of logic puzzles, I am not sure if there exists some systematic way to deduce a question to ask based on propositional logic and truth tables, or if you just have to come up with one through trial and error.

This is one of those standard puzzles (a real "oldie") whose solution is blindingly obvious once somebody tells you the answer, but is almost un-doable otherwilse. It is also one of those question for which the PF rules about supplying hints only (not complete solutions) is so restrictive that even giving a hint seems impossible---the whole solution, or nothing.
 
Last edited:
I think I did come up with a way to give a hint without giving away the answer. It may be too close to the answer but as Ray just said, it is almost undo-able if you don't know the trick. Think of how you can embed two questions in one such that the end result will be the same for the liar and the truther.
 
There is also the approach which guarantees at least a moral victory. "Please lead me to the village, where I hear there is free beer today"
 
It might help to ask a hypothetical question rather than a direct question about the roads.
 
I picked up this problem from the Schaum's series book titled "College Mathematics" by Ayres/Schmidt. It is a solved problem in the book. But what surprised me was that the solution to this problem was given in one line without any explanation. I could, therefore, not understand how the given one-line solution was reached. The one-line solution in the book says: The equation is ##x \cos{\omega} +y \sin{\omega} - 5 = 0##, ##\omega## being the parameter. From my side, the only thing I could...
Back
Top