Five Color Theorem
Table of Contents
Theorem
For every planar graph, there exists a coloring of its vertices using at most 5 colors such that no two adjacent vertices have the same color.
Lemma: degree 5 vertex
To show that every planar graph has at least 1 vertex of degree , we assume euler's formula, that given faces, vertices, and edges of a planar graph, that
We assume for contradiction, there exists a planar graph with all vertices of degree . Then let us consider the size of this set:
Every edge will be in there twice, so
Also, we know that all vertices have at least 6 edges, so
Thus,
Next, consider the set:
Every edge can see 2 faces, so
and every face has at least 3 edges, so
Putting this together,
Now, we apply Euler's formula to get:
Thus, , a contradiction. This concludes the proof.
Proof
Now for the real proof. This proof is by induction on the number of vertices in a planar graph:
Base case: , it is clear that this is 5-colorable with just 1 color.
Inductive step: We assume that all planar graphs with vertices are 5 colorable. We know from the lemma that there exists at least one vertex of degree 5 or less. We know that if it has less degree less than 5 that we instantly win because if we remove that vertex, it is 5 colorable (from our inductive hypothesis). And because has degree less than 5 it can be colored by a color that isn't in its neighbors. Thus, we can assume has 5 neighbors.
Now, because has 5 neighbors, if any two of them have the same color, then we can color the color that is missing, so we can assume that has degree at least 5.
To recap what we know so far: all planar graphs have at least one vertex with less than degree 5. The worst-case scenario for our proof is when it is exactly 5, and all of the neighbors have different colors. In all other cases, we win.
Now, we label the neighbors through based on their colors. We look at the largest subgraph that connects to vertex which only contains and colored vertices (it can have other colors hanging off of it). Now, if it doesn't contain then we can flip the color of each of the vertices of the subgraph (i.e. every colored vertex becomes a colored vertex). And then we can just color because it will have 2 vertices of color adjacent to it and no vertices of color now.
Thus, we can assume that there is an unbroken path from to which contains only and colored vertices. Now, we can apply the same exact logic to the colors and . Thus, we only care about the case when there is an unbroken path from to , as otherwise we can just flip the colors fo the subgraph coming from to recolor with color . However, there can't be both an unbroken path from to using only and colored vertices, and an unbroken path from to using only and colored vertices. The paths have to cross because they are paths on a plane. This that case leads to a contradiction, so any planar graph must've fallen into one of the cases that was 5 colorable. Thus, every planar graph is 5 colorable. This concludes the proof.