Question

identical twins logic problem

Asked by: ellencatherine

There are a set of identical twins.  One always lies and one always tells the truth.  One is named John.  Which one is John?  You may ask only one of the brothers a 3 word question.  The question must be a yes/no question.  What is the question?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-01-23 at 18:15:27ID20861386
Tags

twins

,

truth

Topic

Puzzles & Riddles

Participating Experts
22
Points
125
Comments
60

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Twin mice
    I just installed a second monitor into my pc and would like to utilize a twin mouse setup. One mouse is a logitech trackball and the other is an old compaq basic mouse. Both work well together, however I would like to know if there is a way or some program I can use to put i...
  2. simese twins
    can simese twins be different genders
  3. The original 'Identical Twins' Riddle...
    A previous 'identical twins' riddle was posted that was merely an abbreviation of the original riddle. The original riddle goes like this: You are lost at a fork in the road and at that fork you encounter identical twins. One always lies and one always tells the truth. Both k...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: tinchosPosted on 2004-01-23 at 18:54:36ID: 10189415

Hi ellencatherine,


The question one could ask is, "If I were to ask your brother whether you always tell the truth, what would he say?" A reply of "no" means you are talking to the truth teller, a reply of "yes" means you are talking to the liar.

Another possible question is, "If I were to ask you whether you always tell the truth, what would you say?" In this case a reply of "yes" means you are talking to the truth teller and a reply of "no" means you are talking to the liar.

Both questions take advantage of the liar lying about what he or his brother would say, creating a double negative type situation.


From http://www.cut-the-knot.org/impossible/brothers.shtml

Cheers

Tincho

 

by: ozoPosted on 2004-01-23 at 19:31:10ID: 10189528

Does John lie?

 

by: MusicManPosted on 2004-01-24 at 02:28:39ID: 10190407

Ozo's got it.

 

by: MASQUERAIDPosted on 2004-01-24 at 06:34:06ID: 10190964

>>Does John lie?
To which John only will reply "No"

If John is the liar the truthteller must say Yes
If John is truthful the liar must say Yes

[The points are ozo's - I just wanted to clarify the logic!]

M :o)

 

by: andyalderPosted on 2004-01-25 at 07:25:28ID: 10195394

"Is John honest" works as well, with only John replying yes.

 

by: WwysdomPosted on 2004-01-25 at 21:13:28ID: 10199032

Actually, The questions above only finds out who lies and who tells the truth. We can only presume John is the one who tells the truth.

Another alternate question is: "Is John here?"

Liar: "no" / The one who tells the truth: "yes"

 

by: WwysdomPosted on 2004-01-25 at 21:16:09ID: 10199038

Oops, sorry.
What I meant to say is it is not stated in the question whether John is the liar or otherwise.

 

by: WwysdomPosted on 2004-01-25 at 21:19:57ID: 10199046

Oh yeah, and since we can only ask one of them, you can't determine who is which either from the above questions.

 

by: ozoPosted on 2004-01-25 at 22:24:59ID: 10199218

To find out whether John is the liar or otherwise, ask "Are you John?"

 

by: WwysdomPosted on 2004-01-25 at 22:33:23ID: 10199242

I have an eleven word question that might work:

Q: "Will you say yes if I ask if you are John?"

1. John (Truth): Yes.
2. John (Liar): Yes. (As it is true that he will answer "No" to "Are you John?")
3. Brother (Truth): No.
4. Brother (Liar): No. (As it is true that he will answer "Yes" to "Are you John?")

So, John will be the one who says yes.

 

by: WwysdomPosted on 2004-01-25 at 22:38:17ID: 10199251

ozo,

>>To find out whether John is the liar or otherwise, ask "Are you John?"

If John tells the truth, both will say "Yes".
If John is the liar, both will say "No".

 

by: ozoPosted on 2004-01-26 at 03:24:30ID: 10199913

QED

 

by: ArawnPosted on 2004-01-26 at 07:31:15ID: 10201117

You could point to one twin and ask the other twin "Is he John?".

If the liar is John, and you ask him this question, he will answer Yes.
If the liar is John, and you ask the truthful one this question, he will answer Yes.

If the truthful one is John and you ask him this question, he will answer No.
If the truthful one is John and you ask the liar this question, he will answer No.

So depending on whether or not you get a yes or no answer to your question, you can figure out who John is.

 

by: ozoPosted on 2004-01-26 at 07:50:37ID: 10201286

