a subfactorial limit

  Рет қаралды 12,170

Michael Penn

Michael Penn

Күн бұрын

Пікірлер: 50
@Just-in-time3
@Just-in-time3 2 ай бұрын
We can also solve this with inclusion-exclusion: Note that !n = n! - number of perms *with* fixed points. The number of perms with k fixed points or more is nCk * (n-k)! (We choose k points as our fixed points, and we don't care about the rest), denote this set of permutations by A_k. We want the size of the union of A1, A2, ..., An, which is exactly given by inclusion-exclusion. So we have: !n = n! - nC1 * (n-1)! + nC2 * (n-2)! + ... + (-1)^n * nCn * 0! = sum_(k = 0 to n) (-1)^(k) (n!)/(k!) Now that's very slick, taking the limit: n!/(sum_(k = 0 to n) (-1)^(k) (n!)/(k!)) = 1/sum_(k = 0 to n) (-1)^(k) 1/(k!) And the denominator is precisely the taylor expansion of e^(-1), so we get e as final answer
@Calcprof
@Calcprof 2 ай бұрын
This is the way I typically do it in class.
@franksaved3893
@franksaved3893 2 ай бұрын
So the density of the derangements over all the permutations is 1/e for big values of n. Amazing.
@sugarfrosted2005
@sugarfrosted2005 2 ай бұрын
That feels intuitive to me somehow
@ChuffingNorah
@ChuffingNorah 2 ай бұрын
The Prof is channelling Eric Meijer (of Haskell fame) with his groovy flashy Tie-Dye T-Shirt!
@cycklist
@cycklist 2 ай бұрын
Who?
@ChuffingNorah
@ChuffingNorah 2 ай бұрын
@@cycklist Dr?
@stefanalecu9532
@stefanalecu9532 2 ай бұрын
​@@cycklist Googling is hard, as history has shown over and over again
@CielMC
@CielMC 2 ай бұрын
Haskell mentioned let’s go
@yuging-q2l
@yuging-q2l 2 ай бұрын
The method I used to deduce the subfactorial formula is the inclusion-exclusion principle. We know that there are n! different permutations of n different elements,but to calculate !n,we need to get rid of the ones which map any element to itself,and there are (n-1)! such mappings,which means we subtract n*(n-1)!=n!/1! from the total. However by doing so we subtracted those mappings which map 2 different elements to themselves,there are nC2 combinations of 2 different elements,so we add back nC2*(n-2)!=n!/2!. By doing so we added twice those which maps 3 different elements to themselves,so we substract nC3*(n-3)!=n!/3!...so on In the end we get !n=n!-n!/1!+n!/2!-n!/3!+...+(-1)^n
@edwardlulofs444
@edwardlulofs444 2 ай бұрын
Another real good video. But I am unfamiliar with the concept of derangement and so at my advanced age, I would need to study this much more carefully to fully understand. But I really like learning math that is new to me. And you explain math very, very well. So I always enjoy your videos. Thanks.
@Wielorybkek
@Wielorybkek 2 ай бұрын
That's a good place, indeed.
@gregsarnecki7581
@gregsarnecki7581 2 ай бұрын
At 6:50 is that a French version of relabel? Or is it just not quite reliable? I think the subject matter is slightly deranged...
@miraj2264
@miraj2264 2 ай бұрын
At 12:45, I'm curious why you take the bottom to mean d1 and d0. I would've taken the bottom to be d2 and d1 since we know those values are 1 and 0 respectively. Since you have the recursion formula dn = (n-1)(dn-1 + dn-2), you can always solve for d0. So we can assign it a value for the sake of completeness, but it seems unnecessary for solving the problem.
@minamagdy4126
@minamagdy4126 2 ай бұрын
He chose n=0,1 as his base case. Your choice works too
@kajdronm.8887
@kajdronm.8887 2 ай бұрын
A disappointingly low value for all friends of Secret Santa.
@TheMemesofDestruction
@TheMemesofDestruction 2 ай бұрын
Derangements are pretty rad.
@pierreabbat6157
@pierreabbat6157 2 ай бұрын
Can the subfactorial be interpolated as the factorial can? What's !(1/2)?
@yuging-q2l
@yuging-q2l 2 ай бұрын
!n can be expressed in the integral form of ∫ 0 to +inf (x-1)^n e^(-x) dx so I think yes. Insert n=1/2 and !(1/2)≈0.326
@xinpingdonohoe3978
@xinpingdonohoe3978 2 ай бұрын
​@@yuging-q2l yes, and to be exact, that 0.326 number is (+√π)/(2e)
@Alan-zf2tt
@Alan-zf2tt 2 ай бұрын
a hmmm @ 7:00 the dangerous ambiguity of mixing up, for example, address label of n-1 with the content that is n-1? I wonder how such a thing can be handled in a way to make relationship explicit and by so doing removing the ambiguities?
@divisix024
@divisix024 2 ай бұрын
Is the third line at 12:36 a mistake or did he do something else? I didn’t quite get why he didn’t just use the recursion to directly get the result
@thomasrl194
@thomasrl194 2 ай бұрын
Yes, it should have been d_(n-2) - (n-2)*d_(n-3) and same mistake in the next line. But in the last line it is correct.
@kcz6865
@kcz6865 2 ай бұрын
When n=0, what one permutation changes all numbers if not any number?
@Happy_Abe
@Happy_Abe 2 ай бұрын
@15:20 where does the first 1 in the expansion come from? Wouldn’t that be corresponding to the d_0/0! term but that should be 0 not 1
@rainerzufall42
@rainerzufall42 Ай бұрын
"And that's a good place ..." (and that's a good place to stop) => not even time for the abortion of time?
@kajdronm.8887
@kajdronm.8887 2 ай бұрын
"And that's a good place..."
@MonsieurSeize
@MonsieurSeize 2 ай бұрын
One suggestion for a future video : What is the sum of the serie with general term (!n)/(n!)-1/e ?
@wilderuhl3450
@wilderuhl3450 2 ай бұрын
That’s a good place
@orionspur
@orionspur 2 ай бұрын
2stop
@goodplacetostop2973
@goodplacetostop2973 2 ай бұрын
17:24
@Igorious92
@Igorious92 2 ай бұрын
...to stop.
@BikeArea
@BikeArea 2 ай бұрын
​@@Igorious92😁
@alre9766
@alre9766 2 ай бұрын
Beautiful
@singious
@singious 2 ай бұрын
Sounds like a doctor's approach.
@xinpingdonohoe3978
@xinpingdonohoe3978 2 ай бұрын
We can't be surprised that it's e again. How many factorial-based numbers >1 are there?
@DeanCalhoun
@DeanCalhoun 2 ай бұрын
this is getting out of hand, it’s absolutely deranged!
@RafaelSCalsaverini
@RafaelSCalsaverini 2 ай бұрын
It's a good place to what??? 😢
@emre_galois
@emre_galois 2 ай бұрын
everywhere i go i see his face Mr Euler. Your number is everywhere ...
@maxhagenauer24
@maxhagenauer24 2 ай бұрын
Combinatorial math?
@andrewparker8636
@andrewparker8636 2 ай бұрын
And that's a good place to... The rest of this sentence is left as an exercise to the reader
@franepoljak9605
@franepoljak9605 2 ай бұрын
This all looks deranged 😂
@WRSomsky
@WRSomsky 2 ай бұрын
Would have been simpler to just ask for the limit of (!n/n!) in the first place
@talastra
@talastra 2 ай бұрын
But then we would not have gotten a chance to look at derangements.
@stefanschroder4694
@stefanschroder4694 2 ай бұрын
there exist a better understandable explication by blackpennredpenn😂
@CielMC
@CielMC 2 ай бұрын
Hehe Dn
@SeanChapman-q1k
@SeanChapman-q1k 2 ай бұрын
Let me see if I have this right: !n = pizza
The most interesting differential equation you have seen.
21:16
Michael Penn
Рет қаралды 135 М.
what fractions dream of
15:34
Michael Penn
Рет қаралды 54 М.
Good teacher wows kids with practical examples #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 10 МЛН
Math News: The Bunkbed conjecture was just debunked!!!!!!!
14:59
Dr. Trefor Bazett
Рет қаралды 184 М.
The unexpected probability result confusing everyone
17:24
Stand-up Maths
Рет қаралды 707 М.
Some geometry behind the Basel problem
19:32
Michael Penn
Рет қаралды 26 М.
Descartes' method of tangents
16:20
Michael Penn
Рет қаралды 15 М.
New Breakthrough on a 90-year-old Telephone Question
28:45
Eric Rowland
Рет қаралды 149 М.
Every Infinity Paradox Explained
15:57
ThoughtThrill
Рет қаралды 419 М.
solving an infinite differential equation
10:59
Michael Penn
Рет қаралды 116 М.
some very nice values of cosine
16:11
Michael Penn
Рет қаралды 17 М.
Every Unsolved Math problem that sounds Easy
12:54
ThoughtThrill
Рет қаралды 680 М.
The Return of -1/12 - Numberphile
24:57
Numberphile
Рет қаралды 497 М.