Logic Puzzles
Solve logic puzzles step by step with the grid method, elimination, case analysis, knights and knaves, ordering clues, number clues and river crossings.
Intermediate25 min18 problems
Definition
A logic puzzle gives you a few clues and asks you to find the one arrangement that fits all of them: who owns which pet, who stands where in a line, which number someone is thinking of. A well-made puzzle has exactly one solution, and you reach it by reasoning alone, without guessing.
The grid method. When you match two groups (people and sports, for example), draw a table with one row per person and one column per item. Write ✗ in every cell a clue rules out and ✓ in the cell that must be true. In the finished grid each row and each column has exactly one ✓.
Clues: Ana does not play a ball game. Ben does not play tennis.
| Football | Tennis | Swimming | |
|---|---|---|---|
| Ana | ✗ | ✗ | ✓ |
| Ben | ✓ | ✗ | ✗ |
| Cleo | ✗ | ✓ | ✗ |
Ana gets ✗ for football and tennis, so ✓ for swimming. Swimming is taken and Ben does not play tennis, so Ben ✓ football, and Cleo ✓ tennis.
Other strategies you will use in this lesson:
- Process of elimination: cross out what is impossible until only one option is left
- Case analysis: assume one possibility, follow it through, and drop it if it leads to a contradiction
- Knights and knaves: knights always tell the truth, knaves always lie, so test both cases for every speaker
- Ordering puzzles: draw the line or the row of houses and place the fixed people first
- Number puzzles: turn sum and product clues into a short list of candidates and test each one
- Crossing puzzles: count every one-way trip and look for the move that cannot be avoided
Try it now
Ana, Ben and Cleo each own one different pet: a cat, a dog or a fish. Ana's pet lives in water. Ben does not own the cat. Who owns the cat?
Interactive Visual
Logic grid puzzle
Clues
Tap a clue to cross it off once you have used it.
| Pet | Favorite color | ||||||
|---|---|---|---|---|---|---|---|
| cat | dog | fish | red | green | blue | ||
| Person | Ana | ||||||
| Ben | |||||||
| Cleo | |||||||
| Favorite color | red | ||||||
| green | |||||||
| blue | |||||||
Tap a cell once for ✗ (no match), twice for ✓ (match), a third time to clear it. A ✓ crosses out the rest of its row and column.
Interactive Sandbox
Expression Calculator
Try these:
History
No calculations yet
Practice Problems
18 problemsProblem 1 of 18
Easy
Ana, Ben and Cleo each own one different pet: a cat, a dog or a fish. Ana's pet lives in water. Ben does not own the cat. Who owns the cat?
Glossary
- Clue
- A piece of information in a puzzle that rules some arrangements in or out
- Logic grid
- A table with one row per person and one column per item, filled with ✓ and ✗ marks
- Process of elimination
- Crossing out impossible options until only one is left
- Case analysis
- Splitting a problem into all possible cases and checking each one separately
- Contradiction
- Two facts that cannot both be true; reaching one shows that an assumption was wrong
- Knight and knave
- Puzzle characters: a knight always tells the truth, a knave always lies
Formula Card
Grid rule
cells, exactly of them ✓
Each row and each column has exactly one ✓; a ✓ turns the rest of its row and column into ✗
Case analysis
, so the case is impossible
Try every case and keep only the one that fits all the clues
Crossings with a 2-seat boat
For $n \ge 2$ people when someone must row back each time; for example $5$ people need $7$ crossings