Planar graphs
A plane graph is a graph drawn on the plane with curves representing edges and such that these curves do not intersect. A graph is said to be planar if it is isomorphic to a plane graph; such drawing is called a plane representation/plane drawing of . There can be many ways to draw a given graph and some of them may not be a valid plane drawing.
See Figure 8 for two different ways to draw (a complete graph on four vertices).
See in Figure 9 for some planar and non-planar graphs.
A drawing of a planar graph partitions the plane into regions (or faces)1. Two points belong to the same region if they are connected via a curve that does not cross the drawing. For instance, the drawing of in Figure 8 has four regions. The students should be warned that it does not make sense to talk about regions of a planar graph. The notion of regions is associated with a specific plane drawing (plane graph), and the size and shape of a region depends on a specific drawing.
We start with a simple observation.
Every plane drawing of a tree has exactly one region.
This can be proved by induction on the number of vertices. When , this is obvious. Assume that the statement holds for plane drawing off every tree of at most vertices. Now consider a plane drawing of a tree with vertices, and let be a leaf (from the Leaf lemma) so that is the only neighbor of . If we remove the curve corresponding to the edge from the plane drawing of , we obtain a plane drawing of , applying the induction hypothesis on such drawing we learn that it has exactly one region. Now, adding the curve of back into the plane does not have more than one region (this is because every curve that can be drawn to avoid crossing the drawing of can also be drawn to avoid crossing the drawing of , by going ""around" the curve of at vertex )2.
The following result sounds extremely intuitive but highly nontrivial to prove formally.
Every plane representation of a cycle has exactly two regions (the interior and the exterior).
For a connected plane graph , we have that , where is the set of regions in .
We prove this by induction on the value . Since the graph is connected, we know that . The base case is when (a tree). In this case, we are done since and (from Lemma 6. Now, assume that the induction hypothesis holds for every connected plane graph having . Our goal is to argue that IH holds for . In this case, we know that the graph must have a cycle (from Theorem 6 and there exists an edge on this cycle that can be deleted while remains connected. Applying the IH to , we know that Euler's formula holds. Moreover,
- : Due to Jordan's curve theorem, edge is adjacent to exactly two distinct regions, and deleting it combines these two regions into one.
From this, we can deduce that the formula also holds for .
A region is bounded by a number of edges (called sides of the region). It is possible that both sides of an edge are incident to the same region, and such edge would contribute twice to the number of sides of that region. See Figure 10.
When a connected plane graph has at least three vertices, every region is bounded by at least three sides. Let denote the number of -sided regions.
In a connected plane graph with at least three vertices, .
We use accounting method. Each edge pays two coins, one placed on each side. Each region collects the coins that are placed in its interior. Therefore, every -sided region receives coins. We pay coins in total. This implies the lemma.
A planar graph with vertices satisfies edges.
Hint: Use the previous lemma and Euler's formula.
This exercise implies a simple proof that is not a planar graph. To prove such a statement directly, one needs to argue that every plane representation must contain a crossing, which gets quite messy as one tries to write a proof (the students are encouraged to try this). However, let us see a super simple proof here: has five vertices and ten edges. Notice that, is false, and therefore cannot be planar!
Every planar graph is -colorable (i.e. each vertex can be assigned a color so that neighboring vertices receive different colors, and the total number different of colors used is six).
Since , we know that there must be a vertex of degree at most (do you know why?). So we can create a coloring algorithm that picks the lowest degree vertex , recursively colors , and then greedily chooses the color of afterwards (since has at most five neighbors, there must be an unused color among the six available).
To prove the correctness of this algorithm formally, let us first consider a pseudocode (students should by now notice that pseudocodes that are suitable for proving correctness are relatively short and involve a small number of instructions).
- If , assign different colors to different vertices
- Let be a vertex with minimum degree (we know that )
- Color using any color that is not used by (the neighbors of )
We prove the correctness of by induction on . If , the coloring is trivially correct. Assume that the procedure is correct for planar graphs with at most vertices. When , we know that is colored correctly since (by induction hypothesis). Since is colored differently from its neighbors, the whole coloring of is correct.
This is a baby step towards the celebrated Four Color Theorem: Every planar graph is -colorable. As of today, the proof by Appel and Haken involves hundreds of cases. Coming up with an elegant proof would be a major breakthrough.
If a planar graph has more structure, these inequalities become stronger. In particular, we say that a graph is triangle-free if it has no subgraph isomorphic to .
Prove: A triangle-free planar graph with vertices satisfies edges.
Prove: Every triangle-free planar graph is -colorable.
We end our discussions on planar graphs with an interesting characterization of planar graphs. As we have seen before, and are not planar. It turns out that these are more or less the only graphs that are not planar. To be more precise, we need a notion of homeomorphism. A subdivision of a graph is obtained by subdividing an edge by adding new vertices on the edge. For example, every cycle is a subdivision of . Every path is a subdivision of an edge. Two graphs are homeomorphic if they are subdivisions of the same graph. Homeomorphic graphs have exactly the same drawings.
A graph is planar if and only if it does not contain a subgraph homeomorphic to or .
The above theorem is another remarkable characterization (in a similar spirit to the Eulerian characterization). It asserts the existence of "efficient certificates" about planarity in both directions. A planar graph can be certified by its plane representation (i.e., its drawing), and a non-planar graph can be certified by a or presence in the graph.