Eulerian and Hamiltonian Paths

Total Page:16

File Type:pdf, Size:1020Kb

Eulerian and Hamiltonian Paths Eulerian and Hamiltonian Paths 1. Euler paths and circuits 1.1. The Könisberg Bridge Problem Könisberg was a town in Prussia, divided in four land regions by the river Pregel. The regions were connected with seven bridges as shown in figure 1(a). The problem is to find a tour through the town that crosses each bridge exactly once. Leonhard Euler gave a formal solution for the problem and –as it is believed- established the graph theory field in mathematics. (a) (b) Figure 1: The bridges of Könisberg (a) and corresponding graph (b) 1.2. Defining Euler paths Obviously, the problem is equivalent with that of finding a path in the graph of figure 1(b) such that it crosses each edge exactly one time. Instead of an exhaustive search of every path, Euler found out a very simple criterion for checking the existence of such paths in a graph. As a result, paths with this property took his name. Definition 1: An Euler path is a path that crosses each edge of the graph exactly once. If the path is closed, we have an Euler circuit. In order to proceed to Euler’s theorem for checking the existence of Euler paths, we define the notion of a vertex’s degree. Definition 2: The degree of a vertex u in a graph equals to the number of edges attached to vertex u. A loop contributes 2 to its vertex’s degree. 1.3. Checking the existence of an Euler path The existence of an Euler path in a graph is directly related to the degrees of the graph’s vertices. Euler formulated the three following theorems of which the first two set a sufficient and necessary condition for the existence of an Euler circuit or path in a graph respectively. Theorem 1: An undirected graph has at least one Euler path iff it is connected and has two or zero vertices of odd degree. Theorem 2: An undirected graph has an Euler circuit iff it is connected and has zero vertices of odd degree. Theorem 3: The sum of the degrees of every vertex of a graph is even and equals to twice the number of edges. A proof for Theorems 1.1 and 1.2(as a special case of 1.1) follows. Proof: ÞAn Euler trail exists. As the path is traversed, each time that a vertex is reached we cross two edges attached to the vertex and have not been crossed yet. Thus, all vertices, except maybe the starting vertex a and the ending vertex b, have even degrees. If a ºb we have an Euler circuit and if a ¹ b we have an open path. ÜInduction on the number of vertices Induction beginning: |V| = 2. Elementary case Induction assumption: For |V| £ n the theorem holds. Induction step: |V| = n + 1. If we have two vertices with odd degrees a and b we can find a longest path beginning at a and ending at b. For any left edges, we can use the condition assumed by the induction. If we have no vertices of odd degree we use the same method except a is the begging and ending vertex. Example: Figure 2 shows some graphs indicating the distinct cases examined by the preceding theorems. Graph (a) has an Euler circuit, graph (b) has an Euler path but not an Euler circuit and graph (c) has neither a circuit nor a path. (a) (b) (c) Figure 2: A graph containing an Euler circuit (a), one containing an Euler path (b) and a non- Eulerian graph (c) 1.4. Finding an Euler path There are several ways to find an Euler path in a given graph. Since it is a relatively simple problem it can solve intuitively respecting a few guidelines: · Always leave one edge available to get back to the starting vertex (for circuits) or to the other odd vertex (for paths) as the last step. · Don't use an edge to go to a vertex unless there is another edge available to leave that vertex (except for the last step). This technique certainly gives results for simple graphs but we surely need a formal algorithm to find Euler circuits. In the following sections we present two algorithms serving that purpose. Fluery’s algorithm Fluery’s algorithm can be applied in searches for both Euler circuits and paths. FLUERY Input: A connected graph G = (V, E) with no vertices of odd degree Output: A sequence P of vertices and their connecting edges indicating the Euler circuit. 1 Choose any vertex u0 in G. 2 P = u0 3 if Pi = u0e1u1e2…eiui choose edge ei+1 so that 1. ei+1 is adjacent to ei 2. Removal of ei+1 does not disconnect G – {e1,…, ei} (i.e. ei+1 is not a bridge). 4 if P includes all edges in E return P 5 goto 3 The algorithm for finding an Euler path instead of a circuit is almost identical to the one just described. Their only difference lies in step 1 where we must choose one of the vertices of odd degree as the beginning vertex. Example: Figure 3 demonstrates some important steps in the process described by the algorithm 1.4. The numbers that label each edge indicate their index in the Euler circuit. 1 2 3 (a) (b) 1 5 4 2 13 6 3 7 10 9 12 8 11 (c) Figure 3: The input graph (a). The bold line is a bridge but we have no other choice (b). The output graph, showing the sequence of edges in the Euler circuit (c). A constructive algorithm The ideas used in the proof of Euler’s theorem can lead us to a recursive constructive algorithm to find an Euler path in an Eulerian graph. CONSTRUCT Input: A connected graph G = (V, E) with two vertices of odd degree. Output: The graph with its edges labeled according to their order of appearance in the path found. 1 Find a simple cycle in G. 2 Delete the edges belonging in C. 3 Apply algorithm to the remaining graph. 4 Amalgamate Euler cycles found to obtain the complete Euler cycle. The process described can be extended to handle Euler paths as well. We are obliged to start from a vertex of odd degree u. Then we add a “phantom edge” between the vertices of odd degree and thus ensure that every vertex has an even degree. We find the circuit starting and ending at u and then remove the phantom edge to obtain the Euler path. Example: Figure 4 demonstrates the constructive algorithm’s steps in a graph. 4(a) shows the initial graph, and 4(b), 4(c) show the simple cycle found. 4(d) shows the next cycle and 4(e) the amalgamation of the two cycles found. The process continues and we result to the graph of figure 4(i). (a) (b) 2 1 2 1 3 3 (c) (d) 9 9 8 8 10 10 1 7 1 7 2 6 2 11 6 11 3 5 3 5 4 (e) (f) 9 9 8 8 10 14 10 14 1 13 7 1 13 7 2 12 2 12 15 11 6 15 11 6 3 5 3 5 4 4 (g) 9 (h) 8 10 11 13 7 12 17 16 1 6 2 18 14 15 3 5 4 (i) Figure 4: Applying the algorithm to graph 4(a) and resulting to graph 4(i) 1.5 Expanding to directed graphs The results aforementioned can easily be adapted to directed graphs. We proceed to two definitions analogous to definition 1.1. Definition 3: The in-degree of a vertex in a directed graph is the number of edges incoming to that vertex. Definition 4: The out-degree of a vertex in a directed graph is the number of edges outgoing from that vertex. The condition that a directed graph must satisfy to have an Euler circuit is defined by the following theorem. Theorem 4: A directed graph G has an Euler circuit iff it is connected and for every vertex u in G in-degree(u) = out-degree(u). Example: An interesting problem (and with some practical worth as well) is the following: Place 2n binary digits in a circular table in such a way that the 2n sequences of n digits are all different. The solution is produced by constructing a graph with 2n-1 vertices each of them n-1 labeled with one of the 2 numbers with n-1 digits. The vertex labeled with a1a2a3...an-1 has an outgoing edge to the vertex a2a3a4....an-10. The edge is labeled with a1a2a3...an-10. There is also an edge from a1a2a3...an-1 to a2a3a4....an-11 labeled with a1a2a3...an-11. The resulting graph has an Euler circuit corresponding to a circular ordering of the possible bit sequences. Figure 5 shows the results for n = 4. 0000 000 0001 10000 1001 001 100 0010 0100 010 0101 1010 1100 0011 1011 101 1101 011 110 0110 0111 111 1110 1111 Figure 5: Euler Path {e0e1e2e5e10e4e9e3e6e13e11e7e15e14e12e8} corresponds to the desired order of the bit sequences. 1.6 Applications Eulerian graphs are used rather extensively, as they’re necessary to solve important problems in telecommunication, parallel programming development and coding. Moreover, the corresponding theory underlies in many classic mathematical problems. In the next sections, we examine some interesting examples Line Drawings You can consider a line drawing as a graph whose vertices are not shown and are placed in the intersection of each pair of adjacent edges.
Recommended publications
  • 1 Hamiltonian Path
    6.S078 Fine-Grained Algorithms and Complexity MIT Lecture 17: Algorithms for Finding Long Paths (Part 1) November 2, 2020 In this lecture and the next, we will introduce a number of algorithmic techniques used in exponential-time and FPT algorithms, through the lens of one parametric problem: Definition 0.1 (k-Path) Given a directed graph G = (V; E) and parameter k, is there a simple path1 in G of length ≥ k? Already for this simple-to-state problem, there are quite a few radically different approaches to solving it faster; we will show you some of them. We’ll see algorithms for the case of k = n (Hamiltonian Path) and then we’ll turn to “parameterizing” these algorithms so they work for all k. A number of papers in bioinformatics have used quick algorithms for k-Path and related problems to analyze various networks that arise in biology (some references are [SIKS05, ADH+08, YLRS+09]). In the following, we always denote the number of vertices jV j in our given graph G = (V; E) by n, and the number of edges jEj by m. We often associate the set of vertices V with the set [n] := f1; : : : ; ng. 1 Hamiltonian Path Before discussing k-Path, it will be useful to first discuss algorithms for the famous NP-complete Hamiltonian path problem, which is the special case where k = n. Essentially all algorithms we discuss here can be adapted to obtain algorithms for k-Path! The naive algorithm for Hamiltonian Path takes time about n! = 2Θ(n log n) to try all possible permutations of the nodes (which can also be adapted to get an O?(k!)-time algorithm for k-Path, as we’ll see).
    [Show full text]
  • Tutorial 13 Travelling Salesman Problem1
    MTAT.03.286: Design and Analysis of Algorithms University of Tartu Tutorial 13 Instructor: Vitaly Skachek; Assistants: Behzad Abdolmaleki, Oliver-Matis Lill, Eldho Thomas. Travelling Salesman Problem1 Basic algorithm Definition 1 A Hamiltonian cycle in a graph is a simple circuit that passes through each vertex exactly once. + Problem. Let G(V; E) be a complete undirected graph, and c : E 7! R be a cost function defined on the edges. Find a minimum cost Hamiltonian cycle in G. This problem is called a travelling salesman problem. To illustrate the motivation, imagine that a salesman has a list of towns it should visit (and at the end to return to his home city), and a map, where there is a certain distance between any two towns. The salesman wants to minimize the total distance traveled. Definition 2 We say that the cost function defined on the edges satisfies a triangle inequality if for any three edges fu; vg, fu; wg and fv; wg in E it holds: c (fu; vg) + c (fv; wg) ≥ c (fu; wg) : In what follows we assume that the cost function c satisfies the triangle inequality. The main idea of the algorithm: Observe that removing an edge from the optimal travelling salesman tour leaves a path through all vertices, which contains a spanning tree. We have the following relations: cost(TSP) ≥ cost(Hamiltonian path without an edge) ≥ cost(MST) : 1Additional reading: Section 3 in the book of V.V. Vazirani \Approximation Algorithms". 1 Next, we describe how to build a travelling salesman path. Find a minimum spanning tree in the graph.
    [Show full text]
  • Graph Theory 1 Introduction
    6.042/18.062J Mathematics for Computer Science March 1, 2005 Srini Devadas and Eric Lehman Lecture Notes Graph Theory 1 Introduction Informally, a graph is a bunch of dots connected by lines. Here is an example of a graph: B H D A F G I C E Sadly, this definition is not precise enough for mathematical discussion. Formally, a graph is a pair of sets (V, E), where: • Vis a nonempty set whose elements are called vertices. • Eis a collection of two­element subsets of Vcalled edges. The vertices correspond to the dots in the picture, and the edges correspond to the lines. Thus, the dots­and­lines diagram above is a pictorial representation of the graph (V, E) where: V={A, B, C, D, E, F, G, H, I} E={{A, B} , {A, C} , {B, D} , {C, D} , {C, E} , {E, F } , {E, G} , {H, I}} . 1.1 Definitions A nuisance in first learning graph theory is that there are so many definitions. They all correspond to intuitive ideas, but can take a while to absorb. Some ideas have multi­ ple names. For example, graphs are sometimes called networks, vertices are sometimes called nodes, and edges are sometimes called arcs. Even worse, no one can agree on the exact meanings of terms. For example, in our definition, every graph must have at least one vertex. However, other authors permit graphs with no vertices. (The graph with 2 Graph Theory no vertices is the single, stupid counterexample to many would­be theorems— so we’re banning it!) This is typical; everyone agrees more­or­less what each term means, but dis­ agrees about weird special cases.
    [Show full text]
  • HABILITATION THESIS Petr Gregor Combinatorial Structures In
    HABILITATION THESIS Petr Gregor Combinatorial Structures in Hypercubes Computer Science - Theoretical Computer Science Prague, Czech Republic April 2019 Contents Synopsis of the thesis4 List of publications in the thesis7 1 Introduction9 1.1 Hypercubes...................................9 1.2 Queue layouts.................................. 14 1.3 Level-disjoint partitions............................ 19 1.4 Incidence colorings............................... 24 1.5 Distance magic labelings............................ 27 1.6 Parity vertex colorings............................. 29 1.7 Gray codes................................... 30 1.8 Linear extension diameter........................... 36 Summary....................................... 38 2 Queue layouts 51 3 Level-disjoint partitions 63 4 Incidence colorings 125 5 Distance magic labelings 143 6 Parity vertex colorings 149 7 Gray codes 155 8 Linear extension diameter 235 3 Synopsis of the thesis The thesis is compiled as a collection of 12 selected publications on various combinatorial structures in hypercubes accompanied with a commentary in the introduction. In these publications from years between 2012 and 2018 we solve, in some cases at least partially, several open problems or we significantly improve previously known results. The list of publications follows after the synopsis. The thesis is organized into 8 chapters. Chapter 1 is an umbrella introduction that contains background, motivation, and summary of the most interesting results. Chapter 2 studies queue layouts of hypercubes. A queue layout is a linear ordering of vertices together with a partition of edges into sets, called queues, such that in each set no two edges are nested with respect to the ordering. The results in this chapter significantly improve previously known upper and lower bounds on the queue-number of hypercubes associated with these layouts.
    [Show full text]
  • HAMILTONICITY in CAYLEY GRAPHS and DIGRAPHS of FINITE ABELIAN GROUPS. Contents 1. Introduction. 1 2. Graph Theory: Introductory
    HAMILTONICITY IN CAYLEY GRAPHS AND DIGRAPHS OF FINITE ABELIAN GROUPS. MARY STELOW Abstract. Cayley graphs and digraphs are introduced, and their importance and utility in group theory is formally shown. Several results are then pre- sented: firstly, it is shown that if G is an abelian group, then G has a Cayley digraph with a Hamiltonian cycle. It is then proven that every Cayley di- graph of a Dedekind group has a Hamiltonian path. Finally, we show that all Cayley graphs of Abelian groups have Hamiltonian cycles. Further results, applications, and significance of the study of Hamiltonicity of Cayley graphs and digraphs are then discussed. Contents 1. Introduction. 1 2. Graph Theory: Introductory Definitions. 2 3. Cayley Graphs and Digraphs. 2 4. Hamiltonian Cycles in Cayley Digraphs of Finite Abelian Groups 5 5. Hamiltonian Paths in Cayley Digraphs of Dedekind Groups. 7 6. Cayley Graphs of Finite Abelian Groups are Guaranteed a Hamiltonian Cycle. 8 7. Conclusion; Further Applications and Research. 9 8. Acknowledgements. 9 References 10 1. Introduction. The topic of Cayley digraphs and graphs exhibits an interesting and important intersection between the world of groups, group theory, and abstract algebra and the world of graph theory and combinatorics. In this paper, I aim to highlight this intersection and to introduce an area in the field for which many basic problems re- main open.The theorems presented are taken from various discrete math journals. Here, these theorems are analyzed and given lengthier treatment in order to be more accessible to those without much background in group or graph theory.
    [Show full text]
  • Lecture 9. Basic Problems of Graph Theory
    Lecture 9. Basic Problems of Graph Theory. 1 / 28 Problem of the Seven Bridges of Königsberg Denition An Eulerian path in a multigraph G is a path which contains each edge of G exactly once. If the Eulerian path is closed, then it is called an Euler cycle. If a multigraph contains an Euler cycle, then is called a Eulerian graph. Example Consider graphs z z z y y y w w w t t x x t x a) b) c) in case a the multigraph has an Eulerian cycle, in case b the multigraph has an Eulerian trail, in case c the multigraph hasn't an Eulerian cycle or an Eulerian trail. 2 / 28 Problem of the Seven Bridges of Königsberg In Königsberg, there are two islands A and B on the river Pregola. They are connected each other and with shores C and D by seven bridges. You must set o from any part of the city land: A; B; C or D, go through each of the bridges exactly once and return to the starting point. In 1736 this problem had been solved by the Swiss mathematician Leonhard Euler (1707-1783). He built a graph representing this problem. Shore C River Island A Island B Shore D Leonard Euler answered the important question for citizens "has the resulting graph a closed walk, which contains all edges only once?" Of course the answer was negative. 3 / 28 Problem of the Seven Bridges of Königsberg Theorem Let G be a connected multigraph. G is Eulerian if and only if each vertex of G has even degree.
    [Show full text]
  • 582670 Algorithms for Bioinformatics
    582670 Algorithms for Bioinformatics Lecture 5: Graph Algorithms and DNA Sequencing 27.9.2012 Adapted from slides by Veli M¨akinen/ Algorithms for Bioinformatics 2011 which are partly from http://bix.ucsd.edu/bioalgorithms/slides.php DNA Sequencing: History Sanger method (1977): Gilbert method (1977): I Labeled ddNTPs terminate I Chemical method to cleave DNA copying at random DNA at specific points (G, points. G+A, T+C, C). I Both methods generate labeled fragments of varying lengths that are further measured by electrophoresis. Sanger Method: Generating a Read 1. Divide sample into four. 2. Each sample will have available all normal nucleotides and modified nucleotides of one type (A, C, G or T) that will terminate DNA strand elongation. 3. Start at primer (restriction site). 4. Grow DNA chain. 5. In each sample the reaction will stop at all points ending with the modified nucleotide. 6. Separate products by length using gel electrophoresis. Sanger Method: Generating a Read DNA Sequencing I Shear DNA into millions of small fragments. I Read 500-700 nucleotides at a time from the small fragments (Sanger method) Fragment Assembly I Computational Challenge: assemble individual short fragments (reads) into a single genomic sequence (\superstring") I Until late 1990s the shotgun fragment assembly of human genome was viewed as intractable problem I Now there exists \complete" sequences of human genomes of several individuals I For small and \easy" genomes, such as bacterial genomes, fragment assembly is tractable with many software tools I Remains
    [Show full text]
  • The Cube of Every Connected Graph Is 1-Hamiltonian
    JOURNAL OF RESEARCH of the National Bureau of Standards- B. Mathematical Sciences Vol. 73B, No.1, January- March 1969 The Cube of Every Connected Graph is l-Hamiltonian * Gary Chartrand and S. F. Kapoor** (November 15,1968) Let G be any connected graph on 4 or more points. The graph G3 has as its point set that of C, and two distinct pointE U and v are adjacent in G3 if and only if the distance betwee n u and v in G is at most three. It is shown that not only is G" hamiltonian, but the removal of any point from G" still yields a hamiltonian graph. Key Words: C ube of a graph; graph; hamiltonian. Let G be a graph (finite, undirected, with no loops or multiple lines). A waLk of G is a finite alternating sequence of points and lines of G, beginning and ending with a point and where each line is incident with the points immediately preceding and followin g it. A walk in which no point is repeated is called a path; the Length of a path is the number of lines in it. A graph G is connected if between every pair of distinct points there exists a path, and for such a graph, the distance between two points u and v is defined as the length of the shortest path if u 0;1= v and zero if u = v. A walk with at least three points in which the first and last points are the same but all other points are dis tinct is called a cycle.
    [Show full text]
  • Graph Algorithms in Bioinformatics an Introduction to Bioinformatics Algorithms Outline
    An Introduction to Bioinformatics Algorithms www.bioalgorithms.info Graph Algorithms in Bioinformatics An Introduction to Bioinformatics Algorithms www.bioalgorithms.info Outline 1. Introduction to Graph Theory 2. The Hamiltonian & Eulerian Cycle Problems 3. Basic Biological Applications of Graph Theory 4. DNA Sequencing 5. Shortest Superstring & Traveling Salesman Problems 6. Sequencing by Hybridization 7. Fragment Assembly & Repeats in DNA 8. Fragment Assembly Algorithms An Introduction to Bioinformatics Algorithms www.bioalgorithms.info Section 1: Introduction to Graph Theory An Introduction to Bioinformatics Algorithms www.bioalgorithms.info Knight Tours • Knight Tour Problem: Given an 8 x 8 chessboard, is it possible to find a path for a knight that visits every square exactly once and returns to its starting square? • Note: In chess, a knight may move only by jumping two spaces in one direction, followed by a jump one space in a perpendicular direction. http://www.chess-poster.com/english/laws_of_chess.htm An Introduction to Bioinformatics Algorithms www.bioalgorithms.info 9th Century: Knight Tours Discovered An Introduction to Bioinformatics Algorithms www.bioalgorithms.info 18th Century: N x N Knight Tour Problem • 1759: Berlin Academy of Sciences proposes a 4000 francs prize for the solution of the more general problem of finding a knight tour on an N x N chessboard. • 1766: The problem is solved by Leonhard Euler (pronounced “Oiler”). • The prize was never awarded since Euler was Director of Mathematics at Berlin Academy and was deemed ineligible. Leonhard Euler http://commons.wikimedia.org/wiki/File:Leonhard_Euler_by_Handmann.png An Introduction to Bioinformatics Algorithms www.bioalgorithms.info Introduction to Graph Theory • A graph is a collection (V, E) of two sets: • V is simply a set of objects, which we call the vertices of G.
    [Show full text]
  • A Survey of Line Graphs and Hamiltonian Paths Meagan Field
    University of Texas at Tyler Scholar Works at UT Tyler Math Theses Math Spring 5-7-2012 A Survey of Line Graphs and Hamiltonian Paths Meagan Field Follow this and additional works at: https://scholarworks.uttyler.edu/math_grad Part of the Mathematics Commons Recommended Citation Field, Meagan, "A Survey of Line Graphs and Hamiltonian Paths" (2012). Math Theses. Paper 3. http://hdl.handle.net/10950/86 This Thesis is brought to you for free and open access by the Math at Scholar Works at UT Tyler. It has been accepted for inclusion in Math Theses by an authorized administrator of Scholar Works at UT Tyler. For more information, please contact [email protected]. A SURVEY OF LINE GRAPHS AND HAMILTONIAN PATHS by MEAGAN FIELD A thesis submitted in partial fulfillment of the requirements for the degree of Master’s of Science Department of Mathematics Christina Graves, Ph.D., Committee Chair College of Arts and Sciences The University of Texas at Tyler May 2012 Contents List of Figures .................................. ii Abstract ...................................... iii 1 Definitions ................................... 1 2 Background for Hamiltonian Paths and Line Graphs ........ 11 3 Proof of Theorem 2.2 ............................ 17 4 Conclusion ................................... 34 References ..................................... 35 i List of Figures 1GraphG..................................1 2GandL(G)................................3 3Clawgraph................................4 4Claw-freegraph..............................4 5Graphwithaclawasaninducedsubgraph...............4 6GraphP .................................. 7 7AgraphCcontainingcomponents....................8 8Asimplegraph,Q............................9 9 First and second step using R2..................... 9 10 Third and fourth step using R2..................... 10 11 Graph D and its reduced graph R(D).................. 10 12 S5 and its line graph, K5 ......................... 13 13 S8 and its line graph, K8 ......................... 14 14 Line graph of graph P .........................
    [Show full text]
  • On Hamiltonian Line-Graphsq
    ON HAMILTONIANLINE-GRAPHSQ BY GARY CHARTRAND Introduction. The line-graph L(G) of a nonempty graph G is the graph whose point set can be put in one-to-one correspondence with the line set of G in such a way that two points of L(G) are adjacent if and only if the corresponding lines of G are adjacent. In this paper graphs whose line-graphs are eulerian or hamiltonian are investigated and characterizations of these graphs are given. Furthermore, neces- sary and sufficient conditions are presented for iterated line-graphs to be eulerian or hamiltonian. It is shown that for any connected graph G which is not a path, there exists an iterated line-graph of G which is hamiltonian. Some elementary results on line-graphs. In the course of the article, it will be necessary to refer to several basic facts concerning line-graphs. In this section these results are presented. All the proofs are straightforward and are therefore omitted. In addition a few definitions are given. If x is a Une of a graph G joining the points u and v, written x=uv, then we define the degree of x by deg zz+deg v—2. We note that if w ' the point of L(G) which corresponds to the line x, then the degree of w in L(G) equals the degree of x in G. A point or line is called odd or even depending on whether it has odd or even degree. If G is a connected graph having at least one line, then L(G) is also a connected graph.
    [Show full text]
  • Matchings Extend to Hamiltonian Cycles in 5-Cube 1
    Discussiones Mathematicae Graph Theory 38 (2018) 217–231 doi:10.7151/dmgt.2010 MATCHINGS EXTEND TO HAMILTONIAN CYCLES IN 5-CUBE 1 Fan Wang 2 School of Sciences Nanchang University Nanchang, Jiangxi 330000, P.R. China e-mail: [email protected] and Weisheng Zhao Institute for Interdisciplinary Research Jianghan University Wuhan, Hubei 430056, P.R. China e-mail: [email protected] Abstract Ruskey and Savage asked the following question: Does every matching in a hypercube Qn for n ≥ 2 extend to a Hamiltonian cycle of Qn? Fink con- firmed that every perfect matching can be extended to a Hamiltonian cycle of Qn, thus solved Kreweras’ conjecture. Also, Fink pointed out that every matching can be extended to a Hamiltonian cycle of Qn for n ∈ {2, 3, 4}. In this paper, we prove that every matching in Q5 can be extended to a Hamiltonian cycle of Q5. Keywords: hypercube, Hamiltonian cycle, matching. 2010 Mathematics Subject Classification: 05C38, 05C45. 1This work is supported by NSFC (grant nos. 11501282 and 11261019) and the science and technology project of Jiangxi Provincial Department of Education (grant No. 20161BAB201030). 2Corresponding author. 218 F. Wang and W. Zhao 1. Introduction Let [n] denote the set {1,...,n}. The n-dimensional hypercube Qn is a graph whose vertex set consists of all binary strings of length n, i.e., V (Qn) = {u : u = u1 ··· un and ui ∈ {0, 1} for every i ∈ [n]}, with two vertices being adjacent whenever the corresponding strings differ in just one position. The hypercube Qn is one of the most popular and efficient interconnection networks.
    [Show full text]