645
Views
1
CrossRef citations to date
0
Altmetric
Articles

Generating graceful unicyclic graphs from a given forest

&

Abstract

Acharya (1982) proved that every connected graph can be embedded in a graceful graph. The generalization of this result that, any set of graphs can be packed into a graceful graph was proved by Sethuraman and Elumalai (2005). Recently, Sethuraman et al. (2016) have shown that, every tree can be embedded in an graceful tree. Inspired by these fundamental structural properties of graceful graphs, in this paper, we prove that any acyclic graph can be embedded in an unicyclic graceful graph. This result is proved algorithmically by constructing graceful unicyclic graphs from a given acyclic graph. Our result strongly supports the Truszczynski’s Conjecture that “All unicyclic graphs except the cycle Cn with n1 or 2(mod 4) are graceful”.

1 Introduction

All the graphs considered in this paper are finite and simple graphs. The terms which are not defined here can be referred from Citation[1]. In 1963, Ringel posed his celebrated conjecture, popularly called Ringel Conjecture Citation[2], which states that, K2n+1, the complete graph on 2n+1 vertices can be decomposed into 2n+1 isomorphic copies of a given tree with n edges. Kotzig Citation[3] independently conjectured the specialized version of the Ringel Conjecture that the complete graph K2n+1 can be cyclically decomposed into 2n+1 copies of a given tree with n edges. In an attempt to solve both the conjectures of Ringel and Kotzig, in 1967, Rosa, in his classical paper Citation[4] introduced an hierarchical series of labelings called ρ,σ,β and α labelings as a tool to settle both the conjectures of Ringel and Kotzig. Later, Golomb Citation[5] called β-labeling as graceful labeling, and now this term is being widely used. A function f is called graceful labeling of a graph G with q edges, if f is an injective function from V(G) to {0,1,2,,q} such that, when every edge (u,v) is assigned the edge label |f(u)f(v)|, then the resulting edge labels are distinct. A graph which admits graceful labeling is called graceful graph. Further, Rosa Citation[4] proved that “If a graph G with q edges has a graceful labeling then the complete graph K2q+1 can be cyclically decomposed into 2q+1 copies of the graph G”. This result subsequently induced the popular Graceful Tree Conjecture, which states that “Every tree is graceful”. The Graceful Tree Conjecture appears to be hard and it remains open over 5 decades.

Rosa Citation[4] also proved that the cycle Cn is graceful if and only if n0 or 3(mod 4). In 1984, Truszczynski’s Citation[6] conjectured that, “All unicyclic graphs except the cycle Cn with n1 or 2(mod 4) are graceful”. The conjecture of Truszczynski is also hard as the Graceful Tree Conjecture. Not much results have been proved to support Truszczynski’s Conjecture. Some of the interesting results supporting Truszczynski’s Conjecture are listed below.

Barientos Citation[7] proved that a unicyclic graph in which the deletion of any edge on the cycle results in a caterpillar is graceful. [A tree is called a caterpillar, in which the removal of all the pendant vertices of the tree results in a path].

Jaya Bagga and Arumugam Citation[8] have constructed a graceful unicyclic graph from a special class of caterpillars.

Figueroa-Centeno et al. Citation[9] have provided an interesting construction to form a graceful unicyclic graph from a set of α-labeled trees with some special property [A graceful labeling f of a graph G is called an α-labeling if there exists an integer λ such that, min{f(x),f(y)} λ<max{f(x),f(y)} for each edge (x,y) in G].

For more details on the results supporting Truszczynski’s Conjecture refer the dynamic survey on graph labeling by Gallian [Citation10]. Structural characterization of graceful graphs appears to be one of the most difficult problems in graph theory. However, some interesting general structural properties of graceful graphs are established. Acharya [Citation11] proved that every connected graph can be embedded in a graceful graph. In [Citation12], Sethuraman and Elumalai generalized this result and they have shown that every set of graphs can be packed into a graceful graph. Recently, in [Citation13] Sethuraman et al. have also shown that every tree can be embedded in a graceful tree. Inspired by these fundamental structural properties of graceful graphs, in this paper, we prove that any acyclic graph can be embedded in a graceful unicyclic graph. This result is proved algorithmically by constructing graceful unicyclic graphs from a given acyclic graph. More precisely, we prove a general result that from any given acyclic graph F containing n arbitrary trees, we construct graceful unicyclic graphs with cycle length that vary from 3 to n+1. Our result strongly supports the Truszczynski’s Conjecture.

