Can you solve the famously difficult green-eyed logic puzzle? - Alex Gendler

15,030,612 views ・ 2015-06-16

TED-Ed


Please double-click on the English subtitles below to play the video.

00:06
Imagine an island where 100 people,
0
6629
2441
00:09
all perfect logicians, are imprisoned by a mad dictator.
1
9070
5080
00:14
There's no escape, except for one strange rule.
2
14150
4141
00:18
Any prisoner can approach the guards at night and ask to leave.
3
18291
4760
00:23
If they have green eyes, they'll be released.
4
23051
3341
00:26
If not, they'll be tossed into the volcano.
5
26392
3950
00:30
As it happens, all 100 prisoners have green eyes,
6
30342
3761
00:34
but they've lived there since birth,
7
34103
2573
00:36
and the dictator has ensured they can't learn their own eye color.
8
36676
4815
00:41
There are no reflective surfaces,
9
41491
1955
00:43
all water is in opaque containers,
10
43446
2709
00:46
and most importantly,
11
46155
1508
00:47
they're not allowed to communicate among themselves.
12
47663
3117
00:50
Though they do see each other during each morning's head count.
13
50780
3974
00:54
Nevertheless, they all know no one would ever risk trying to leave
14
54754
4442
00:59
without absolute certainty of success.
15
59196
3411
01:02
After much pressure from human rights groups,
16
62607
2401
01:05
the dictator reluctantly agrees to let you visit the island
17
65008
4040
01:09
and speak to the prisoners under the following conditions:
18
69048
3417
01:12
you may only make one statement,
19
72465
2084
01:14
and you cannot tell them any new information.
20
74549
3309
01:17
What can you say to help free the prisoners
21
77858
2724
01:20
without incurring the dictator's wrath?
22
80582
3664
01:24
After thinking long and hard,
23
84246
1733
01:25
you tell the crowd, "At least one of you has green eyes."
24
85979
5402
01:31
The dictator is suspicious
25
91381
1888
01:33
but reassures himself that your statement couldn't have changed anything.
26
93269
4383
01:37
You leave, and life on the island seems to go on as before.
27
97652
4749
01:42
But on the hundredth morning after your visit,
28
102401
2255
01:44
all the prisoners are gone,
29
104656
2527
01:47
each having asked to leave the previous night.
30
107183
3698
01:50
So how did you outsmart the dictator?
31
110881
3052
01:53
It might help to realize that the amount of prisoners is arbitrary.
32
113933
5175
01:59
Let's simplify things by imagining just two, Adria and Bill.
33
119108
5070
02:04
Each sees one person with green eyes,
34
124178
2320
02:06
and for all they know, that could be the only one.
35
126498
3246
02:09
For the first night, each stays put.
36
129744
2566
02:12
But when they see each other still there in the morning,
37
132310
2921
02:15
they gain new information.
38
135231
2410
02:17
Adria realizes that if Bill had seen a non-green-eyed person next to him,
39
137641
4627
02:22
he would have left the first night
40
142268
1962
02:24
after concluding the statement could only refer to himself.
41
144230
3979
02:28
Bill simultaneously realizes the same thing about Adria.
42
148209
4112
02:32
The fact that the other person waited
43
152321
2019
02:34
tells each prisoner his or her own eyes must be green.
44
154340
4784
02:39
And on the second morning, they're both gone.
45
159124
3158
02:42
Now imagine a third prisoner.
46
162282
2244
02:44
Adria, Bill and Carl each see two green-eyed people,
47
164526
4269
02:48
but aren't sure if each of the others is also seeing two green-eyed people,
48
168795
5110
02:53
or just one.
49
173905
1607
02:55
They wait out the first night as before,
50
175512
2309
02:57
but the next morning, they still can't be sure.
51
177821
3251
03:01
Carl thinks, "If I have non-green eyes,
52
181072
2729
03:03
Adria and Bill were just watching each other,
53
183801
3176
03:06
and will now both leave on the second night."
54
186977
2726
03:09
But when he sees both of them the third morning,
55
189703
2765
03:12
he realizes they must have been watching him, too.
56
192468
3758
03:16
Adria and Bill have each been going through the same process,
57
196226
3058
03:19
and they all leave on the third night.
58
199284
3011
03:22
Using this sort of inductive reasoning,
59
202295
1960
03:24
we can see that the pattern will repeat no matter how many prisoners you add.
60
204255
4628
03:28
The key is the concept of common knowledge,
61
208883
3017
03:31
coined by philosopher David Lewis.
62
211900
2639
03:34
The new information was not contained in your statement itself,
63
214539
4396
03:38
but in telling it to everyone simultaneously.
64
218935
4018
03:42
Now, besides knowing at least one of them has green eyes,
65
222953
3727
03:46
each prisoner also knows that everyone else is keeping track
66
226680
4410
03:51
of all the green-eyed people they can see,
67
231090
3231
03:54
and that each of them also knows this, and so on.
68
234321
4466
03:58
What any given prisoner doesn't know
69
238787
2052
04:00
is whether they themselves are one of the green-eyed people
70
240839
3477
04:04
the others are keeping track of
71
244316
2115
04:06
until as many nights have passed as the number of prisoners on the island.
72
246431
6140
04:12
Of course, you could have spared the prisoners 98 days on the island
73
252571
4527
04:17
by telling them at least 99 of you have green eyes,
74
257098
4393
04:21
but when mad dictators are involved, you're best off with a good headstart.
75
261491
4760
About this website

This site will introduce you to YouTube videos that are useful for learning English. You will see English lessons taught by top-notch teachers from around the world. Double-click on the English subtitles displayed on each video page to play the video from there. The subtitles scroll in sync with the video playback. If you have any comments or requests, please contact us using this contact form.

https://forms.gle/WvT1wiN1qDtmnspy7