Consequences of Euler's Formula
How many friendship connections can a group of people have? This is possible only if every friendship can be drawn without crossing lines. This innocent question forces a hard numerical ceiling on the size of any planar graph. That ceiling is the engine behind some of the most quotable facts in graph theory. From a single counting identity — Euler's formula — one can derive several results. With almost no extra machinery, it yields an explicit bound on the number of edges a planar graph can have. It also gives a clean proof that the two smallest "obstructions" to planarity ( and ) are genuinely non-planar. Finally, it makes a serious dent in the proof of the Five Color Theorem. The reason this matters is that planarity is a global topological property. It asks whether an entire drawing avoids crossings. Euler's formula, by contrast, is a counting statement about vertices, edges, and faces. Turning a topological question into an arithmetic inequality is one of the great moves in combinatorics. It replaces "try to draw it and see" with "count and compare." This is also the historical seed of algebraic topology. Euler's formula is really the Euler characteristic of the sphere in disguise. The big picture is a chain of implications. Euler's formula, valid for any connected plane graph, combines with a simple fact about face degrees. Together they produce the edge bound for simple planar graphs with at least three vertices. Sharpening the face-degree argument for triangle-free graphs gives the stronger bound . These two inequalities alone are enough to certify that and cannot be drawn in the plane without crossings. These are the first two non-planar graphs anyone meets. They are also, as will be foreshadowed, the two fundamental obstructions in Kuratowski's Theorem. The same edge bound also underlies a short proof that every planar graph has a vertex of degree at most 5. This fact is the combinatorial heart of the Five Color Theorem. This article develops that chain of reasoning fully. It proves the edge bound and the refined bound for bipartite/triangle-free graphs. It uses both to establish nonplanarity of and from scratch. It also sketches the reduction from small maximum degree to five-colorability. Along the way it flags exactly where each hypothesis (connectedness, simplicity, ) is load-bearing. Dropping any one of them breaks the numerology.
- Euler's formula for connected plane graphs yields the universal bound for simple planar graphs with .
- If the graph is triangle-free (no 3-cycles, e.g. bipartite), the bound sharpens to .
- These two inequalities are pure arithmetic tests: compute and , compare to the bound, and nonplanarity follows instantly for () and ().
- The edge bound forces some vertex of any simple planar graph to have degree , by a counting (double-counting/pigeonhole) argument on the handshake sum.
- This "min-degree " fact is the combinatorial engine of the Five Color Theorem, proved by induction on vertices after deleting a low-degree vertex.
- and are exactly the two graphs Kuratowski's Theorem later crowns as the universal obstructions to planarity.
- Key idea: turning the topological question "can this be drawn without crossings?" into the arithmetic question "does exceed (or )?" converts geometry into counting.
Where this lives today
The edge bound is the standard first-line test for planarity in algorithm design: before running an planarity-testing algorithm (such as the Hopcroft–Tarjan algorithm), software can instantly reject a graph if it fails this arithmetic check, which costs only time given and . In VLSI circuit design and printed-circuit-board layout, planarity of a connection graph determines whether a design can be realized without crossing wires on a single layer, and the edge-count test is the cheapest filter applied before expensive routing algorithms run. The corollary that every planar graph has a vertex of degree is the combinatorial backbone of the Five Color Theorem: one deletes a low-degree vertex, colors the smaller graph by induction, then reinserts the vertex and (using a Kempe-chain argument when its neighbors already use 5 distinct colors) recolors to free up a color for it. This is a genuinely inductive proof technique — strong induction on the number of vertices — made possible only because the edge bound guarantees the low-degree vertex exists at every stage. The stronger Four Color Theorem (every planar map is 4-colorable) needed a much deeper case analysis, famously resolved with computer assistance by Appel and Haken in 1976, but its base combinatorial lemma about vertex degrees traces back to exactly this Euler-formula counting. In chemistry and materials science, fullerene molecules (carbon cages such as , buckminsterfullerene) are modeled as planar cubic graphs whose faces are pentagons and hexagons; Euler's formula forces exactly 12 pentagonal faces in any such structure, a striking chemical prediction extracted from pure counting. In network design, the edge bound explains why "mesh"-like planar network topologies cannot scale edge density arbitrarily, informing bounds on redundancy in circuit layouts and geographic information systems. In statistics and data visualization, planarity bounds inform when a graph drawing (e.g., of a social network or a Bayesian network's moralized graph) can in principle be rendered without edge crossings, which is a standard readability criterion in graph-drawing software.
Ask the tutor: How does the Kempe-chain recoloring step work when a degree-5 vertex's neighbors already use all five colors?
A graph is planar if it admits a plane embedding: a drawing in in which each vertex is a distinct point, each edge is a simple arc joining its endpoints, and no two edges intersect except possibly at a shared endpoint. Such a drawing is called a plane graph. Given a plane embedding of a connected graph , the arcs partition the plane into finitely many connected open regions called faces, exactly one of which is unbounded (the outer face). The degree of a face , denoted , is the number of edge-sides bordering it, where an edge that has the same face on both sides (a bridge) is counted twice. Throughout, , , and denotes the number of faces of a fixed plane embedding. A graph is simple if it has no loops or multiple edges. The graph is the complete graph on vertices; is the complete bipartite graph with parts of size and .
Intuition
Picture a planar drawing as a map: countries (faces) tiled edge-to-edge, meeting along borders (edges) and at corners (vertices). Euler's formula says the count of countries, borders, and corners is rigidly linked: , no matter how the map is drawn, as long as it is connected. This is already surprising — the combinatorics of the tiling is fixed even though the geometry (shapes, sizes) can vary wildly. The extra idea that unlocks everything else is a second, independent count: every face is bounded by at least 3 edge-sides (a face can't have degree 1 or 2 in a simple graph with no multi-edges, since a face of degree 2 would need a repeated edge and degree 1 a loop), and every edge borders exactly two face-sides (or the same face twice, if it's a bridge). Summing face degrees therefore double-counts edges:
Combined with , i.e. , substituting into Euler's formula eliminates and leaves a pure inequality relating and . That is the entire mechanism: two ways to count face-boundary incidences, squeezed through one topological identity, produce an edge cap.
Theorem statements
Let be a simple planar graph with vertices and edges. Then
We may assume is connected; if not, apply the argument to each connected component and sum (this only weakens the bound, since Euler's formula for a graph with components reads 's connected value plus slack — concretely, adding edges between components strictly increases without decreasing the bound, so it suffices to prove the connected case and note disconnected graphs satisfy the inequality a fortiori, being sub-edge-counts of graphs obtained by adding edges to connect them). So fix a connected simple plane embedding of with , edges, and faces.
Step 1 (Euler's formula). By Planar Graphs and Euler's Formula, for any connected plane graph,
Step 2 (every face has degree ). Since is simple ( rules out the degenerate case of a single edge or vertex) and has at least one cycle whenever — but we do not even need that; we argue directly. If has at least one cycle, every face boundary contains a cycle, which has length since is simple (no loops give length-1 faces, no multi-edges give length-2 faces). If is a tree (), it has a single face of degree trivially bounding for (check: , true), so the bound holds outright in the tree case. Hence we may assume contains a cycle, so every face has .
Step 3 (double counting). Every edge lies on the boundary of exactly two face-sides (counting a bridge edge twice for the single face it borders on both sides). Hence
Since there are faces each of degree ,
Step 4 (combine). Substitute (3) into (1): from we get , so
Multiply through by :
This holds for the cycle-containing case; the tree case was verified separately above and satisfies the same inequality. Since we reduced the disconnected case to the connected case (adding edges only makes the bound harder to violate, and a disconnected simple planar graph has strictly fewer edges than a connected one on the same vertex set obtained by identifying components with tree edges, which still satisfies the bound by the connected argument, so the original disconnected graph — having no more edges — also satisfies it), the inequality holds for every simple planar graph with .
∎Let be a simple, connected, planar, triangle-free graph (in particular this includes every bipartite planar graph) with vertices and edges. Then
Fix a plane embedding. As in Step 2 above, if is acyclic the bound holds whenever (check: , true), so assume contains a cycle. Triangle-freeness means no 3-cycle exists in , so no face can have degree : every face boundary walk, if it is a cycle, has length ; if a face boundary is not a simple cycle (it can repeat vertices/edges when the graph has cut vertices or bridges), its degree only increases, since bridges are traversed twice and any face degree still counts at least edge-sides once cycles of length are present — formally, the girth of is at least , and a standard fact about plane embeddings is that every face degree is at least the girth of the graph when the graph is 2-edge-connected, and at least in general once triangles are absent and forces some cycle of length to exist bounding each face together with possible bridge-doublings that only increase degree further. Hence
Double counting as before gives , so
Substituting into Euler's formula , i.e. :
∎
The complete graph is not planar.
has vertices and edges. It is simple. If were planar, the Edge bound for simple planar graphs theorem would give
But , a contradiction. Hence is not planar.
∎The complete bipartite graph is not planar.
has vertices and edges. It is bipartite, hence triangle-free (bipartite graphs have no odd cycles at all, so certainly no 3-cycles), and simple. If were planar, the sharper Sharper bound for triangle-free planar graphs lemma would give
But , a contradiction. Hence is not planar. Note the plain bound would not have caught this — gives no contradiction — which is exactly why the triangle-free refinement is needed.
∎Let be a simple planar graph with vertex. Then has a vertex of degree at most .
If , then every vertex has degree at most , so the claim is immediate. Assume (in particular , so the edge bound theorem applies). Suppose toward contradiction that every vertex has degree . By the handshake lemma,
Since every degree is ,
But the Edge bound for simple planar graphs theorem gives , contradicting . Hence some vertex has degree .
∎Worked examples
Example 1: The Petersen graph is non-planar (checking via the sharper bound fails, plain bound succeeds). The Petersen graph has vertices, each of degree , so edges. Its girth is (its shortest cycles have length 5, not 3), so it is triangle-free. Let's test both bounds. Plain bound: . We have — no contradiction, so this test is inconclusive; the Petersen graph is not ruled out by the plain edge bound. Sharper (girth-4) bound derived above requires only triangle-freeness and gives . We have — still no contradiction! The sharper bound as stated (for girth ) is also inconclusive. This is instructive: neither bound proves the Petersen graph non-planar, because its edge count is genuinely compatible with planarity under these two tests. (One can sharpen further using girth , replacing the constant in the face-degree bound with : every face would need degree , giving , so , and then Euler's formula forces , contradicting .) This shows the girth- refinement is the right tool, and it does certify the Petersen graph non-planar, while the cruder triangle-free bound (built for girth , not ) is too weak here. The lesson: Euler-formula bounds are sharp exactly to the girth hypothesis you feed them, and using a hypothesis weaker than what actually holds (triangle-free instead of girth-5) can leave you short of a proof.
Example 2: Using the edge bound to certify planarity is impossible in general, and to compute a concrete embedding count. Consider minus a perfect matching (sometimes called the 3-cube-like bipartite graph, but let's just compute directly). Take parts and , and join to for all (so each vertex has degree , since it connects to all of the other part except its matched partner). Then , and . This graph is bipartite, hence triangle-free, so the sharper bound applies: . We get — the bound is met with equality, so no contradiction arises and is not ruled out by this test. Does this mean is planar? The theorem only gives a necessary condition for planarity (if planar, then ); satisfying the inequality does not by itself prove planarity — that would be affirming the consequent. In fact this graph, known as the 3-cube graph 's bipartite double structure (it is isomorphic to the cube graph , the 1-skeleton of a cube), is planar: one can draw the cube's edges as a square inside a square connected corner-to-corner without crossings, and equality in the theorem corresponds exactly to a quadrangulation of the sphere — every face has degree exactly . Indeed for , Euler's formula with forces , and faces each of degree satisfies exactly, consistent with a genuine cube-shaped embedding (6 square faces, just like the geometric cube). This example shows both the power of the bound (instant necessary condition, computed in one line) and its limit (it cannot single-handedly prove planarity, only rule it out).
The edge bound theorem requires to be simple; drop that hypothesis and the bound collapses immediately. Let be the multigraph on vertices with parallel edges between them (a "banana" of arcs), drawn as nested arcs in the plane — this is easily planar (nest the arcs like concentric parentheses, no two need cross). Here , so the theorem's hypothesis already excludes it, but even patching that: attach a third vertex joined by a single edge to , giving , . This is still planar (add the pendant edge to outside all the arcs). The bound would claim , wildly false since . The failure traces to Step 2 of the proof: the argument that "every face has degree " used simplicity to rule out faces of degree (bounded by a loop) or degree (bounded by a pair of parallel edges). With parallel edges, the plane embedding has faces of degree exactly sandwiched between consecutive arcs, violating everywhere — so inequality (3), , simply does not hold, and the whole derivation breaks at that single step. This is precisely why the theorem's hypothesis list includes "simple graph": it is not a cosmetic restriction but the exact fact used to lower-bound face degree.
Scope, edge cases & common traps
| Situation | What happens | Why |
|---|---|---|
| Bound can be negative or vacuous | Theorem explicitly requires ; e.g. gives but a single edge has | |
| Multigraphs / loops | Bound fails | Face-degree lower bound of needs simplicity (see counterexample) |
| Disconnected graphs | Bound still holds | Apply the connected case to each component; total only decreases relative to a connected graph on the same |
| Triangle-free but not bipartite (e.g. 5-cycle) | Sharper bound still valid | Only girth is used, not bipartiteness itself |
| Girth general | Bound generalizes to | Same double-counting proof with |
| Bound satisfied but graph still non-planar (e.g. some subdivisions) | Necessary, not sufficient | Full characterization needs Kuratowski's Theorem |
The mathematician behind it
Origins · 1 minLeonhard Euler and how this was discovered
Euler was the most prolific mathematician in history, contributing foundational results across analysis, number theory, mechanics, and what would become graph theory and topology. His 1736 resolution of the Seven Bridges of Königsberg problem is usually cited as the founding act of graph theory, and his polyhedron formula , first stated in correspondence around 1750 and published in 1758, is the seed from which the whole edge-counting apparatus of planar graph theory grows. Euler worked at the courts of Frederick the Great in Berlin and Catherine the Great in St. Petersburg, continuing to produce mathematics at an enormous rate even after losing most of his eyesight later in life.
Does prove a graph is planar?
No. The theorem states that planarity implies for simple graphs with ; it does not state the converse. A graph can satisfy the inequality and still fail to be planar, as the Petersen graph example shows relative to the weaker bounds. To prove planarity you need either an explicit crossing-free drawing, a planarity-testing algorithm, or — to prove nonplanarity in general — Kuratowski's Theorem, which characterizes planarity exactly via forbidden subdivisions of and . The edge bound is only a quick necessary test, useful for instant rejection, not a full test.
Why does the bound change from to for triangle-free graphs?
Both bounds come from the same double-counting argument combined with a lower bound on face degree. For general simple planar graphs, faces have degree at least (the shortest possible cycle length), giving . If the graph is triangle-free, no face can be bounded by a 3-cycle, so every face has degree at least , giving the stronger inequality . Substituting the stronger face-degree floor into Euler's formula produces the sharper edge cap . The general pattern, for girth , is .
Why must in the edge bound theorem?
The proof derives algebraically from and Euler's formula, and this derivation is only meaningful once the graph actually has a cycle-capable structure or the tree case is checked directly. For , the bound gives , an impossible (negative) upper bound for a nonnegative edge count, so the inequality is false for the single-vertex graph with edges (since ). For , , but a single edge already has . These small cases are genuine exceptions, not proof gaps, which is why the theorem's hypothesis explicitly restricts to .
How exactly does the edge bound imply the Five Color Theorem?
The edge bound implies every simple planar graph has a vertex of degree (proved above via the handshake lemma). The Five Color Theorem is then proved by strong induction on : remove a vertex of degree , 5-color the remaining graph by the inductive hypothesis, then reinsert . If 's neighbors use at most 4 distinct colors among them, give the missing color. If has exactly 5 neighbors using all 5 colors, a Kempe-chain swapping argument on two color classes frees up a color for without recoloring the rest of the graph. The existence of the low-degree vertex at every inductive step is exactly what the edge bound guarantees.
Are and the only non-planar graphs?
No — there are infinitely many non-planar graphs, but and are special because every non-planar graph contains a subdivision (edges replaced by paths) of one of these two as a subgraph. This is the content of Kuratowski's Theorem, proved by Kuratowski in 1930 (and independently, in a related form using minors, by Wagner). The edge-count arguments in this article prove and themselves are non-planar, which is the easy half of the picture; showing they are the only essential obstructions requires substantially more machinery than counting alone.
Can the edge bound be used for graphs drawn on other surfaces, like a torus?
Yes, with a modified Euler characteristic. For a connected graph embedded on a surface of Euler characteristic (the sphere/plane has , the torus has ), the same double-counting argument gives and hence for simple graphs with all faces of degree . On the torus () this gives , which is why (with , ) exactly saturates the torus bound and indeed embeds on the torus without crossings, unlike on the plane.
Does the theorem require the graph to be connected?
The clean statement of Euler's formula, , is for connected plane graphs. If is disconnected with components, the correct identity is . One can either apply the edge-bound proof to each component separately (each component individually satisfies once , or trivially small components satisfy it too) and sum, or note that adding edges to connect the components only increases while keeping fixed, so if the connected version of the graph satisfies the bound, the original disconnected graph — having no more edges — satisfies it too.