2 Main result

In this section, we present our Embedding Algorithm, which generate graceful unicyclic graphs from any acyclic graph.

Note

For convenience hereafter a vertex in either T or T or Gi or Gi is referred by its label. Similarly an edge in either T or T or Gi or Gi is referred by its label. We make the following observations and prove the following lemmas to establish that the Embedding Algorithm indeed construct graceful unicyclic graphs from the input forest as the output.

Observation 2.1

From Step 5 of the Embedding Algorithm, the vertices which appear on the left side part of the bipartition of the treeT receive consecutive vertex labels from 0 to r1 and the vertices which appear on the right side of the bipartition of the treeT receive the vertex labels of the form zr,1zs.

Observation 2.2

From Step 2 and Step 5 of the Embedding Algorithm, observe that, in the bipartite graphT, all the children of the vertex i,1ir1 are arranged consecutively from top to bottom based on decreasing order of their degrees in the right side just below the last child of the vertexi1. Similarly, observe that, all the children of the vertex zr,1zs1 are arranged consecutively from top to bottom on the left side based on decreasing order of their degrees just below the last child of the vertex (z+1)r.

Observation 2.3

From Observation 2.1, the Missing Vertex Label SetVc defined in Step 6.1 consists of all the labels (integers) that lie in the interval(zr,(z+1)r), for allz,1zs1. More precisely, the Missing Vertex Label Set Vc={r+1,r+2,,2r1,2r+1,,3r1,,(s1)r+1,,rs1}. If we arrange the elements of Vc as a sequence {r+1,r+2,,2r1,2r+1,,3r1,,(s1)r+1,,rs1}=(a1,a2,,ad), then any two consecutive terms, ai1 and ai, for2id either both lie on the same interval say (zr,(z+1)r) for some fixed z,1zs1 or ai1(zr,(z+1)r) andai((z+1)r,(z+2)r) for some fixed z,1zs2. Thus, either ai=ai1+1 or ai=ai1+2.

Observation 2.4

From Observation 2.1, the labels of the edges that are incident at the vertexzr,1zs must lie on the interval (z1)r,zr. Therefore, the maximum of the edge labels of all the edges that are incident at the vertexzr is less than the minimum of the edge labels of all the edges that are incident at the vertex(z+1)r, for everyz,1zs1. The missing edge labels at the vertex zr, for each z,1zs, is the set of labels (integers) that lie on (z1)r+1,zr excluding the labels of the edges that are incident at the vertexzr and it is denoted by MEL(zr). More precisely the set MEL(zr)={(z1)r+1,(z1)r+2,,zr}{set of all labels of the edges that are incident at the vertex zr}. Then we can describe the set Ec=z=1sMEL(zr)={b1,b2,,bd}. As T is a tree, |Vc|=|Ec|.

Lemma 2.5

The vertex labels as well as the edge labels of the treeT obtained in Step 5 of the Embedding Algorithm are all distinct.

Proof

It follows from Observation 2.1, the labels of all the vertices of the tree T are distinct.

Claim

The labels of all the edges of the tree T are distinct

Since the labels of the vertices that lie on the left side part of the bipartition of T are consecutive from 0 to r1, it follows that, the labels of the incident edges at each vertex zr, 1zs are all distinct and these labels lie in the set {(z1)r+1,(z1)r+2,,zr}. Further, for any two consecutive vertices on the right side part of the bipartition of T, say zr and (z+1)r, we have maximum over the labels of all the edges that are incident at the vertex zrzr<zr+1 minimum over the labels of all the edges that are incident at the vertex (z+1)r, for z,1zs1. Thus, the labels of the edges that are incident at any two distinct vertices on the right side part of the bipartition of T are always distinct. This would imply that the labels of all the edges of the tree T are distinct. □

