How to understand Bionomial Theroem and the Recursion Rule?
In this video from EDX, the instructor explains the binomial theorem as:
Binomial Theorem:
When you calculate $(a + b)^n = a^n + C(1)a^{(n-1)b} + C(2)a^{(n-2)b^2} + ... + C(n-1)ab^{(n-1) + b^n}$
The coefficients = $C1, C2, ..., C(n-1)$
Coefficient of $(a + b)^4 = 1, 4, 6, 4, 1$
From the formula above, you get after some manipulation:
$(a + b)^n = a^n + (n choose 1) a^{(n-1) b^1} + (n choose 2) a^{(n-2) b^2} + ... + (n choose n-2) a^2 b^{(n-2)} + (n choose n-1) a^1 n^{(n-1)} + b^n$
The coefficients will be the same as pascal's triangle
Is it necessary to know this? I still do not understand how he went from $(a + b)^n$ formula to plugging in $(n choose 1) (n choose 2)...$
Additionally, for the recursion theory:
Recursion Rule:
If we have 52 cards and we select 5 cards we have a collection of 5 cards taken from 52 cards The order the cards are dealt does not matter
To get the recursion, we will split the hands into hands that contain the ace of spaces with hands that do not contain the ace of spades
For the hand that does not contain the ace of spades, there are 51 cards to choose from So it is 51 choose 5
For the hand that does contain the ace of spades, then that hand is made from 4 cards in the remaining 51 cards in the deck So it is 51 choose 4
So since every hand either has ace of spades or does not We get our recursion 52 choose 5 is = 51 choose 5 + 51 choose 4
But if you actually calculate 52 choose 5 you get 311875200
And if you calculate 51 choose 5 + 51 choose 4 you get 287884800
To me it seems mathematically inaccurate?
Topic probability statistics
Category Data Science