Planar Graphs

Study Sheet

Planar Graphs

Drawing without crossings, Euler's formula, and the two forbidden graphs

Planar Graphs and Plane Drawings

Concept
Planar graphs, plane drawings, and faces

A graph is planar if it has at least one drawing in the plane with no two edges crossing, except where they share an endpoint. Such a drawing is a plane graph, or plane drawing. A plane drawing cuts the rest of the plane into regions called faces; exactly one face, the outer face, is unbounded.

Planarity is a property of the ABSTRACT graph — "some crossing-free drawing exists" — never of one particular picture of it. The very same graph can be drawn carelessly, with crossings, and still be planar, because some other choice of vertex positions avoids every crossing; a graph is non-planar only when EVERY possible drawing, however cleverly chosen, keeps at least one crossing. Faces matter because every plane drawing of a connected graph produces the same number of them no matter how it is drawn — a fact hidden inside Euler's Formula, next — and because the number of sides on a face limits how many edges a planar graph can have at all, in Edge Bounds for Planar Graphs below.

Example
Redrawing K4K_4 without crossings
1234
K4 redrawn with 4 inside the outer triangle: no crossings.

Draw K4K_4 on vertices 1,2,3,41,2,3,4 as a square with both diagonals: the four sides 12,23,34,4112,23,34,41 and the two diagonals 13,2413,24. The diagonals cross in the middle of the picture. Redraw instead as an outer triangle 1,2,31,2,3 with 44 placed inside it, joined to each corner: now all 66 edges (12,23,31,14,24,3412,23,31,14,24,34) are present and no two cross. K4K_4 is planar — the crossing was a flaw of the FIRST picture, not of the graph.

Example
A genuine problem: is K2,3K_{2,3} planar?
123ab
a above, b below: all six edges drawn with no crossings.

Let K2,3K_{2,3} have parts X={a,b}X = \{a,b\} and Y={1,2,3}Y = \{1,2,3\}, all 66 cross edges. Place aa above and bb below a row of 1,2,31, 2, 3: aa reaches down to each of 1,2,31,2,3, bb reaches up to each of 1,2,31,2,3, and no two of the six segments meet except at a shared endpoint. So K2,3K_{2,3} is planar, and the same trick draws any K2,nK_{2,n} without crossings.

Example
The three utilities puzzle
123gwe
Houses above, utilities below: nine straight edges already cross several times.

Three houses {1,2,3}\{1,2,3\} each need gas, water and electricity from utilities {g,w,e}\{g,w,e\} — every house joined to every utility, the graph K3,3K_{3,3}. Try the K2,3K_{2,3} trick: houses in a row above, utilities in a row below. Now EVERY house must reach EVERY utility, not just two special vertices reaching everybody, and the straight-line picture already draws all 99 edges with several crossings, for instance 1w1w crossing 2g2g. Does some cleverer drawing avoid every crossing instead? The question is settled later in this topic, in K_5, K_3,3 and Kuratowski's Theorem.

Side note
Where it goes wrong

Concluding a graph is non-planar because the drawing in front of you happens to cross. K4K_4 drawn as a square with both diagonals crosses once, yet K4K_4 is planar, as the redrawing above shows. Crossings are a property of a PICTURE; planarity is a property of the GRAPH. The only way to show a graph is non-planar is to rule out EVERY possible drawing at once, which is exactly what Kuratowski's Theorem, later in this topic, gives a finite way to do.

Try it
Try it: is the wheel W4W_4 planar?

Let W4W_4 have a hub hh joined to all four vertices of the 44-cycle 1-2-3-4-11\text{-}2\text{-}3\text{-}4\text{-}1 (44 rim edges plus 44 spokes, 88 edges on 55 vertices). Is W4W_4 planar?

Show the answer

Yes: draw the 44-cycle as a square and place hh inside it, joined to each corner. The square's four sides and the four spokes from the interior hub never need to cross, since the hub sits strictly inside and each spoke reaches straight out to its own corner. W4W_4 is planar\mathbf{\text{planar}}.

Euler's Formula

Concept
Euler's Formula for plane graphs

For any connected plane graph with VV vertices, EE edges and FF faces (counting the outer face),

V−E+F=2.V - E + F = 2.

The formula is an invariant: removing one edge at a time while keeping the graph connected never changes V−E+FV-E+F, so its value can be read off the simplest connected graphs of all — trees. A tree has no cycle, hence no bounded face, so F=1F=1 (the outer face only), and E=V−1E=V-1 by the edge-count formula for trees (Topic 4); then V−E+F=V−(V−1)+1=2V-E+F = V-(V-1)+1=2. Every other connected plane graph is a tree with extra edges added back in, and Why It Works shows each such edge raises FF by exactly 11 as it raises EE by 11, keeping the sum fixed at 22 all the way up.