Lemma 2.6

The sets Vc and Ec, defined in Step 6.1 of the Embedding Algorithm are empty if and only if the treeT is a star.

Proof

Assume that the tree T is a star with s+1 vertices. Without loss of generality, we assume that |X||Y|, where (X,Y) is the bipartition of the tree T. By Step 3 of the Embedding Algorithm, |X|=r=1 and |Y|=s. After the execution of Step 5 of the Embedding Algorithm, Existing Vertex Label Set V(T)={0,1,2,,s} and the Existing Edge Label Set E(T)={1,2,3,,s}. As the set X={0,1,2,3,,s}, the set Vc=XV=ϕ and the set Ec=(X{0})E=ϕ.

Conversely, assume that each of the sets Vc and Ec, defined in the Step 6.1 of Embedding Algorithm is empty. We claim that the tree T is a star. Suppose that the tree T is not a star. Then, 2|X|=r|Y|. By using Step 5 of the Embedding Algorithm, the Existing Vertex Label Set V(T)={0,1,2,,r1,r,2r,,rs}. Since r2, Vc=XV={r+1,r+2,,2r1,2r+1,,3r1,,rs1}ϕ. A contradiction to our assumption that Vc=ϕ. Hence the input tree T must be a star. □

Lemma 2.7

The label ct defined in Step 6.3 of the Embedding Algorithm is a non-negative integer for all values oft and the labelct exists as the vertex label of a vertex of the current tree T that is being used in the current execution of Step 6.3.

Proof

Observe that Step 6.3 of the Embedding Algorithm is executed when the sets Vc and Ec are non-empty. Hence by Lemma 2.6, the tree T is not a star. Thus, sr2. Further, for every t, 1td, atVc, btEc, the label ct=atbt is found in Step 6.3.

Claim

ct is a non-negative integer

To ascertain the claim we prove that atbt, for every t, 1td by using induction on t.

When t=1, from Observation 2.3, we have a1=r+1,r2 and from Observation 2.4, b1{1,2,,r}. Hence a1>b1.

We assume that the result is true for up to t=k1. That is, we assume that atbt, for each t,1tk1.

We now prove that the statement is true for t=k. More precisely, we prove that akbk. Suppose that ak<bk. From Observation 2.3, ak1 and ak differ either by 1 or 2. It follows from our assumption (ak<bk) and the inductive assumption (bk1ak1), that (1) bk1ak1<ak<bk.(1) Since, either ak=ak1+2 or ak=ak1+1, we consider the following two cases.

Case 1. ak=ak1+2

Since bk1 and bk are consecutive missing edge labels and from Eq. (1), the labels of the sequence C=(bk1+1,,ak1,ak1+1,ak1+2=ak,ak+1,,bk1) are consecutive existing edges labels that lie between bk1 and bk. For whatever may be the value of k, the sequence C always contains the labels ak1+1 and ak. Since ak1 and ak are consecutive missing vertex labels, the label ak1+1 must be an existing vertex label which appears on the right side of the bipartition of the tree T. From Step 5 of the Embedding Algorithm, ak1+1=zr, for some z,2zs1. As ak1+1 belongs to C, the label ak1+1 is also an existing edge label, the label ak1+1 appears as existing vertex label as well as existing edge label. As ak1+1=zr, for some z,2zs1, by Observation 2.4 the edge label ak1+1 is only obtained from the edge connecting the vertex 0 and the vertex zr. The label zr=ak1+1 is the maximum edge label obtained at the vertex zr. As ak=ak1+2=zr+1 also belongs to C, zr+1 is the next existing edge label just after zr. As by Observation 2.4, the edge label zr+1=ak must be obtained at the edge connecting the vertex (z+1)r and the vertex r1, for z,2zs1. Since r1 is the bottommost vertex of the left side part of the bipartition of T and r1 is also a child of the vertex (z+1)r, this would imply from our construction of the tree T, the vertex pr, for each i,1pz are pendant. Hence the only vertex adjacent with zr is 0. From Observation 2.4, the set MEL(zr)={(z1)r+1,(z1)r+2,,zr1=ak1}. Therefore the label ak1 is a missing edge label. Then from Eq. (1) that, bk1ak1<bk, we have bk1=ak1. (See .)

