A graph is planar if it can be drawn on a plane without any of its edges crossing (except at their endpoints). To determine whether a graph is planar or not, here are some common methods and tests:
Attempt a Planar Drawing:
Try to redraw the graph in such a way that no edges intersect. If you succeed, the graph is planar. However, for complicated graphs, this trial-and-error method can become impractical.
Kuratowski's Theorem:
This is a fundamental result in graph theory which states:
A finite graph is nonplanar if and only if it contains a subgraph that is a subdivision of either K₅ (the complete graph on five vertices) or K₃,₃ (the complete bipartite graph on two sets of three vertices).
A subdivision means you can replace some edges by paths (with any number of intermediate vertices) but still retain the overall “structure” of K₅ or K₃,₃.
Therefore, if you can find such a subdivision in the graph, it is nonplanar.
Euler’s Formula:
For any connected planar graph, Euler’s formula states that:
[
V - E + F = 2
]
where (V) is the number of vertices, (E) is the number of edges, and (F) is the number of faces (including the outer, unbounded face).
From Euler’s formula, one obtains useful inequalities:
For a planar graph with ( V \geq 3 ):
[
E \leq 3V - 6.
]
For a planar graph that is also bipartite (which excludes cycles of odd length and cannot have triangles), a stronger condition holds:
[
E \leq 2V - 4.
]
If your graph clearly has more edges than these bounds allow, it cannot be planar. However, satisfying these inequalities does not guarantee planarity; it’s only a necessary condition.
Planarity Testing Algorithms:
There are efficient computer algorithms (such as the Boyer–Myrvold planarity testing algorithm) that can determine whether a graph is planar. These are particularly useful when dealing with large or complex graphs.
Summary
Planar Graph: Can be drawn without edge crossings.
Nonplanar Graph: Contains a subdivision of K₅ or K₃,₃ (by Kuratowski’s theorem) or violates edge bounds given by Euler’s formula.
Practical Approach: Look for forbidden subgraphs, use Euler’s inequality conditions, or apply algorithmic tests.
By combining these methods, you can often determine whether a graph is planar or nonplanar.