CP 10 Set Cardinality Flashcards
what is the definition of cardinality
A and B are sets, if there exists a bijection from A to B then we say A and B have the same cardinality
what the notation of cardinality
for every integer n≥1 let [n] denote the set {1,2,3,4…,n}
TF [0]={}
T
Let S= {choco chip, PB, oatmeal, shortbread}
consider f: S–>[4]
what is the cardinality of S
|S|=4
how does the cardinality of a powerset work
if [3]=1,2,3 then
2^[3] = {{},{1},{2},{3},{1,2},{1,3},{2,3},{1,2,3}}
what are binomial coefficents
written as (n/k) with no division sign, It represents the number of ways to choose k items from a pool of n items
whats the formula for a binomial coefficent
n! / k!(n−k)!
ex) (5choose2)
5! / 2!(5-2)! = 10
TF n choose k = |[n]k|
T
examples of binomial coefficents [5]2 and [5]3
note:(5choose2) = (5choose3)
[5]2 = (1,2) (2,3) (3,4) (4,5) (1,3) (2,4) (3,5) (1,4) (2,5) (1,5)
[5]3 = (1,2,3) (1,3,4) (1,4,5) (2,3,4) (2,4,5) (1,2,4) (1,3,5) etc
Fact
Given n and k where n≥k≥1
(nchoosek) = (n-1choosek)+(n-1 choose k-1)
TF (0 choose 0) = 1
T
what is a combinatorial proof
we try and create a bijection
what is the binomial theorem
let x be a variable n∈ℕ then,
(1+x)^n=n∑k=0 (nchoosek)
what is an n factorial
n!
ex) 1! = 1
2! = 2x1! = 2
3! = 3x2! = 6
4! = 4x3! = 18
TF 0! = 0
F, 0! = 1