Exam 3 Flashcards
Pigeonhole principle
if k is Z+ and k+1 objects are placed into k boxes, then one box contains two or more objects
Generalized Pigeonhole Principle
If N objects are put into k boxes, then there is at least one box w/ N/k objects (ceiling)
Permutation
Ordered arrangement
r-Combination
r-combination of elems in an unordered selection of r elements from a set size n
Permutation formula
n! / (n-r)!
Combination formula
n! / ((n-r)! r!)
The Binomial Theorem
(x+y)^n = Sigma(n,j) x^(n-j) * y^j
Permutations with Repetition
n^r
Combinations w/ Repetition
C(n+r-1, r)
Simple graph
graph’s edges connect two different vertices. no two edges connect the same two vertices
Multigraphs
graph has multiple edges connecting same two vertices
Pseudograph
can have loops, multiple edges connecting same vertices
Degree of vertex
Number of edges incident with it
Neighbors of a vertex
N(v) = set of all neighbors of v
Handshaking theorem
summed degrees of all vertices equal 2 times number of edges