Home / Learn / Knights and knaves puzzles
Learn

Knights and knaves puzzles

Test every assignment and keep the consistent one.

The idea

On an island of knights (who always tell the truth) and knaves (who always lie), each statement is a clue. The reliable method is to test every assignment and keep only the ones where every statement is consistent with who said it.

The method

  1. List the people and write “knight” or “knave” for each possibility. With n people there are 2n cases.
  2. For each case, work out whether each statement is actually true or false.
  3. A knight’s statement must be true; a knave’s must be false. Cross out any case that breaks this.
  4. If exactly one case survives, that is the answer.

Worked example

A says: “B is a knave.” B says: “A and I are the same type.” What are A and B?

ABA’s statement is…B’s statement is…Consistent?
knightknightfalsetrueNo: a knight cannot say something false
knightknavetruefalseYes: knight true, knave false
knaveknightfalsefalseNo: the knight B said something false
knaveknavetruetrueNo: a knave cannot say something true

Answer: A is a knight and B is a knave.

Common mistakes

  • Assuming a statement is true because it sounds plausible.
  • Forgetting that a knave’s statement must be entirely false, so its negation holds.
  • Stopping at the first consistent case without checking the rest.

Practise this topic

Try questions on this topic with instant explanations, or test yourself against the world in the ranked exam.