How many ways can you arrange a deck of cards? - Yannay Khaikin
-
0:07 - 0:09Pick a card, any card.
-
0:09 - 0:12Actually, just pick up all of them and take a look.
-
0:12 - 0:16This standard 52 card deck has been used for centuries.
-
0:16 - 0:18Everyday, thousands just like it
-
0:18 - 0:21are shuffled in casinos all over the world,
-
0:21 - 0:24the order rearranged each time.
-
0:24 - 0:26And yet, every time you pick up a well shuffled deck
-
0:26 - 0:28like this one,
-
0:28 - 0:29you are almost certainly holding
-
0:29 - 0:31an arrangement of cards
-
0:31 - 0:34that has never before existed in all of history.
-
0:34 - 0:36How can this be?
-
0:36 - 0:38The answer lies in how many different arrangements
-
0:38 - 0:42of 52 cards, or any objects, are possible.
-
0:42 - 0:46Now, 52 may not seem like such a high number,
-
0:46 - 0:48but let's start with an even smaller one.
-
0:48 - 0:50Say we have four people trying to sit
-
0:50 - 0:52in four numbered chairs.
-
0:52 - 0:54How many ways can they be seated?
-
0:54 - 0:57To start off, any of the four people can sit
-
0:57 - 0:58in the first chair.
-
0:58 - 0:59One this choice is made,
-
0:59 - 1:01only three people remain standing.
-
1:01 - 1:03After the second person sits down,
-
1:03 - 1:05only two people are left as candidates
-
1:05 - 1:07for the third chair.
-
1:07 - 1:09And after the third person has sat down,
-
1:09 - 1:10the last person standing has no choice
-
1:10 - 1:12but to sit in the fourth chair.
-
1:12 - 1:15If we manually write out all the possible arrangements,
-
1:15 - 1:17or permutations,
-
1:17 - 1:19it turns out that there are 24 ways
-
1:19 - 1:22that four people can be seated in to four chairs,
-
1:22 - 1:24but when dealing with larger numbers,
-
1:24 - 1:26this can take quite a while.
-
1:26 - 1:28So let's see if there's a quicker way.
-
1:28 - 1:29Going from the beginning again,
-
1:29 - 1:31you can see that each of the four initial choices
-
1:31 - 1:33for the first chair
-
1:33 - 1:36leads to three more possible choices for the second chair,
-
1:36 - 1:37and each of those choices
-
1:37 - 1:40leads to two more for the third chair.
-
1:40 - 1:43So instead of counting each final scenario individually,
-
1:43 - 1:46we can multiply the number of choices for each chair:
-
1:46 - 1:49four times three times two times one
-
1:49 - 1:52to achieve the same result of 24.
-
1:52 - 1:54An interesting pattern emerges.
-
1:54 - 1:57We start with the number of objects we're arranging,
-
1:57 - 1:58four in this case,
-
1:58 - 2:01and multiply it by consecutively smaller integers
-
2:01 - 2:03until we reach one.
-
2:03 - 2:05This is an exciting discovery.
-
2:05 - 2:06So exciting that mathematicians have chosen
-
2:06 - 2:09to symbolize this kind of calculation,
-
2:09 - 2:10known as a factorial,
-
2:10 - 2:12with an exclamation mark.
-
2:12 - 2:16As a general rule, the factorial of any positive integer
-
2:16 - 2:17is calculated as the product
-
2:17 - 2:19of that same integer
-
2:19 - 2:22and all smaller integers down to one.
-
2:22 - 2:23In our simple example,
-
2:23 - 2:25the number of ways four people
-
2:25 - 2:26can be arranged in to chairs
-
2:26 - 2:28is written as four factorial,
-
2:28 - 2:30which equals 24.
-
2:30 - 2:32So let's go back to our deck.
-
2:32 - 2:34Just as there were four factorial ways
-
2:34 - 2:35of arranging four people,
-
2:35 - 2:38there are 52 factorial ways
-
2:38 - 2:40of arranging 52 cards.
-
2:40 - 2:43Fortunately, we don't have to calculate this by hand.
-
2:43 - 2:45Just enter the function in to a calculator
-
2:45 - 2:46and it will show you that the number of
-
2:46 - 2:48possible arrangements is
-
2:48 - 2:528.07 x 10^67,
-
2:52 - 2:56or roughly eight followed by 67 zeros.
-
2:56 - 2:57Just how big is this number?
-
2:57 - 3:00Well, if a new permutation of 52 cards
-
3:00 - 3:02were written out every second
-
3:02 - 3:04starting 13.8 billion years ago,
-
3:04 - 3:06when the big bang is thought to have occurred,
-
3:06 - 3:09the writing would still be continuing today
-
3:09 - 3:12and for millions of years to come.
-
3:12 - 3:13In fact, there are more possible
-
3:13 - 3:16ways to arrange this simple deck of cards
-
3:16 - 3:19than there are atoms on Earth.
-
3:19 - 3:21So the next time it's your turn to shuffle,
-
3:21 - 3:22take a moment to remember
-
3:22 - 3:23that you're holding something that
-
3:23 - 3:25may have never before existed
-
3:25 - 3:27and may never exist again.
- Title:
- How many ways can you arrange a deck of cards? - Yannay Khaikin
- Speaker:
- Yannay Khaikin
- Description:
-
View full lesson: http://ed.ted.com/lessons/how-many-ways-can-you-arrange-a-deck-of-cards-yannay-khaikin
One deck. Fifty-two cards. How many arrangements? Let's put it this way: Any time you pick up a well shuffled deck, you are almost certainly holding an arrangement of cards that has never before existed and might not exist again. Yannay Khaikin explains how factorials allow us to pinpoint the exact (very large) number of permutations in a standard deck of cards.
Lesson by Yannay Khaikin, animation by The Moving Company Animation Studio.
- Video Language:
- English
- Team:
closed TED
- Project:
- TED-Ed
- Duration:
- 03:42
![]() |
Jessica Ruby approved English subtitles for How many ways can you arrange a deck of cards? | |
![]() |
Jessica Ruby accepted English subtitles for How many ways can you arrange a deck of cards? | |
![]() |
Jessica Ruby edited English subtitles for How many ways can you arrange a deck of cards? | |
![]() |
Jessica Ruby edited English subtitles for How many ways can you arrange a deck of cards? | |
![]() |
Jennifer Cody edited English subtitles for How many ways can you arrange a deck of cards? | |
![]() |
Jennifer Cody edited English subtitles for How many ways can you arrange a deck of cards? |