MATH3250 · Method · Chapter 5 · Graph methods
Finding a coloring or an odd cycle
3 steps of prerequisites below it
Breadth-first search in every component colors vertices by distance parity, and an edge joining equal parities yields, through the parent paths to the last common ancestor, an odd cycle certifying that no 2-coloring exists.
Taught in
- 5.1 Trees and breadth-first search · introduced
- 5.3 Vertex coloring and greedy bounds · developed
Builds on
- Breadth-first search finds unweighted distances · used in an argument or worked solution, passage 5.3
- Bipartite graph · used in an argument or worked solution, passage 5.1
- Bipartite criterion · used in an argument or worked solution, passage 5.3
Used by
No later knowledge point in these notes uses it.
Everything this builds on, earliest first · 6 steps
Each step comes after its own prerequisites, so reading in this order never needs something you have not met. It is a reading order for these notes, not a diagnosis of what you know.
- Loop invariant · 4.1
- Graphs, paths, cycles and trees · 5.1
- Breadth-first search finds unweighted distances · 5.1
- Bipartite graph · 5.1
- Chromatic number · 5.3
- Bipartite criterion · 5.3
Possible roots and a review route need your own answers on these points. None are recorded yet, so none are suggested.
Longest chain down to a starting point
Each step is used by the one above it, across courses where the notes link them. It ends at a point the notes define without another point.