2.6 Combinatorics and Probability Flashcards
(11 cards)
What is the cardinality of a set and how is it written
Number of elements inside |S|
What is the cartesian product of two sets A and B (A X B)
The set of ordered pairs
What is the cardinality of A X B
|A X B| = |A| X |B|
A = {1,2}
B = {a,b,c,d}
what is A X B =
and its cardinality
{(1,a), (1,b), (1,c), (2,a), (2,b), (2,c)}
|A X B| = 2 * 3 = 6
If A is a set, the set of ordered n-tuples over A, what is the cardinality
|A^n| = |A|^n
A combination lock has 3 digits, each of which is a number from 0-9, how many digits are there?
1000
Suppose we want to pick an ordered collection of k elements (without any repeats) from a set of n elements. What is the formula for how many ways we can pick them
(n!) / (n - k)!
Pick three winners (ordered) from 8 contestants, how many ways of doing this are there? P(8,3)
8!/5! = 336 ways
If we want to pick an unordered collection of k elememts from a set of n elements, what is the formula for how many ways we can pick them?
(n!) / k! (n - k)!
What is a partiton
A collection of disjoint events that add up to 1