Why Planarity Limits the Number of Edges
A plane drawing of a graph divides the plane into faces, and the boundary of each face uses edges of the graph. In a connected simple planar graph with at least three vertices, every face boundary has length at least three. At the same time, every edge contributes exactly two edge-sides to the face boundaries. These facts let us compare the total boundary length with the number of edges. Euler’s formula then turns that comparison into an upper bound on the number of edges.
A graph is planar if it can be drawn in the plane with no edge crossings except at shared endpoints. A particular crossing-free drawing is a plane embedding. Its faces are the regions of the plane left after removing the drawing, including the unbounded region. The length of a face boundary is the number of edge occurrences in its boundary walk. If an edge appears twice in that walk, it is counted twice. This matters for bridges: a bridge has the same face on both sides, so its two edge-sides both contribute to a face-boundary length.
We use Euler’s formula for connected plane graphs: if a connected plane graph has \(n\) vertices, \(m\) edges and \(f\) faces, then \(n-m+f=2\). Our goal is to combine that formula with the boundary-length count. The graph must be connected, simple, and have at least three vertices; the conclusion below is stated only under these hypotheses.
Face Lengths and Edge-Sides
Proof. A face boundary walk of length \(1\) would use a loop, which a simple graph does not have. Consider a boundary walk of length \(2\). If its two edge occurrences were distinct edges joining the same two vertices, the graph would have multiple edges. Thus the walk would have to traverse one edge \(uv\) from \(u\) to \(v\) and immediately traverse it back from \(v\) to \(u\). In tracing a face boundary, an immediate reversal at an endpoint can occur only when that endpoint has degree \(1\): otherwise the boundary continues along another incident edge in the cyclic order of the embedding. So both \(u\) and \(v\) would have degree \(1\). Since the graph is connected, it would consist only of \(u,v\) and the edge \(uv\), contradicting the assumption that it has at least three vertices. Boundary length \(0\) is not possible here, since the connected graph has edges. Therefore every face boundary has length at least \(3\). \(\square\)
Now count the total length of all face boundaries. Each edge has two sides, and each side occurs once in the boundary-walk count. The two sides may belong to two different faces, or both may belong to the same face when the edge is a bridge. In either case, counting with multiplicity gives total boundary length \(2m\).
If there are \(f\) faces, the lemma says that each of the \(f\) terms in this sum is at least \(3\). Hence \(2m\geq 3f\). This is the face estimate that will be paired with Euler’s formula.
The Simple Planar Edge Bound
Proof. Since \(G\) is planar, choose a plane embedding. Write \(f\) for its number of faces. The face-length count gives \(2m\geq 3f\). Euler’s formula gives \(n-m+f=2\), so \(f=2-n+m\). Substitute this expression for \(f\) into the inequality:
Subtract \(3m\) from both sides to obtain \(-m\geq 6-3n\). Multiplying by \(-1\) reverses the inequality, giving \(m\leq 3n-6\), as claimed. \(\square\)
The estimate uses two different ingredients. Simplicity and \(n\geq 3\) ensure that face boundaries cannot be too short, while connectedness allows Euler’s formula in the form \(n-m+f=2\). The argument applies to a connected planar graph by choosing any plane embedding of it; it does not require that a particular drawing be supplied.
Proof. Euler’s formula rearranges to \(f=2-n+m\). Applying the theorem’s bound \(m\leq 3n-6\) gives \(f\leq 2-n+(3n-6)=2n-4\). \(\square\)
Worked Checks
Worked Example: The Complete Graph on Four Vertices
Let \(G\) have vertex set \(V=\{1,2,3,4\}\) and edge set \(E=\{12,13,14,23,24,34\}\). This is \(K_4\). Embed \(1,2,3\) as the vertices of an outer triangle and put \(4\) inside it, joined to each of \(1,2,3\). This is a plane embedding with three inner triangular faces and one outer face.
There are \(n=4\) vertices and \(m=6\) edges. The boundary lengths are \(3,3,3,3\), so their sum is \(12\). The edge-side count gives \(2m=2\cdot6=12\), as required. Euler’s formula checks as \(n-m+f=4-6+4=2\). The edge bound gives \(3n-6=3\cdot4-6=6\), so \(m=6\) satisfies the bound with equality for this graph.
Check: independently count the six listed edges: three join \(1\) to the other vertices, two more join \(2\) to \(3,4\), and the last is \(34\), for \(3+2+1=6\). The face and edge counts are consistent.
Worked Example: A Triangle with a Pendant Edge
Let \(G\) have vertex set \(V=\{a,b,c,d\}\) and edge set \(E=\{ab,bc,ca,cd\}\). The triangle \(abc\) is joined to the pendant vertex \(d\) by the edge \(cd\). Embed the triangle as a triangle and draw \(cd\) outside it without crossings. There are two faces: the bounded face has boundary \(a,b,c,a\), of length \(3\); the unbounded face uses the triangle boundary and traverses the pendant edge in both directions, so its boundary length is \(3+2=5\).
Here \(n=4\), \(m=4\), and \(f=2\). The total boundary length is \(3+5=8\), which equals \(2m=2\cdot4=8\). Euler’s formula gives \(4-4+2=2\). The edge bound is \(m\leq3n-6=3\cdot4-6=6\), and the actual edge count \(4\) meets it.
Check: the edge list has three triangle edges and one pendant edge, so \(m=3+1=4\). The pendant edge appears twice in the unbounded face boundary, not once; that repeated occurrence is exactly what makes the boundary-length sum equal \(8\).
Worked Example: A Path on Five Vertices
Let \(G\) have vertex set \(V=\{1,2,3,4,5\}\) and edge set \(E=\{12,23,34,45\}\). Embed it as a noncrossing path. There are \(n=5\) vertices and \(m=4\) edges. Euler’s formula gives \(f=2-n+m=2-5+4=1\), so there is one face. Its boundary walk traverses the path from \(1\) to \(5\) and back, giving length \(4+4=8\).
The edge-side count gives \(2m=2\cdot4=8\), matching the boundary length. The theorem’s upper bound is \(3n-6=3\cdot5-6=9\), and \(m=4\leq9\). This example also shows why the theorem is an upper bound, not a claim that every planar graph has a number of edges close to the bound.
Check: the edge list contains \(12,23,34,45\), exactly four edges. The one face has length \(8\), since each of those four edges is encountered once in each direction.
A Common Counting Error
A frequent mistake is to count each edge only once when adding face-boundary lengths. For the triangle with pendant edge above, that would incorrectly give total boundary length \(m=4\). The actual face lengths are \(3\) and \(5\), so the total is \(8=2m\). The bridge \(cd\) appears twice on the unbounded face boundary because the same face lies on both sides of the bridge.
The mistake can also lead to an invalid inequality. If one incorrectly used \(3f\leq m\), then in this example \(3f=3\cdot2=6\) would have to be at most \(m=4\), which is false. The valid estimate is \(3f\leq2m\), because each edge contributes two sides. Keeping the multiplicity in boundary walks is essential to the proof.
The hypotheses matter as well. The theorem is not asserted here for disconnected graphs, graphs with loops or multiple edges, or graphs with fewer than three vertices. In particular, a face boundary of length \(2\) can occur for a connected simple graph consisting of a single edge, but that graph has only two vertices. The proof’s face-length lemma relies on excluding that case.
Check Your Understanding
Use the face-boundary count and Euler’s formula to answer these questions.
- A connected simple planar graph has \(n=7\) vertices. What upper bound does the theorem give for its number of edges?
- Explain why a bridge contributes two edge occurrences to the total of all face-boundary lengths.
- A connected simple plane graph has \(m=8\) edges and \(f=4\) faces. What lower bound does the face-length count give for the total boundary length, and what is its actual value?
- For the graph with \(V=\{1,2,3,4\}\) and \(E=\{12,23,34\}\), compute \(n,m,f\) using Euler’s formula and check the edge bound.
- State which hypotheses are needed to conclude that every face boundary has length at least \(3\), and give the reason for the lower bound on the number of vertices.