WEBVTT - What's the birthday paradox?

0:00:00.560 --> 0:00:03.600
<v Speaker 1>Welcome to brain Stuff from house stuff works dot com,

0:00:03.600 --> 0:00:15.240
<v Speaker 1>where smart happens him Marshall Brain with today's question, what's

0:00:15.320 --> 0:00:19.040
<v Speaker 1>going on with the birthday paradox? You may have heard

0:00:19.040 --> 0:00:21.279
<v Speaker 1>that if there are twenty people in a room, there's

0:00:21.320 --> 0:00:23.680
<v Speaker 1>a fifty fifty chance that two of them will have

0:00:23.720 --> 0:00:27.240
<v Speaker 1>the same birthday. How can that be? What it really

0:00:27.320 --> 0:00:29.880
<v Speaker 1>is called the birthday paradox, and it turns out it's

0:00:29.960 --> 0:00:33.479
<v Speaker 1>useful in several different areas, for example, in cryptography and

0:00:33.560 --> 0:00:37.120
<v Speaker 1>hashing algorithms. You can try it yourself. The next time

0:00:37.159 --> 0:00:40.000
<v Speaker 1>you're at a gathering of twenty or thirty people, ask

0:00:40.159 --> 0:00:43.680
<v Speaker 1>everyone for their birthdate. It's likely that two people in

0:00:43.720 --> 0:00:47.560
<v Speaker 1>the group will have the same birthday. It always surprises people.

0:00:48.120 --> 0:00:51.240
<v Speaker 1>The reason this is so surprising is because we're used

0:00:51.240 --> 0:00:56.640
<v Speaker 1>to comparing our particular birthdays with other individual's birthdays. For example,

0:00:56.720 --> 0:00:59.160
<v Speaker 1>if you meet someone randomly and ask him what his

0:00:59.280 --> 0:01:01.960
<v Speaker 1>birthday is, the chance of the two of you having

0:01:02.000 --> 0:01:04.880
<v Speaker 1>the same birthday is only one out of three sixty

0:01:05.000 --> 0:01:09.000
<v Speaker 1>five or point to seven percent. In other words, the

0:01:09.080 --> 0:01:13.440
<v Speaker 1>probability of any two individuals having the same birthday is low.

0:01:13.959 --> 0:01:17.360
<v Speaker 1>Even if you ask twenty individual people. The probability is

0:01:17.400 --> 0:01:21.000
<v Speaker 1>still low, less than five percent, so we feel like

0:01:21.080 --> 0:01:24.360
<v Speaker 1>it's very rare to meet anyone with the same birthday

0:01:24.360 --> 0:01:28.080
<v Speaker 1>as our own. When you put twenty people in a room, however,

0:01:28.440 --> 0:01:31.000
<v Speaker 1>the thing that changes is the fact that each of

0:01:31.040 --> 0:01:34.360
<v Speaker 1>the twenty people is now asking each of the other

0:01:34.440 --> 0:01:40.520
<v Speaker 1>nineteen people about their birthdays simultaneously. Each individual personally has

0:01:40.520 --> 0:01:44.440
<v Speaker 1>a small chance less than five percent of success, but

0:01:44.600 --> 0:01:49.640
<v Speaker 1>everyone is trying it simultaneously. That increases the probability dramatically.

0:01:50.160 --> 0:01:52.080
<v Speaker 1>The next time you're with a group of twenty or

0:01:52.120 --> 0:01:56.400
<v Speaker 1>thirty people try it. You might be surprised for more

0:01:56.440 --> 0:01:59.040
<v Speaker 1>on this and thousands of other topics because at housetop

0:01:59.040 --> 0:02:02.600
<v Speaker 1>works dot com, the be