Three switches, one light bulb out of sight, and only one visit to its room. What will you do before you open the door?

The Three Switches

Reasoner
Visual traps

Riddle statement

There are three switches in one room. In another room, which you cannot see from the first, a light bulb is connected to exactly one of them.

You may operate the switches however you like, but you may enter the room with the bulb only once. The bulb gets hot after it has been on for a while.

How can you determine with certainty which switch controls the bulb?

Show solution

Solution

Answer: use both light and heat.

Turn on the first switch and leave it on long enough for the bulb to warm up. Turn it off, turn on the second switch, and immediately enter the room with the bulb. Leave the third switch off.

There are three possible observations:

  • If the bulb is on, the second switch controls it.
  • If the bulb is off but still warm, the first switch controls it.
  • If the bulb is off and cold, the third switch controls it.

Each switch produces a different observable state, so one visit is enough. This uses the stated condition that the bulb heats up when lit.

Keep thinking

Here the plan creates three distinguishable outcomes. Try designing a larger set of outcomes in The thousand poisoned bottles, or gathering information over several weighings in The fake coin among twelve.