Fig. 1 The structure of the bipartite tree T under the Case 1.

Fig. 1 The structure of the bipartite tree T under the Case 1.

As k1=|{b1,b2,,bk1}|. By Observation 2.4, |{b1,b2,,bk1}|=|p=1zMEL(pr)|. Since the vertex pr is pendant, for each p, 1pz, |MEL(pr)|=r1. Thus, k1=z(r1). Since k1=|{a1,a2,,ak1}| and by Observation 2.3, |{a1,a2,,ak1}|=|{r+1,r+2,,2r1,2r+1,,3r1,,(z1)r+1,,zr1=ak1}|, we have k1=(z1)(r1). But from the above discussion k1=z(r1). This leads to a contradiction. Therefore, our assumption that ak<bk is wrong. Hence akbk.

Case 2. ak=ak1+1

By Observation 2.3, the labels ak1 and ak lie in the interval ((z1)r,zr), for some fixed z,2zs. Therefore, ak1=(z1)r+q for some q,1qr2. Since bk1 and bk are consecutive missing edge labels and from Eq. (1), the labels of the sequence D=(bk1+1,,ak1,ak1+1=ak,ak+1,,bk1) are consecutive existing edges labels that lie between the label bk1 and the label bk. For whatever may be the value of k the sequence D should contain the label ak1+1=ak. Hence, by Observation 2.4, the existing edge label ak must be obtained at the edge incident with the vertices zr and j, for some j,1jr1.

Claim

The edge label bk1 obtained at the edge (zr,l) for some l,1ljr1

Suppose that the edge label bk1 is not obtained at the edge (zr,l), for any l,1lr1. Then by Observation 2.4, bk1 is obtained at the edge incident at the vertex (z+i)r, for some i,1isz. Since the labels ak,ak+1,,bk1 are consecutive existing edge labels and the edge label ak is obtained at the edge (zr,j), for some j,1jr1, by Observation 2.4, the vertex zr must be adjacent with the vertices j,j1,,0 also the vertices (z+1)r,(z+2)r,,(z+i1)r must all be adjacent with all the vertices on the left side part of the tree T. As zr,(z+1)r,(z+2)r,,(z+i1)r, for i1, are all adjacent with the vertices j,j1,,0, there exists a cycle in T if i2. Hence i1. Suppose i=1, then the vertex (z+1)r must be adjacent with the vertices r1,r2,,x, x>j [if xj, then there exists a cycle in T]. In this situation, all the children of the vertex (z+1)r lie below to all the children of the vertex zr which is not possible by our construction of the tree T. Thus, i1. This implies that the edge label bk1 is obtained at the edge (zr,l) for some l,0lr1. As, the edge label ak is obtained at the edge (zr,j), for some j,1jr1 and as akbk1, lj.

When l=0, the vertex zr must be adjacent with the vertices j,j1,,0. Hence the parent of the vertex zr is 0 and the children of zr must be 1,2,,j, for j,j1. By construction of the tree T, the vertices (z+1)r,(z+2)r,,rs have a common parent vertex 0. As the vertices 1,2,,j are the children of the vertex zr, the children of each of the vertices (z+1)r,(z+2)r,,rs must lie between 0 and 1. But no such vertex possibly exists which is a contradiction. Thus, l0. Therefore the edge label bk1 is obtained at the edge (zr,l) for some l,1ljr1. Hence the claim. (See .)

Fig. 2 The structure of the bipartite tree T under the Case 2.

Fig. 2 The structure of the bipartite tree T under the Case 2.

