Can you solve the prisoner hat riddle? - Alex Gendler

29,369,102 views ・ 2015-10-05

TED-Ed


โปรดดับเบิลคลิกที่คำบรรยายภาษาอังกฤษด้านล่างเพื่อเล่นวิดีโอ

Translator: Panaya Hasitabhan Reviewer: Rawee Ma
00:10
You and nine other individuals have been captured
0
10714
3128
คุณและคนอื่นอีกเก้าคน ถูกลักพาตัว
00:13
by super intelligent alien overlords.
1
13842
3653
โดยมนุษย์ต่างดาวทรงปัญญา
00:17
The aliens think humans look quite tasty,
2
17495
3312
ที่คิดว่ามนุษย์ดูน่าอร่อย
00:20
but their civilization forbids eating highly logical and cooperative beings.
3
20807
5326
แต่อารยธรรมพวกเขาห้ามไม่ให้กินสิ่งมีชีวิต ที่รู้จักใช้เหตุผลและร่วมมือกัน
00:26
Unfortunately, they're not sure whether you qualify,
4
26133
3698
โชคร้าย พวกเขาไม่ค่อยแน่ใจว่า พวกคุณจะเข้าข่ายหรือเปล่า
00:29
so they decide to give you all a test.
5
29831
2922
เลยจะให้พวกคุณผ่านการทดสอบ
00:32
Through its universal translator,
6
32753
1645
จากเครื่องแปลภาษาจักรวาล
00:34
the alien guarding you tells you the following:
7
34398
3564
มนุษย์ต่างดาวบอกพวกคุณดังนี้
00:37
You will be placed in a single-file line facing forward in size order
8
37962
5461
พวกแกจะยืนแถวเรียงเดี่ยวตามความสูง หันไปทางเดียวกัน
00:43
so that each of you can see everyone lined up ahead of you.
9
43423
3921
แต่ละคนจะเห็นทุกคนที่ยืนอยู่ข้างหน้า
00:47
You will not be able to look behind you or step out of line.
10
47344
3729
พวกแกไม่สามารถเดินหันหลัง หรือเดินแตกแถว
00:51
Each of you will have either a black or a white hat on your head
11
51073
4231
แต่ละคนจะสวมหมวกสีดำหรือสีขาว
00:55
assigned randomly,
12
55304
1934
โดยการสุ่ม
00:57
and I won't tell you how many of each color there are.
13
57238
4017
ข้าจะไม่บอกว่ามีหมวกแต่ละสีกี่ใบ
01:01
When I say to begin, each of you must guess the color of your hat
14
61255
3819
เมื่อข้าบอกให้เริ่ม พวกแกแต่ละคน ต้องทายสีหมวกของตัวเอง
01:05
starting with the person in the back and moving up the line.
15
65074
4400
เริ่มจากคนที่อยู่ข้างหลังแล้วมาข้างหน้า
01:09
And don't even try saying words other than black or white
16
69474
3048
ห้ามพูดคำอื่นนอกจากคำว่า ดำ หรือ ขาว
01:12
or signaling some other way, like intonation or volume;
17
72522
4465
หรือส่งสัญญาณด้วยน้ำเสียง หรือความดัง
01:16
you'll all be eaten immediately.
18
76987
2762
ไม่งั้นจะถูกกินทั้งหมดเลย
01:19
If at least nine of you guess correctly, you'll all be spared.
19
79749
4368
ถ้าอย่างน้อยพวกเจ้าเก้าคนทายถูก ทุกคนก็จะรอด
01:24
You have five minutes to discuss and come up with a plan,
20
84117
3126
พวกเจ้ามีเวลาห้านาที เพื่อคุยกันหาแผนการ
01:27
and then I'll line you up, assign your hats, and we'll begin.
21
87243
4748
แล้วข้าจะเรียงแถวพวกเจ้าเอาหมวกให้ใส่ แล้วเราก็จะเริ่มการทดสอบ
01:31
Can you think of a strategy guaranteed to save everyone?
22
91991
4051
คุณคิดกลยุทธ์ที่จะช่วยทุกคนได้หรือไม่
01:36
Pause the video now to figure it out for yourself.
23
96042
3095
หยุดวิดีโอเดี๋ยวนี้ถ้าจะคิดหาคำตอบเอง
01:39
Answer in: 3
24
99137
1017
คำตอบ ใน 3
01:40
Answer in: 2
25
100154
1092
2
01:41
Answer in: 1
26
101246
1865
1
01:43
The key is that the person at the back of the line
27
103111
2829
สิ่งสำคัญที่สุดคือคนที่อยู่ท้ายแถว
01:45
who can see everyone else's hats can use the words "black" or "white"
28
105940
4554
ที่เห็นหมวกของทุกคน และสามารถใช้คำว่าดำหรือขาว
01:50
to communicate some coded information.
29
110494
3378
เพื่อสื่อสารข้อมูลลับบางอย่างสองคำนี้
01:53
So what meaning can be assigned to those words
30
113872
2668
ควรสื่อถึงข้อมูลอะไร
01:56
that will allow everyone else to deduce their hat colors?
31
116540
4202
ที่จะช่วยให้ทุกคนอนุมานสีหมวก ของตัวเองได้
02:00
It can't be the total number of black or white hats.
32
120742
3367
คงไม่ใช่จำนวนหมวกขาวหรือดำ
02:04
There are more than two possible values,
33
124109
2763
เพราะมีค่าที่เป็นไปได้มากกว่าสองค่า
02:06
but what does have two possible values is that number's parity,
34
126872
5016
แต่สิ่งที่มีค่าในสองแบบ คือภาวะคู่ หรือคี่ ของจำนวนนั้น
02:11
that is whether it's odd or even.
35
131888
3304
คือมีหมวกเป็นจำนวนคู่หรือค
02:15
So the solution is to agree that whoever goes first will,
36
135192
3816
ตัวอย่างคำตอบ คือการตกลงให้คนที่เริ่มคนแรก
02:19
for example, say "black" if he sees an odd number of black hats
37
139008
4347
พูดว่า ดำ ถ้าเห็นหมวกสีดำเป็นจำนวนคี่
02:23
and "white" if he sees an even number of black hats.
38
143355
4432
และขาว ถ้าเห็นหมวกสีดำเป็นจำนวนคู่
02:27
Let's see how it would play out if the hats were distributed like this.
39
147787
4624
ลองดูผลลัพธ์ถ้าหมวกเรียงเป็นแบบนี้
02:32
The tallest captive sees three black hats in front of him,
40
152411
3018
นักโทษคนที่สูงที่สุด เห็นหมวกสีดำ สามใบอยู่ข้างหน้า
02:35
so he says "black," telling everyone else he sees an odd number of black hats.
41
155429
5205
เขาจึงบอกว่า สีดำ เพื่อบอกว่าเห็นหมวกสีดำเป็นจำนวนคี่
02:40
He gets his own hat color wrong, but that's okay
42
160634
3372
เค้าทายสีหมวกตัวเองผิดแต่ไม่เป็นไร
02:44
since you're collectively allowed to have one wrong answer.
43
164006
4280
เนื่องจากพวกคุณตอบผิดได้หนึ่งครั้ง
02:48
Prisoner two also sees an odd number of black hats,
44
168286
2754
นักโทษคนที่สอง ก็เห็นหมวกสีดำเป็นจำนวนคี่
02:51
so she knows hers is white, and answers correctly.
45
171040
4211
ถึงรู้ว่าหมวกของเธอเป็นสีขาวและตอบถูก
02:55
Prisoner three sees an even number of black hats,
46
175251
2793
นักโทษคนที่สามเห็นหมวกสีดำเป็นจำนวนคู่
02:58
so he knows that his must be one of the black hats
47
178044
3212
ถึงรู้ว่าตัวเองสวมหมวกสีดำ
03:01
the first two prisoners saw.
48
181256
2345
นักโทษสองคนแรกมองเห็น
03:03
Prisoner four hears that and knows
49
183601
1736
นักโทษคนที่สี่ได้ยินและรู้แล้ว
03:05
that she should be looking for an even number of black hats
50
185337
3241
และรู้ว่าเธอควรเห็นหมวกสีดำเป็นจำนวนคู่
03:08
since one was behind her.
51
188578
1932
เพราะมีอีกหนึ่งใบ ข้างหลังเธอ
03:10
But she only sees one, so she deduces that her hat is also black.
52
190510
5655
แต่เธอเห็นแค่หนึ่งใบ จึงอนุมานว่าหมวกของเธอก็สีดำ
03:16
Prisoners five through nine are each looking for an odd number of black hats,
53
196165
4334
นักโทษคนที่ห้าถึงเก้าต่างเห็น หมวกจำนวนคี่ ซึ่งตรงกับสิ่งที่พวกเขาคิด
03:20
which they see, so they figure out that their hats are white.
54
200499
4728
จึงรู้ว่าพวกเขาสวมหมวกสีขาว
03:25
Now it all comes down to you at the front of the line.
55
205227
3827
จึงมาถึงคนที่อยู่หน้าสุด
03:29
If the ninth prisoner saw an odd number of black hats,
56
209054
3181
ถ้านักโทษคนที่เก้า เห็นหมวกดำเป็นจำนวนคี่
03:32
that can only mean one thing.
57
212235
2791
ก็เป็นไปได้เพียงอย่างเดียว
03:35
You'll find that this strategy works for any possible arrangement of the hats.
58
215026
4372
คุณจะพบว่ากลยุทธ์นี้ใช้ได้กับ การหมวกแบบใดก็ได้
03:39
The first prisoner has a 50% chance of giving a wrong answer about his own hat,
59
219398
5114
นักโทษคนแรกมีโอกาสถึง 50% ที่ทายสีหมวกตัวเองผิด
03:44
but the parity information he conveys
60
224512
2309
แต่ภาวะคู่หรือคี่ที่เขาบอกให้ทุกคนทราบ
03:46
allows everyone else to guess theirs with absolute certainty.
61
226821
5199
ทำให้คนที่เหลือทายสีหมวกตัวเองได้ถูกต้อง
03:52
Each begins by expecting to see an odd or even number of hats
62
232020
4015
โดยแต่ละคนเริ่มโดยคาดหวังว่า จะเห็นจำนวนคู่หรือคี่ของหมวก
03:56
of the specified color.
63
236035
2031
จากสีที่กำหนดไว้
03:58
If what they count doesn't match, that means their own hat is that color.
64
238066
4436
ถ้านับไม่ตรงกับสิ่งที่เห็นก็หมายความว่า หมวกของตัวเองเป็นสีนั้น
04:02
And everytime this happens,
65
242502
1634
ทุกครั้งที่เป็นหมวกสีนั้น
04:04
the next person in line will switch the parity they expect to see.
66
244136
4747
คนถัดไปในแถวก็จะเปลี่ยนภาวะคู่หรือคี่ ที่เขาคาดว่าจะได้เห็น
04:08
So that's it, you're free to go.
67
248883
1741
และแล้ว พวกคุณเป็นอิสระไปได้
04:10
It looks like these aliens will have to go hungry,
68
250624
2408
มนุษย์ต่างดาวพวกนี้คงต้องหิวต่อไป
04:13
or find some less logical organisms to abduct.
69
253032
3429
หรือไม่ก็คงต้องลักพาสิ่งมีชีวิต ที่มีเหตุผลน้อยกว่านี้
เกี่ยวกับเว็บไซต์นี้

ไซต์นี้จะแนะนำคุณเกี่ยวกับวิดีโอ YouTube ที่เป็นประโยชน์สำหรับการเรียนรู้ภาษาอังกฤษ คุณจะได้เห็นบทเรียนภาษาอังกฤษที่สอนโดยอาจารย์ชั้นนำจากทั่วโลก ดับเบิลคลิกที่คำบรรยายภาษาอังกฤษที่แสดงในแต่ละหน้าของวิดีโอเพื่อเล่นวิดีโอจากที่นั่น คำบรรยายเลื่อนซิงค์กับการเล่นวิดีโอ หากคุณมีความคิดเห็นหรือคำขอใด ๆ โปรดติดต่อเราโดยใช้แบบฟอร์มการติดต่อนี้

https://forms.gle/WvT1wiN1qDtmnspy7