To figure out if John is the liar ask "Are you John?" or "Is he John?"
To figure out which twin is Jobn ask "Does John lie?" or "Is John honest?"

 

by: ArawnPosted on 2004-01-26 at 08:09:26ID: 10201427

After looking at my answer, I realize it doesn't really answer the whole question, it just adds more info to work with. I really don't think you can ask one three-word question and get the complete answer.

 

by: peter57rPosted on 2004-01-26 at 09:29:58ID: 10202143

The original question only asks us how to identify John.  It doesn't ask us to indicate who is the liar.
So Ozo's question fulfils the requirement.

John will always answer 'No' and  'not-John' will always answer 'Yes' - so you can identify who is who(m?).

Pete

 

by: ArawnPosted on 2004-01-26 at 09:45:20ID: 10202295

To quote Homer Simpson.

D'OH!!!

I guess that's what happens when I read riddles first thing on a Monday.

 

by: meintsiPosted on 2004-01-26 at 10:32:02ID: 10202724

Ask either one  " Am I John?"

 

by: meintsiPosted on 2004-01-26 at 10:36:45ID: 10202764

or while showing then a red piece of paper.........
ask.. "Is this red?"

 

by: meintsiPosted on 2004-01-26 at 10:38:32ID: 10202781

Sorry... cross mine off.........

 

by: WwysdomPosted on 2004-01-26 at 15:25:17ID: 10205117

My deepest apologies,
I must have been half brain dead yesterday.

Ozo and Andyalder are correct.

 

by: WwysdomPosted on 2004-01-26 at 15:30:07ID: 10205139

Does John lie?

1. John (Truth): No.
2. John (Liar): No. (As it is true that he lies)
3. Brother (Truth): Yes.
4. Brother (Liar): Yes. (As it is true that John doesn't lie)

The same for "Is John honest?", just opposite.

:}

 

by: chenkewindPosted on 2004-01-30 at 17:29:46ID: 10240238

Isn't this nearly the riddle of the door knockers in Henson's "Labryinth" with David Bowie?

I've always liked it.


--ChenkeWind~~

 

by: WwysdomPosted on 2004-01-30 at 18:57:05ID: 10240628

It is a false logic puzzle.
Kind of similar to this one:

A death row convict was asked to say a sentence on the fateful day, to determine his method of execution.
Warden: "If you lie, you will be shot, if you tell the truth, you will be hung."
What did the convict say?

 

by: peter57rPosted on 2004-01-31 at 00:19:47ID: 10241345

I will be shot.

Pete

 

by: ms_blasterPosted on 2004-02-07 at 11:16:35ID: 10299333

Consider the sequence that begins with {1, 11, 21, 1211, 111221}. Find a rule that describes the sequence, and give the next term. Obviously, there are an unlimited number of rules that can describe the sequence. The one I am thinking of is pretty slick.

 

by: ms_blasterPosted on 2004-02-07 at 11:21:25ID: 10299374

Write down a sequence of 0s and 1s. Underneath each consecutive pair write a 0 if they are the same and a 1 if not. Repeat this process until you are left with a single digit. Can you predict what the final digit will be?

0 1 0 1 0 0
1 1 1 1 0
0 0 0 1
0 0 1
0 1
1

 

by: ozoPosted on 2004-02-07 at 11:31:10ID: 10299434

 

by: ice911Posted on 2004-02-09 at 00:33:10ID: 10308229

The answer to the identical twin question is not answerable because there will always be two different situations.

A = yes, B = no
A = no,  B = yes
-------------------------
A = yes, B = yes
A = no,  B = no

To follow the criteria of the question will always give you the possibliity of finding out who the liar and the truth teller is, but not who is john. Each yes and no question will give you the same results, and you can only ask one person. I believe the question is answerable.

ellencatherine, Please come back with a response.

 

by: peter57rPosted on 2004-02-09 at 00:54:52ID: 10308353

ellencatherine
I find I am repeating myself here, but the question does not ask us to identify who is telling the truth or otherwise.
It asks ONLY to identify which is John.
Ozo has posted an answer to this which will work.

Pete

 

by: ice911Posted on 2004-02-09 at 13:59:28ID: 10315000

There is no solution to the question.

Everyone is thinking of the possibility of asking one question to everybody, but the question says that you can only ask one person. Meaning you can't figure out if the person you ask is telling the truth or not because there will always two different situations, yes or no. In one situation, he could say yes, but in the other situation, he could say no.

