Dual graph

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
The red graph is the dual graph of the blue graph.

In the mathematical discipline of graph theory, the dual graph of a plane graph G is a graph that has a vertex for each face of G. The dual graph has an edge whenever two faces of G are separated from each other by an edge. Thus, each edge e of G has a corresponding dual edge, the edge that connects the two faces on either side of e.

Graph duality is a topological generalization of the geometric concepts of dual polyhedra and dual tessellations, and is in turn generalized algebraically by the concept of a dual matroid. Variations of planar graph duality include a version of duality for directed graphs, and duality for graphs embedded onto non-planar two-dimensional surfaces. However, the notion described in this page is different from the edge-to-vertex dual (line graph) of a graph and should not be confused with it.

The term "dual" is used because this property is symmetric, meaning that if H is a dual of G, then G is a dual of H (if G is connected). When discussing the dual of a graph G, the graph G itself may be referred to as the "primal graph". Many other graph properties and structures may be translated into other natural properties and structures of the dual. For instance, cycles are dual to cuts, spanning trees are dual to the complements of spanning trees, and simple graphs (without parallel edges or self-loops) are dual to 3-edge-connected graphs.

Polyhedral graphs, and some other planar graphs, have unique dual graphs. However, for planar graphs more generally, there may be multiple dual graphs, depending on the choice of planar embedding of the graph. Testing whether one planar graph is dual to another is NP-complete.

Examples

The cube and regular octahedron have dual graphs

Dual polyhedra

<templatestyles src="Module:Hatnote/styles.css"></templatestyles>

Duality of planar graphs is closely connected to the concept of a dual polyhedron: for a three-dimensional polyhedron, the graph of the polyhedron (its set of vertices and edges) is dual to the graph of the dual polyhedron. For this reason the graphs of the Platonic solids come in dual pairs:[1] the graph K2,2,2 of the regular octahedron is dual to the cube graph, etc. The regular tetrahedron is self-dual, so its graph K4 is also.

Polyhedron duality can also be extended to duality of higher dimensional polytopes,[2] but this extension of geometric duality does not have clear connections to graph-theoretic duality.

Self-dual graphs

File:Self-dual graph.svg
A self-dual graph. It is 3-edge-connected (dual to being simple) but not 3-vertex-connected.

A plane graph is said to be self-dual if it is isomorphic to its dual graph. The wheel graphs provide an infinite family of self-dual graphs coming from self-dual polyhedra (the pyramids).[3][4] However, there also exist self-dual graphs that are not polyhedral, such as the one shown. Servatius & Christopher (1992) describe two operations, adhesion and explosion, that can be used to construct a self-dual graph containing a given planar graph; for instance, the self-dual graph shown can be constructed as the adhesion of a tetrahedron with its dual.[4]

It follows from Euler's formula that every self-dual graph with n vertices has exactly 2n − 2 edges.[5] Every simple self-dual planar graph contains at least four vertices of degree three, and every self-dual embedding has at least four triangular faces.[6]

Variations

Directed graphs

In a directed plane graph, the dual graph may be made directed as well, by orienting each dual edge by a 90° clockwise turn from the corresponding primal edge.[7] Strictly speaking, this construction is not a duality of directed planar graphs, because starting from a graph G and taking the dual twice does not return to G itself, but instead constructs a graph isomorphic to the transpose graph of G, the graph formed from G by reversing all of its edges. Taking the dual four times returns to the original graph.

Weak dual

The weak dual of a plane graph is the subgraph of the dual graph whose vertices correspond to the bounded faces of the primal graph. A plane graph is outerplanar if and only if its weak dual is a forest, and a plane graph is a Halin graph if and only if its weak dual is biconnected and outerplanar. For any plane graph G, let G+ be the plane multigraph formed by adding a single new vertex v in the unbounded face of G, and connecting v to each vertex of the outer face (multiple times, if a vertex appears multiple times on the boundary of the outer face); then, G is the weak dual of the (plane) dual of G+.[8][9]

Infinite graphs and tessellations

The concept of duality applies as well to infinite graphs embedded in the plane as it does to finite graphs, although care is needed to avoid topological complications such as points of the plane that are neither part of an open region disjoint from the graph nor part of an edge or vertex of the graph. When all faces are bounded regions surrounded by a cycle of the graph, an infinite planar graph embedding can also be viewed as a tessellation of the plane, a covering of the plane by closed disks (the tiles of the tessellation) whose interiors (the faces of the embedding) are disjoint open disks. Planar duality gives rise to the notion of a dual tessellation, a tessellation formed by placing a vertex at the center of each tile and connecting the centers of adjacent tiles.[10]

