How many ways can you arrange a deck of cards? - Yannay Khaikin
HTML-код
- Опубликовано: 3 окт 2024
- View full lesson: ed.ted.com/less...
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.
and some of my friends accuse me that I do not shuffle enough
Hahaha
Prieteni Romani clar
Do u shuffle enough
Uno for moi
People are *VERY* inefficient at shuffling, so your friends are probably correct.
And factorials look so innocent in writing.
!!!
Indeed, in fact anything with more than 1 digit is so big it's ridiculous.
it's size isn't the worst of it... they appear in several places in maths and especially in statistical physics... let's just say that it's a nightmare every time you see them in an equation. ln(n!) (
AuraChanneler, or not if you’re trying to count every single atom in the universe, or, the amount of permutations of a deck of cards.
52! has only 68 digits.
A good way to learn factorials. Way better than the textbooks...
until you ask yourself what 0! is. (it is 1)
(1/2)! = sqrt(pi/4)
Correcrion, Factorials!,
With a !
@@RandomPerson-rt3sz isnt it an ! ?
Cosmic Singularity broooo you’ve just changed my life lol
reminds me when in school i intentionally dont say "factorial", i just scream the number before the "!"
i do that too
HAHAHA
cute...
Lol
Lol i do too
This helps show how passwords become exponentially harder to brute force, based on complexity. there is a total of roughly a octoquadragintillion (1 to the 148th power) combinations based on a 95 possible standard characters. For example a 12 character password, using one special character and a series of numbers would take have
546,108,599,233,516,079,517,120 total possible combinations. Using a massive cracking array (100 trillion guesses per second) it would take 174 years to go through the total guesses. Every character you add after that raises the number exponentially. (adding a 13th character, raises the time to 170 centuries.)
It is generally easier to find a weakness in encryption than to break a password this way.
But people are simple. They don't set their password like :"qfagsyshudbd" or "iwieldojsis9" just remove all the crazy combination. They set names, dates, phone number, acronyms....
Whatever or if you want a strong password pick up a unique phrase with a special char and number in it...
example:
Mypasswordis#10
Adding a special character/numbers doesn't affect brute force as is it still an option regardless so it is still a possiblity
you lost me at ''this''
@@Whatever-xu3np on minecraft servers my password are random letter and i have em' on my desktop.... and the name of the file is a differen servers' name FOR EXAMPLE if my minesaga password is 37wivuti2fj4i68busj38 and on the text file it says cosmic prisons or pika network
Fun fact: you have to shuffle a deck about 7 times (using the typical riffle method) to truly randomize it. There was a numberfile on the most and least effective shuffling methods I recommend.
I'm now picturing the mind blowing combinations of yugioh cards shuffled in a deck
This is the most mind blowing thing I have heard in my entire life. Truly amazing.
i'm skeptical. somebody needs to start counting all of the atoms on earth so we can compare the numbers.
That would be really tough to shuffle a deck and get 2 Three of Spades..... (@29 Seconds)
David Small haha you have really sharp vision
+Иван Еременко no that means he's just bored
Really? Wow. Considering that I saw it on the first viewing? Thanks ... 0n1010E1A010x whatever the fuck your name is.
+David Small When the Animator was trying to come up with cards to put in that hand, He had a brain fart and just used one of the cards already there because he couldn't decide on anything else. I do crap like that all the time, and I'm sure if you look out for it you'll see it in yourself and others too.
I don't animate very often, but can see your point.
Imagine a lad from 1736 shuffling a deck of cards in the pub while enjoying a fine ale. This man could have shuffled the exact same order of cards as YOU. You'll never know.
And he'll never know either!
true. this is in practice. in theory however the number of possible combinations is as such 52! if every possible combination was taken and that everyone would have a different order then it would almost never be the same. clear?
I get the gist of this mathematical theory. My comparison is nothing more than food for thought. Never stop wondering about things, Hamad.
James S shit man yeah
DEEEEP. bruh.
Well, the internet never ceases to surprise me with just how easily some things go over people's heads. For those who seem to have missed the point, the video's purpose isn't solely to demonstrate how factorials work, it's that most people have likely never given any thought to the astronomical number of combinations you can get from something as mundane as a common deck of cards.
John Doesn't well it is for the average Joe it is jot important. Is an interesting thought. Just to keep the mind fresh.
John Doe
If the video is irrelevant to the purpose of their life, then why do they watch it? These videos are created to provoke your curiosity and interest in different subjects. If the average viewer is not keen on the idea of knowing how many different ways a standard deck of cards can be arranged in, they are not forced to watch the video. It is not clickbait anyways.
YA OK . IT WENT OVER ALL OUR HEADS !! IF IT WERNT FOR YOUR COMMENT WE WOULD ALL STILL BE IN THE DARK !!THANK YOU.
wow thanks! for the longest time i did t understand factorials, but in that short amount of time you taught it better than any teacher could!
As a magician that video makes me proud!
+newmagicfilms Try working that into your routine... "Know what the odds are that the 15th card is your card?" O.O
+newmagicfilms *trickster. magic isnt real.
Sensual Armpit neither are u
WirantoS Octic He's watched too much Harry Potter and is confused.
Same!
I SWEAR BY YOU TED EDUCATION !!
I just can't get over how amazing this video is ..
I had a really hard time understanding permutations and you just made it a piece of cake !💕
fax
machine
If this does not excite you, then you don't have a soul
What is soul?
FeLiNe418 lol, irony
lier
Zack Cyrus you must be fun at parties...
Zack Cyrus k
Funny thing about maths is that there is a possibility that every deck shuffled (if truly randomly shuffled) from now on and onto the end of mankind will have the exact same order. That possibility is just infinitely small.
Very small indeed, but not infinitely small.
Yeah, that's what I meant. It is just not 0.
***** infinitesimally small is probably the word you were thinking. same sorta root, but specifically to smallness.
Mindboggling ;)
This is the math that I like-real world applications with amazing and surprising answers.
YA WHERE YOU DONT HAVE TO GO TO SCHOOL !!
Well shit, thinking that every time I'm shuffling is really gonna slow down my games.
Lol
Souglas D'cott watch the language,but other than that ya 😆😆lol
Everyday I'm shuffling. Dudududu
someone could tell me how many atoms are on Earth? i think there are more atoms on earth than possible combinations
52! combinatios > 10^50 atoms on earth
awesome the animation narration and obviously the lesson, all on point loved it
I love this because it really helps us feel big and important in the vastness of space- after all, we have casually created an incredibly reliable system of randomness through just 52 cards.
Imagine getting 0.8 likes per year💀
this made me feel important
You are important my friend
Imad Sb I think you forgot the "not" Falling after the "are"
this made me feel unimportant
Anyone who went to high school already knows about this, but it is very nice to see it illustrated so well.
Maybe a European highschool...
Yea I never learned about this
We learned this in 11th and it's still amazing.
I love the dramatic tone in the explanation of possible permutations!
I am a magician, and I have always found this statistic amazing.
are you? if that's true so have you ever attended in the America's got talent ? =)))
Well done , a great video and beautifully explained , clear , concise and just the correct length,
This explains why the mathematicians used "!" As a sign of factorial ...
why do you get so less likes? people just đin't understand that I feel sympathy
I know what you mean. It's mean that the number is insane and unbelievable sometimes unimaginable , right?
Underrated
That was incredible Its amazing how numbers can get huge so quickly
...and remember kids, the casino will always have the upper hand!
Unless you're playing poker.
Kris Nadeau Or counting cards .
BAAD BOY! You are correct! THE HOUSE ALWAYS WINS!
nice
hand!=hand(hand-1)(hand-2)...
Whenever I shuffle a deck of cards, I always take a moment to appreciate that permutation and that probably never had and it’ll probably never occur in human history ever again
what a great video!!!! nice job TEDed!
That last bit blew my mind! I love the random applications of this stuff, makes you really think......
Mind! = (Mind-1) x (Mind-2) x ... x 1
at the end i thought he said adams so i’m like, surely there can’t be that many adams on earth 😂
Edit: 3:16
?
Oh atoms
@@sirk603 people name Adam
very cool lesson and memorable. excellent work guys!
This just blew me away
An 8 with 67 zeros. Astounding. Excellent explanation and animation. Great video.
Here's a morning gotchya moment for you. A deck of cards, which are made of atoms, can be arranged in a number of patterns that exceeds the number of atoms that exist on our planet.
Yup!
Yup! = Syntax Error
@@theununtrium depends on what Yup equals :D.
Just WOW!
Amazing video!!!
When Ted-Ed sends me into a existential crisis
👁 👄 👁
this is an excellent explanation of factorial
Hey! Vsauce, Michael Here
it's IMPOSSIBLE for someone to comment "Hey! Vsauce, Michael Here" with these exact characters 1 year ago; or is it? *start dramatic music*
Your brain is like a hungry sponge.
Hey!=Hey(Hey-1)(Hey-2)...
@@starbeta8603 LMAO
I remember learning abour Factorials in college in Statistics class. I found it very interesting. The problem is I could never remember the formula to determine the number of possible outcomes. Thanks to this video now I remember! Thank You!
in Europe we learn this in about factorials in school
Very useful when figuring out your odds to win the lottery jackpot or any prize offered therein.
The magic of math!
math!=math(math-1)(math-2)...
Fascinating
Took a little bit too long to explain 52!. But dont get me wrong, the statistics after that were boggling
you always come with new ideas.. love it
It simply 52 factorial...
52!
52 likes why
@@firespud are they engaged yet?
Thank you for this just this morning I was thinking about this whilst shuffling a pack of cards it truly is mind bending
My mind is blown
You are an amazing teacher. Thank you.
this is some deep shit
#i_cry_every_time
ted ed makes learning math too easy and fun
I thought that it would be like this: 52 possibilities for the first card, 51 for the second card, 50 for the third card and so on. I'm just a kid so I don't know anything about math.
'
it is
Bright- Vision OH! Factorials are interesting..
+DunTeppo ya, that's why they use factorials to calculate it. The first slot of the card has 52 choices, the second slot has 51 choices, the third has 50, etc. Thusly, 52 x 51 x 50 x 49.... x1.
monkeymode OH!=OH(OH-1)(OH-2)...
Please also make a video on "combination", please?
then is nothing in this world truly random? though it maybe be "difficult" you can seem to find a pattern in everything and anything... like there is a high chance i might naturally wake up at 6:00 o clock am everyday
idk i need to stop overthinking before i start thing im a mad scientist
some particular events on the quantum scale are supposed to be truly random aka. you cannot predict them ever and not due to the lack of computational power or insight.
*****
I actually read they are the 4D representation of deterministic events happening in more than 4D and the loss of information is what causes them to appear stochastic in 4D.
Hey Mr. Creator of TED-Ed!
Your video feels inspiring to watch because it's so CONCRETE and people really feel the connection to their free home game-lives and feel like they can truely benefit from it! Thank you for that!
I'm actually a colleague of you but software isn't my strength. If you tell me which SOFTWARE you use, then, as soon as I become visably successfull with it, I'll come back and offer you to combine and unite our mathematical online companies ;-)
In the example with people seated around a table, each arrangement is repeated 4X, so there are only 6 unique arrangements.
+virgonomic no because each chair is unique making it 24 it doesnt matter if they sit around a table or sitting in a line its a linear permutation
+Shanee Bahera There are (n-1)! arrangements of n objects in a circle, such as this. See my earlier post or Google it. I teach this stuff.
virgonomic no ignore the table it was just and illustration
virgonomic the objects arent arranged in a circle but 4 four people to sit in 4 unique chair its a linear permutation the table thing was just a graphic
+virgonomic "I teach this stuff."
Well get it right, then.
Lesson worth seeing!
Aha! That's what an ! means in math. Never knew.
same
Aha!=Aha(Aha-1)(Aha-2)...
@@mariafe7050lol
Someone: "How many ways can a deck of cards be shuffled?",
Math: "Yes".
Math:*screams 52 loudly*
Get it cuz !
saw this on Qi
Good video except at 1:12
Some may argue that many of those arrangements are repeats, just rotated. For example the first column is all the same. Sitting around a table is different from sitting in a row. Many Algebra 2 texts have both types of problems. Depends what you are looking for; how the problem is worded.
Why it can't be 4x3x2x1x0? Get it?:D
*deep sigh*
JSK01 - Agario *facepalm*
I get it :v
4x3x2x1x(0!) = 4x3x2x1
0! = 1
Crammy Thomas ik im not stupid but its 0 still!
Always wondered what the odds are for shuffling a deck and ending back up with a perfect deck.
What do you consider to be a perfect deck?
Start by picking your favorite spot on the equator. You're going to walk around the world along the equator, but take a very leisurely pace of one step every billion years. The equatorial circumference of the Earth is 40,075,017 meters. Make sure to pack a deck of playing cards, so you can get in a few trillion hands of solitaire between steps. After you complete your round the world trip, remove one drop of water from the Pacific Ocean. Now do the same thing again: walk around the world at one billion years per step, removing one drop of water from the Pacific Ocean each time you circle the globe. The Pacific Ocean contains 707.6 million cubic kilometers of water. Continue until the ocean is empty. When it is, take one sheet of paper and place it flat on the ground. Now, fill the ocean back up and start the entire process all over again, adding a sheet of paper to the stack each time you’ve emptied the ocean.
Do this until the stack of paper reaches from the Earth to the Sun. Take a glance at the timer, you will see that the three left-most digits haven’t even changed. You still have 8.063e67 more seconds to go. 1 Astronomical Unit, the distance from the Earth to the Sun, is defined as 149,597,870.691 kilometers. So, take the stack of papers down and do it all over again. One thousand times more. Unfortunately, that still won’t do it. There are still more than 5.385e67 seconds remaining. You’re just about a third of the way done.
To pass the remaining time, start shuffling your deck of cards. Every billion years deal yourself a 5-card poker hand. Each time you get a royal flush, buy yourself a lottery ticket. A royal flush occurs in one out of every 649,740 hands. If that ticket wins the jackpot, throw a grain of sand into the Grand Canyon. Keep going and when you’ve filled up the canyon with sand, remove one ounce of rock from Mt. Everest. Now empty the canyon and start all over again. When you’ve leveled Mt. Everest, look at the timer, you still have 5.364e67 seconds remaining. Mt. Everest weighs about 357 trillion pounds. You barely made a dent. If you were to repeat this 255 times, you would still be looking at 3.024e64 seconds. The timer would finally reach zero sometime during your 256th attempt. Exercise for the reader: at what point exactly would the timer reach zero?
Me: Shuffling cards...
My friend: Hey you didn't shuffled properly!
Me: Ok! Let me explain.....
Uh, the first card can be 1 of 52, and since it's not repeating, the second card can be 1 of 51, and so forth until the 52nd card can only be 1 of 1. = 52!
Seriously, how is this even a video, TED. Why not explain how a classroom with 30 students has X% of two students sharing a birthday.
Teresa Wong It was Ted Ed.
A shuffled deck is like entropy. Playing a winning game of Solitaire is like reordering the cosmos.
Can you not be smart it's 2AM
HA
This lesson was beautiful
Summary of this video: 52!
This has to be one of the most counterintuitive things I have ever heard.
I'm fourteen and I just learned about this, I loved the entire subject.
and now you should be 20..... Time passes so fast ..
Who else is here because of Jayden smith? 😂
Villa ME!!😂😂😉😂😏
Laidback Lifestyle
🙋♀️
Great animation laurel khaikin
This is just basic statistics.
I don't understand why this is getting popular.
Because it's a revelation to those who are not very familiar with statistics, duh :P
Actually, it is technically combinatorics.
Actually, it's math 7th grade.
+Егор Свежинцев for rusia or romania mabie
siats meekerorum russia, yep
This video summarized permutations and combinations better than my high school teacher
52! Why did this video need to be made?
MightyMilotic For people who are genuinely interested in this kind of stuff and don't know what a factorial is.
#thinkaboutthechildren
Every time I hear 0:23 or 3:18, I keep thinking to myself, "Isn't shuffling basically a function (with a minimally influential random variable) of an existing card deck that is likely organized (new decks are probably more common than old, and I like to organize it), and doesn't that mean that I am really likely to have created an already existing deck?"
there is one thing that equals this huge infinite number of 8 followed by 67 zeros, but in the negative opposite direction and that one thing is Donald Trumps negative IQ.
Fascinating!
this is proof god exists
is anything, this is proof against it lol
explain
How
What?
Religious people will take credit for anything anyway, nowadays when we are discovering more and more fundamental things about the universe the religious people instantly claim "Oh, well this only goes to show that God is more clever than we have ever thought!), simply the God of the gaps argument, which is beyond ridiculous anyways. Recently a group of christians came across the idea of dark matter/dark energy and said "Perhaps God is dark energy!), I mean come on lol..
Playing cards around the world
French(standard):France,England,United States,Canada,Brazil,Russia,Turkey,Greece,Middle East(Israel only),most of Africa,Mainland China,South Korea and Australia
Spanish:Spain,Italy,Portugal,Mexico,Argentina,Colombia,Chile,Middle East,Hong Kong and Macau,parts of India,Philippines,Equatorial Guinea and Central America
German:Germany,Switzerland,Hungary,Czech Republic,parts of Poland,Sweden,Norway,Finland,Netherlands,Croatia,parts of Romania and Austria
Excellent and informative video. Thank you!
Well u could happen again if u write or remember the order, then shuffle, and put them in order again in the order u wrote down
This is so cool to learn the fact that I am creating history😍
Very interesting never thought like that
This is the total 80,658,175,170,943,878,571,660,636,856,403,766,975,289,505,440,883,277,824,000,000,000,000
Man, love it. How you get this number! Great!
Thanks Laurel!
Great lesson!
Wow. Just wow.
Factorial is also an easy way on getting the least common multiple when the numbers are consecutive
Thanks for TED. I discovered what is factorials.
That is......wow! Just wow.
Here's a question.
If you shuffled a deck every minute since the day you were born to the day you died. How likely would it be to get the same deck twice?
If you're wondering what that 8 with 67 0s after it is called, it's 80 duovigintillion.
...I think.
How do you have two 3 of spades cards in a deck? (0:31)
Permutations and combinations are different things. Permutation take accounts the order or arrangements of the cards. Combination has less possibility than permutation. When playing a card game called Big 2, where each person holds 13 cards, arrangements doesn't matter. Therefore, It is more likely that a player hold a deck a card that has been hold in history.