Ozo's answer was only possible when you get to use it on both brothers.
When you use it on both, you still can't find out he tells the truth and who doesn't.

you can find out the question of who tells the truth by asking a question that you are 100% sure of the answer.
Like,
I'm I here?
Is john here?

That kind of question will tell you the truth teller, but not who is who?

There are too many possible situations to conclude to a who is who answer.

 

by: MASQUERAIDPosted on 2004-02-09 at 14:15:42ID: 10315230

This seems to be getting needlessly introspective.

The question (as it is so far above these comments by now) was:

"There are a set of identical twins.  One always lies and one always tells the truth.  One is named John.  Which one is John?  You may ask only one of the brothers a 3 word question.  The question must be a yes/no question.  What is the question? "

We don't need to know who tells the truth or who lies, all we need is to deduce which of the brothers is John.

Using ozo's logic ...
You can ask either of the brothers once only, "Does John lie?"
To which John only will reply "No"

If John is the liar the truthteller must say Yes
If John is truthful the liar must say Yes

Therefore if the response is "No" you are talking to John if the response is "Yes" you're not!

You only need to ask the question once.  You only need to determine the brother called John, it doesn't matter whether he is the liar or not.

What matters now is where is  ellencatherine??

M :o)

 

by: ice911Posted on 2004-02-09 at 15:01:31ID: 10315961

wait a minute!!

Using ozo's logic ...
You can ask either of the brothers once only, "Does John lie?"

this seems flawed to me some how. It was on the top of my head and i just lost it.
I understand how everyone is coming to that conclusion, but there seems to be some kind of hidden assumption.

 

by: MASQUERAIDPosted on 2004-02-09 at 15:07:00ID: 10316049

Does John Lie?

- John (Truthful) No
- John (Liar) No
- Not John (Truthful - therefore John liar) Yes
- Not John (Liar - etc ...) Yes

GAME OVER

Will the real ellencatherine please stand up!

 

by: WwysdomPosted on 2004-02-09 at 15:44:24ID: 10316504

She's probably run off with John, after finding the real one.

:D

 

by: RAXMANPosted on 2004-02-09 at 17:23:07ID: 10317693

Will John Lie?

 

by: ice911Posted on 2004-02-09 at 19:38:23ID: 10318863

ok, i get it completely now.
Sorry to waste everyone time because i'm so stupid.
Thanks for the explanation, MASQUERAID.

this does work:
Does John Lie?

P.S.  Wwysdom, I'm a guy, but if i wasn't....
lol

Now to wait for ellencatherine to come back.

 

by: WwysdomPosted on 2004-02-09 at 19:47:17ID: 10318918

I was talking about our dear host, ellencatherine.

I know, this is probably one of those days, when you wake up, everything seems to have no logic, and you read everything wrongly.

Happened to me when I first read this question.

 

by: ice911Posted on 2004-02-09 at 20:30:29ID: 10319160

ok, yea monday has to be the worst day to make decisions.
Good thing I have philosophy classes on tuesdays.
: )

 

by: LengorePosted on 2004-02-15 at 10:49:59ID: 10366258

I'm baffled.  With whom does ellencatherine lie?  If it's John we should be told.

 

by: jdissuesPosted on 2004-02-16 at 17:31:35ID: 10378006

in respons to the twins one, they would both say yes becaues ones telling the truth and the other is lying

 

by: dasnaPosted on 2004-03-02 at 07:34:10ID: 10495867

You may ask only one of the brothers a 3 word question.
So the only possible question is OZO's one:
Does John lie?
Cheers

 

by: ADPvvnPosted on 2004-03-04 at 02:13:40ID: 10512641

dasna:
if you ask "does john lie"
then how do you know if you are talking to the liar of to the other one?

you only get and yes/no answer...

 

by: ADPvvnPosted on 2004-03-04 at 02:13:51ID: 10512643

dasna:
if you ask "does john lie"
then how do you know whether you are talking to the liar of to the other one?

you only get and yes/no answer...

 

by: LengorePosted on 2004-03-04 at 03:13:24ID: 10512926

Let me try to explain why Ozo's solution works.  Let us call the other twin Tom, there are four possibilities:

Remember the question is "Does John lie?" and the riddle is to identify which twin is John.

