Combinatorics theorems Flashcards

1
Q

pigeonhole principle

A

let n∈ℕ. If at least n+1 pigeons are placed in n pigeonholes, then some pigeonhole contains at least two pigeons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

pigeonhole principle - general form

A

let n,k∈ℕ. If at least n pigeons are placed in k pigeonholes, the some pigeonhole contains atleast ⌈n/k⌉ pigeons

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

axiom of extension

A

two sets are equal if and only if they have the same elements i.e. ∀x∈A we have x∈B and ∀x∈B we have x∈A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

composition of injections

A

Let f:A-> Band g:B->C be functions. If f and g are both injective, the g∘f is injective

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

composition of surjections

A

Let f:A-> Band g:B->C be functions. If f and g are both surjective, the g∘f is surjective

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

composition of Bijections

A

Let f:A-> Band g:B->C be functions. If f and g are both bijective, the g∘f is bijective

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

injection of sets

A

Let X and Y be finite sets. Then |X|≤|Y| iff there exists an injection f:X->Y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

pairing principle

A

Let X and Y be finite sets. Then |X|=|Y| iff there exists an bijection f:X->Y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

sum rule

A

If C and D are disjoint finite sets then |C∪D| = |C|+|D|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

inclusion exclusion for two sets

A

Suppose that A and B are finite sets. Then, |A∪B| = |A|+|B|- |A∩B|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Inclusion exclusion for three sets

A

Suppose that A,B and C are finite sets. Then, |A∪B∪C| = |A|+|B|+|C|-|A∩B|-|A∩C|-|B∩C|+|A∩B∩C|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

general inclusion exclusion

A

Suppose that A₁, A₂, …,Aᵣ are finite sets. Then,
|A₁∪A₂∪…∪Aᵣ| =
1. add size of individual sets
2. subtract size of pairwise intersection
3. add three way intersections size
….
r. +- the r way intersection size

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

product rule for two sets

A

if A and B are finite sets, then |AxB| = |A||B|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

product rule for r sets

A

for any r∈ℕ and any finite sets A₁,A₂,..,Aᵣ we have |A₁xA₂x…xAᵣ|=|A₁||A₂|…|Aᵣ|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

size of power set

A

If A is a set with |A|=n, then |P(A)|= 2ⁿ. Equivilently a set with n elements has 2ⁿ subsets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

choose r choices from n elements where order matters and repition is allowed

A

nʳ ways to choose r elements
moreover, if each choice from S is made uniformly at random and independently of all previous choices, then each of these outcomes has equal probability 1/nʳ

17
Q

choose r choices from n elements where order matters and repition is not allowed (r≤n)

A

n!/(n-r)! possible ways to make r successive choices from S
if each choice from S is made uniformly at random from not previously chosen elements of S then each of these outcomes has equal probability (n-r)!/n!

18
Q

choose r choices from n elements where order doesn’t matter and repition is not allowed (n≤r)

A

For r>n it is not possible to make r successive choices from S if reption is forbidden

19
Q

number of permutations

A

A set S of n elements has n! permutations

20
Q

choose r choices from n elements where order doesn’t matter and repition is forbidden

A

there are n choose r ways to select r elements. (i.e. there are n choose r subsets of size r).
moreover if each choice from S is made uniformly at random then each of these outcomes has equal probability 1/ n choose r

21
Q

choose r choices from n elements where order doesnt matter and repition is allowed

A

there are n+r-1 choose r possible ways to make r successive choices from S

22
Q

solutions to an equation of n unknowns equal to r

A

For natural numbers r and n, the number of non-negative integer solutions of x₁+x₂+…+xₙ=r is n+r-1 choose r

23
Q

pascals triangle and binomial coeficiants

A

For any Integers r and n with 0≤r

24
Q

Binomial Theorem

A

For any integer n≥0 and any a,b∈ℝ we have

(a+b)ⁿ = Σⁿᵢ₌₀ (n i) aᶦbⁿ⁻ᶦ

25
Q

sum of all binomial coeficiants

A

For any integer n≥0 we have Σⁿᵢ₌₀(n i) = 2ⁿ

26
Q

sum of swapping parities binomial coeficiants

A

For any n≥1 we have (n 0) - (n 1) + (n 2) - (n 3) + … ± (n n) = - where the ± is + if n is even and - if n is odd

27
Q

Same number of odd subsets and even subsets

A

Let S be a set of size n≥1. Then S has 2ⁿ⁻¹ subsets of even size and 2ⁿ⁻¹ subsets of odd size