What question should you ask?

  • B
  • Thread starter kent davidge
  • Start date
In summary: To help further towards the solution I know - I don't know if there are other solutions, one more hint - also take note of the hint of @kuruman in post #9 because this is a crucial assumption in my solution too: make use of some conditional. This is meant to...In summary, if you ask a question that reveals who is telling the truth, you can know which door leads to freedom.
  • #1
kent davidge
933
56
I saw this problem in Wikipedia in my native language. The problem goes as follows

You are detained and there are two doors in front of you, one leads to death and the other to freedom. Each door is guarded by one deputy. One of the deputies always makes false statements while the other always makes true statements.

You can ask just one question to just one of the deputies (in order to know what door is the one you want to go through). What should you ask?I did the following: as one deputy will always make false statements and the other always true statements, I can ask anyone out to choose one of these options:

(a) I'm a chicken; this door leads to death.
(b) I'm a chicken; this door leads to freedom.
(c) I'm a human; this door leads to death.
(d) I'm a human; this door leads to freedom.

I choose anyone deputy to ask this question and if he chooses (a) or (b) then it's the liar, therefore if he chooses, say, (a) we know that the door leads to freedom... the same reasoning holds for the two bottom options... and in this way I can know what door leads to freedom and what leads to death.

Does this solution sounds logic?
 
Physics news on Phys.org
  • #2
The four options you have are not one question, they are a multiple choice among four statements. If you form these as questions, you will be asking four questions and not one as you are required to do. Try another approach.
 
  • #3
As @kuruman has said the a thru d choices are yours to make, pick one and then try them against the two deputies to see what door to select.
 
  • #4
It's meant to be one question in the sense that I ask him "please, choose one alternative out of these four".. but yea
jedishrfu said:
pick one and then try them against the two deputies to see what door to select.
if one does that and one gets "I'm a chicken; this door leads to death" one concludes what is the guarded door.
 
  • #5
kent davidge said:
Does this solution sounds logic?

As has already been noted by kuruman you should ask just one question and not four. Now, to give you a hint about the solution try two things: first, it is not meaningful to just ask the question directly - as you don't know who is telling the truth and who's not. This gives a hint that you should ask a question that reveals who is telling the truth so you have to concentrate on a question regarding the guards themselves. Second, think in terms of reversing answers.
 
  • Like
Likes kent davidge and jedishrfu
  • #6
kent davidge said:
It's meant to be one question in the sense that I ask him "please, choose one alternative out of these four".. but yea

if one does that and one gets "I'm a chicken; this door leads to death" one concludes what is the guarded door.

You might like this:

 
  • Like
Likes Stephen Tashi and kent davidge
  • #7
PeroK said:
You might like this:


Cool
QuantumQuest said:
you have to concentrate on a question regarding the guards themselves. Second, think in terms of reversing answers.
Maybe a question that I know the answer a priori so that depending on the answer I know who is/is not the liar, and that same answer should also imply the identity of the doors...
 
  • #8
kent davidge said:
Cool

Maybe a question that I know the answer a priori so that depending on the answer I know who is/is not the liar, and that same answer should also imply the identity of the doors...
The question as you quote it has been spoiled by assigning a guard to a door, allowing simple questions about known facts to be used to identify the liar and the door.

The question needs either only one guard or the guards to be dissociated from the doors in order to prevent this.

In that case, you can easily establish who is the liar with one question, but that leaves you still not knowing which door is which.
 
  • Like
Likes kent davidge
  • #9
PeroK said:
The question needs either only one guard or the guards to be dissociated from the doors in order to prevent this.
That is as it should be. Here is a hint to think about. It is also assumed that the deputies have worked together long enough to know whether the other guy is a liar or a truth-teller.
 
  • #10
Just ask either one of them
"If I were to ask you if this is the door to freedom, would you say yes?"

If it's the door to freedom, both will say yes and it it's not, both will say no.
 
  • Like
Likes jedishrfu
  • #11
kent davidge said:
Maybe a question that I know the answer a priori so that depending on the answer I know who is/is not the liar, and that same answer should also imply the identity of the doors...

To help further towards the solution I know - I don't know if there are other solutions, one more hint - also take note of the hint of @kuruman in post #9 because this is a crucial assumption in my solution too: make use of some conditional. This is meant to be asked to one guard, even though you don't know who tells the truth and who is not. If you combine this with my first hint in post #5 it should be easy enough to find the appropriate question. Also the second hint there guides to the formulation of this question.
 
  • #12
The answer according to wikipedia https://pt.wikipedia.org/wiki/Lógica is

(free translation)

"Ask to anyone of them: what door would you partner point out as being the door to freedom?

Explanation: the liar would point out the door of death as being the door that his partner would say is the door of freedom, because it's a lie on the affirmation of the truthteller. And the truthteller, knowing that his partern always lie, would say that he would point out the door of death as being the door of freedom.

Conclusion: either deputy would point out the door of death as being the door that his partner would say is the door of freedom. Therefore, you know you should walk through the other door."I guess this is the kind of question @kuruman and @QuantumQuest were thinking about.
 
  • #13
kent davidge said:
I guess this is the kind of question @kuruman and @QuantumQuest were thinking about.
You guessed correctly, in my case anyway.
 
  • Like
Likes kent davidge
  • #14
kent davidge said:
The answer according to wikipedia https://pt.wikipedia.org/wiki/Lógica is

(free translation)

"Ask to anyone of them: what door would you partner point out as being the door to freedom?

