46
$\begingroup$

You are in a room with three switches, labeled $A$, $B$, and $C$. Initially, each switch is in an off state. In an adjoining room, there are three incandescent light bulbs. Your task is to correctly label which switch goes to which bulb.

The catch: you may only enter the bulb room once. You have as long as you need in the switch room, and you may flip any switch as many times as you'd like, but once you leave the switch room, you may not enter it again.

There is a way to know for certain which bulb goes to which switch. How?

$\endgroup$
6
  • 12
    $\begingroup$ Please comment the reason(s) for downvoting. Please. $\endgroup$ Commented May 14, 2014 at 21:37
  • 9
    $\begingroup$ Why did you ask this? Moreover, why did you answer it yourself? It is a fairly well-known challenge, but you could have at least let someone else answer it. $\endgroup$
    – TheDoctor
    Commented May 15, 2014 at 3:25
  • 10
    $\begingroup$ @TheDoctor Self-answering is encouraged on SE, and especially during private beta I think it's popular to seed the site with some (quality) questions you can self-answer. The quality is of course important, but this question seems ok to me, and regardless: the fact that it's self-answered should not be the problem, we should focus on the question content itself. $\endgroup$
    – WendiKidd
    Commented May 17, 2014 at 1:42
  • 2
    $\begingroup$ An entertaining analysis: blogs.msdn.com/b/ericlippert/archive/2011/02/14/… $\endgroup$
    – A E
    Commented Sep 3, 2015 at 6:58
  • 3
    $\begingroup$ @David, you may note that the "crying about downvotes" was not done by the same person who wrote the question. Additionally, the comment was made over five years ago, presumably when fewer than 46 (not 40) upvotes had been cast. At the time the downvotes were cast, this site was in beta, and downvotes on off-topic questions were encouraged, so knowing the reason for downvoting was actually critical to help "seed the site with some (quality) questions", as mentioned in another comment. $\endgroup$
    – Xynariz
    Commented Aug 2, 2019 at 19:31

4 Answers 4

36
$\begingroup$

The answer:

Turn switches A and B on. Wait about a minute. Turn switch B off. Go to the bulb room. The bulb that is on corresponds to switch A. The bulb that is off, but warm, corresponds to switch B. The bulb that is off, but cold, corresponds to switch C.

The explanation:

Incandescent bulbs produce a significant amount of heat. In the amount of time it takes you to walk from one room to the other, the bulb will have not had time to cool down, unless the rooms are unreasonably large.

$\endgroup$
6
  • 2
    $\begingroup$ You should also accept your own answer if this is just your own Q&A knowledge sharing. $\endgroup$
    – user88
    Commented May 15, 2014 at 0:17
  • 18
    $\begingroup$ Alas, another beautiful puzzle succumbs to the advance of technology. LED bulbs make this fail. $\endgroup$ Commented May 15, 2014 at 13:28
  • 2
    $\begingroup$ @JoeZ. - It's not allowed to accept your own answer until 48 hours after. $\endgroup$
    – Xynariz
    Commented May 16, 2014 at 2:01
  • $\begingroup$ Oh, really? I don't think I've ever actually accepted my own answer before, so I didn't really know. $\endgroup$
    – user88
    Commented May 16, 2014 at 2:22
  • 1
    $\begingroup$ @RossMillikan LEDs can get pretty hot as well, just turn on your phone's camera to test $\endgroup$ Commented Jul 27, 2016 at 19:21
19
$\begingroup$

A late solution for LED lights as well, or if you can't touch these hot bulbs :P

Since all of the bulbs are new and identical with the exact liftetime:


1 -

Turn on the first switch.

2 -

Wait 24 hours.

3 -

Turn on the second switch.

4 -

Get into the room, wait until a bulb turns off.

5 -

The bulb that turns off first corresponds to the first switch.


The one which is still on corresponds to the second switch.

That way you can have LED lights and you don't get a burn, but you might have to wait long time.

$\endgroup$
6
  • 4
    $\begingroup$ "you might have to wait long time" - Approx 50,000 hours? $\endgroup$
    – Richard
    Commented Dec 5, 2014 at 0:34
  • 5
    $\begingroup$ @Richard what's 6 years between friends? $\endgroup$
    – Joe
    Commented Dec 5, 2014 at 21:05
  • 2
    $\begingroup$ @Joe - I'm just thinking that you might want to bring a few books while you wait. $\endgroup$
    – Richard
    Commented Dec 5, 2014 at 21:07
  • 8
    $\begingroup$ @Richard a small sacrifice to work out which bulb is which, I'm sure you'll agree $\endgroup$
    – Joe
    Commented Dec 5, 2014 at 21:08
  • 8
    $\begingroup$ You can speed up the process by jiggling the first switch on and off constantly, which Mythbusters found can reduce the lifespan to mere weeks if you do it 24/7. $\endgroup$
    – Vitruvie
    Commented May 1, 2015 at 4:57
5
$\begingroup$

A solution for 4 lightbulbs, A B C D.

turn on A and B. wait ten minutes. turn A off. turn C on. run upstairs. touch the lit bulbs. the hot one is B. the cold one is C. touch the dark bulbs. the warm one is A. the cold one is D.

$\endgroup$
1
  • 6
    $\begingroup$ Why would you go upstairs? The puzzle says the lights are in an adjoining room. ;) $\endgroup$ Commented Mar 23, 2018 at 8:49
4
$\begingroup$

Pardon the extremely (extremely!) late answer, but it occurs to me that there's a much easier and faster solution to this puzzle than has yet been suggested. All it requires is noticing that the puzzle specifies that...

...the lights and switches are in adjoining rooms.

In the normal formulation of this puzzle, that's not the case. Normally...

...the switches are in the basement and the bulbs are in the attic, separated by half a dozen rooms, specifically to cut off line of sight.

But this puzzle explicitly isn't set up in that usual way, and as a result we can solve the puzzle much more easily! (And some might say 'trivially')

All we have to do is flip a switch, peek through the door into the bulb room (without actually leaving the switch room), and take note of which bulb turned on.

Repeat for each switch, and we're done! And our non-burnt fingers will thank us. :)

$\endgroup$
1
  • $\begingroup$ Clever outside-the-box thinking! $\endgroup$
    – Xynariz
    Commented Feb 12, 2019 at 18:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.