Free preview
27 lessons
Essential Probability & Statistics for ML
Free preview
Essential Probability & Statistics for ML · 27 lessons
No surprise gaps
Actually remember it
Skip what you know
One subscription. All learning paths included.
Our content is best on a larger screen
Sums with one power
The binomial theorem
holds for any numbers and . If we set and , every term reduces to its coefficient, since and , so
That is, adding up the number of subsets of each size gives . This makes sense: counts the subsets of size of a set with elements, and that set has subsets in all.
Keeping but choosing any number for works the same way:
Theorem
For any number and any positive integer ,
Note that can be negative. Setting gives the alternating sum
Evaluate without adding the terms.
Solution
We match the general term of the sum to the general term of the theorem:
| In the theorem | In this sum | So |
|---|---|---|
| none |
A missing factor means that number is , since every power of is .
So the sum equals
Practice questions
4 questions
What is the value of ?
Select the correct answer:
+ 3 more questions
Sums with two powers
We can use the binomial theorem to evaluate sums that have the same form as its expansion. To see how, consider
We match its general term to the general term of the theorem,
and see that , and , so the sum is .
The same works for any sum of this form.
Procedure
Later we will meet probabilities of the form , where is a probability between and . A sum of these terms has the same form, with and .
Evaluate without adding the terms.
Solution
We match the general term of the sum to the general term of the theorem:
| In the theorem | In this sum | So |
|---|---|---|
So the sum equals
Practice questions
4 questions
What is the value of ?
Select the correct answer:
+ 3 more questions