A graph is planar if it can be drawn on a flat surface without any edges crossing. Planarity matters for circuit boards, maps and network layouts.
Definition
A graph is planar if it has a drawing in the plane in which edges meet only at vertices. Such a drawing divides the plane into regions (also called faces), including the outer, unbounded region.
Example: K₄ looks like it needs a crossing in a square with both diagonals, but it can be drawn with one vertex in the middle of a triangle, so it is planar.
Euler's formula
For a connected planar graph with v vertices, e edges and f regions:
v − e + f = 2
Example: A cube has v = 8, e = 12, so f = 2 − 8 + 12 = 6 regions (the six faces).
Consequences
For a connected simple planar graph with v ≥ 3:
- e ≤ 3v − 6.
- If the graph has no triangles, e ≤ 2v − 4.
- It has a vertex of degree at most 5.
Test: K₅ has v = 5 and e = 10. But 3v − 6 = 9 and 10 > 9, so K₅ is not planar.
K₃,₃ (three houses joined to three utilities) has v = 6 and e = 9. It has no triangles, so e ≤ 2·6 − 4 = 8 would be needed, and 9 > 8, so K₃,₃ is not planar.
Kuratowski's theorem
A graph is planar if and only if it contains no subgraph that is a subdivision of K₅ or K₃,₃. (A subdivision adds extra vertices in the middle of edges.)
Graph colouring link
Planar maps can be coloured with four colours so that neighbouring regions differ (the four colour theorem).
Worked example
A connected planar graph has 6 vertices and 9 edges. How many regions? f = 2 − 6 + 9 = 5.
Common mistakes
- Using Euler's formula for graphs that are not connected.
- Saying a graph is non-planar just because one drawing has a crossing. Another drawing may have none.
- Using e ≤ 3v − 6 to prove planarity. It can only prove non-planarity.
Practice questions
- State Euler's formula for planar graphs.
- A connected planar graph has 7 vertices and 10 edges. Find the number of regions.
- Show that K₅ is not planar.
- State Kuratowski's theorem.
- Name two graphs that are not planar.
Answers to the practice questions
- v − e + f = 2.
- f = 2 − 7 + 10 = 5.
- K₅ has e = 10 but a planar graph with v = 5 can have at most 3·5 − 6 = 9 edges.
- A graph is planar exactly when it contains no subdivision of K₅ or K₃,₃.
- K₅ and K₃,₃.
Sources
- Official BCA syllabus Mathematics Foundations to Computer Science I, course code CC101, Unit III
- Kolman, Busby and Ross, Discrete Mathematical Structures, 6th edition, Pearson