The number of missing vertex labels from a1 to ak1 is k1, which is nothing but the number of all the labels in the interval (ir,(i+1)r), for each i,1iz2 plus the number of labels that belong to the set {(z1)r+1,,(z1)r+q=ak1}. Therefore, k1=(z2)(r1)+q. This would imply that the number of missing edge labels from b1 to bk1 is also k1=(z2)(r1)+q. Hence the number of existing edges that are incident at the vertices r,2r,,(z1)r and the number of existing edges that are incident at the vertex zr having the other end vertices l,l+1,,r1 is equal to the number of possible edges that can be incident at the vertices r,2r,,(z1)r and the number of possible edges that can be incident at the vertex zr having the other end vertices l,l+1,,r1 minus the number of missing edge labels from b1 to bk1. Thus, the number of existing edges that are incident at the vertices r,2r,,(z1)r and the number of existing edges that are incident at the vertex zr having the other end vertices l,l+1,,r1 is [(z1)r+(rl)]((z2)(r1)+q)=z+2rlq2. These z+2rlq2 edges of the tree T are nothing but the edges which are incident at the vertices r,2r,,(z1)r and edges which are incident at the vertex zr from r1 to l. The graph induced by these z+2rjq2 edges of T is a forest and it is denoted by H. Hence (2) |E(H)|=z+2rlq2(2) Now we count the number of vertices that belong to the forest H in T. To count, we consider the following two cases on the nature of the ends of the edge (zr,l). Note that, in the edge (zr,l) of the rooted tree T, either zr is a parent of l or l is a parent of zr.

Case I: zr is a parent of l

From construction of the tree T, the structure of the tree T under this situation is given in .

Fig. 3 The structure of the bipartite tree T under the Case I.

Fig. 3 The structure of the bipartite tree T under the Case I.

From , the vertices (z1)r,(z2)r,,(zw1)r are the children of the vertices l1,l2,,lg1. Hence, the forest H is the union of the subtrees of T rooted at zr,l1,l2,,lg1. Thus, from , the total number of vertices of H, |V(H)|=z+rl+g1. This would imply that |E(H)|=z+rl1. By Eq. (2), |E(H)|=z+2rlq2. Thus, q=r1. Hence ak=ak1+1=(z1)r+q+1=zr. Then from Observation 2.2, the label ak is an existing vertex label. But by Case 2, the label ak is a missing vertex label. This is a contradiction. Hence, under this case our assumption ak<bk is wrong.

Case II: When l is the parent of zr

Under this case, we consider the following two subcases.

Case IIa: When jl

By our construction of the tree T the structure of the tree T under this situation is given in . From , the vertices l+1,l+2,,j,j+1,,l+g3 are the children of the vertex zr, where g31.

Fig. 4 The structure of the bipartite tree T under the Case IIa.

Fig. 4 The structure of the bipartite tree T under the Case IIa.

Then from , H is the subtree rooted at the vertex l. Hence, the number of vertices of H, |V(H)|=z+rl. This would imply that |E(H)|=z+rl1. By Eq. (2), |E(H)|=z+2rlq2. Thus, q=r1. Hence ak=ak1+1=(z1)r+q+1=zr. This implies that the label ak is an existing vertex label. But by Case II, the label ak is a missing vertex label which is a contradiction. Hence, under this case our assumption ak<bk is wrong.

Case IIb: When j=l

By our construction of the tree T the structure of the tree T under this situation is given in .

Fig. 5 The structure of the bipartite tree T under the Case IIb.

Fig. 5 The structure of the bipartite tree T under the Case IIb.

From , the vertices l+1,l+2,,j,j+1,,l+g4 are the children of the vertex zr,(z1)r,(z2)r,,(zw3)r, where g40. Then from , H is the union of the subtrees rooted at l,l+1,,l+g4. The number of vertices in H, |V(H)|=z+rl. This would imply that |E(H)|=z+rlg41. By Eq. (2), |E(H)|=z+2rlq2. This would imply that q=r+g41. Hence ak=ak1+1=(z1)r+q+1=zr+g4zr, which leads to a contradiction to the fact that the label ak is a missing vertex label which lies in the interval ((z1)r,zr). Hence, under this case our assumption ak<bk is wrong.

