Chapter 2 - Basic Counting Rules Flashcards

1
Q

Define: Product Rule

A

If something can happen in n1 ways and no matter how the first thing happens, a second thing can happen in n2 ways, and no matter how the first two things happen, a third thing can happen in n3 ways,…, then all these things can happen together in n1xn2xn3… ways

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

Define: Sum Rule

A

If one event can occur in n1 ways, a second thing can happen in n2 different ways, a third event can happen in n3 different ways, …, then there are n1 + n2 + n3… ways in which exactly one of these things can happen

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

Define: n-set

A

an n-set is a set of n distinct elements

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

Define: permutation of an n-set

A

a permutation of an n-set is an arrangement of the elements of the set IN ORDER

n!

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

define: r-permutation of an n-set

A

picking out r elements out of n elements of an n-set then arranging them in order

P(n,r) = n!/(n-r)!

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

Theorem: The number of subsets of an n-set is:

A

2x2x…x2 (n times) = 2^n

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

Define: r-combination

A

an r-combination of an n-set is a selection of r elements from a set where the order DOES NOT matter

C(n,r) = n!/r!(n-r)!
or
the binomial coefficient, (n r)

C(n,r) = C(n,n-r) because the number of ways to choose r elements out of n is equivalent to choosing n-r elements to NOT be in the set

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

Theorem: Pascal’s Identity

A

C(n,r) = C(n-1, r-1) + C(n-1, r)

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

Theorem: Vandermonde’s Identity

A

C(n+m, r) = C(n,0)C(m,r)+C(n,1)C(m, r-1)+…+C(n,r)C(m,0) = ΣC(n,i)C(m, r-i)

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

Define: probability

A

The probability of an event is the number of possible outcomes whose occurrence signals the event, divided by the total number of all possible outcomes

S: set of possible outcomes (sample space)
E: event
n(S) = number of outcomes in S
n(E) = number of outcomes in E

Probability of E = P(E) = n(E)/n(S)

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

Define: P^R(m,r) = m^r

A

is the number of r-permutations of an m-set WITH REPLACEMENT/REPETITION ALLOWED

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

Define: C^R(m,r) = C(m+r-1,r)

A

is the number of r-combinations of an m-set in which REPLACEMENT/REPETITION IS ALLOWED

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

Occupancy problems: case 1a

A

distinguishable objects, distinguishable boxes, empty boxes allowed

k^n

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

Occupancy problems: case 1b

A

distinguishable objects, distinguishable boxes, empty boxes NOT allowed

k!S(n,k)

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

Occupancy problems: case 2a

A

indistinguishable objects, distinguishable boxes, empty boxes allowed

same as counting n-combinations of a k-set
or
C^R(k,n) = C(k+n-1, n)

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

Occupancy problems: case 2b

A

indistinguishable objects, distinguishable boxes, empty boxes NOT allowed

C(n-1, k-1)

17
Q

Occupancy problems: case 3a

A

distinguishable objects, indistinguishable boxes, empty boxes allowed

S(n,k) + S(n, k-1) + … + S(n,2) + S(n,1)

18
Q

Occupancy problems: case 3b

A

distinguishable objects, indistinguishable boxes, empty boxes NOT allowed

S(n,k)

19
Q

Occupancy problems: case 4a

A

Indistinguishable objects, indistinguishable boxes, empty boxes allowed

= the number of ways to partition n into AT MOST k parts

20
Q

Occupancy problems: case 4b

A

Indistinguishable objects, indistinguishable boxes, empty boxes NOT allowed

= the number of ways to partition n into exactly k parts

21
Q

Theorem: Pigeonhole Principle

A

If k+1 pigeons are placed into k pigeonholes, then at least one pigeonhole will contain two or more pigeons.

22
Q

Theorem: The Equal Degrees

A

In any graph, there are two vertices of equal degree

23
Q

Theorem: Subsets without divisors

A

For any subset S ⊆ [2n] of size |S| > n, there are two numbers a,b ∈ S s.t a|b

24
Q

Theorem: Monotone Subsequences

A

For any sequence of mn+1 distinct real numbers a_0,…,a_mn, there is an increasing subsequence of length m+1 or a decreasing subsequence of length n+1

25
Q

Theorem: Erdos and Szekeres

A

Given a sequence of n^2+1 distinct integers, either there is an increasing subsequence of length n+1 or a decreasing subsequence of length n+1

26
Q

Theorem: Generalization of PHP

A

If m pigeons are placed into k pigeonholes, then at least one pigeonhole will contain MORE THAN the floor of (m-1)/k

27
Q

State the Ramsey Theorem for a graph on 6 vertices:

A

For any graph on 6 vertices, we can always find a clique of size 3 or a coclique of size 3

R(3,3) = 6

28
Q

State the Ramsey Theorem using subsets:

A

Suppose that S is any set of 6 elements. If we divide the 2-element subsets of S into 2 classes, say X and Y, then either

1) there is a 3-element subset of S, all of whose 2-element subsets are in X
OR
2) There is a 3-element subset of S, all of whose 2-element subsets are in Y

Generalized version: A positive integer N has the (p,q)-Ramsey Property for integers p,q ≥ 2. If the following holds, given any set of size N, if we divide the 2-subsets of S into two classes X and Y, then either:

1) there is a p-element subset, all of whose 2-element subsets are in X
OR
2) there is a q-element subset, all of whose 2-element subsets are in Y

29
Q

Define: clique

A

a clique of size t is a set of t vertices in a graph such that all pairs of vertices among them are adjacent

30
Q

Define: coclique

A

a coclique or independent set of size s is a set of s vertices such that there is NO edge between them

31
Q

Define: the Ramsey number R(p,q)

A

The Ramsey number R(p,q) is the minimum number N with (p,q)-Ramsey property

1) R(p,q) = R(q,p) = 1 for all p,q ≥ 1

2) R(3,3) = 6, R(3,4) = 9, R(3,5) = 14, R(4,4) = 18

3) The Ramsey Number R(p,q) is the minimum number N such that any graph on n vertices contains either a coclique of size p or a clique of size q

4) for any p≥ 1, R(p,1) = R(1,p) = 1

5) for any p≥ 2, R(p,2) = R(2, p) = p

6) R(p,q) ≤ C(p+q-2, p-1)

32
Q

State the Ramsey Numbers on the exam syllabus

A

1) R(k, l)
2) R(k) = R(k,k)
3) R(3,3) = 6
4) R(k,2) = k

33
Q

Define: Relatively prime

A

Two integers are relatively prime if they have no common divisor greater than 1

34
Q

Define: Euler’s Function

A

Euler’s function is defined to be the number of integers from 1 to n that are relatively prime to n

Φ(n) = nπ(1-(1/pi))