File:Delaunay Voronoi.png
A Voronoi diagram (red) and Delaunay triangulation (black) of a finite point set (the black points)

The concept of a dual tessellation can also be applied to partitions of the plane into finitely many regions, and is closely related to but not quite the same as planar graph duality in this case. For instance, the Voronoi diagram of a finite set of point sites is a partition of the plane into polygons within which one site is closer than any other; the sites on the convex hull of the input give rise to unbounded polygons, two of whose sides are infinite rays rather than finite line segments. The dual of this diagram is the Delaunay triangulation of the input, a planar graph that connects two sites by an edge whenever there exists a circle that contains those two sites and no other sites. The edges of the convex hull of the input are also edges of the Delaunay triangulation, but they correspond to rays rather than line segments of the Voronoi diagram. This duality between Voronoi diagrams and Delaunay triangulations can be turned into a duality between finite graphs in either of two ways: by adding an artificial vertex at infinity to the Voronoi diagram, to serve as the other endpoint for all of its rays,[11] or by treating the bounded part of the Voronoi diagram as the weak dual of the Delaunay triangulation. Note also that although the Voronoi diagram and Delaunay triangulation are dual, they may not necessarily be embedded in the plane in such a way that each Delaunay edge crosses only the Voronoi edge or ray to which it is dual.

Nonplanar embeddings

K7 is dual to the Heawood graph in the torus
K6 is dual to the Petersen graph in the projective plane

The concept of duality can be extended to graph embeddings on two-dimensional manifolds other than the plane. The definition is the same: there is a dual vertex for each connected component of the complement of the graph in the manifold, and a dual edge for each graph edge connecting the two dual vertices on either side of the edge. In most applications of this concept, it is restricted to embeddings with the property that each face is a topological disk; this constraint generalizes the requirement for planar graphs that the graph be connected. With this constraint, the dual of any surface-embedded graph has a natural embedding on the same surface, such that the dual of the dual is isomorphic to and isomorphically embedded to the original graph. For instance, the complete graph K7 is a toroidal graph: it is not planar but can be embedded in a torus, with each face of the embedding being a triangle. This embedding has the Heawood graph as its dual graph.[12]

The same concept works equally well for non-orientable surfaces. For instance, K6 can be embedded in the projective plane with ten triangular faces as the hemi-icosahedron, whose dual is the Petersen graph embedded as the hemi-dodecahedron.[13]

Even planar graphs may have nonplanar embeddings, with duals derived from those embeddings that differ from their planar duals. For instance, the four Petrie polygons of a cube (hexagons formed by removing two opposite vertices of the cube) form the hexagonal faces of an embedding of the cube in a torus. The dual graph of this embedding has four vertices forming a complete graph K4 with doubled edges. In the torus embedding of this dual graph, the six edges incident to each vertex, in cyclic order around that vertex, cycle twice through the three other vertices.. In contrast to the situation in the plane, this embedding of the cube and its dual is not unique; the cube graph has several other torus embeddings, with different duals.[12]

Many of the equivalences between primal and dual graph properties of planar graphs fail to generalize to nonplanar duals, or require additional care in their generalization.

Properties

Many natural and important concepts in graph theory correspond to other equally natural but different concepts in the dual graph. Because the dual of the dual of a connected plane graph is isomorphic to the primal graph, each of these pairings is bidirectional: if concept X in a planar graph corresponds to concept Y in the dual graph, then concept Y in a planar graph corresponds to concept X in the dual.

Uniqueness

File:Noniso dual graphs.svg
Two red graphs are duals for the blue one, but they are not isomorphic.

Because the dual graph depends on a particular embedding, the dual graph of a planar graph is not unique in the sense that the same planar graph can have non-isomorphic dual graphs.[14] In the picture, the red graphs are not isomorphic because the upper one has a vertex with degree 6 (the outer face).

However, if the graph is 3-connected, then Whitney showed that the embedding, and thus the dual graph, is unique.[15] By Steinitz's theorem, these graphs are exactly the polyhedral graphs, the graphs of convex polyhedra. A planar graph is 3-vertex-connected if and only if its dual graph is 3-vertex-connected. More generally, a planar graph has a unique embedding, and therefore also a unique dual, if and only if it is a subdivision of a 3-vertex-connected planar graph. However, for some planar graphs that are not 3-vertex-connected (such as the complete bipartite graph K2,4) the embedding is not unique, but all embeddings are isomorphic; in this case, correspondingly, all dual graphs are isomorphic.

