Graph Coloring and Planarity
264 words
1 min read
Visual companion
Python
Type and operator map
Python Week 1: the first filter for runtime behavior
View
Revision summary
What this note is really saying
Short form
# Graph Coloring and Planarity ## 6.1 Vertex Coloring A **proper coloring** assigns colors to vertices so adjacent vertices have different colors. **Chromatic number** $\chi(G)$ = minimum number of colors needed.

Graph Coloring and Planarity
6.1 Vertex Coloring
A proper coloring assigns colors to vertices so adjacent vertices have different colors.
Chromatic number χ(G) = minimum number of colors needed.
Bounds
- χ(G)≤Δ(G)+1 (greedy coloring bound)
- χ(G)≥ω(G) (clique number)
- Every planar graph has χ(G)≤4 (Four Color Theorem)
6.2 Planar Graphs
A graph is planar if it can be drawn without edge crossings.
Euler's Formula
For planar graphs: V−E+F=2 (including the outer face).
Corollary: For planar G with V≥3: E≤3V−6.
Non-Planar Graphs
- K5 (complete graph on 5 vertices) — non-planar
- K3,3 (complete bipartite) — non-planar Kuratowski's Theorem: A graph is non-planar iff it contains a subdivision of K5 or K3,3.
✅ Practice Questions
Q1: Find χ(Kn).
Solutionχ(Kn)=n — every vertex must have a distinct color since all pairs are adjacent. Q2: Is K4 planar? Verify Euler's formula. SolutionYes, K4 can be drawn as a triangle with a vertex inside. V=4,E=6,F=4. 4−6+4=2. ✓ Q3: Show K3,3 is non-planar. SolutionIf K3,3 were planar, by Euler: E≤3V−6=3(6)−6=12. But K3,3 has 3×3=9 edges, which satisfies this inequality. Need stronger argument: In a bipartite planar graph, E≤2V−4. 9≤2(6)−4=8 is false. So K3,3 is non-planar. Join Discord PreviousGraph Theory BasicsNextGraph Coloring Apps