Hence from all the cases, the assumption ak<bk is wrong. Therefore, akbk. Hence, by induction, atbt, for every t, 1tm. This means that the label ct=atbt is non-negative for every t, 1tm.

Since the current graph T should contain all the vertex labels 0,1,2, ,at1. As ct is a non-negative integer and as ct=(atbt)<at, ct must be a label of a vertex in that current graph T. □

Lemma 2.8

The graph T obtained in the Embedding Algorithm is a graceful tree.

Proof

From Lemma 2.5, it is clear that after the execution of Step 5 of the Embedding Algorithm, we obtain the tree T in which the vertices of T are labeled with distinct labels and the edges of T are also labeled with distinct labels. From the Embedding Algorithm, we observe that the graph T is obtained either after the complete execution of the Step 6.2 or after the complete execution of the Step 6.3.

Case 1: The graph T obtained after the complete execution of the Step 6.2

As the Step 6.2 is executed only when Ec=Vc=ϕ, by Lemma 2.6, the tree T must be a star and it remains unchanged when Step 6.2 is executed. Consequently, the tree T should have been labeled as shown in . From , it is clear that the graph T is a tree with distinct vertex labels and distinct edge labels. More precisely, the vertex label set is {0,1,2,,s} and the edge label set is {1,2,,s}. Thus, by the definition of graceful labeling of the tree, the tree T is graceful.

Case 2: The graph T obtained after the complete execution of the Step 6.3

In Step 6.3, the tree T obtained after the execution of the Step 6.1 is taken as an input. The sets Vc and Ec are considered, where the elements of Vc and that of Ec are arranged in the increasing order respectively. Then for each t, 1td, the label ct=atbt is found. By Lemma 2.7, the label ct is non-negative and there always exists a vertex in the current graph T which has the label ct. In the Step 6.3, for every t, 1td, a new vertex labeled with at is taken and it is joined with the existing vertex labeled ct of the current graph T.

In Step 6.3, initially the graph T is a tree and every execution of Step 6.3 a new vertex is added with existing vertex in T by a new pendant edge to the current graph T. Therefore the current graph T must be a tree. As at is always distinct for every t, 1td, and the vertex labels of the initial tree T are also distinct, the updated tree TT+(ct,at) contains distinct vertex labels in every execution. Further, note that in every execution of the Step 6.3, the distinct edge label bt=atct is obtained. As the edge labels of the initial tree T are also distinct, the final updated tree T contains distinct edge labels for all the edges. More precisely, the vertex label set of T are {0,1,2,,rs} and the edge label set of T are {1,2,,rs}. Thus, by the definition of graceful labeling of the tree, the tree T is graceful. □

Fig. 6 The labeled tree T obtained at the end of Step 6.2 of the embedding algorithm.

Fig. 6 The labeled tree T∗ obtained at the end of Step 6.2 of the embedding algorithm.

Theorem 2.9

The output graph obtained in the Step 7 of the Embedding Algorithm is a graceful unicyclic graph.

Proof

From the Embedding Algorithm, we observe that the output graph G is obtained after the complete execution of the Step 7.1 or the output graph Gi is obtained after the complete execution of the Step 7.2.

Case 1: The graph G obtained after the complete execution of the Step 7.1

Step 6.1 of the Embedding Algorithm is executed only when Ec=Vc=ϕ. Then by Lemma 2.6, the tree T is a star. Thus, after the execution of Step 6.2, the labeled tree T will be as shown in .

Fig. 7 The labeled tree T after the execution of Step 6.2.

Fig. 7 The labeled tree T∗ after the execution of Step 6.2.

Thus, the labeled graph G obtained after the execution of the Step 7.1 will be as shown in .

Fig. 8 The labeled graph G obtained after the execution of Step 7.1.

Fig. 8 The labeled graph G∗ obtained after the execution of Step 7.1.

It is clear from , the graph G contains a unique cycle of length 3. Also, all the vertex labels are distinct and range over the set {0,1,2,,s+2}{s+1} and all the edge labels are also distinct and range over the set {1,2,,s+2}. Then it follows from the definition of graceful labeling, the unicyclic graph G is graceful.