Explanation: the liar would point out the door of death as being the door that his partner would say is the door of freedom, because it's a lie on the affirmation of the truthteller. And the truthteller, knowing that his partern always lie, would say that he would point out the door of death as being the door of freedom.

Conclusion: either deputy would point out the door of death as being the door that his partner would say is the door of freedom. Therefore, you know you should walk through the other door."

I have not really seen Wikipedia answer but this is a puzzle I have solved about thirty five years ago. It is a well known puzzle - especially in the math world, and if you see my hints indeed this is the solution that I hint towards too. That's why I told you to ask some "if" regarding guards themselves and reverse answer ;)
 
  • Like
Likes kent davidge
  • #15
QuantumQuest said:
I have solved about thirty five years ago
Wow, a lot of time
 
  • #16
kent davidge said:
Wow, a lot of time
Not really. I solved it about 60 years ago. This is a VERY old logic/linguistic puzzle. See post #10.
 
  • Like
Likes QuantumQuest
  • #17
phinds said:
Not really. I solved it about 60 years ago. This is a VERY old logic/linguistic puzzle. See post #10.

Hey I'm not that old to know that ;)
 
  • #18
Hint1: You can ask a single yes-or-no question that embeds your question about the door inside a question about the guard.
Hint2: You don't care which guard is which; just which door is which.
Hint3: You can construct the question so that the answer is the same regardless of which guard is asked.

Answer:
You ask either guard, "if I were to ask you, 'does the door you're guarding lead to freedom', would you say yes?"
If the guard says Yes" you walk out that door; if he says "No", you exit by the other door.
Explanation:
You don't simply ask the guard about the door; you instead ask what he would say if asked about the door. That way, you get either a lie about a lie, which comes out as the truth, or the truth about the truth, which also comes out as the truth (just as either a double negative or a double affirmative is an affirmative).

If it's the good door:
the truth teller says "Yes" -- he knows that he would not lie and say "No" if asked if it was the good door, so he tells the truth about that and says "Yes".
the liar also says "Yes" -- he knows that he would lie and say "No" if asked if it was the good door, so he lies about that and says "Yes".

If it's the bad door:
the truth teller says "No" -- he knows that he would not lie and say "Yes" if asked if it was the good door, so he tells the truth about that and says "No".
the liar also says "No" -- he knows that he would lie and say "Yes" if asked if it was the good door, so he lies and about that and says "No".

There are other ways to formulate the question; all of them require nesting so that the liar property is invoked an even number of times.
 
Last edited:
  • Like
Likes kent davidge
  • #19
sysprog said:
Hint1: You can ask a single yes-or-no question ...
I take it you didn't read post #10
 
  • #20
phinds said:
I take it you didn't read post #10
You're right -- you said the same thing -- and more succinctly.
 
  • #21
sysprog said:
Hint1: You can ask a single yes-or-no question that embeds your question about the door inside a question about the guard.
Hint2: You don't care which guard is which; just which door is which.
Hint3: You can construct the question so that the answer is the same regardless of which guard is asked.

Answer:
You ask either guard, "if I were to ask you, 'does the door you're guarding lead to freedom', would you say yes?"
If the guard says Yes" you walk out that door; if he says "No", you exit by the other door.
Explanation:
You don't simply ask the guard about the door; you instead ask what he would say if asked about the door. That way, you get either a lie about a lie, which comes out as the truth, or the truth about the truth, which also comes out as the truth (just as either a double negative or a double affirmative is an affirmative).

If it's the good door:
the truth teller says "Yes" -- he knows that he would not lie and say "No" if asked if it was the good door, so he tells the truth about that and says "Yes".
the liar also says "Yes" -- he knows that he would lie and say "No" if asked if it was the good door, so he lies about that and says "Yes".

If it's the bad door:
the truth teller says "No" -- he knows that he would not lie and say "Yes" if asked if it was the good door, so he tells the truth about that and says "No".
the liar also says "No" -- he knows that he would lie and say "Yes" if asked if it was the good door, so he lies and about that and says "No".

There are other ways to formulate the question; all of them require nesting so that the liar property is invoked an even number of times.
Thank you. Your post made it clear and easy to understand the logic behind the question.
 

1. What is the purpose of asking questions?

Asking questions allows us to gain knowledge and understanding about a particular topic or situation. It can also help us to clarify information and make more informed decisions.

2. How do you determine what question to ask?

The best way to determine what question to ask is to first identify what information you are seeking or what problem you are trying to solve. From there, you can brainstorm potential questions that will help you achieve your goal.

3. What are the types of questions that should be asked?

There are many types of questions that can be asked, including open-ended questions that allow for a variety of responses, closed-ended questions that have a specific answer, probing questions to gather more information, and reflective questions to encourage deeper thinking.

4. How can asking questions improve scientific research?

Asking questions is at the core of scientific research. By posing thoughtful and relevant questions, scientists can uncover new information, challenge existing theories, and ultimately advance our understanding of the natural world.

5. What are some strategies for asking effective questions?

Effective questioning strategies include being specific and concise, avoiding leading or biased questions, using open-ended questions to encourage discussion, and actively listening to the responses given. It is also important to be respectful and considerate when asking questions.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
7
Replies
212
Views
11K
  • Set Theory, Logic, Probability, Statistics
Replies
13
Views
2K
Replies
12
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
21
Views
13K
Replies
6
Views
728
  • General Discussion
Replies
16
Views
1K
Replies
2
Views
41
Replies
81
Views
4K
Back
Top