Example
Checking the formula on a tree
1234h
A star: one face (outer), four edges, five vertices.

A star with hub hh and four leaves 1,2,3,41,2,3,4 (edges h1,h2,h3,h4h1,h2,h3,h4) is a tree: V=5V=5, E=4E=4. A tree has no cycle to enclose a region, so the whole plane outside the drawing is one single face: F=1F=1. Check: 5−4+1=25 - 4 + 1 = 2, exactly as the formula demands.

Example
Checking the formula on planar K4K_4
1234
K4 redrawn: three inner triangular faces plus the outer face.

Return to K4K_4 drawn as a triangle 1,2,31,2,3 with 44 inside (Planar Graphs and Plane Drawings): V=4V=4, E=6E=6. The drawing cuts the inside of the triangle into the three small triangles 124,234,134124, 234, 134, plus the outer face outside triangle 123123 — F=4F=4. Check: 4−6+4=24-6+4=2.

Example
A genuine problem: counting faces from VV and EE

A connected plane graph has 1212 vertices and 2020 edges. How many faces does it have? Solve Euler's Formula for FF: F=2−V+E=2−12+20=10F = 2 - V + E = 2 - 12 + 20 = 10. No picture is needed — the formula alone pins down the face count once VV and EE are known, for ANY connected plane drawing of the graph, however it is drawn.

Side note
Where it goes wrong
123456
Two disjoint triangles: V=6, E=6, F=3 (not 2).

