Graph coloring
Definition 1.
The chromatic number, denoted by , of a graph is the minimum number of colors required to color it.
Greedy coloring algorithm
looked at a greedy algorithm to assign colors. uses at most colors. does not always yield chromatic number. Bipartite graphs (which are 2-colorable) can be constructed for which the algo used colors.
Chromatic polynomial
is the number of ways to color a graph with at most colors.
Examples:
Let x----x----x
Then, .
Let .
Then, .
Let be
Transclude of Drawing-2025-04-21-12.00.48.excalidraw( and are non adjacent vertices)
Colorings of with colors are of two types:
- Colorings in which and have different colors
- ” ” ” ” same color
A colorings of of type will be a valid coloring of the graph obtained by connecting the vertices and .
Conversely, any coloring of will be of type .
Further, a coloring of of type will be a coloring of obtained from by contracting the vertices and .
looks like this:
Transclude of Drawing-2025-04-21-12.06.34.excalidraw
conversely, any coloring of corresponds to a type-2 coloring of .
Thus, we have
For example, if x----x----x
,
Claim: the chromatic polynomial of a graph can be computed using repeatedly as a sum of chromatic polynomials of complete graphs. This also justifies why is a polynomial, since is clearly a polynomial in for all .
Coloring planar graphs
Theorem 2(Euler's Theorem).
Every planar graph has at least one vertex with degree at most .
Proof
We know that for a planar graph, . If every vertex had degree 6 or higher, we would have at least edges, a contradiction.
Claim 3.
Every planar graph is -colorable.
Proof
Induction on number of vertices of . Let be a planar graph with vertices. Let be a vertex with degree at most . Remove from to obtain . By induction hypothesis, is -colorable. Now, let’s add back to . At most colors are used in coloring the neighbors of , so we have at least one color left to color with. Thus, is -colorable.
Tournaments
Definition 4.
A tournament is an orientation of an undirected complete graph.
Definition 5.
A Hamiltonian path is a path in an undirected or directed graph that visits each vertex exactly once.
Claim 6.
Every tournament contains a Hamiltonian path.
There are tournaments with only one hamiltonian path (think of an example)
Theorem 7.
There is a tournament with players and at least Hamiltonian paths.
Proof
Consider a random tournament where the direction of each edge is determined by a fair coin flip. Let be the number of Hamiltonian paths in it. Now, there are many paths. For each Hamiltonian path , let be the indicator rv corresponding to the event that is a hampath in , and . So,Thus, there exists at least one graph with at least Hamiltonian paths.
Definition 8.
Given a , a tournament has property if for every subset of size players, there is a remaining player who defeats them all.
Theorem 9((Exercise)).
For some , if
then there exists a tournament with property .