1. John is asked the question and he is the liar so he answers "No"
2. John is asked the question and he is truthful so he answers "No"
3. Tom is asked the question and he is the liar (i.e. John is truthful) so he answer "Yes"
4. Tom is asked the question and he is truthful (i.e. John is the liar) so he answers "Yes"

So if you get the answer "No" you are talking to John else you are not talking to John.

Are you happy now ADPvvn?

 

by: ADPvvnPosted on 2004-03-04 at 03:25:04ID: 10512982

ah well...

 

by: shaliniaroraPosted on 2004-04-14 at 22:29:31ID: 10830192

How to determine whether a very big number (suppose 9901313) is prime or not, for which our simple 2-20 prime number checking methods fails?

 

by: ozoPosted on 2004-04-14 at 22:58:42ID: 10830347

9901313 is prime

 

by: LengorePosted on 2004-04-15 at 02:41:15ID: 10831512

I concur with ozo, 9901313 is prime BUT this is way off topic!

 

by: okankutluPosted on 2004-04-19 at 08:10:53ID: 10860384

how about using the question? u know u could make it a question like "is john blind" since they are identical, u can find the answer...

 

by: Javin007Posted on 2004-04-22 at 17:41:17ID: 10895227

Quote:
"if you ask "does john lie"
then how do you know if you are talking to the liar of to the other one?"

This is precisely where I got hung up on this, and it took me a good 10 minutes KNOWING the answer to figure out the logic in it.

The question is NOT, "Is John the liar."  The question is, "Who are you talking to?"  You don't need to know if they're the liar or not.  Only which one you're speaking too.  If you ask the question "Does John Lie" of John, whether he's the liar or not, he'll always say "no."  If he's not a liar, he'll say "no, I don't lie."  If he IS the liar, he'll still answer "No, I don't lie."

If you ask the OTHER person the same question, and the OTHER person IS lying, then that means John DOESN'T lie, so the other person will say "Yes, John lies."  If the other person is telling the truth, then John, by default, is the liar.  So the other person will STILL say "Yes, John lies."

So you won't know if John is a liar or not, but that doesn't matter.  It wasn't the question.  John will always answer "no" and the other person will always answer "yes."

Great riddle.  It's actually a step ABOVE the question on Labyrinth.

-Javin

 

by: nsstonePosted on 2004-04-29 at 21:30:38ID: 10956179

"Does John Lie?"
if No, then you have asked John.
If Yes, then John is the other one.

 

by: LengorePosted on 2004-04-29 at 23:46:02ID: 10956691

Dear nsstone,

Can you please read the responses before contributing.  You're answer is correct but your submission is three months after that answer has already been accepted.

 

by: AnDricoPosted on 2004-05-09 at 14:40:20ID: 11027133

The original question is an abbreviation of the original riddle. The original riddle goes like this: You are lost at a fork in the road and at that fork you encounter identical twins. One always lies and one always tells the truth. Both know the correct road to take you to the destination that you seek. What one (1) question can you ask one of the twins to set you on the right path? (Remember, you can only ask one question to only one of the twins and you do not know which one lies or which one tells the truth.)

 

by: MASQUERAIDPosted on 2004-05-09 at 14:41:54ID: 11027134

Arghh! </subcribe>

 

by: nsstonePosted on 2004-05-10 at 15:45:54ID: 11035723

I assumed (silly me) that since the question was STILL OPEN, answers were still being accepted.  My answer was both correct AND minimal, hence useful to those with less time on their hands than you obviously have.

Your comments should be directed to the guy who hasn't closed the question.

Regards,

nsstone

 

by: nsstonePosted on 2004-05-10 at 15:55:55ID: 11035785

msblaster,

the answer to your sequence:

1, 11, 21, 1211, 111221, 312211

each number is a set of "pairs" describing the previous number:
1
"one 1"
"two 1",
"one 2, one 1",
etc

 

by: LengorePosted on 2004-05-10 at 23:07:08ID: 11037678

Don't assume people who follow threads from the beginning have a lot of time on their hands.  However, I would suggest you should spend a tad more time on these submissions to at least make sure you're on the right thread.

 

by: nsstonePosted on 2004-05-11 at 16:49:14ID: 11045639

Lengore,

As the self-appointed Relevancemeister, please note msblaster's entry of 02/07.

Regards

 

by: LengorePosted on 2004-05-12 at 01:33:24ID: 11047807

I really don't see any point in replying if you can't see the point, so be it.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...