ArticleslgStudy

science

Zebra Puzzle

Zebra Puzzle is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Zebra Puzzle rather than just read about it. In short: The Zebra Puzzle is a well-known logic puzzle. Many versions of the puzzle exist, including a version published in Life International magazine on December 17, 1962.

Key takeaways

  • Zebra Puzzle belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Zebra Puzzle to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Zebra Puzzle from memory before moving on to harder problems.

Reference excerpt

The Zebra Puzzle is a well-known logic puzzle. Many versions of the puzzle exist, including a version published in Life International magazine on December 17, 1962. The March 25, 1963, issue of Life contained the solution and the names of several hundred successful solvers from around the world. The puzzle is often called Einstein's Puzzle or Einstein's Riddle because, according to an urban legend, it was invented by Albert Einstein as a boy; it is also sometimes attributed to Lewis Carroll. However, there is no evidence for either person's authorship, and the Life International version of the puzzle mentions brands of cigarettes that did not exist during Carroll's lifetime or Einstein's boyhood. The Zebra puzzle has been used as a benchmark in the evaluation of computer algorithms for solving constraint satisfaction problems. More recently, it has been used as a benchmark for logical reasoning capabilities of large language models.

Description The following version of the puzzle appeared in Life International in 1962:

There are five houses. The Englishman lives in the red house. The Spaniard owns the dog. Coffee is drunk in the green house. The Ukrainian drinks tea. The green house is immediately to the right of the ivory house. The Old Gold smoker owns snails. Kools are smoked in the yellow house. Milk is drunk in the middle house. The Norwegian lives in the first house. The man who smokes Chesterfields lives in the house next to the man with the fox. Kools are smoked in the house next to the house where the horse is kept. The Lucky Strike smoker drinks orange juice. The Japanese smokes Parliaments. The Norwegian lives next to the blue house. Now, who drinks water? Who owns the zebra? In the interest of clarity, it must be added that each of the five houses is painted a different color, and their inhabitants are of different national extractions, own different pets, drink different beverages and smoke different brands of American cigarets [sic]. One other thing: in statement 6, right means your right.

Solution Assuming that one person drinks water and one owns a zebra, then it is possible not only to deduce the answers to the two questions, but to figure out a complete solution of who lives where, in what color house, keeping what pet, drinking what drink, and smoking what brand of cigarettes. By considering the clues a few at a time, it is possible to slowly build inferences that incrementally complete the puzzle's unique correct solution. For example, by clue 10, the Norwegian lives in house #1, and by clue 15, house #2 must be blue. The Norwegian's house therefore cannot be blue, nor can it be red, where the Englishman lives (clue 2), or green or ivory, which are next to each other (clue 6). It must therefore be yellow, which means the Norwegian also smokes Kools (clue 8). The March 25, 1963, issue of Life International contained the following solution, and the names of several hundred solvers from around the world.

Other versions Other versions of the puzzle have various differences from the Life International puzzle, in which various colors, nationalities, cigarette brands, drinks, and pets are substituted, or the clues are given in a different order. These do not change the logic of the puzzle. A slightly simplified version of this puzzle appears in the video game Dishonored 2, where the player character has to solve it to unlock a gate to an abandoned mansion. Some versions of the puzzle indicate that the green house is on the left of the ivory house, instead of on the right of it.

References

External links Einstein's Puzzle on OpenCog's wiki Zebra puzzle on Rosetta Code Einstein's Riddle on Brainzilla Einstein's puzzle as Alloy model Watson, a clone of "Sherlock", a game which is itself based on the Zebra puzzle

Worked examples

Example 1 — a first encounter with Zebra Puzzle

Start with the simplest possible case. Write down what Zebra Puzzle claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Zebra Puzzle before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Zebra Puzzle ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Zebra Puzzle

In research
Zebra Puzzle appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Zebra Puzzle in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Zebra Puzzle is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1962 works, Albert Einstein, Logic puzzles, so understanding it makes those chapters shorter.
In everyday life
Look for Zebra Puzzle outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Zebra Puzzle” →

How to study Zebra Puzzle in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Zebra Puzzle means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Zebra Puzzle out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Zebra Puzzle in simple terms?

The Zebra Puzzle is a well-known logic puzzle. Many versions of the puzzle exist, including a version published in Life International magazine on December 17, 1962.

Why does Zebra Puzzle matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Zebra Puzzle?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Zebra Puzzle.

Tags

  • 1962 works
  • Albert Einstein
  • Logic puzzles

Keep exploring