Case 2: The graph Gi obtained after the complete execution of the Step 7.2, for i, 1in

Here we consider two subcases depending on the value of n.

Case 2.1: n=1

Claim 1

The graph G1 is unicyclic

In this case the input forest F contains only one component, T1. In Step 7.2.1, the fixed vertex u1 of T1 is joined with a new vertex v and this new vertex v is again joined with a chosen vertex u(which appear in the last level) of the tree T1 that contained in T as its subtree. Thus, after the execution of Step 7.2.1, the vertex set of the graph G1 is updated with a new vertex v with the label rs+f(u)+1 and the edge set of G1 is also updated with two new edges having the labels rs+f(u)+1 and rs+1. (See .)

Fig. 9 The structure of the graceful unicyclic graph G1.

Fig. 9 The structure of the graceful unicyclic graph G1.

Fig. 10 The structure of the graceful unicyclic graph Gi.

Fig. 10 The structure of the graceful unicyclic graph Gi.

Since T is a tree, the unique cycle connecting the vertex u1 of T1 to the vertex u of T1 which contained in T followed by the edge (u,v) and the edge (v,u1) form a unique cycle of length l+2 in G1. Thus, the graph G1 is an unicyclic graph. By Lemma 2.8, the labels of all the vertices of the tree T are distinct and the labels of all the edges of the tree T are distinct. Therefore, after the execution of Step 7.2.1, the labels of the vertices of G1, 0,1,2,,rs,rs+f(u)+1 are all distinct and edge labels of the edges of G1, 1,2,,rs,rs+1,rs+f(u)+1 are all distinct.

Claim 2

The graph G1 is a graceful unicyclic graph

After the complete execution of Step 7.2.1.1, the vertex set of the graph G1 is updated with f(u)3 new pendant vertices which are labeled with rs+2,rs+3,,rs+f(u) and the edge set of G1 is updated with f(u)3 new pendant edges which get the labels rs+2,rs+3,,rs+f(u). Thus, after the complete execution of Step 7.2.1.1, the output graph G1 remains unicyclic.

After the complete execution of Step 7.2.1.1, in the output graph G1, the newly added vertices have distinct labels rs+2,rs+3,,rs+f(u) that are all different from the labels of all the vertices of G1 and the newly added edges have distinct labels rs+2,rs+3,,rs+f(u) that are all different from the labels of all the edges of G1. Thus, the labels of all the vertices of G1 are distinct and the labels of all the edges of G1 are also distinct. More precisely, the set of labels of the vertices of G1 is {0,1,2,,rs+f(u)+1}{rs+1} and the set of labels of the edges of G1 is {1,2,,rs+f(u)+1}. Then it follows from the definition of graceful labeling, the unicyclic graph G1 is graceful.

Case 2.2: n2

Claim 3

For every i,2in, the graph Gi is unicyclic

In this case the input forest has at least two components. After the execution of Step 7.2, the fixed vertex ui of Ti that is contained in T as its subtree is joined with a new vertex v and this new vertex v is again joined with a fixed vertex u1 of T1 that is contained in T as its subtree. Thus, the vertex set of the graph Gi is updated with a new vertex v with the label rs+f(ui)+1 and the edge set of Gi is also updated with two new edges having the labels rs+f(ui)+1 and rs+1. Since T is a tree, the unique cycle connecting the vertex u1 of T1 to the vertex ui of Ti which is contained in T followed by the edge (ui,v) and the edge (v,u1) form a unique cycle of length i+1 in Gi. Thus, the graph Gi is unicyclic. By Lemma 2.8, the labels of all the vertices of the tree T are distinct and the labels of all the edges of the tree T are distinct. Therefore, after the execution of Step 7.2.1, the labels of the vertices of Gi, 0,1,2,,rs,rs+f(ui)+1 are all distinct and edge labels of the edges of Gi, 1,2,,rs,rs+1,rs+f(ui)+1 are all distinct. (See Fig. 10.)

