Hypercube graph

Hypercube graph

The hypercube graph Q4
Vertices 2n
Edges 2n1n
Diameter n
Girth 4 if n ≥ 2
Automorphisms n! 2n
Chromatic number 2
Spectrum \{(n - 2 k)^{\binom{n}{k}}; k = 0, \ldots, n\}
Properties Symmetric
Distance regular
Unit distance
Hamiltonian
Bipartite
Notation Qn

In graph theory, the hypercube graph Qn is the graph formed from the vertices and edges of an n-dimensional hypercube. For instance, the cubical graph Q3 is the graph formed by the 8 vertices and 12 edges of a three-dimensional cube. Qn has 2n vertices, 2n1n edges, and is a regular graph with n edges touching each vertex.

The hypercube graph Qn may also be constructed by creating a vertex for each subset of an n-element set, with two vertices adjacent when their subsets differ in a single element, or by creating a vertex for each n-digit binary number, with two vertices adjacent when their binary representations differ in a single digit. It is the n-fold Cartesian product of the two-vertex complete graph, and may be decomposed into two copies of Qn 1 connected to each other by a perfect matching.

Hypercube graphs should not be confused with cubic graphs, which are graphs that have exactly three edges touching each vertex. The only hypercube graph Qn that is a cubic graph is the cubical graph Q3.

Construction

Construction of Q3 by connecting pairs of corresponding vertices in two copies of Q2

The hypercube graph Qn may be constructed from the family of subsets of a set with n elements, by making a vertex for each possible subset and joining two vertices by an edge whenever the corresponding subsets differ in a single element. Equivalently, it may be constructed using 2n vertices labeled with n-bit binary numbers and connecting two vertices by an edge whenever the Hamming distance of their labels is one. These two constructions are closely related: a binary number may be interpreted as a set (the set of positions where it has a 1 digit), and two such sets differ in a single element whenever the corresponding two binary numbers have Hamming distance one.

Alternatively, Qn may be constructed from the disjoint union of two hypercubes Qn 1, by adding an edge from each vertex in one copy of Qn 1 to the corresponding vertex in the other copy, as shown in the figure. The joining edges form a perfect matching.

Another construction of Qn is the Cartesian product of n two-vertex complete graphs K2. More generally the Cartesian product of copies of a complete graph is called a Hamming graph; the hypercube graphs are examples of Hamming graphs.

Examples

The graph Q0 consists of a single vertex, while Q1 is the complete graph on two vertices and Q2 is a cycle of length 4.

The graph Q3 is the 1-skeleton of a cube, a cubical graph, a planar graph with eight vertices and twelve edges.

The graph Q4 is the Levi graph of the Möbius configuration.

Properties

Bipartiteness

Every hypercube graph is bipartite: it can be colored with only two colors. The two colors of this coloring may be found from the subset construction of hypercube graphs, by giving one color to the subsets that have an even number of elements and the other color to the subsets with an odd number of elements.

Hamiltonicity

Every hypercube Qn with n > 1 has a Hamiltonian cycle, a cycle that visits each vertex exactly once. Additionally, a Hamiltonian path exists between two vertices u and v if and only if they have different colors in a 2-coloring of the graph. Both facts are easy to prove using the principle of induction on the dimension of the hypercube, and the construction of the hypercube graph by joining two smaller hypercubes with a matching.

Hamiltonicity of the hypercube is tightly related to the theory of Gray codes. More precisely there is a bijective correspondence between the set of n-bit cyclic Gray codes and the set of Hamiltonian cycles in the hypercube Qn.[1] An analogous property holds for acyclic n-bit Gray codes and Hamiltonian paths.

A lesser known fact is that every perfect matching in the hypercube extends to a Hamiltonian cycle.[2] The question whether every matching extends to a Hamiltonian cycle remains an open problem.[3]

Other properties

The hypercube graph Qn (for n > 1) :

The family Qn for all n > 1 is a Lévy family of graphs

Problems

The problem of finding the longest path or cycle that is an induced subgraph of a given hypercube graph is known as the snake-in-the-box problem.

Szymanski's conjecture concerns the suitability of a hypercube as a network topology for communications. It states that, no matter how one chooses a permutation connecting each hypercube vertex to another vertex with which it should be connected, there is always a way to connect these pairs of vertices by paths that do not share any directed edge.[8]

See also

Wikimedia Commons has media related to Hypercube graphs.

Notes

  1. Mills, W. H. (1963), "Some complete cycles on the n-cube", Proceedings of the American Mathematical Society (American Mathematical Society) 14 (4): 640–643, doi:10.2307/2034292, JSTOR 2034292.
  2. Fink, J. (2007), "Perfect matchings extend to Hamiltonian cycles in hypercubes", Journal of Combinatorial Theory, Series B 97 (6): 1074–1076, doi:10.1016/j.jctb.2007.02.007.
  3. Ruskey, F. and Savage, C. Matchings extend to Hamiltonian cycles in hypercubes on Open Problem Garden. 2007.
  4. Ringel, G. (1955), "Über drei kombinatorische Probleme am n-dimensionalen Wiirfel und Wiirfelgitter", Abh. Math. Sem. Univ. Hamburg 20: 10–19, MR 949280
  5. 1 2 Harary, Frank; Hayes, John P.; Wu, Horng-Jyh (1988), "A survey of the theory of hypercube graphs", Computers & Mathematics with Applications 15 (4): 277–289, doi:10.1016/0898-1221(88)90213-1, MR 949280.
  6. Optimal Numberings and Isoperimetric Problems on Graphs, L.H. Harper, Journal of Combinatorial Theory, 1, 385393, doi:10.1016/S0021-9800(66)80059-5
  7. Roichman, Y. (2000), "On the Achromatic Number of Hypercubes", Journal of Combinatorial Theory, Series B 79 (2): 177–182, doi:10.1006/jctb.2000.1955.
  8. Szymanski, Ted H. (1989), "On the Permutation Capability of a Circuit-Switched Hypercube", Proc. Internat. Conf. on Parallel Processing 1, Silver Spring, MD: IEEE Computer Society Press, pp. 103–110.

References

This article is issued from Wikipedia - version of the Thursday, April 21, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.