Applying V−E+F=2V-E+F=2 to a graph that is not connected. Two separate triangles, drawn apart, have V=6V=6, E=6E=6, and only F=3F=3 (each triangle's inside is a face, plus one shared outer face) — 6−6+3=3≠26-6+3=3 \ne 2. The correct statement for CC connected components is V−E+F=1+CV - E + F = 1 + C; the familiar 22 is just the case C=1C=1. Forgetting to count the unbounded outer face is the other classic slip: it is a face just like any other, and skipping it is the usual reason a face count comes up one short.

Try it
Try it: faces from edges

A connected plane graph has 77 faces and 1515 edges. How many vertices does it have?

Show the answer

Solve Euler's Formula for VV: V=2−F+E=2−7+15=10V = 2 - F + E = 2 - 7 + 15 = \mathbf{10}.

Edge Bounds for Planar Graphs

Concept
The edge-count bounds

If a simple connected planar graph has V≥3V \ge 3 vertices, then

E≤3V−6,E \le 3V - 6,

with equality only for triangulations (every face a triangle). If every face has at least 44 sides (for instance if the graph is bipartite), instead

E≤2V−4.E \le 2V - 4.

More generally, if every face has at least gg sides,

E≤gg−2(V−2).E \le \frac{g}{g-2}(V-2).

Every face boundary has at least as many sides as the graph's shortest cycle (its girth), and each edge borders exactly two face-sides (counting a bridge as bordering the same face twice), so summing face-lengths over all FF faces counts every edge exactly twice: ∑(face length)=2E\sum(\text{face length}) = 2E. If every face has ≥g\ge g sides, this sum is also ≥gF\ge gF, giving F≤2E/gF \le 2E/g; substituting into Euler's Formula gives the bound above, proved in full in Why It Works. Taking g=3g=3 (any simple graph, since a 33-cycle is the shortest a simple graph can have) gives 3V−63V-6; taking g=4g=4 (bipartite graphs have no odd cycle at all, by the odd-cycle theorem, so no triangular face) gives 2V−42V-4. The bound is a NECESSARY condition for planarity — failing it rules a graph out completely, but passing it, as the side note below shows, does not yet prove the graph planar.

Example
A small plane graph's face-degree sum
12345
Pentagon with chord 1-3: face lengths 3, 4, 5 sum to 2E=12.

Take the pentagon 1-2-3-4-5-11\text{-}2\text{-}3\text{-}4\text{-}5\text{-}1 with one added chord 1313: V=5V=5, E=6E=6. The chord cuts the inside into a triangle 123123 (length 33) and a quadrilateral 13451345 (length 44); together with the outer face, whose boundary is the whole pentagon (length 55), the three face-lengths are 3+4+5=12=2E3+4+5=12=2E, confirming each edge is counted on exactly two faces (the chord 1313 borders the triangle and the quadrilateral; every pentagon side borders the outer face and one inner face).

Example
K5K_5 fails the bound

K5K_5 has V=5V=5 and E=(52)=10E=\binom{5}{2}=10. The bound allows at most 3(5)−6=93(5)-6=9 edges for a planar graph on 55 vertices, and 10>910 > 9: K5K_5 is not planar.

Example
K3,3K_{3,3} fails the bipartite bound

K3,3K_{3,3} is bipartite with V=6V=6 and E=9E=9. The bipartite bound allows at most 2(6)−4=82(6)-4=8 edges, and 9>89>8: K3,3K_{3,3} is not planar either — a different, sharper bound catching a graph the plain bound would not (since 3(6)−6=12≥93(6)-6=12\ge9 says nothing).

Example
A genuine problem: does the Petersen graph satisfy any edge bound?

The Petersen graph has V=10V=10, E=15E=15, and girth 55 (its shortest cycle has length 55 — the outer 55-cycle o1-o2-o3-o4-o5-o1o_1\text{-}o_2\text{-}o_3\text{-}o_4\text{-}o_5\text{-}o_1 is one, and no shorter cycle exists anywhere in the graph). The girth-55 bound gives E≤53(10−2)=403≈13.3E \le \frac{5}{3}(10-2) = \frac{40}{3} \approx 13.3, yet E=15E=15. Even this generous bound is violated: the Petersen graph is not planar.

Side note
Where it goes wrong

Believing that satisfying the edge bound PROVES a graph planar. Take K5K_5 with one extra pendant vertex 66 attached only to vertex 11: V=6V=6, E=11≤3(6)−6=12E=11 \le 3(6)-6=12 — the bound holds comfortably. Yet this graph contains K5K_5 itself as a subgraph (on vertices 1,…,51,\ldots,5), and a subgraph of a planar graph is always planar (the same drawing that works for the whole graph works for any part of it), so if this graph were planar, K5K_5 would be too — it is not. The bound is only ever a ONE-WAY test: it can prove non-planarity but never planarity.

Try it
Try it: the maximum edges on 7 vertices

What is the largest possible number of edges in a simple planar graph on 77 vertices?

Show the answer

The bound E≤3V−6E \le 3V-6 gives E≤3(7)−6=15E \le 3(7) - 6 = 15, achieved exactly by any planar triangulation on 77 vertices (every face a triangle). The maximum is 15\mathbf{15}.

K_5, K_3,3 and Kuratowski's Theorem

Concept
Subdivisions and Kuratowski's Theorem

A subdivision of a graph HH replaces some of its edges by paths through new degree-22 vertices, without otherwise changing adjacency. Kuratowski's Theorem: a graph is planar if and only if it contains no subdivision of K5K_5 or of K3,3K_{3,3} as a subgraph.

K5K_5 and K3,3K_{3,3} are themselves non-planar, by the edge bounds of the previous section, so containing a COPY of either forces non-planarity too — a subgraph of a planar graph is planar, the same fact used in the side note there. Kuratowski's Theorem's real force is the converse: those two graphs, stretched by subdivision into however many disguises, are the ONLY obstructions that can ever occur. No matter how large or strange a non-planar graph is, hiding somewhere inside it is a recognizable copy of K5K_5 or K3,3K_{3,3} with some edges replaced by paths. This is why K5K_5 and K3,3K_{3,3} earned their names on Topic 1's catalog of special graphs: not two examples among many, but the complete list of what can go wrong.

Example
What a subdivision looks like
123abcx
K3,3 with edge a1 subdivided through x: still a subdivision of K3,3.

Take K3,3K_{3,3} on X={a,b,c}X=\{a,b,c\}, Y={1,2,3}Y=\{1,2,3\} and subdivide the single edge a1a1: delete it and add a new vertex xx with edges axax, x1x1. The result has V=7V=7, E=10E=10 — one more of each than K3,3K_{3,3} — and xx has degree exactly 22, as a subdivision vertex must. Contracting xx back out (deleting it and joining aa to 11 directly) exactly recovers K3,3K_{3,3}, confirming this new graph IS a subdivision of K3,3K_{3,3}, and so, by Kuratowski's Theorem, is non-planar too, even though it is not literally K3,3K_{3,3}.

Example
A genuine problem: a forbidden subdivision inside the Petersen graph
o1o2o3o4o5i1i2i3i4i5
Bold: a K3,3 subdivision inside the Petersen graph (branch vertices shaded).

The Petersen graph has an outer 55-cycle o1,…,o5o_1,\ldots,o_5, an inner pentagram i1,…,i5i_1,\ldots,i_5 (edges i1i3,i3i5,i5i2,i2i4,i4i1i_1i_3,i_3i_5,i_5i_2,i_2i_4,i_4i_1) and spokes okiko_ki_k (Topic 1). Take X={o1,o3,i4}X=\{o_1,o_3,i_4\} and Y={o2,o4,i1}Y=\{o_2,o_4,i_1\}. Nine paths join every XX-vertex to every YY-vertex, using only o5,i2,i3o_5,i_2,i_3 as intermediate (degree-22) vertices, with i5i_5 left unused:

o1o2,  o1o5o4,  o1i1,  o3o2,  o3o4,  o3i3i1,  i4i2o2,  i4o4,  i4i1.o_1o_2,\ \ o_1o_5o_4,\ \ o_1i_1,\ \ o_3o_2,\ \ o_3o_4,\ \ o_3i_3i_1,\ \ i_4i_2o_2,\ \ i_4o_4,\ \ i_4i_1.

All nine are internally disjoint — no two share an intermediate vertex, and no intermediate vertex is itself one of the six branch vertices — so this is a genuine subdivision of K3,3K_{3,3} hiding inside the Petersen graph. By Kuratowski's Theorem the Petersen graph is not planar, confirming the girth bound from the previous section by a completely different argument.

Side note
Where it goes wrong

Insisting that K5K_5 or K3,3K_{3,3} must appear as an exact SUBGRAPH — every one of its edges present directly — before Kuratowski's Theorem applies. It only asks for a SUBDIVISION, edges stretched into paths. In the Petersen-graph example above, o1o_1 and o4o_4 are never directly adjacent at all (the graph is 33-regular and o1o_1's three edges already go to o2o_2, o5o_5, and i1i_1); the two are joined only through the path o1-o5-o4o_1\text{-}o_5\text{-}o_4. Demanding a direct edge there would wrongly conclude no K3,3K_{3,3}-pattern exists.

