A dual graph is a graph derived from a planar graph by placing a vertex in each face of the original graph and connecting two vertices with an edge whenever the corresponding faces share a boundary edge. This construction turns faces into vertices and edges into crossing edges, preserving adjacency relationships in a way that is fundamental to planar graph theory.
What Is a Planar Graph?
Before understanding dual graphs, you need to know what makes a graph planar. A graph is planar if it can be drawn on a flat plane so that no two edges cross except at their endpoints. For example, the complete graph K4 (four vertices all connected to each other) is planar, but K5 (five vertices all connected) is not. The classic non-planar graphs are K5 and the complete bipartite graph K3,3 (also called the utility graph).
Planarity matters because only planar graphs have duals. If a graph cannot be drawn without edge crossings, there is no consistent way to define faces, and the dual construction fails.
How to Construct the Dual Graph
Given a planar drawing of a graph G, the dual graph G* is built as follows:
- Place one vertex of G* inside each face of G (including the outer, unbounded face).
- For every edge e of G, draw an edge in G* that crosses e and connects the two vertices corresponding to the faces on either side of e.
- If an edge of G borders the same face on both sides (a bridge), the dual edge becomes a loop.
For example, consider a simple triangle (3 vertices, 3 edges). It has two faces: the inside and the outside. The dual graph has two vertices (one for each face) and three edges connecting them (one for each original edge). That dual is a multigraph with two vertices and three parallel edges. If you start with a square (4 vertices, 4 edges), the dual is also two vertices with four parallel edges.
For a more complex graph like a cube graph (8 vertices, 12 edges, 6 faces), the dual has 6 vertices (one per face) and 12 edges. In fact, the dual of the cube graph is the octahedron graph, which is a well-known example of duality between Platonic solids.
Properties of Dual Graphs
The dual graph has several important properties:
- Dual of a dual: If G is connected and planar, then (G*)* is isomorphic to G. This means the dual operation is an involution for connected planar graphs.
- Edge count: The number of edges in G* equals the number of edges in G.
- Vertex and face counts swap: The number of vertices of G* equals the number of faces of G, and the number of faces of G* equals the number of vertices of G.
- Euler’s formula: For a connected planar graph with V vertices, E edges, and F faces, V – E + F = 2. In the dual, V* = F, E* = E, F* = V, so V* – E* + F* = F – E + V = 2, confirming Euler’s formula holds for the dual as well.
- Bridges become loops: An edge that is a bridge (removing it disconnects the graph) corresponds to a loop in the dual.
These properties make dual graphs useful for translating problems about faces into problems about vertices, and vice versa.
Applications of Dual Graphs
Dual graphs appear in many areas of mathematics and computer science:
- Map coloring: The famous Four Color Theorem states that any planar map can be colored with four colors so that no two adjacent regions share the same color. This is equivalent to the statement that the dual graph of any planar map is 4-colorable. The dual graph’s vertices represent regions, and edges represent shared borders.
- Circuit theory: In electrical networks, the dual of a planar circuit can be used to analyze currents and voltages. The dual circuit swaps meshes (faces) with nodes (vertices), which helps in solving equations.
- Computational geometry: The dual of a planar subdivision (like a Voronoi diagram) is the Delaunay triangulation, which is used in mesh generation and pathfinding.
- Polyhedral combinatorics: The dual of a convex polyhedron’s graph corresponds to the graph of the dual polyhedron. For example, the cube and octahedron are duals, as are the dodecahedron and icosahedron.
These applications show that dual graphs are not just a theoretical curiosity but a practical tool for transforming problems.
Common Misconceptions About Dual Graphs
One common misconception is that every graph has a dual. Actually, only planar graphs have a dual in the classical sense. For non-planar graphs, there are generalizations like the matroid dual, but they do not correspond to a simple geometric construction.
Another misconception is that the dual of a simple graph is always simple. In reality, the dual may have multiple edges or loops. For example, the dual of a triangle is a multigraph with two vertices and three parallel edges, which is not a simple graph.
Some people also think that the dual depends on the specific drawing of the graph. In fact, for a connected planar graph, the dual is unique up to isomorphism regardless of how the graph is drawn on the plane (as long as the drawing is planar). This is a consequence of Whitney’s theorem on 2-isomorphism.
Dual Graphs vs. Other Graph Transformations
Dual graphs are often confused with other transformations like the line graph or the complement graph. The line graph L(G) has a vertex for each edge of G, and two vertices are adjacent if the corresponding edges share a vertex. The complement graph has the same vertex set as G but edges where G has non-edges.
The dual graph is fundamentally different: it operates on faces, not edges or vertices. While the line graph is defined for any graph, the dual graph requires planarity. The complement is defined for any simple graph, but the dual may have multiple edges.
Another related concept is the geometric dual in computational geometry, which is essentially the same as the graph dual for planar subdivisions.
How to Choose Between Dual and Primal Approaches
When solving a problem on a planar graph, you often have the choice of working with the original graph (primal) or its dual. Here are some guidelines:
- If the problem involves faces (e.g., coloring regions), the dual may simplify it by turning faces into vertices.
- If the problem involves vertices and edges (e.g., finding a shortest path), the primal graph is usually more direct.
- For network flow problems, the dual can sometimes be used to find cuts more efficiently, especially in planar networks.
- If the graph is not planar, you cannot use the dual at all, so you must work with the primal or use other methods.
In practice, the choice depends on which representation makes the constraints or objectives more natural.
Frequently Asked Questions
Does every planar graph have a dual?
Yes, every planar graph (with a given planar embedding) has a dual graph. The dual is constructed from the faces of the embedding. For connected planar graphs, the dual is unique up to isomorphism, meaning different planar drawings of the same graph yield isomorphic duals.
Is the dual of a dual always the original graph?
For connected planar graphs, yes. The dual of the dual is isomorphic to the original graph. This is because the construction is symmetric: faces of the dual correspond to vertices of the original. However, if the graph is disconnected, the dual may not be unique and the double dual may not equal the original.
Can a dual graph have loops or multiple edges?
Yes. If an edge in the original graph is a bridge (an edge whose removal disconnects the graph), then the corresponding dual edge is a loop. Also, if two faces share more than one edge, the dual will have multiple edges between the same two vertices. So the dual is not necessarily a simple graph.
What is the dual of a tree?
A tree is a connected acyclic graph. For a tree with n vertices, it has n-1 edges and only one face (the outer face). The dual graph has one vertex (for that face) and n-1 loops (one for each edge). So the dual of a tree is a graph with a single vertex and multiple loops.
How is the dual graph related to the Four Color Theorem?
The Four Color Theorem states that any planar map can be colored with four colors so that adjacent regions have different colors. If you represent the map as a planar graph where each region is a vertex and shared borders are edges, then the theorem says that graph is 4-colorable. This graph is exactly the dual of the planar graph formed by the borders. So the theorem is often stated in terms of dual graphs.
Are dual graphs used in real-world applications?
Yes. Dual graphs are used in VLSI chip design to model layers and connections, in geographic information systems (GIS) for map analysis, in mesh generation for finite element analysis, and in robotics for path planning around obstacles. They are also fundamental in the study of planar graphs and polyhedra.
Related
- SQL COUNT DISTINCT Multiple Columns: How It Works
- Select a Cell Shortcut: Top Excel Keyboard Shortcuts
- How Much Coding for Data Entry? A Practical Guide
Try it: the Percentage Formula Generator: percent of, percent change, increase and decrease, with the formula.
More in Charts & pivot tables
- Microsoft Excel Org Chart Add-Ins and Built-In OptionsMicrosoft Excel for Microsoft 365 does not require an add-in to make a basic org chart: use the…
- Create a Line Chart in Excel: A Step-by-Step GuideTo create a line chart in Excel for Microsoft 365 on Windows, arrange your data in columns or…
- Build an Excel Dashboard: Steps, Design, and ExamplesYes. To build an Excel dashboard, organize your source data as a clean table, summarize it with PivotTables…
- Excel X-Axis Text Instead of Numbers: How to Fix ItTo show text instead of numeric values along an Excel chart’s horizontal axis, use a category chart such…
- Excel Pie Chart: Exclude Zero Values and Empty SlicesExcel pie charts automatically omit zero values as slices, so you usually do not need to change a…
- Excel Trendline Data Labels: Add, Format, and Fix ThemIn Excel for Microsoft 365 on Windows, select the chart, choose Chart Design > Add Chart Element >…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.