Because different embeddings may lead to different dual graphs, testing whether one graph is a dual of another (without already knowing their embeddings) is a nontrivial algorithmic problem. For biconnected graphs, it can be solved in polynomial time by using the SPQR trees of the graphs to construct a canonical form for the equivalence relation of having a shared mutual dual. For instance, the two red graphs in the illustration are equivalent according to this relation. However, for planar graphs that are not biconnected, this relation is not an equivalence relation and the problem of testing mutual duality is NP-complete.[16]

Simple graphs versus multigraphs

The dual of a simple graph need not be simple: it may have self-loops (an edge with both endpoints at the same vertex) or multiple edges connecting the same two vertices. As a special case of the cut-cycle duality discussed below, the bridges of a planar graph G are in one-to-one correspondence with the self-loops of the dual graph.[17] For the same reason, a pair of parallel edges in a dual multigraph (that is, a length-2 cycle) corresponds to a 2-edge cutset in the primal graph. Therefore, a planar graph is simple if and only if its dual has no 1- or 2-edge cutsets (that is, it is 3-edge-connected), and the simple planar graphs whose duals are simple are exactly the 3-edge-connected simple planar graphs.[18] This class of graphs includes, but is not the same as, the class of 3-vertex-connected simple planar graphs.

Cuts and cycles

A cutset in an arbitrary connected graph is a subset of edges whose removal disconnects the graph into multiple connected components. A minimal cutset (also called a bond) is a cutset with the property that every proper subset of the cutset is not itself a cut. A minimal cutset necessarily separates its graph into exactly two components, and consists of the set of edges that have one endpoint in each component.[19]

In a connected planar graph G, every simple cycle of G corresponds to a minimal cutset in the dual of G, and vice versa.[20] This can be seen as a form of the Jordan curve theorem: each simple cycle separates the faces of G into the faces in the interior of the cycle and the faces of the exterior of the cycle, and the duals of the cycle edges are exactly the edges that cross from the interior to the exterior.[21] The girth of any planar graph (the size of its smallest cycle) equals the edge connectivity of its dual graph (the size of its smallest cutset).[22]

This duality extends from individual cutsets and cycles to vector spaces defined from them: the cycle space of a planar graph equals the cut space of its dual graph.[23] Thus, the rank of a planar graph (the dimension of its cut space) equals the cyclotomic number of its dual (the dimension of its cycle space) and vice versa.[14] For edge-weighted planar graphs (with sufficiently general weights that no two cycles have the same weight) the minimum-weight cycle basis of the graph is dual to the Gomory–Hu tree of the dual graph. The minimum weight cycle basis is a minimum-weight set of cycles whose symmetric differences form every other cycle in the graph, or in other words a basis of the cycle space. The edges in each of its cycles are dual to the edges of one of the cuts in the Gomory–Hu tree, a collection of nested cuts that together include a minimum cut separating each pair of vertices in the graph. When cycle weights may be tied, the minimum-weight cycle basis may not be unique, but in this case it is still true that the Gomory–Hu tree of the dual graph corresponds to one of the minimum weight cycle bases of the graph.[23]

In directed planar graphs, simple directed cycles are dual to directed cuts (partitions of the vertices into two subsets such that all edges go in one direction, from one subset to the other). Strongly oriented planar graphs (graphs whose underlying undirected graph is connected, and in which every edge belongs to a cycle) are dual to directed acyclic graphs in which no edge belongs to a cycle. To put this another way, the strong orientations of a connected planar graph (assignments of directions to the edges of the graph that result in a strongly connected graph) are dual to acyclic orientations (assignments of directions that produce a directed acyclic graph).[24]

Spanning trees

A simple maze in which the maze walls and the free space between the walls form two interdigitating trees

A spanning tree may be defined as a set of edges that, together with all of the vertices of the graph, forms a connected and acyclic subgraph. But, by cut-cycle duality, if a set S of edges in a planar graph G is acyclic (has no cycles), then the set of edges dual to S has no cuts, from which it follows that the complementary set of dual edges (the duals of the edges that are not in S) forms a connected subgraph. Symmetrically, if S is connected, then the edges dual to the complement of S form an acyclic subgraph. Therefore, when S has both properties – it is connected and acyclic – the same is true for the complementary set in the dual graph. That is, each spanning tree of G is complementary to a spanning tree of the dual graph, and vice versa. In particular, the minimum spanning tree of G is complementary to the maximum spanning tree of the dual graph.[25]

