Which of the Following Should Be Nonplanar: A Complete Guide to Planar and Nonplanar Graphs
Introduction
In the field of graph theory, one of the most fundamental and frequently tested concepts is the distinction between planar and nonplanar graphs. That said, when students and professionals encounter questions such as "which of the following should be nonplanar," they are being asked to identify graphs that cannot be drawn on a flat surface without at least one pair of edges crossing. This concept is not merely an abstract mathematical curiosity — it has profound implications in computer science, circuit design, network topology, and even urban planning. Understanding which graphs are inherently nonplanar requires a solid grasp of foundational graph theory principles, including Euler's formula, Kuratowski's theorem, and Wagner's theorem. In this article, we will explore these ideas in depth, examine the classic examples of nonplanar graphs, and provide practical guidance for identifying nonplanar graphs in any given set of options.
Detailed Explanation: What Makes a Graph Planar or Nonplanar?
A planar graph is a graph that can be drawn on a two-dimensional plane in such a way that no two edges intersect except at their endpoints (vertices). Basically, you can lay the graph flat on a piece of paper without any of its lines crossing each other. If a graph cannot be drawn this way — no matter how you rearrange its vertices and edges — it is classified as nonplanar Not complicated — just consistent..
The concept of planarity is deeply tied to the topology of the graph. In real terms, it does not matter how complex or tangled a graph appears in a particular drawing; what matters is whether there exists at least one arrangement of vertices and edges on a plane where no edges cross. Also, if such an arrangement exists, the graph is planar. If no such arrangement is possible, the graph is nonplanar.
The most famous examples of nonplanar graphs are K₅ (the complete graph on five vertices) and K₃,₃ (the complete bipartite graph on six vertices, split into two groups of three). That said, these two graphs are the building blocks of all nonplanar graphs, as established by Kuratowski's theorem. Any graph that contains a subgraph homeomorphic (topologically equivalent) to either K₅ or K₃,₃ is necessarily nonplanar.
Step-by-Step: How to Determine if a Graph Is Nonplanar
Determining whether a graph should be nonplanar involves a systematic approach. Here is a step-by-step breakdown of the process:
Step 1: Count the vertices and edges. Begin by identifying the number of vertices (V) and edges (E) in the graph. For a simple, connected planar graph, Euler's formula states that V − E + F = 2, where F is the number of faces (regions, including the outer infinite region). This formula provides a necessary condition for planarity.
Step 2: Apply the edge inequality. For a simple connected planar graph with V ≥ 3, the number of edges must satisfy E ≤ 3V − 6. If a graph has more edges than this threshold, it is automatically nonplanar. For bipartite planar graphs (graphs with no triangles), the stricter inequality E ≤ 2V − 4 applies.
Step 3: Check for subgraphs isomorphic to K₅ or K₃,₃. Use Kuratowski's theorem to determine whether the graph contains a subdivision of K₅ or K₃,₃. A subdivision means you can obtain the subgraph by inserting vertices along existing edges. If such a subgraph exists, the graph is nonplanar.
Step 4: Apply Wagner's theorem as a cross-check. Wagner's theorem states that a graph is nonplanar if and only if it contains K₅ or K₃,₃ as a minor — meaning you can obtain one of these graphs by deleting edges, deleting vertices, or contracting edges in the original graph.
Step 5: Attempt a planar embedding. If none of the above tests definitively prove nonplanarity, try to draw the graph on a plane without edge crossings. If you succeed, the graph is planar. If you exhaust all reasonable arrangements and always end up with crossings, it may be nonplanar — though for complex graphs, the theoretical tests (Steps 2–4) are more reliable Simple, but easy to overlook..
Real Examples of Nonplanar Graphs
To make these concepts concrete, let us examine several real-world and academic examples.
Example 1: The Complete Graph K₅. K₅ has 5 vertices and 10 edges, with every vertex connected to every other vertex. Using the inequality E ≤ 3V − 6, we get 10 ≤ 3(5) − 6 = 9. Since 10 > 9, K₅ violates the planarity condition and is therefore nonplanar. No matter how you arrange five vertices and connect each pair with an edge, at least one crossing is unavoidable Turns out it matters..
Example 2: The Complete Bipartite Graph K₃,₃. K₃,₃ has 6 vertices divided into two sets of three, with every vertex in one set connected to every vertex in the other set. It has 9 edges. For bipartite planar graphs, the inequality E ≤ 2V − 4 gives 9 ≤ 2(6) − 4 = 8. Since 9 > 8, K₃,₃ is nonplanar. This graph famously models the "three utilities problem" — can three houses each be connected to three utilities (water, gas, electricity) without any lines crossing? The answer is no, and K₃,₃ proves it mathematically No workaround needed..
Example 3: The Petersen Graph. The Petersen graph is a well-known graph in mathematics with 10 vertices and 15 edges. It contains a subdivision of K₃,₃ within its structure, making it nonplanar. Despite its elegant and symmetric appearance, it cannot be drawn on a plane without edge crossings And that's really what it comes down to..
Example 4: Real-World Circuit Design. In printed circuit board (PCB) design, engineers must route connections between components without wire crossings on a single layer. If the underlying connection graph is nonplanar, the engineer must either use multiple layers, add vias (vertical connections between layers), or redesign the circuit. Recognizing nonplanarity early in the design process saves time and resources.
Scientific and Theoretical Perspective
The theoretical foundation for planarity testing rests on several landmark results in mathematics. Even so, Euler's formula (V − E + F = 2), first proven for convex polyhedra in the 18th century, was later extended to planar graphs and became one of the cornerstones of topological graph theory. The inequalities derived from Euler's formula (E ≤ 3V − 6 and E ≤ 2V − 4) provide quick, computable tests that can rule out planarity in many cases.
Kuratowski's theorem, published by Kazimierz Kuratowski in 1930, provides a complete characterization of planar graphs: a finite graph is planar if and only if it does not contain a subgraph that is a subdivision of K₅ or K₃,₃. This theorem is both a characterization and a certificate — if you find such a subgraph, you have proof of nonplanarity
Algorithmic Detection of Planarity
While the inequalities and Kuratowski’s theorem give powerful sufficient and necessary criteria, they are not always the most efficient way to determine whether a specific graph is planar. In the 1970s, Hopcroft and Tarjan introduced the first linear‑time algorithm for planarity testing, which not only decides planarity but also produces an explicit planar embedding. Modern implementations (e.Consider this: g. , the “planar” library in graph‑tool, the “igraph” planarity test, and the “plantri” command‑line utility) are based on refined versions of these ideas and can handle graphs with thousands of vertices in a fraction of a second.
Quick note before moving on.
The core idea behind these algorithms is to triangulate the graph while maintaining a combinatorial embedding. By repeatedly applying operations such as vertex insertion, edge splitting, and face merging, the algorithm builds a planar embedding step‑by‑step. If at any stage a forbidden configuration (a subdivision of K₅ or K₃,₃) is forced to appear, the algorithm aborts and declares the graph nonplanar. Conversely, if the process completes without conflict, the resulting embedding can be used directly for visualization, circuit layout, or topological analysis.
Practical Implications in Engineering and Design
In electronic design automation (EDA), planarity is a crucial first check. A netlist that corresponds to a nonplanar graph forces the designer to resort to multi‑layer boards or via insertion. By applying a fast planarity test early, engineers can:
- Reduce layer count – a planar netlist can be routed on a single copper layer, lowering manufacturing cost.
- Minimize via density – fewer vias mean lower production yield issues and reduced signal interference.
- Accelerate layout – planar graphs admit straight‑line drawings with polynomial‑size coordinates, which can be fed directly into automated routers.
Beyond PCB design, planarity considerations appear in VLSI physical design, printed‑antenna layout, and optical‑circuit routing, where crossing‑free embeddings correspond to feasible physical implementations.
Extensions and Generalizations
The classical notion of planarity can be extended in several directions:
| Extension | Description | Relevance |
|---|---|---|
| Surface embeddings | Allows graphs to be drawn on surfaces of higher genus (e.In real terms, g. , torus, sphere with handles). | Modeling multilayer circuits or networks on non‑planar media. |
| Signed graphs | Edges carry a sign; planarity must respect signed crossings. | Applications in socio‑economic modeling where relationships can be antagonistic. |
| Partial planarity | A subgraph is required to be planar while the whole may not be. | Useful in modular design where only certain sub‑circuits need to be crossing‑free. |
| Planarity testing with constraints | Additional restrictions such as fixed edge lengths, vertex positions, or forbidden patterns. | Constraint‑driven layout problems in CAD. |
Short version: it depends. Long version — keep reading But it adds up..
These variants often rely on the same underlying Kuratowski‑type obstructions, but the algorithmic machinery must be adapted to handle the extra structure.
Looking Ahead
Research in planarity testing continues to focus on parallel algorithms, streaming models, and approximation techniques for massive graphs arising in social network analysis, biological modeling, and data visualization. Recent work on graph drawing with guarantees aims to produce planar embeddings automatically for graphs with millions of vertices, leveraging hierarchical decomposition and geometric embedding schemes.
Beyond that, the interplay between topological graph theory and computational geometry is spawning new tools for mixed‑dimensional embeddings, where graphs coexist with geometric objects in the plane. Such hybrid models promise to address emerging challenges in smart‑grid topology, neural‑network chip layout, and robotic path planning.
Conclusion
Planarity remains a cornerstone of graph theory, providing both a theoretical lens for understanding structural constraints and a practical toolkit for engineers and designers. From the simple edge‑count inequalities that quickly rule out graphs like K₅ and K₃,₃, to the deep characterization offered by Kuratowski’s theorem, and finally to the sophisticated linear‑time algorithms that turn abstract criteria into concrete drawings, the field exemplifies how pure mathematics can drive real‑world innovation. Whether one is verifying the feasibility of a printed‑circuit board, proving a graph’s nonplanarity in a research paper, or exploring new embedding surfaces for next‑generation technologies, the principles of planarity continue to shape the way we connect ideas—and the wires that bring them to life.