01 / 20

Planar Graphs &
Euler's Formula

Discover why some graphs can be drawn flat without crossings, and master the elegant formula \( V - E + F = 2 \) that connects vertices, edges, and faces.

Discrete Math

What is a Graph?

A graph \( G = (V, E) \) is a set of vertices (nodes) connected by edges (links). Graphs model networks: social connections, road maps, circuits, and more.

A B C D E F V = 6, E = 9

What Makes a Graph Planar?

A graph is planar if it can be drawn in the plane so that no two edges cross. The drawing itself is called a planar embedding.

✓ Planar
Can be redrawn so all edges are crossing-free, even if a particular drawing has crossings.
✕ Non-Planar
No matter how you rearrange the vertices, at least two edges must cross.

Vertices, Edges, and Faces

In a planar embedding, the plane is divided into regions called faces. This includes one unbounded outer face that extends to infinity.

F1 F2 F3 (outer face) A B D C V = 4, E = 5, F = 3

Euler's Formula: \( V - E + F = 2 \)

For any connected planar graph, the number of vertices, edges, and faces satisfies:

This is one of the most beautiful results in mathematics. Leonhard Euler discovered it in 1758. No matter how complex the planar graph, this equation always holds.

Verifying with Simple Graphs

Single Edge
\( V = 2, E = 1, F = 1 \)
\( 2 - 1 + 1 = 2 \) ✓
Triangle
\( V = 3, E = 3, F = 2 \)
\( 3 - 3 + 2 = 2 \) ✓
Tetrahedron (K4)
\( V = 4, E = 6, F = 4 \)
\( 4 - 6 + 4 = 2 \) ✓
Single Edge Triangle K4 (V=4, E=6, F=4)

Why Does the Formula Work?

The classic proof uses induction on edges. Start with a tree and add edges one at a time:

1
Base case: A tree with \( V \) vertices has \( E = V - 1 \) edges and \( F = 1 \) face (just the outer face). So \( V - (V-1) + 1 = 2 \). ✓
2
Inductive step: Each new edge connects two vertices already in the graph, splitting one face into two. So \( E \) increases by 1, \( F \) increases by 1, and \( V - E + F \) stays the same.
3
Conclusion: Since the invariant is preserved at each step, \( V - E + F = 2 \) for all connected planar graphs.

Planar vs Non-Planar

Two famous graphs are non-planar: no matter how you draw them, edges must cross.

K5 (non-planar) V=5, E=10 K3,3 (non-planar) V=6, E=9

Edge Bound from Euler's Formula

Euler's formula gives a powerful necessary condition for planarity. Every face is bounded by at least 3 edges, and each edge borders at most 2 faces:

Test \( K_5 \): \( V = 5, E = 10 \). Is \( 10 \leq 3(5) - 6 = 9 \)? No. So \( K_5 \) cannot be planar.

Tighter Bound for Bipartite Graphs

In a bipartite graph, every cycle has length \( \geq 4 \) (no odd cycles), so every face is bounded by at least 4 edges. This gives a tighter bound:

Test \( K_{3,3} \): \( V = 6, E = 9 \). Is \( 9 \leq 2(6) - 4 = 8 \)? No. So \( K_{3,3} \) cannot be planar.

How to Apply Euler's Formula

1
Check connectivity: Is the graph connected? If not, handle each component separately (each satisfies \( V_i - E_i + F_i = 2 \)).
2
Count \( V \) and \( E \): Count vertices and edges. These are usually given or easy to determine.
3
Find the unknown: Use \( V - E + F = 2 \) to solve for the missing value (usually \( F \)).
4
Verify with edge bounds: Check \( E \leq 3V - 6 \) (or \( E \leq 2V - 4 \) for bipartite) to test planarity.
5
Use the Handshaking Lemma for faces: The sum of face degrees equals \( 2E \). This gives extra constraints.

Example 1: Square with Diagonals

A B C D E f1 f2 f3 f4

Example 2: Petersen Graph

The Petersen graph has \( V = 10 \) and \( E = 15 \). Is it planar?

1
Apply the edge bound: \( 3V - 6 = 3(10) - 6 = 24 \). Since \( 15 \leq 24 \), the test is inconclusive.
2
Check girth: The shortest cycle in the Petersen graph has length 5, so each face needs \( \geq 5 \) edges. This gives \( E \leq \frac{5}{3}(V - 2) = \frac{5}{3}(8) \approx 13.3 \).
3
Conclusion: \( 15 > 13.3 \), so the Petersen graph is non-planar.

Example 3: Finding Faces from a Drawing

A B C D E F1 F2 F3

Common Mistakes

✕ Forgetting the Outer Face
Students count only bounded regions. The unbounded exterior always counts as a face, so \( F \) is at least 1.
✕ Applying to Non-Connected Graphs
\( V - E + F = 2 \) holds for connected graphs. For \( k \) components, the formula becomes \( V - E + F = k + 1 \).
✕ Thinking \( E \leq 3V - 6 \) Proves Planarity
The bound is only necessary. Passing it does not guarantee the graph is planar. You still need to check for \( K_5 \) or \( K_{3,3} \) subdivisions.

Key Formulas at a Glance

Result Formula Condition
Euler's Formula \( V - E + F = 2 \) Connected, planar
Edge Bound \( E \leq 3V - 6 \) Simple, connected, \( V \geq 3 \)
Bipartite Bound \( E \leq 2V - 4 \) Simple, bipartite, connected
Girth Bound \( E \leq \frac{g}{g-2}(V - 2) \) Girth \( g \geq 3 \)
Face Handshake \( \sum \deg(f_i) = 2E \) Planar embedding

Question 1 of 5

A connected planar graph has \( V = 8 \) vertices and \( E = 12 \) edges. How many faces does it have?

Question 2 of 5

Which of the following is a correct consequence of Euler's formula for simple connected planar graphs?

Question 3 of 5

A simple graph has \( V = 6 \) and \( E = 13 \). What can you conclude?

Question 4 of 5

In a planar embedding, you count 5 bounded faces. Including the outer face, what is the total number of faces \( F \)?

Question 5 of 5

A connected planar graph has every face of degree 3 (triangulation) and \( V = 10 \). How many edges does it have?