Thus, the edges of any planar graph and its dual can together be partitioned (in multiple different ways) into two spanning trees, one in the primal and one in the dual, that together extend to all the vertices and faces of the graph but never cross each other. An example of this type of decomposition into interdigitating trees can be seen in some simple types of maze, with a single entrance and no disconnected components of walls; in this case both the maze walls and the space between the walls take the form of a mathematical tree. If the free space of the maze is partitioned into simple cells (such as the squares of a grid) then this system of cells can be viewed as an embedding of a planar graph, in which the tree structure of the walls forms a spanning tree of the graph and the tree structure of the free space forms a spanning tree of the dual graph.[26] Similar pairs of interdigitating trees can be seen e.g. in the tree-shaped pattern of streams and rivers within a drainage basin and the dual tree-shaped pattern of ridgelines separating the streams.[27]

This partition of the edges and their duals into two trees leads to a simple proof of Euler's formula VE + F = 2 for planar graphs with V vertices, E edges, and F faces. Any spanning tree and its complementary dual spanning tree partition the edges into two subsets of V − 1 and F − 1 edges respectively, and adding the sizes of the two subsets gives the equation

E = (V − 1) + (F − 1)

which may be rearranged to form Euler's formula. According to Duncan Sommerville, this proof of Euler's formula is due to G. K. C. Von Staudt's Geometrie der Lage (Nürnberg, 1847).[28]

In nonplanar surface embeddings the set of dual edges complementary to a spanning tree is not a dual spanning tree. Instead this set of edges is the union of a dual spanning tree with a small set of extra edges whose number is determined by the genus of the surface on which the graph is embedded. The extra edges, in combination with paths in the spanning trees, can be used to form a basis of the fundamental group of the surface.[29]

Additional properties

  • Any counting formula involving vertices and faces that is valid for all planar graphs may be transformed by planar duality into an equivalent formula in which the roles of the vertices and faces have been swapped. Euler's formula, which is self-dual, is one example. Another given by Harary involves the handshaking lemma, according to which the sum of the degrees of the vertices of any graph equals twice the number of edges. In its dual form, this lemma states that in a plane graph, the sum of the numbers of sides of the faces of the graph equals twice the number of edges.[30]
  • The medial graph of a plane graph is isomorphic to the medial graph of its dual. Two planar graphs can have isomorphic medial graphs only if they are dual to each other.[31]
  • A connected planar graph is Eulerian (has even degree at every vertex) if and only if its dual graph is bipartite.[32]
  • A planar graph with four or more vertices is maximal (no more edges can be added while preserving planarity) if and only if its dual graph is both 3-vertex-connected and 3-regular.[33]
  • A Hamiltonian cycle in a planar graph G corresponds to a partition of the vertices of the dual graph into two subsets (the interior and exterior of the cycle) whose induced subgraphs are both trees. In particular, Barnette's conjecture on the Hamiltonicity of cubic bipartite polyhedral graphs is equivalent to the conjecture that every Eulerian maximal planar graph can be partitioned into two induced trees.[34]
  • If a planar graph G has Tutte polynomial TG(x,y), then the Tutte polynomial of its dual graph is obtained by swapping x and y. For this reason, if some particular value of the Tutte polynomial provides information about certain types of structures in G, then swapping the arguments to the Tutte polynomial will give the corresponding information for the dual structures. For instance, the number of strong orientations is TG(0,2) and the number of acyclic orientations is TG(2,0).[35]
  • For bridgeless planar graphs, graph colorings with k colors correspond to nowhere-zero flows modulo k on the dual graph. For instance, the four color theorem (the existence of a 4-coloring for every planar graph) can be expressed equivalently as stating that the dual of every bridgeless planar graph has a nowhere-zero 4-flow. The number of k-colorings is counted (up to an easily computed factor) by the Tutte polynomial value TG(1 − k,0) and dually the number of nowhere-zero k-flows is counted by TG(0,1 − k).[36]
  • An st-planar graph is a connected planar graph together with a bipolar orientation of that graph, an orientation that makes it acyclic with a single source and a single sink, both of which are required to be on the same face as each other. Such a graph may be made into a strongly connected graph by adding one more edge, from the sink back to the source, through the outer face. The dual of this augmented planar graph is itself the augmentation of another st-planar graph.[7]

Matroids and algebraic duals

