Counting and Probability
Naive Probability
For a finite sample space with equally likely outcomes, the probability of an event is:
Caveats:
- Requires a finite sample space
- Only applies when all outcomes are equally likely
Combinatorics
A permutation is an arrangement of objects where order matters. The number of ways to arrange distinct objects is .
The number of permutations of objects chosen from objects is:
A combination is a selection of objects where order does not matter. The number of ways to choose objects from objects is:
Also read as " choose ".
Counting Principles
If there are ways to perform task 1 and ways to perform task 2, then there are ways to perform both tasks in sequence.
More generally, if there are ways to perform tasks respectively, there are ways to perform all tasks.
If task 1 can be done in ways and task 2 can be done in ways, and the two tasks cannot be done simultaneously, then there are ways to do either task 1 or task 2.
The multinomial coefficient counts the number of ways to partition objects into groups of sizes where :
Special case: When , this reduces to the binomial coefficient:
More content will be added from lecture materials.