Detection of planarity
Introduction / Definition
A graph is planar if it has a drawing in the plane with no crossings between edges except at shared endpoints. Planarity can be detected using structural theorems or algorithms. For small graphs, recognizing forbidden subdivisions can help. Practical software often uses dedicated planarity-testing algorithms.
Syntax / Mathematical Form
Planar(G)=True iff G has a crossing-free plane embedding
Detailed Explanation
Planarity is a property of the abstract graph, not of one particular drawing. A graph that looks crossed may have another crossing-free drawing. Kuratowski's theorem gives a theoretical characterization; algorithms can test planarity efficiently.
Example / Worked Example
A cycle C₄ can be drawn as a square with no edge crossings.
Output / Result
C₄ is planar.
Important Points / Notes
- A bad drawing does not prove non-planarity.
- Planarity is embedding-independent.
- Kuratowski gives a structural criterion.
Mini Practice Question
Is K₅ planar? Give the theorem-based reason.