Combinatorics Flashcards
Total outcomes of n1 to nk
= n1 x n2 x … x nk
Sum Rule
A and B for n … nk amount of outputs = A applied to n … nk + B applied to n … nk
Disjoint
Independent
Permutations
An ordering of an elements in a set. Normally found using the factorial of the amount.
S = {1,2,3}
Permutations:
1,2,3
3,2,1
2,3,1
etc.
Has s! amount of combinations/permutations.
n!
N factorial, has a specific way of representing it using pi notation.
K-Permutations
n! / (n-k)!
Order matters.
K-Combinations / Binomial coefficient
C(n,k) = n! / (n-k)! * k!
No order.
Can also be represented as:
(n)
(k)
Order and No Order Explanation.
Order Matters means that if there is a representation of k that k contains both {5,4} and {4,5}, it needs to be shown. No Order means that if there is {4,5}, we don’t care that there is a {5,4} as it counts as a duplicate, therefore we also divide by k!.
Product Rule
n1 …. nk = n1 x n2 x … x nk
Sum Rule
If A and B are disjoint events and there are n1 possible outcomes for event A
and n2 possible outcomes for event B then there are n1 +n2 possible outcomes
for the event “either A or B”.
Disjoint Events
Two events are said to be disjoint (or “mutually exclusive”) if they can’t occur
simultaneously.
Example: If you have 3 pairs of blue jeans and 2 pairs of black jeans, then there
are 3 + 2 =5 different pairs of jeans which are blue or black which you could
wear.