Mathwords logoMathwords

Planar Graph — Definition, Formula & Examples

A planar graph is a graph that can be drawn on a flat surface so that none of its edges cross each other. Every drawing might look tangled, but if at least one crossing-free arrangement exists, the graph is planar.

A graph G=(V,E)G = (V, E) is planar if there exists an embedding of GG in the Euclidean plane R2\mathbb{R}^2 such that its edges intersect only at their common vertices. Such a crossing-free embedding is called a plane graph.

Key Formula

VE+F=2V - E + F = 2
Where:
  • VV = Number of vertices in the connected plane graph
  • EE = Number of edges
  • FF = Number of faces, including the outer (unbounded) face

How It Works

To check whether a simple graph might be planar, start with Euler's formula: for any connected plane graph, VE+F=2V - E + F = 2, where VV, EE, and FF are the numbers of vertices, edges, and faces (including the unbounded outer face). A useful corollary is that every simple planar graph satisfies E3V6E \leq 3V - 6. If your graph has more edges than this bound allows, it cannot be planar. Two classic non-planar graphs are K5K_5 (the complete graph on 5 vertices) and K3,3K_{3,3} (the complete bipartite graph with parts of size 3). By Kuratowski's theorem, a graph is planar if and only if it contains no subdivision of K5K_5 or K3,3K_{3,3}.

Worked Example

Problem: Determine whether the complete graph K4K_4 (4 vertices, each connected to every other) is planar, and verify Euler's formula for it.
Count vertices and edges: K4K_4 has 4 vertices. The number of edges in a complete graph on nn vertices is (n2)\binom{n}{2}.
E=(42)=6E = \binom{4}{2} = 6
Check the edge bound: For a simple planar graph, E3V6E \leq 3V - 6. Substituting V=4V = 4:
63(4)6=66 \leq 3(4) - 6 = 6
Verify Euler's formula: Draw K4K_4 as a triangle with one vertex inside, connected to all three corners. This gives no crossings. Count the faces: 3 inner triangular regions plus 1 outer face, so F=4F = 4.
VE+F=46+4=2V - E + F = 4 - 6 + 4 = 2 \checkmark
Answer: K4K_4 is planar. It satisfies both the edge bound (666 \leq 6) and Euler's formula (46+4=24 - 6 + 4 = 2).

Why It Matters

Planar graphs appear in circuit board design, where wires on a single layer must not cross. They are also central to map coloring problems — the Four Color Theorem guarantees that any planar graph can be vertex-colored with at most four colors. In computer science courses, planarity testing is a key topic in algorithm design.

Common Mistakes

Mistake: Concluding a graph is non-planar because one particular drawing has crossings.
Correction: A graph is non-planar only if no possible drawing avoids crossings. Try rearranging vertices before concluding, or use the edge bound E3V6E \leq 3V - 6 or Kuratowski's theorem.