Try it
Try it: a subdivided K5K_5

Subdivide every edge of K5K_5 once (replace each of its 1010 edges with a 22-edge path through a new vertex). Is the resulting graph, now on 5+10=155+10=15 vertices, planar?

Show the answer

No: the construction is, by definition, a subdivision of K5K_5 — every original vertex keeps degree 44, every new vertex has degree 22 — so Kuratowski's Theorem applies directly. However far the edges are stretched, the forbidden pattern is still there: the graph is non-planar\mathbf{\text{non-planar}}.

Polyhedra and Dual Graphs

Concept
Polyhedra, duals, and self-duality

The graph of a convex polyhedron — one vertex per corner, one edge per edge of the solid — has a plane drawing (a Schlegel diagram), so Euler's Formula applies directly to VV, EE, FF of the SOLID. Given a plane graph GG, its dual G∗G^* has one vertex for every face of GG (including the outer face), with an edge of G∗G^* for every edge of GG, joining the two faces it borders. GG is self-dual if G∗≅GG^* \cong G.

This is the same V−E+F=2V-E+F=2 already proved, now read as a fact about solids rather than drawings: it is why there is no convex polyhedron with, say, 66 square faces and only 66 vertices (the cube needs 88). The dual always has exactly the same number of edges as the original, since the correspondence is edge-for-edge, but it swaps the roles of vertices and faces: V(G∗)=F(G)V(G^*)=F(G) and F(G∗)=V(G)F(G^*)=V(G). Applying the dual twice undoes it for any connected plane graph, which is why Platonic solids pair up — cube with octahedron, dodecahedron with icosahedron — while the tetrahedron, with equal numbers of vertices and faces, pairs with itself.

Example
K4K_4 (the tetrahedron) is self-dual
p1p2p3p4d0d1d2d3
K4 (solid) and its dual (dashed, at face centers): both are K4.

Draw K4K_4 as a triangle 1,2,31,2,3 with 44 inside (as before): 44 faces, the three inner triangles f1=124f_1=124, f2=234f_2=234, f3=134f_3=134, and the outer face f0=123f_0=123. Build the dual: put one dual vertex in each face and join two dual vertices whenever their faces share an edge. f0f_0 shares edges with all three inner faces (1212, 2323, 3131), and each pair of inner faces shares one spoke (f1,f2f_1,f_2 share 2424; f2,f3f_2,f_3 share 3434; f1,f3f_1,f_3 share 1414). So every dual vertex is joined to the other three — the dual is K4K_4 again, on 44 vertices and 66 edges, matching V(K4∗)=F(K4)=4V(K_4^*)=F(K_4)=4 and E(K4∗)=E(K4)=6E(K_4^*)=E(K_4)=6.

Example
A genuine problem: a polyhedron from its face count