Let G be a connected graph. An algebraic dual of G is a graph G such that G and G have the same set of edges, any cycle of G is a cut of G, and any cut of G is a cycle of G. Every planar graph has an algebraic dual, which is in general not unique (any dual defined by a plane embedding will do). The converse is actually true, as settled by Hassler Whitney in Whitney's planarity criterion:[37]

A connected graph G is planar if and only if it has an algebraic dual.

The same fact can be expressed in the theory of matroids. If M is the graphic matroid of a graph G, then a graph G is an algebraic dual of G if and only if the graphic matroid of G is the dual matroid of M. Then Whitney's planarity criterion can be rephrased as stating that the dual matroid of a graphic matroid M is itself a graphic matroid if and only if the underlying graph G of M is planar. If G is planar, the dual matroid is the graphic matroid of the dual graph of G. In particular, all dual graphs, for all the different planar embeddings of G, have isomorphic graphic matroids.

For nonplanar surface embeddings, unlike planar duals, the dual graph is not generally an algebraic dual of the primal graph. And for a non-planar graph G, the dual matroid of the graphic matroid of G is not itself a graphic matroid. However, it is still a matroid whose circuits correspond to the cuts in G, and in this sense can be thought of as a generalized algebraic dual of G.

The duality between Eulerian and bipartite planar graphs can be extended to binary matroids (which include the graphic matroids derived from planar graphs): a binary matroid is Eulerian if and only if its dual matroid is bipartite.[32] The two dual concepts of girth and edge connectivity are unified in matroid theory by matroid girth: the girth of the graphic matroid of a planar graph is the same as the graph's girth, and the girth of the dual matroid (the graphic matroid of the dual graph) is the edge connectivity of the graph.[22]

Notes

  1. Lua error in package.lua at line 80: module 'strict' not found..
  2. Lua error in package.lua at line 80: module 'strict' not found..
  3. Weisstein, Eric W., "Self-dual graph", MathWorld.
  4. 4.0 4.1 Lua error in package.lua at line 80: module 'strict' not found..
  5. Lua error in package.lua at line 80: module 'strict' not found..
  6. See the proof of Theorem 5 in Servatius & Christopher (1992).
  7. 7.0 7.1 Lua error in package.lua at line 80: module 'strict' not found..
  8. Lua error in package.lua at line 80: module 'strict' not found..
  9. Lua error in package.lua at line 80: module 'strict' not found..
  10. Weisstein, Eric W., "Dual Tessellation", MathWorld.
  11. Lua error in package.lua at line 80: module 'strict' not found..
  12. 12.0 12.1 Lua error in package.lua at line 80: module 'strict' not found..
  13. Lua error in package.lua at line 80: module 'strict' not found..
  14. 14.0 14.1 Lua error in package.lua at line 80: module 'strict' not found..
  15. Lua error in package.lua at line 80: module 'strict' not found.
  16. Lua error in package.lua at line 80: module 'strict' not found..
  17. Lua error in package.lua at line 80: module 'strict' not found..
  18. Lua error in package.lua at line 80: module 'strict' not found..
  19. Lua error in package.lua at line 80: module 'strict' not found..
  20. Lua error in package.lua at line 80: module 'strict' not found..
  21. Lua error in package.lua at line 80: module 'strict' not found..
  22. 22.0 22.1 Lua error in package.lua at line 80: module 'strict' not found..
  23. 23.0 23.1 Lua error in package.lua at line 80: module 'strict' not found..
  24. Lua error in package.lua at line 80: module 'strict' not found..
  25. Lua error in package.lua at line 80: module 'strict' not found..
  26. Lua error in package.lua at line 80: module 'strict' not found.. See in particular p. 138.
  27. Lua error in package.lua at line 80: module 'strict' not found..
  28. Lua error in package.lua at line 80: module 'strict' not found..
  29. Lua error in package.lua at line 80: module 'strict' not found..
  30. Lua error in package.lua at line 80: module 'strict' not found..
  31. Lua error in package.lua at line 80: module 'strict' not found..
  32. 32.0 32.1 Lua error in package.lua at line 80: module 'strict' not found..
  33. Lua error in package.lua at line 80: module 'strict' not found..
  34. Lua error in package.lua at line 80: module 'strict' not found..
  35. Lua error in package.lua at line 80: module 'strict' not found..
  36. Lua error in package.lua at line 80: module 'strict' not found.
  37. Lua error in package.lua at line 80: module 'strict' not found..

External links