Claim 4

The graph Gi is a unicyclic graceful graph, for every i,2in

After the complete execution of Step 7.2.2.1, the vertex set of the graph Gi is updated with f(ui)3 new pendant vertices which are labeled with rs+2,rs+3,,rs+f(ui) and the edge set of Gi is updated with f(ui)3 new pendant edges which get the labels rs+2,rs+3,,rs+f(ui). After the complete execution of the Step 7.2.2.1, the output graph Gi remains as unicyclic.

After the complete execution of Step 7.2.2.1, in the output graph Gi, the newly added vertices have distinct labels rs+2,rs+3,,rs+f(ui) that are all different from the labels of all the vertices of Gi and the newly added edges have distinct labels rs+2,rs+3,,rs+f(ui) that are all different from the labels of all the edges of Gi. Thus, the labels of all the vertices of Gi are distinct and the labels of all the edges of Gi are also distinct. More precisely, the set of labels of the vertices of Gi is {0,1,2,,rs+f(ui)+1}{rs+1} and the set of labels of the edges of Gi is {1,2,,rs+f(ui)+1}. Then it follows from the definition of graceful labeling, the unicyclic graph Gi is graceful. □

3 Discussion

From Theorem 2.9, we observe that the Embedding Algorithm generates distinct unicyclic graceful graphs and each unicyclic graph contains the given forest F having n arbitrary trees Ti, for 1in as its subgraph. Also the Embedding Algorithm generates a unicyclic graceful graph with a fixed cycle length n if the input forest contains n1 components. All these unicyclic graphs obtained from Embedding Algorithm supports the Truszczynski’s conjecture Citation[6], that all unicyclic graphs except cycle C4n+1 and C4n+2 are graceful.

In this paper, we have embedded a given forest in a graceful tree as well as a graceful unicyclic graph. In this direction of graceful graph embedding, it would be interesting to explore the following questions.

Is it possible to embed, a given unicyclic graph in a graceful unicyclic graph?

What would be the minimum number of additional edges required for the embedding of a unicyclic graph into a graceful unicyclic graph?

Acknowledgments

The second author gratefully acknowledges Centre for Research, Anna University, Chennai, India for the financial support through the Anna Centenary Research Fellowship under the grant Ref: CR/ACRF/2014/40, Dated: 28.12.2013.

References

  • WestD.B., Introduction to Graph Theorysecond ed.2001Prentice Hall of India
  • G. Ringel, Problem 25, in: Theory of Graphs and its Applications, Proc. Symposium Smolenice, Prague, 1963, p. 162.
  • KotzigA., Decompositions of a complete graph into 4k-gons Matematicky Casopis 151965 229–233(in Russian)
  • RosaA., On certain valuations of the vertices of a graph, theory of graphs International Symposium, Rome, 19661967Gordon and Breach, N.Y. and Dunod Paris349–355
  • GolombS.W., How to number a graphReadR.C.Graph Theory and Computing1972Academic PressNew York23–37
  • TruszczynskiM., Graceful unicyclic graphs Demonstatio Math. 171984 377–387
  • BarrientosC., Graceful graphs with pendant edges Australas. J. Combin. 332005 99–107
  • BaggaJayArumurugamS., New classes of graceful unicyclic graphs Electron. Notes Discrete Math. 482015 27–32
  • Figueroa-CentenoR.IchishimaR.Muntaner-BatleF.OshimaA., Gracefully cultivating trees on a cycle Electron. Notes Discrete Math. 482015 143–150
  • GallianJ.A., A dynamic survey of graph labeling Electron. J. Combin. 202017 DS6
  • AcharyaB.D., Construction of certain infinite families of graceful graphs from a given graceful graph Def. Sci. J. 321982 231–236
  • SethuramanG.ElumalaiA., Packing of any set of graphs into a graceful/harmonious/elegant graph Ars Combin. 762005 297–301
  • SethuramanG.RagukumarP.SlaterPeter J., Embedding an arbitrary tree in a graceful tree Bull. Malays. Math. Sci. Soc. 392016 341–360