A convex polyhedron has 2020 faces, every one a triangle, and every vertex surrounded by exactly 55 faces (so degree 55). Each triangular face has 33 edges and each edge is shared by exactly 22 faces, so E=3F/2=3(20)/2=30E = 3F/2 = 3(20)/2=30. Each vertex has degree 55, so by the handshake lemma (Topic 1) E=5V/2E = 5V/2, giving V=2E/5=2(30)/5=12V = 2E/5 = 2(30)/5=12. Check with Euler's Formula: V−E+F=12−30+20=2V-E+F = 12-30+20=2. This is exactly the icosahedron: 1212 vertices, 3030 edges, 2020 triangular faces.

Side note
Where it goes wrong

Assuming the dual of every plane graph is itself a simple graph, with no loops or repeated edges. Draw the path 1-2-31\text{-}2\text{-}3 (a tree, V=3,E=2V=3,E=2): a tree has no bounded face at all, so there is only the single outer face, F=1F=1 (Euler: 3−2+1=23-2+1=2, consistent). The dual therefore has only ONE vertex — yet it still needs one dual edge for each of the 22 primal edges, since both edges border that same outer face on both sides. Both dual edges become loops at that single vertex. Duals of trees, and more generally of any bridge (an edge bordering the same face on both sides), are never simple graphs, even when the original graph is.

Try it
Try it: the dodecahedron from regularity

A convex polyhedron is 33-regular (every vertex meets exactly 33 edges) with every face a pentagon. Find VV, EE, FF.

Show the answer

From 33-regularity, E=3V/2E = 3V/2. From pentagonal faces, E=5F/2E=5F/2. Substitute both into Euler's Formula: writing V=2E/3V=2E/3 and F=2E/5F=2E/5,

2E3−E+2E5=2  ⟹  10E−15E+6E15=2  ⟹  E15=2  ⟹  E=30.\frac{2E}{3} - E + \frac{2E}{5} = 2 \implies \frac{10E-15E+6E}{15}=2 \implies \frac{E}{15}=2 \implies E=30.

Then V=2(30)/3=20V=2(30)/3=20 and F=2(30)/5=12F=2(30)/5=12: the dodecahedron, V=20\mathbf{V=20}, E=30\mathbf{E=30}, F=12\mathbf{F=12}.

Why It Works

By induction on EE, among connected plane graphs. Base case: if GG is a tree, E=V−1E=V-1 (Topic 4) and a tree encloses no region, so F=1F=1; then V−E+F=V−(V−1)+1=2V-E+F = V-(V-1)+1=2. Inductive step: if GG is not a tree, it has a cycle, hence an edge ee lying on some cycle. Removing ee cannot disconnect GG — any two vertices still reach each other by detouring around the rest of that cycle — so G−eG-e is a smaller connected plane graph, with VV vertices, E−1E-1 edges. The edge ee lies on a cycle, so it is not a bridge, and a non-bridge edge has two DIFFERENT faces on its two sides; deleting ee merges those two faces into one, so G−eG-e has F−1F-1 faces. By the inductive hypothesis V−(E−1)+(F−1)=2V-(E-1)+(F-1)=2, which rearranges to V−E+F=2V-E+F=2.

Let GG be a connected simple plane graph with V≥3V \ge 3 vertices and girth gg. Every face boundary is a closed walk of length ≥g\ge g (it contains a cycle of the graph unless the face is bounded by a bridge walked twice, which only lengthens the boundary further), so every face has ≥g\ge g sides, and

2E=∑faces(length of its boundary)≥gF,2E = \sum_{\text{faces}}(\text{length of its boundary}) \ge gF,

since each edge lies on exactly two face-sides. Hence F≤2E/gF \le 2E/g. Substituting into Euler's Formula:

2=V−E+F≤V−E+2Eg  ⟹  E(2g−1)≥2−V  ⟹  E≤V−21−2/g=gg−2(V−2),2 = V-E+F \le V-E+\frac{2E}{g} \implies E\left(\frac{2}{g}-1\right) \ge 2-V \implies E \le \frac{V-2}{1-2/g} = \frac{g}{g-2}(V-2),

flipping the inequality because 2/g−1<02/g-1<0 for g≥3g \ge 3.

Suppose every vertex of a simple planar graph had degree ≥6\ge 6. Summing degrees, ∑deg⁡(v)≥6V\sum\deg(v) \ge 6V, and by the handshake lemma (Topic 1) ∑deg⁡(v)=2E\sum\deg(v)=2E, so E≥3VE \ge 3V. But the edge bound above gives E≤3V−6<3VE \le 3V-6 < 3V for every V≥1V \ge 1 — a contradiction. So some vertex has degree ≤5\le 5. This small fact is the first step of the Five Color Theorem.