All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic > Liars and Knights
X and Y (Posted on 2011-01-04) Difficulty: 3 of 5
There is an island where every inhabitant is either of Type X or Type Y. One of the types always tells the truth, and the other type always lies, but you are not sure which is which. You meet two inhabitants of this island, A and B.
A: B is of Type X.
B: We are both of Type Y.
Which type tells the truth, which type lies, and what are A and B?

  Submitted by Math Man    
Rating: 4.0000 (2 votes)
Solution: (Hide)
Suppose Type X always tells the truth and Type Y always lies. If A is of Type X, then A's statement is true, so B is of Type X. Then, B would be lying about them both being of Type Y, which is impossible since B is of Type X and tells the truth. If A is of Type Y, then A's statement is false, so B is really of Type Y. Then, they are both of Type Y, so B's statement is true, but B is of Type Y and always lies. We get a contradiction, so Type Y tells the truth and Type X lies. If A is of Type X, then A is lying, so B is of Type Y. Then, B is lying about them both being of Type Y, but B is of Type Y and always tells the truth. That is a contradiction. Therefore, A is of Type Y, so A's statement is true and B is of Type X. In summary, A is of Type Y and tells the truth, and B is of Type X and lies.

Comments: ( You must be logged in to post comments.)
  Subject Author Date
SolutionExplanation for Puzzle AnswerK Sengupta2022-03-17 02:17:56
Puzzle AnswerK Sengupta2022-03-17 02:07:12
SolutionAnother methodGamer2011-01-05 15:21:01
Solutionre: spoilerOren2011-01-04 20:48:39
SolutionspoilerAdy TZIDON2011-01-04 18:41:00
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (15)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information