Graph coloring studies how to assign colors to vertices so that adjacent vertices receive different colors. This cheat sheet helps students recognize common graph coloring patterns, compute chromatic numbers, and justify coloring arguments. It is useful for discrete mathematics, combinatorics, algorithms, scheduling, and map-coloring problems.
The central idea is the chromatic number , which is the minimum number of colors needed for a proper vertex coloring of a graph . Important tools include lower bounds from cliques, upper bounds from maximum degree, and exact formulas for common graphs. Students should learn both how to construct a valid coloring and how to prove that fewer colors cannot work.
Key Facts
- A proper vertex coloring assigns colors so that if , then .
- The chromatic number is the smallest integer such that has a proper -coloring.
- For a complete graph , every pair of vertices is adjacent, so .
- For a path graph with , the chromatic number is .
- For a cycle graph , when is even and when is odd.
- If is the size of the largest clique in , then .
- For any graph with maximum degree , the greedy coloring method gives the upper bound .
- A graph is bipartite if and only if it has no odd cycle, and every nonempty bipartite graph satisfies unless it has no edges.
Vocabulary
- Graph
- A graph is a structure made of vertices and edges connecting pairs of vertices.
- Proper coloring
- A proper coloring is an assignment of colors to vertices where adjacent vertices always receive different colors.
- Chromatic number
- The chromatic number is the minimum number of colors needed for a proper coloring of graph .
- Clique
- A clique is a set of vertices in which every pair of distinct vertices is connected by an edge.
- Maximum degree
- The maximum degree is the largest number of edges incident to any single vertex in .
- Bipartite graph
- A bipartite graph is a graph whose vertices can be split into two sets so that every edge connects vertices in different sets.
Common Mistakes to Avoid
- Using the number of colors from one coloring as the chromatic number is wrong because requires the minimum possible number of colors.
- Forgetting to prove a lower bound is wrong because showing a valid -coloring only proves , not .
- Coloring adjacent vertices the same color is wrong because a proper coloring requires whenever .
- Assuming every cycle needs three colors is wrong because even cycles satisfy while odd cycles satisfy .
- Confusing clique size with degree is wrong because counts mutually adjacent vertices, while counts edges incident to one vertex.
Practice Questions
- 1 Find and explain why fewer colors cannot work.
- 2 Find and .
- 3 A graph has maximum degree . What upper bound for comes from greedy coloring?
- 4 A graph contains a triangle but also has many extra vertices. What can you conclude about , and why does the triangle matter?