Tight Nordhaus-Gaddum-type upper bound for total-rainbow connection number of graphs
Wenjing Li, Xueliang Li, Colton Magnant, Jingshu Zhang

TL;DR
This paper establishes a tight upper bound for the sum of total-rainbow connection numbers of a graph and its complement, confirming a conjecture and characterizing graphs with large total-rainbow connection numbers.
Contribution
It provides a Nordhaus-Gaddum-type upper bound for the total-rainbow connection number and characterizes graphs with large values, solving a previously posed conjecture.
Findings
Proved the bound $trc(G)+trc(ar{G}) ext{ } extless= 2n$ for $n extgreater=6$
Established the bound $trc(G)+trc(ar{G}) extless= 2n+1$ for $n=5$
Provided examples showing the bounds are sharp for $n extgreater=5$
Abstract
A graph is said to be \emph{total-colored} if all the edges and the vertices of the graph are colored. A total-colored graph is \emph{total-rainbow connected} if any two vertices of the graph are connected by a path whose edges and internal vertices have distinct colors. For a connected graph , the \emph{total-rainbow connection number} of , denoted by , is the minimum number of colors required in a total-coloring of to make total-rainbow connected. In this paper, we first characterize the graphs having large total-rainbow connection numbers. Based on this, we obtain a Nordhaus-Gaddum-type upper bound for the total-rainbow connection number. We prove that if and are connected complementary graphs on vertices, then when and when . Examples are given to show…
| 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | |
| 1 | 3 | 3 | 5 | 6 | 7 | 8 | 9 | 11 | 11 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Graph Theory Research · Interconnection Networks and Systems · Graph theory and applications
Tight Nordhaus-Gaddum-type upper bound for
total-rainbow connection number of graphs***Supported by NSFC No.11371205 and 11531011.
Wenjing Li1, Xueliang Li1,2, Colton Magnant3, Jingshu Zhang1
1Center for Combinatorics and LPMC
Nankai University, Tianjin 300071, China
[email protected]; [email protected]; [email protected]
2Department of Mathematics
Qinghai Normal University, Xining, Qinghai 810008, China
3Department of Mathematical Sciences
Georgia Southern University, Statesboro, GA 30460-8093, USA
Abstract
A graph is said to be total-colored if all the edges and the vertices of the graph are colored. A total-colored graph is total-rainbow connected if any two vertices of the graph are connected by a path whose edges and internal vertices have distinct colors. For a connected graph , the total-rainbow connection number of , denoted by , is the minimum number of colors required in a total-coloring of to make total-rainbow connected. In this paper, we first characterize the graphs having large total-rainbow connection numbers. Based on this, we obtain a Nordhaus-Gaddum-type upper bound for the total-rainbow connection number. We prove that if and are connected complementary graphs on vertices, then when and when . Examples are given to show that the upper bounds are sharp for . This completely solves a conjecture in [Y. Ma, Total rainbow connection number and complementary graph, Results in Mathematics 70(1-2)(2016), 173-182].
Keywords: total-rainbow path, total-rainbow connection number, complementary graph, Nordhaus-Gaddum-type upper bound.
AMS Subject Classification 2010: 05C15, 05C35, 05C38, 05C40.
1 Introduction
All graphs considered in this paper are simple, finite, and undirected. We follow the terminology and notation of Bondy and Murty in [4] for those not defined here.
Consider an edge-colored graph where adjacent edges may have the same color. A path of the graph is called a rainbow path if no two edges of the path have the same color. The graph is called rainbow connected if for any two distinct vertices of the graph, there is a rainbow path connecting them. For a connected graph , the rainbow connection number of , denoted by , is defined as the minimum number of colors that are required to make rainbow connected. The concept of rainbow connection of graphs was proposed by Chartrand et al. in [5], and has been well-studied since then. For further details, we refer the reader to the book [13].
In 2014, Liu et al. [14] introduced the concept of total rainbow connection, a generalization of rainbow connection. Consider a total-colored graph, i.e, all its edges and vertices are colored. A path in the graph is called a total-rainbow path if all the edges and inner vertices of the path are assigned distinct colors. The total-colored graph is total-rainbow connected (with respect to a total-coloring ) if every pair of distinct vertices in the graph are connected by a total-rainbow path. In this case, the total-coloring is called a total-rainbow connection coloring (-coloring, for short). For a connected graph , the total-rainbow connection number of , denoted by , is the minimum number of colors that are required to make total-rainbow connected. The following observations are immediate.
Proposition 1.1**.**
Let be a connected graph. Then we have
* if and only if is complete;*
* if is noncomplete;*
* , where is the diameter of .*
A Nordhaus-Gaddum-type result is a (tight) lower or upper bound on the sum or product of the values of a graph parameter for a graph and its complement. The name “Nordhaus-Gaddum-type” is given because Nordhaus and Gaddum [16] first established the following type of inequalities for chromatic number of graphs in 1956. They proved that if and are complementary graphs on vertices whose chromatic numbers are and , respectively, then . Since then, many analogous inequalities of other graph parameters have been considered, such as diameter [8], domination number [7], rainbow connection number [6], (total) proper connection number [9] ([11]), and so on [1, 2, 3, 12]. Both Ma [15] and Sun [17] studied the Nordhaus-Gaddum-type lower bound of the total-rainbow connection number. In [15], Ma proposed the following conjecture.
Conjecture 1**.**
Let and be complementary connected graphs with vertices. Does there exist two constants and such that , where this upper bound is tight.
In this paper, we give a positive solution to this conjecture. We prove that, for , if both and are connected, then
[TABLE]
Thus, we prove that and for .
This paper is organized as follows: In Section 2, we list some useful known results on total-rainbow connection number and study some graphs with clear structure. In Section 3, we characterize graphs that have large total-rainbow connection numbers. In the last section, Section 4, we use the results of Sections 2 and 3 to give the upper bound of and show its sharpness.
2 Preliminaries
We begin with some notation and terminology. For two graphs and , we write if is isomorphic to . Let be a graph, we use , , and to denote the vertex set, the edge set, the order and the complement of , respectively. Let denote the distance between vertices and in . The eccentricity of a vertex , written as , is . The diameter of the graph , written as , is . The radius of the graph , written as , is . A vertex is the center of the graph if . We use to denote a vertex pair and . For a subgraph of , we use for the subgraph obtained from by deleting the edge set , and we use instead of for convenience; similarly, we use for the subgraph obtained from by deleting the vertex together with all its incident edges. An edge is called a pendent edge if one of its end vertices, say , has degree one, and is called a pendent vertex. Let be a graph and be a set of vertices of . The -step open neighborhood of in , denoted by , is for each , where and . We write for and for . For any two subsets and of , let denote the edge set . When and are disjoint, we use to denote the bipartite subgraph of with two partitions and , whose edge set is . Throughout this paper, let denote the circumference of a graph , that is, the length of a longest cycle of . We use and to denote the cycle and the path on vertices, respectively.
Let be a total-coloring of a graph . We use to denote the color of an edge and a vertex , respectively. For a subgraph of , let be the set of colors of the edges and vertices of . Let denote the path between and in .
We first present several results that will be helpful later.
Proposition 2.1**.**
If is a nontrivial connected graph and is a connected spanning subgraph of , then .
Proposition 2.2**.**
[14]** Let be a connected graph on vertices, with vertices having degree at least . Then , with equality if and only if is a tree.
Lemma 2.1** ([17]).**
For a connected graph with cut vertices and cut edges, we have .
Theorem 2.1** ([14]).**
For , the values of are given in the following table.
For , we have
We rewrite the theorem in terms of . Note that when the graph is simply a cycle , we have in this case.
Theorem 2.2**.**
For , we have
[TABLE]
To split a vertex is to replace by two adjacent vertices, and , and to replace each edge incident to by an edge incident to either or (but not both), the other end of each edge remaining unchanged. Note that the resulting graph is not unique in general. But in this paper, we only split cut vertices. So we stipulate that the new edges incident with the same component of are incident with the same new vertex. To subdivide an edge is to delete , add a new vertex , and join to the ends of .
If a connected graph is obtained from a connected graph by adding a vertex, subdividing an edge or splitting a cut vertex, then we can give a -coloring based on the -coloring of the original graph with the addition of at most two new colors. So we have the following observation.
Observation 1**.**
Let be a connected graph, and be a connected graph obtained from by repeatedly adding a vertex, subdividing an edge or splitting a cut vertex. If , where is a constant, then . Moreover, if is a graph obtained from by adding a pendent vertex to a cut vertex of , then .
Let be a connected unicyclic graph and be the cycle of such that . Let , where denotes the component containing in the subgraph . An element of is called nontrivial if it contains at least on edge. Clearly, each is a tree rooted at for . If a pendent vertex (leaf) of belongs to , then we also say is a pendent vertex of , and the pendent edge incident with it is a pendent edge of . We say that and are adjacent (nonadjacent) if and are adjacent (nonadjacent) in the cycle . If there is only one element in , say , and is a nontrivial path in which is a leaf, then we use to denote such a graph . Based on Theorem 2.2 and Observation 1, we easily get the values of .
Theorem 2.3**.**
Let be a connected graph of order , where . Then we have
[TABLE]
Proof.
First of all, . For the upper bound, by Theorem 2.2 and Observation 1, we get if ; if or ; if or . So the result holds when .
For or , we provide a total-coloring of as follows: let and . Then color with the colors , omitting and . Finally, assign a fresh color to each other edge or inner vertex, and color the leaf with . It is easy to check that this coloring is a -coloring of with colors and the result holds in this case.
For and is even, we define the following total-coloring for : for , let (where ), and (mod ), assign a fresh color to each other edge and inner vertex, and finally color the leaf with . Clearly, this total-coloring with colors makes total-rainbow connected and so the result holds when and is even.
For odd , with , the total-coloring defined above is also well-defined. Then . On the other hand, take a total-coloring of with fewer than colors. Then there are elements of with the same color. From the proof of Theorem 2.1 in [14], this is impossible. So in this case.
For odd with , let . Now we provide a total-coloring of as follows: We assign with the colors . Assign a fresh color to each other edge or inner vertex, and color the leaf with . It is not hard to check that this total-coloring is a -coloring of with colors, and then in this case.
Thus, our result holds. ∎
Throughout this paper, we will define graph classes to be the sets of graphs with , respectively, where is an integer. For , let is a unicyclic graph, , contains only nontrivial elements, and contains leaves, where is a positive integer. Let and be the classes of graphs as shown in Fig (we use the other graph classes in Fig later). Note that in every graph of Fig , each solid line represents an edge, and each dash line represents a path. Sun [17] got a sharp upper bound for the total-rainbow connection number of a connected unicyclic graph with . For a connected graph , we use to denote the number of inner vertices of .
Lemma 2.2** ([17]).**
For a connected unicyclic graph with , we have ; moreover, if and only if .
Let is a unicyclic graph, contains only one nontrivial element (say is nontrivial), is a unicyclic graph, contains only two adjacent trivial elements (say both and are trivial), is a unicyclic graph, contains only two nonadjacent trivial elements (say both and are trivial), is a unicyclic graph, contains only one trivial element (say is trivial), is a unicyclic graph, , all elements of are nontrivial, and contains leaves, where is a positive integer and . Sun [17] also investigated the total-rainbow connection number of a connected unicyclic graph with .
Lemma 2.3** ([17]).**
For a connected unicyclic graph with , we have ; moreover, if and only if .
3 Characterizing graphs with large total-rainbow connection number
To get our main result, we need to characterize all connected graphs of order with .
We begin with unicyclic graphs. For a cycle , by Theorem 2.1, we have if ; if ; if and if . In the following, we consider a unicyclic graph which is not a cycle. Firstly, we investigate a connected graph with . Let be the class of graphs shown in Fig and let , .
Theorem 3.1**.**
Let be a connected unicyclic graph of order , which is not a cycle, with . Then we have if ; if ; if ; if ; otherwise, .
Proof.
We need to consider the following three cases.
Consider the graphs in . It follows from Lemma 2.2 that if , and the results hold.
Consider the graphs in . From Lemma 2.2, we get if , if , if and if . Thus, we only need to consider the graphs in . Combining Lemmas 2.1 and 2.2 with the fact that there are cut edges and cut vertices in , we have if and if . The results hold in this case.
Consider the graphs in , and without loss of generality, assume is nontrivial. Note that if , since . Then by Lemma 2.1, Theorem 2.3, Observation 1 and the fact that there a total of cut vertices and cut edges in , we get if , where .
We first focus on the graphs . Without loss of generality, suppose are the two leaves of and is the common part of two paths and . Let be a -coloring of with colors. The cut vertices and cut edges in cannot be colored the same. Thus, we have , say . If , then there is no total-rainbow path between and , deducing . Consider the vertex pair , the only possible total-rainbow path must go through the edge , meaning . Then there is no path to total-rainbow connect the vertices and , a contradiction. Thus, we have when .
Next, we concentrate on the graphs . Recall that . With a similar argument as above, we have if . It can be easily checked that the total-coloring shown in Fig makes total-rainbow connected, so . Actually, any graph is obtained from by splitting and repeatedly subdividing the edges of . So by Observation 1, we obtain . Thus, we have for . Similarly, combining Observation 1 with the total-coloring of shown in Fig , we get for Now, we get our results in this case.
Thus, our proof is complete. ∎
Secondly, we consider the connected unicyclic graphs with . Let and be the classes of graphs shown in Fig and let and . Let be a subclass of , in which there are two pendent vertices belonging to .
Theorem 3.2**.**
For a connected unicyclic graph of order , which is not a cycle, with , we have if ; if ; if ; otherwise, .
Proof.
In the following argument we distinguish two cases.
() We consider the graphs in . It follows from Lemma 2.3 that if , and if . And the results hold in this case.
() We consider the graphs in , and without loss of generality, we assume is nontrivial. Note that if , since . With Observation 1 and , we also have if .
() We first focus on the graphs in . We use to denote the pendent vertices of , and the common part of two paths and . Let be a -coloring of with colors. Since contains cut vertices and cut edges of , these vertices and edges have pairwise distinct colors and . Thus, we deduce . Without loss of generality, we assume that . Consider the vertex pair , the only possible total-rainbow path must go through the path , implying . Then there is no path to total-rainbow connect the vertices and , a contradiction. The argument is similar if . Thus, we conclude that . Actually, a graph in is obtained from or by splitting and repeatedly subdividing the edges of . It can be easily verified that the total-colorings shown in Fig make and total-rainbow connected, respectively. Together with Observation 1, we obtain if and if . Now, we get if . Since , we have if .
With an analogous argument as above, the results hold for the graphs in .
() Next, we concentrate on the graphs . By Observation 1 and subcase , we have . Let be the three pendent edges of . Let be a -coloring of with colors. Since contains cut vertices and cut edges of , these vertices and edges have pairwise distinct colors and . Thus, there is only one fresh color left to color except the vertex ; and we have , since . Without loss of generality, we assume that and . Then consider the vertex pair , the only possible total-rainbow path must go through the path , implying . Now consider the vertex pair , forcing . Then there is no path to total-rainbow connect the vertices and , a contradiction. The arguments are similar for other possible occasions. So . Thus, we get .
We can consider the graphs in similarly, and the results hold. By the -coloring of shown in Fig , Observation 1 and the above arguments, we easily get in all other cases. Thus, we complete the proof. ∎
Thirdly, we turn to the connected unicyclic graphs with . From Theorem 2.3 and Observation 1, we have if , and if or . Let is a unicyclic graph, contains only two nontrivial elements, . Based on Proposition 1.1 , Theorem 2.3 and Observation 1 and the -colorings of the graphs and shown in Fig , respectively, we can easily get the following result.
Theorem 3.3**.**
Let be a connected unicyclic graph of order , which is not a cycle, with . Then we have if ; otherwise, .
The only connected unicyclic graphs that remain to be considered have . Let is a unicyclic graph, contains only one nontrivial element, is a unicyclic graph, contains only two nonadjacent nontrivial elements, is a unicyclic graph, contains only two adjacent nontrivial elements, is a unicyclic graph, contains only two adjacent trivial elements, is a unicyclic graph, , contains only two nonadjacent trivial elements, and contains leaves, where is a positive integer and .
Theorem 3.4**.**
Let be a connected unicyclic graph of order , which is not a cycle, with . Then we have if ; if ; otherwise, .
Proof.
By Theorem 2.3, Observation 1, the -colorings of the graph and shown in Fig , and the fact that , we easily get that if ; otherwise, . Moreover, we have if .
We consider the graphs , and without loss of generality, we suppose that is nontrivial with two leaves , and is the common part of two paths and . Let be a -coloring of with colors. Since contains cut vertices and cut edges of , these vertices and edges have pairwise distinct colors and . Thus, there are only two remaining unused colors left to color other than the vertex ; and we have , since . Consider the vertex pair , we have . Without loss of generality, we assume that and . Then consider the vertex pair , the only possible total-rainbow path must go through the path , implying at least one element of belongs to . Now consider the vertex pair , the only possible total-rainbow path must go through the edge , forcing . Then there is no path to total-rainbow connect the vertices and , a contradiction. The arguments are similar for other possible occasions. So . Thus, we get . Analogously, the results hold if .
Next, we consider the graphs , say and are nontrivial. Let be the leaf of for . Let be a -coloring of with colors. Since and contain cut vertices and cut edges of , these vertices and edges have pairwise distinct colors and . Thus, there is only one remaining unused color left to color other than the vertices ; and we have , since . Consider the vertex pair , the only possible total-rainbow path must go through the edge , forcing . Then consider the vertex pair , if the total-rainbow path goes through the path , then at least elements of belong to , inducing there is no path to total-rainbow connect the vertex pair or . This means that . Now, consider the vertex pair , the only possible total-rainbow path must go through the path , implying . Then there is no path to total-rainbow connect the vertices and , a contradiction. So , and holds.
Finally, we consider the graphs , with and all nontrivial. Let be the leaf of for . Let be a -coloring of with colors. Since and contain cut vertices and cut edges of , these vertices and edges have pairwise distinct colors and . Thus, there is only one remaining unused color left to color except the vertices ; and we have , since . Consider the vertex pair , if the total-rainbow path goes through the path , then at least elements of belong to , inducing there is no path to total-rainbow connect the vertex pair or . So the total-rainbow path must go through the path , implying at least one of and belongs to , say . Then consider the vertex pair , the only possible total rainbow path must go through the path . Similarly, there is no total-rainbow path to connected the vertex pair or , a contradiction. The arguments are analogous for the other subcases. So . Therefore, we get .
Thus, our proof is complete. ∎
So far, we have investigated all the connected unicycle graphs. Next, we focus on the connected graphs with at least two cycles. Let is a connected graph of order with at least two cycles. When dealing with a graph , we first find a spanning unicyclic subgraph of and use Proposition 2.1 or define a -coloring of to get an upper bound of , then we verify whether the bound is tight. The arguments are similar as above, so we omit the details. Let . The possible structure of each graph in is shown in Fig , where at least one of the edges and must exist. Note that in every graph of Fig , each solid line represents an edge, each dash line represents a nontrivial path, and each dot line represents an edge or a path which can be trivial. Based on Proposition 2.1 and Theorem 3.3, Theorem 3.5 follows.
Theorem 3.5**.**
Let be a connected graph of order , with . Then we have if ; otherwise, .
Then consider the connected graphs in with . Let . The structure of each graph in is shown in Fig , where at least one of the edges ,and must exist. Let be the classes of graphs shown in Fig , respectively, where is nontrivial. Let be a class of graphs in which each graph is obtained by adding the edge to a graph in . We set . Let be the graph obtained from by adding a vertex adjacent to both and , be the graph obtained from by adding the edge , and be the graph obtained from by first adding the edges and , and then adding a pendent vertex to the vertex . It is easy to check for . Using Proposition 2.1 and Theorem 3.4, we can easily get the results about the graphs in with .
Theorem 3.6**.**
Let be a connected graph of order , with . Then we have if ; if ; otherwise, .
Consider the connected graphs in with . Let . Actually, each graph in is obtained by adding the edge to a graph in . By Observation 1 and Theorem 2.3, we have if . Let . All the possible structures are illustrated in Fig . Note that in each graph of Fig , each solid line represents an edge, each dash line represents a nontrivial path, and each dot line represents an edge or a path which can be trivial. Let be a graph of order with vertex set and edge set . It is not hard to check . For convenience we use to denote a subclass of , shown in Fig . And let . Let be a class of graphs, in which each graph is obtained by adding the edge to a graph of . And let be classes of graphs, in which each graph is obtained by adding the edge to a graph in , respectively. Moreover, set . Let be a class of graphs shown in Fig . Then let be a class of graphs, in which each graph is obtained by adding the edges and to a graph of . We set . By Proposition 2.1 and Theorem 3.2, it is not hard to obtain the following theorem.
Theorem 3.7**.**
For a connected graph of order , with , we have if ; if ; if ; otherwise, .
Finally, there remain only the connected graphs in with left to consider. Let . The possible structure is illustrated in Fig . Let - be the classes of graphs shown in Fig . We set . With the use of Proposition 2.1 and Theorem 3.1, we obtain the result concerning the graphs in with .
Theorem 3.8**.**
For a connected graph of order , with , we have if ; if ; otherwise, .
Let is a tree of order with leaves. Actually, . Using Proposition 2.2, we get if . We close this section with our final characterization of graphs having large total-rainbow connection number, a compilation of the results presented in this section.
Theorem 3.9**.**
Let be a connected graph of order . Then
* if and only if ;*
* if and only if ;*
* if and only if ;*
* if and only if ;*
* if and only if ;*
* if and only if .*
4 Upper bound on
Based on the results of Section , we give the Nordhaus-Gaddum-type upper bound of total-rainbow connection number of graphs. At first, we investigate total-rainbow connection numbers of bridgeless graphs with diameter .
Proposition 4.1** ([10]).**
If is a bridgeless graph with diameter , then either is -connected, or has only one cut-vertex . Furthermore, the vertex is the center of , and has radius .
Lemma 4.1** ([10]).**
Let be a bridgeless graph with diameter . If has a cut vertex, then .
Given the edge-coloring in the proof of Lemma 4.1 of [10], we can obtain a -coloring of a bridgeless graph of diameter with a cut-vertex by assigning to the vertex and to the other vertices of .
Corollary 4.1**.**
Let be a bridgeless graph with diameter . If has a cut-vertex, then .
Lemma 4.2** ([10]).**
If is a -connected graph with diameter , then .
We deal with a -connected graph in a similar way.
Corollary 4.2**.**
If is a -connected graph of order with diameter , then .
Proof.
Pick a vertex in arbitrarily. Let there exists a vertex in such that . We first assume that . We construct a new graph . The vertex set of is , and the edge set is , and are connected by a path of length at most in , and . It has been proved in [10] that the graph is connected. Let be a spanning tree of , and let be the bipartition defined by . Now, divide as follows. For , let . For , let , and . As in [10], at least one of and is empty, and suppose . Obviously, both and are independent sets.
Let , and let be a subset of such that and is minimum. Moreover, we choose as a vertex in such that is maximum, as a vertex in such that is maximum, and so on. Clearly, since is -connected, and any two vertices of has a common neighbor in since . Now, we provide a total-coloring of . Firstly, we use colors and to color the edges : we set if ; if ; if ; if , or otherwise. For the edges and , we set where , and color the other edges with . Then we use color to color the vertex , to color the vertices in , and to color the vertices in . We color the vertices with colors , respectively. If , then we use to color the other vertices in ; otherwise, we use to color the other vertices in . Using Table in [10], one can verify that the above total-coloring makes total-rainbow connected.
Clearly, . According to the total-coloring of defined above, the following is obvious. When , we have if . When , the result holds if or and . Based on Observation 1, Theorem 2.1 and 2.3, we can easily check that when .
Analogously, we deal with the case and get the result. For details, we refer to [10]. ∎
We have checked all the -connected graphs with vertices and found that . So we propose the following conjecture.
Conjecture 2**.**
Let be a -connected graph of order . Then we have if or ; and , otherwise. Moreover, the upper bound is tight, which is achieved by the cycle for .
Combining Proposition 4.1 with Corollaries 4.1 and 4.2, we get the following theorem.
Theorem 4.1**.**
If is a bridgeless graph of order with diameter , then .
Before stating our main result, we give some important results needed in the proof of our main theorem. We first list a theorem concerning the total-rainbow connection number of a complete bipartite graph , where .
Theorem 4.2** ([14]).**
For , we have .
Remark:* For , we define a strong -coloring of a complete bipartite graph as follows: given a -coloring of , we require that the colors of the vertices in different partitions are distinct. In details, when , we reserve the total-coloring of ; otherwise, reverse the edge-coloring of , and assign a new color to the vertices of one partition and to the vertices of the other partition, respectively, where . According to the proof of Theorem 4.2, we still use at most colors to get a strong -coloring of .*
Theorem 4.3** ([18]).**
Let be a connected graph with connected complement . Then
* if , then ,*
* if , then has a spanning subgraph which is a double star.*
When investigating the total-rainbow connection number of a connected graph with diameter in terms of its complement , we can give a constant as its upper bound.
Theorem 4.4**.**
Let be a connected graph with . Then .
Proof.
First of all, we note that must be connected, since otherwise, , contradicting the assumption that . Choose a vertex with . Relabel for each and . In the following, we use instead of for convenience. By the definition of , we know that (and similarly ,) is a complete bipartite graph. We give a total-coloring as follows: we first set for each edge ; for each vertex ; for each edge ; ; for each edge , for each vertex ; for each edge . Then color the other edges arbitrarily (e.g., all of them are colored with ). One can easily verify that this is a -coloring of , implying . ∎
By Lemmas 2.2 and 2.3, we can easily give an upper bound of when is a connected graph, whose complement is a connected graph with .
Lemma 4.3**.**
Let be a connected graph of order with diameter . If is connected, then . Moreover, the equality holds if and only if is isomorphic to a double star.
Proof.
It follows from Theorem 4.3 that contains a double star . If , then by Proposition 2.2. Otherwise, contains a unicyclic spanning subgraph with or and all the other vertices are leaves. Therefore, by Proposition 2.1, Lemmas 2.2 and 2.3, we get . ∎
We know that if and are connected complementary graphs on vertices, then is at least . By Theorem 3.9, we get that . Similarly, we have . Hence, we obtain that . For , it is obvious that if both and are connected. Now, we give our main result.
Theorem 4.5**.**
Let be a graph of order . If both and are connected, then we have if ; if ; if . Moreover, these upper bounds are tight.
Proof. The claim has already been established above for . We distinguish two cases according to the value of .
. Firstly, we assume or . Let . Now we define a total-coloring of as follows: let , and assign the color to each vertex. It can be easily checked that this total-coloring with colors makes total-rainbow connected. It follows . Since by Theorem 3.9, we obtain that in this case.
Secondly, we suppose that or , say . There is only one possible element in , whose complement is a graph in , implying . Since by Theorem 3.9, we get in this case. Thus, the upper bound is sharp when .
In other cases, we have and , so . Therefore, our result holds when .
. We first deal with graphs that have total-rainbow connection number at least , and then other graphs.
Suppose that , that is, by Theorem 3.9. Let . Based on the total-coloring of defined as above, we set mod , and for each , and color the remaining edges arbitrarily (e.g., all of them are colored with [math]). Obviously, the vertices and are total-rainbow connected by the path , where . So this total-coloring with colors makes total-rainbow connected, and holds since . Thus, we have that . The argument is the same when and the result holds in this case. Moreover, the upper bound is tight.
We now suppose that , that is, by Theorem 3.9. Let be the vertex of with degree , and let be the three pendent vertices of . Then set , where and , respectively. We have ; moreover, since . We provide a total-coloring of as follows: let (if or exists), , , , assign the color to each vertex, and color the remaining edges arbitrarily (e.g., all of them are colored with [math]). The vertex pair is total-rainbow connected by a path or (note that at least one of the vertices and must exist), and the vertex pair (or ) is total-rainbow connected by a path (or ). The vertex pair is total-rainbow connected by a path . Similarly, we can find the total-rainbow paths connecting the vertex pairs and , respectively. So this is a -coloring of with colors, implying . Thus, we get . The argument is the same when and the result holds in this case.
Then we turn to the case where . At first, we suppose has at least two pendent edges, say and , where and are two pendent vertices of . If , then contains an as its spanning subgraph; if , then contains an as its spanning subgraph. It is easy to check that the total-colorings shown in Fig make and total-rainbow connected, respectively. It follows from Proposition 2.1 that , and so holds. In the following, we suppose has only one pendent vertex.
We assume that is a graph in with one pendent vertex . We have by Theorem 3.9. Let , where . When , we define a total-coloring of : let and assign to each vertex. This is obviously a -coloring of (in fact, is a tricyclic graph with , so we have from Theorem 3.6). Therefore, we get . When , based on the total-coloring defined as above, we set , and for each . Color the remaining edges arbitrarily (e.g., all of them are colored with [math]). Obviously, the vertex pair is total-rainbow connected by the path , where . Thus, this total-coloring with colors makes total-rainbow connected, implying . Hence, we have in this subcase. Similarly, we have if .
In total, we have proved if satisfies . The argument is the same if . Therefore, the result holds in this case.
In the following argument, we assume that and . Obviously, the result holds when . Thus, we assume that in the following. By the connectivity we know that the diameters of and are both greater than . So we consider the following four cases. By symmetry, we suppose .
If , by Theorem 4.4, we get , thus .
If , then by Theorem 4.3, both and have a spanning subgraph which is a double star, say and , respectively. By Lemma 4.3, we have , with equality if and only . Similarly we have . If one of and is isomorphic to a double star, say , then contains an as its spanning subgraph, thus . Otherwise, both and are less than , also implying . Hence, the result holds in this subcase.
If , then we can deduce that (and ) is -connected, otherwise (respectively ) has an isolated vertex. By Corollary 4.2, both and , thus .
If and , we consider whether is -connected. Recall that . From Theorem 3.9, we note that under this condition, . And there are only four possible graphs with (in fact, ). All of them have vertices. So holds when the graph satisfies . In the following argument, we assume that . Again is -connected, so by Corollary 4.2. Thus, it suffices to consider this case under the assumption .
. The graph has cut vertices. Let be a cut vertex of , let be the components of , and let be the number of vertices in for with . We consider the following two subcases.
There exists a cut vertex of such that . Since , we have . We know that contains a spanning complete bipartite subgraph . Hence, it follows from Theorem 4.2 that . Given a strong -coloring of based on Theorem 4.2, if we assign a new color to an edge between and , and color the other edges and vertices arbitrarily (e.g., all of them are colored with ), the resulting total-coloring makes total-rainbow connected. Thus, we have . Together with the assumption , we have in this subcase.
Every cut vertex of satisfies that . If has at least pendent edges, then contains an as its spanning subgraph, thus we get . If has only one pendant edge , where is the pendent vertex of , then is -connected. Thus we have from Corollary 4.2. Given a -coloring of , if we assign a new color to the vertices and , and to the edge , respectively, then the resulting total-coloring makes total-rainbow connected. Thus, we get , and the result holds in this subcase.
. The graph is -connected. Let be a vertex of such that . For convenience, we relabel , , and . And let , and . Clearly, both and hold.
and say . If is -edge-connected, then we have from Theorem 4.1. Similarly to Subcase , we get .
Otherwise, has bridges, and let be a bridge of . If is not a pendent edge of , then the graph contains two components, each of which has at least vertices. The graph contains a spanning complete bipartite subgraph. With a similar argument as Subcase , we obtain . If is a pendent edge of , then one of the vertices and , say , is a neighbor of , otherwise, is a bridge of , a contradiction. That means is a vertex of degree in and . Moreover, . Now, we provide a total-coloring of with colors by first letting for each edge ; , , , , , and for each edge . Then set and color the other edges and vertices arbitrarily (e.g., all of them are colored with ). It’s easy to check this total-coloring is a -coloring of , and so we have . Together with the assumption , we get .
. The following claim holds.
Claim: .
Proof.
We divide in into three parts , and , where
there exists a vertex in such that ,
there exists a vertex in such that ,
and .
Note that pick an arbitrarily vertex in , for each vertex , there exists a vertex such that is a common neighbor of the vertices and , since . Moreover, is a complete bipartite graph. Given a strong -coloring of based on Theorem 4.2, we provide a total-coloring of . Set for each edge , for each edge , , and for each edge . For any vertex , choose a neighbor of in . Set , where is a neighbor of in . For each edge , we set . And we color the other edges and vertices arbitrarily (e.g., all of them are colored with ).
Now, we verify the above total-coloring makes total-rainbow connected. We only need to consider the vertex pairs . If , then the path is a desired total-rainbow path, where and . If , then the path is a desired total-rainbow path, where is a neighbor of in . If , then the path is a desired total-rainbow path, where , and . Thus, this total-coloring is a -coloring of , and so . ∎
If , we see that contains a spanning bicyclic subgraph with , since and is -connected. With an easy calculation based on Observation 1, Theorem 2.1 and Theorem 2.3, we get if . Therefore, we obtain in this subcase.
Our proof is complete now.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] N. Achuthan, N.R. Achuthan, L. Caccetta, On the Nordhaus-Gaddum problems, Australasian J. Combin. 2(1990), 5-27.
- 2[2] Y. Alavi, J. Mitchem, The connectivity and edge-connectivity of complementary graphs, Lecture Notes in Math. 186(1971), 1-3.
- 3[3] M. Aouchiche, P. Hansen, A survey of Nordhaus-Gaddum type relations, Discrete Appl. Math. 161(4-5)(2013), 466-546.
- 4[4] J.A. Bondy, U.S.R. Murty, Graph Theory with Applications , The Macmillan Press, London and Basingstoker, 1976.
- 5[5] G. Chartrand, G.L. Johns, K.A. Mc Keon, P. Zhang, Rainbow connection in graphs , Math. Bohem. 133(1)(2008), 85-98.
- 6[6] L. Chen, X. Li, H. Lian, Nordhaus-Gaddum-type theorem for rainbow connection number of graphs, Graphs & Combin. 29(5)(2013), 1235–1247.
- 7[7] F. Harary, T.W. Haynes, Nordhaus-Gaddum inequalities for domination in graphs , Discrete Math. 155(1996), 99-105.
- 8[8] F. Harary, R.W. Robinson, The diameter of a graph and its complement , Amer. Math. Monthly 92(1985), 211-212.
