Total proper connection and graph operations
Yingying Zhang, Xiaoyu Zhu
Center for Combinatorics and LPMC
Nankai University, Tianjin 300071, China
E-mail: [email protected]; [email protected]
Abstract
A graph is said to be total-colored if all the edges and vertices of the graph are colored. A path in a
total-colored graph is a total proper path if (i) any two adjacent edges on the path differ in color,
(ii) any two internal adjacent vertices on the path differ in color, and (iii) any internal vertex of the path
differs in color from its incident edges on the path. A total-colored graph is called total-proper connected
if any two vertices of the graph are connected by a total proper path of the graph. For a connected graph G,
the total proper connection number of G, denoted by tpc(G), is defined as the smallest number of colors
required to make G total-proper connected. In this paper, we study the total proper connection number for the graph operations. We find that 3 is the total proper connection number for the join, the lexicographic product and the strong product of nearly all graphs. Besides, we study three kinds of graphs with one factor to be traceable for the Cartesian product as well as the permutation graphs of the star and traceable graphs. The values of the total proper connection number
for these graphs are all 3.
Keywords
: total-colored graph, total proper connection, join, Cartesian product, permutation graph, lexicographic product, strong product
AMS subject classification 2010
: 05C15, 05C38, 05C40, 05C76.
1 Introduction
In this paper, all graphs considered are simple, finite and undirected. We refer to the book [3] for
undefined notation and terminology in graph theory. A path in an edge-colored graph is a proper path
if any two adjacent edges differ in color. An edge-colored graph is proper connected if any two
vertices of the graph are connected by a proper path of the graph. For a connected graph G, the
proper connection number of G, denoted by pc(G), is defined as the smallest number of colors
required to make G proper connected. Note that pc(G)=1 if and only if G is a complete graph.
The concept of pc(G) was first introduced by Borozan et al. [4] and has been well-studied recently.
We refer the reader to [2, 4, 7, 14, 19] for more details.
As a natural counterpart of the concept of proper connection, the concept of proper vertex connection
was introduced by Jiang et al. [12]. A path in a vertex-colored graph is a vertex-proper path
if any two internal adjacent vertices on the path differ in color. A vertex-colored graph is
proper vertex connected if any two vertices of the graph are connected by a vertex-proper
path of the graph. For a connected graph G, the proper vertex connection number of G, denoted
by pvc(G), is defined as the smallest number of colors required to make G proper vertex connected.
Especially, set pvc(G)=0 for a complete graph G. Moreover, we have pvc(G)โฅ1 if G is a
noncomplete graph.
Actually, the concepts of the proper connection and proper vertex connection were inspired by the concepts
of the rainbow connection and rainbow vertex connection. For details about them we refer to [8, 15, 16, 18]. Here we only state the concept of the total rainbow connection of graphs, which was
introduced by Liu et al. [17] and also studied in [10, 22]. A graph is total-colored if all the
edges and vertices of the graph are colored. A path in a total-colored graph is a total
rainbow path if all the edges and internal vertices on the path differ in color. A total-colored graph is
total-rainbow connected if any two vertices of the graph are connected by a total rainbow path of the graph.
For a connected graph G, the total rainbow connection number of G, denoted by trc(G), is defined as the
smallest number of colors required to make G total-rainbow connected. Motivated by the concept of the total rainbow
connection, for the proper connection and proper vertex connection Jiang et al. [11] introduced the concept of the total proper
connection. A path in a total-colored graph is a total proper path if (i) any two adjacent edges on the path
differ in color, (ii) any two internal adjacent vertices on the path differ in color, and (iii) any internal vertex of
the path differs in color from its incident edges on the path. A total-colored graph is total-proper connected
if any two vertices of the graph are connected by a total proper path of the graph. For a connected graph G,
the total proper connection number of G, denoted by tpc(G), is defined as the smallest number of colors
required to make G total-proper connected. It is easy to obtain that tpc(G)=1 if and only if G is a complete
graph, and tpc(G)โฅ3 if G is not complete. Moreover,
[TABLE]
We recall some fundamental results on tpc(G) which can be found in [11].
Proposition 1**.**
[11]** If G is a nontrivial connected graph and H is a connected spanning subgraph of G, then tpc(G)โคtpc(H).
In particular, tpc(G)โคtpc(T) for every spanning tree T of G.
Proposition 2**.**
[11]** Let G be a connected graph of order nโฅ3 that contains a bridge. If b is the maximum number of bridges
incident with a single vertex in G, then tpc(G)โฅb+1.
Let ฮ(G) denote the maximum degree of a connected graph G. We have the following.
Theorem 1**.**
[11]** If T is a tree of order nโฅ3, then tpc(T)=ฮ(T)+1.
The consequence below is immediate from Proposition 1 and Theorem 1.
Corollary 1**.**
[11]** For a nontrivial connected graph G,
[TABLE]
A Hamiltonian path in a graph G is a path containing every
vertex of G and a graph having a Hamiltonian path is a traceable graph. We get the following result.
Corollary 2**.**
[11]** If G is a traceable graph that is not complete, then tpc(G)=3.
Let Km,nโ denote a complete bipartite graph, where 1โคmโคn. Clearly,
tpc(K1,1โ)=1 and tpc(K1,nโ)=n+1 if nโฅ2. For mโฅ2, we have the result below.
Theorem 2**.**
[11]** For 2โคmโคn, we have tpc(Km,nโ)=3.
Theorem 3**.**
[11]** Let G be a 2-connected graph. Then tpc(G)โค4 and the upper bound is sharp.
The standard products (Cartesian, direct, strong, and lexicographic) draw a constant attention of graph research community, see some papers [1, 5, 9, 13, 20, 21, 23, 24]. In this paper we consider the join, permutation graph and three standard products: the Cartesian, the strong, and the lexicographic with respect to the total proper connection number. Each of them will be treated in one of the forthcoming sections. In Section 2,5 and 6, we prove that 3 is the total proper connection number for the join, the lexicographic product and the strong product of nearly all graphs, respectively. In Section 3, we study three kinds of graphs with one factor to be traceable for the Cartesian product, and obtain that the values of the total proper connection number of these graphs are all 3. In Section 4, we show that the total proper connection numbers of the permutation graphs of the star and traceable graphs are also 3.
2 Joins of graphs
The join GโจH of two graphs G and H has vertex set V(G)โชV(H) and its edge set consists of E(G)โชE(H) and the set {uv:uโV(G) and vโV(H)}.
Theorem 4**.**
If G and H are connected graphs such that GโจH is not complete, then tpc(GโจH)=3.
Proof. If G and H are both nontrivial connected graphs such that GโจH is not complete, then GโจH contains the graph in Theorem 2 as a spanning subgraph. By Proposition 1 and Theorem 2, it follows that tpc(GโจH)=3. Thus we may assume that G is a nontrivial connected graph of order at least 3 that is not complete and H=K1โ where V(H)={w}. Since GโจK1โ is not complete, it follows that tpc(GโจK1โ)โฅ3 and so it remains to show that tpc(GโจK1โ)โค3. Let T be a spanning tree of G. By Proposition 1, it suffices to show that tpc(TโจK1โ)โค3. For a vertex vโV(T), let
eTโ(v) denote the eccentricity of v in T, i.e., the maximum
of the distances between v and the other vertices in T. Let
Viโ={uโV(T):dTโ(u,v)=i}, where 0โคiโคeTโ(v).
Hence V0โ={v}. Define a 3-coloring c of the vertices and edges of TโจK1โ by
[TABLE]
[TABLE]
[TABLE]
Let x and y be two vertices of TโจK1โ. Since w is adjacent to every vertex in T, we may assume x,yโV(T). First, suppose that xโViโ and yโVjโ, where 0โคi<jโคeTโ(v). If i and j are of opposite parity, then the path xwy is a total proper x-y path in TโจK1โ. Thus we may assume that i and j are of the same parity and so jโiโฅ2. Let zโVjโ1โ such that yz is an edge of T. Then the path xwzy is a total proper x-y path in TโจK1โ. Next, suppose that x,yโViโ for some i with 1โคiโคeTโ(v). Let zโViโ1โ such that xz is an edge of T. Then the path xzwy is a total proper x-y path in TโจK1โ. Hence for any two vertices x and y in TโจK1โ, there exists a total proper path between them and so tpc(TโจK1โ)โค3. Therefore, tpc(GโจH)=3.โ
3 The Cartesian product
The Cartesian product GโกH of two graphs G and H is the graph with vertex set V(G)รV(H), in which two vertices (g,h) and (gโฒ,hโฒ) are adjacent if and only if g=gโฒ and hhโฒโE(H), or h=hโฒ and ggโฒโE(G). Clearly, the Cartesian product is commutative, that is, GโกH is isomorphic to HโกG. Moreover, GโกH is 2-connected whenever G and H are connected. From Theorem 3, we have that 3โคtpc(GโกH)โค4. In this section, we mainly study three kinds of graphs with one factor to be traceable for the Cartesian product, and obtain that the values of the total proper connection number of these graphs are all 3.
Theorem 5**.**
Let G and H be two nontrivial traceable graphs with โฃGโฃ=n and โฃHโฃ=m. Then tpc(GโกH)=3.
Proof. Clearly, Pnโ and Pmโ are spanning subgraphs of G and H, respectively. Since PnโโกPmโ is traceable, it follows that tpc(PnโโกPmโ)=3 by Corollary 2. Moreover, PnโโกPmโ is a spanning subgraph of GโกH. From Proposition 1, we have that tpc(GโกH)โคtpc(PnโโกPmโ). Thus tpc(GโกH)โค3. Since GโกH is not complete, tpc(GโกH)โฅ3 and so tpc(GโกH)=3.โ
Theorem 6**.**
Let G be a nontrivial traceable graph and H be a connected graph with maximum degree โฃHโฃโ1. Then tpc(GโกH)=3.
Proof. Since GโกH is not complete, we just need to show that tpc(GโกH)โค3. Let Pnโ=g1โg2โ...gnโ be a spanning subgraph of the nontrivial traceable graph G, where nโฅ2. And let K1,sโ be a spanning subgraph of H with V(K1,sโ)={h0โ,h1โ,...,hsโ}, where s=โฃHโฃโ1 and h0โ is the central vertex. Then PnโโกK1,sโ is a spanning subgraph of GโกH and so it suffices to show that tpc(PnโโกK1,sโ)โค3 by Proposition 1. From Theorem 5, we only need to consider the case that sโฅ3.
Define a 3-coloring c of the vertices and edges of PnโโกK1,sโ by
[TABLE]
[TABLE]
[TABLE]
It remains to check that there is a total proper path between any two vertices (giโ,hkโ),(gjโ,htโ) in PnโโกK1,sโ, where 1โคi,jโคn and 0โคk,tโคs. For i=j, if k=0 or t=0, then the edge (giโ,hkโ)(gjโ,htโ) is the desired path; if k=1 or t=1, then the desired path is (giโ,hkโ)(giโ,h0โ)(gjโ,htโ); if 2โคk,tโคs, then the desired path is (giโ,hkโ)(giโ,h0โ)(giโ,h1โ)(gโ,h1โ)(gโ,h0โ)(gโ,htโ)(gjโ,htโ), where gโ is a neighbor of giโ in Pnโ. For 2โคi1โ,ipโโคs, where 2โคpโคn and p is even, set P=(g1โ,hi1โโ)(g1โ,h0โ)(g1โ,h1โ)(g2โ,h1โ)(g2โ,h0โ)(g2โ,hi2โโ)(g3โ,hi2โโ)(g3โ,h0โ)(g3โ,h1โ)(g4โ,h1โ)(g4โ,h0โ)(g4โ,hi4โโ)...(grโ,hirโ1โโ)(grโ,h0โ)(grโ,h1โ)(gr+1โ,h1โ)(gr+1โ,h0โ)(gr+1โ,hir+1โโ)...(gnโ1โ,hinโ2โโ)(gnโ1โ,h0โ)(gnโ1โ,h1โ)(gnโ,h1โ)(gnโ,h0โ)(gnโ,hinโโ) when n is even and P=(g1โ,hi1โโ)(g1โ,h0โ)(g1โ,h1โ)(g2โ,h1โ)(g2โ,h0โ)(g2โ,hi2โโ)(g3โ,hi2โโ)(g3โ,h0โ)(g3โ,h1โ)(g4โ,h1โ)(g4โ,h0โ)(g4โ,hi4โโ)...(grโ,hirโ1โโ)(grโ,h0โ)(grโ,h1โ)(gr+1โ,h1โ)(gr+1โ,h0โ)(gr+1โ,hir+1โโ)...(gnโ2โ,hinโ3โโ)(gnโ2โ,h0โ)(gnโ2โ,h1โ)(gnโ1โ,h1โ)(gnโ1โ,h0โ)(gnโ1โ,hinโ1โโ)(gnโ,hinโ1โโ)(gnโ,h0โ)(gnโ,h1โ) when n is odd. According to the total-coloring c of PnโโกK1,sโ, the path P is total proper. For i๎ =j, we can always find a total proper path which is a subpath of P between (giโ,hkโ) and (gjโ,htโ) in PnโโกK1,sโ. Thus tpc(PnโโกK1,sโ)โค3 and the proof is complete.โ
Theorem 7**.**
Let G be a nontrivial traceable graph and H be a connected graph with maximum degree โฃHโฃโ2. Then tpc(GโกH)=3.
Proof. If โฃHโฃ=4, then H is traceable and so tpc(GโกH)=3 by Theorem 5. Thus we only need to consider the case that โฃHโฃโฅ5. Since diam(GโกH)โฅ2, we have tpc(GโกH)โฅ3 and so it remains to show that tpc(GโกH)โค3. Let Pnโ=g1โg2โ...gnโ be a spanning subgraph of the nontrivial traceable graph G. Denote by x a vertex of H with the maximum degree โฃHโฃโ2 and z the unique vertex not adjacent to x in H. Since H is connected, z must be adjacent to one neighbor, say y, of x. We then take a spanning tree T of H containing the edges zy and xu, where uโV(H)\{x,z}. Clearly, PnโโกT is a spanning subgraph of GโกH. From Proposition 1, it suffices to show that tpc(PnโโกT)โค3.
First suppose that n=2. Define a 3-coloring c of the vertices and edges of P2โโกT as follows. For wโV(H)\{x,y,z}, set c(g1โ,y)=c((g1โ,x)(g1โ,w))=c(g2โ,w)=c((g2โ,x)(g2โ,y))=1, c((g1โ,x)(g1โ,y))=c(g1โ,w)=c((g2โ,x)(g2โ,w))=c(g2โ,y)=2 and c(g1โ,x)=c((g1โ,w)(g2โ,w))=c(g2โ,x)=c((g1โ,y)(g2โ,y))=c((g1โ,z)(g1โ,y))=c((g2โ,z)(g2โ,y))=3. Moreover, give each of the unmentioned vertices and edges in P2โโกT a random color from {1,2,3}. Next it remains to check that there is a total proper path between any two vertices (giโ,h),(gjโ,hโฒ) in P2โโกT. According to the total-coloring c of P2โโกT, it is easy to see that the path P=(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)(g2โ,x)(g2โ,y)(g2โ,z) is total proper. For i=j, if h,hโฒโV(T)\{x,y,z}, then the path (giโ,h)(giโ,x)(giโ,y)(g3โiโ,y)(g3โiโ,x)(g3โiโ,hโฒ)(gjโ,hโฒ) is the desired path; otherwise, we can find a total proper path which is a subpath of P between (giโ,h) and (gjโ,hโฒ). For i๎ =j, if h=hโฒ, then the edge (giโ,h)(gjโ,hโฒ) is the desired path; if h,hโฒโV(T)\{x,y,z}, the total proper path is (giโ,h)(giโ,x)(giโ,y)(gjโ,y)(gjโ,x)(gjโ,hโฒ); otherwise, we can always find a total proper path which is a subpath of P between (giโ,h) and (gjโ,hโฒ). Thus tpc(P2โโกT)โค3.
Then suppose that n=3. On the basis of the total-coloring c we give above, color the vertices and edges of P3โโกT in such a way that for any wโV(G)\{x,y,z}, the trail (g3โ,w)(g3โ,x)(g3โ,y)(g3โ,z)(g2โ,z)(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)(g3โ,w) is total-proper connected. Again for the remaining edges and vertices of P3โโกT, give them any color from {1,2,3} as you like. Similar to the above checking process, we can get that there is a total proper path between any two vertices (giโ,h),(gjโ,hโฒ) in P3โโกT and so tpc(P3โโกT)โค3.
Finally suppose that nโฅ4. We divide our discussion into three cases:
Case 1. nโก1ย (modย 3).
We give a total-coloring of PnโโกT using the color set {1,2,3} in such a way that for any wโV(T)\{x,y,z} and 2โคiโคn, the trail (giโ,w)(giโ,x)(giโ,y)(giโ,z)(giโ1โ,z)โฏ(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)โฏ(gnโ,w) is total-proper connected. Since nโก1ย (modย 3), we have l(Pnโ)โก0ย (modย 3). Moreover, diam(T)=3. Thus it is easy to find that the path (g1โ,w)(g2โ,w)โฏ(gnโ,w)(gnโ,x)(gnโ,y)(gnโ,z) is also total proper. So far we have confirmed the colors of all the vertices and some edges of PnโโกT. For the other uncolored edges, which of course, are all in form of (giโ,h)(gjโ,h), give this kind of edge a color differing from the colors which its endpoints have already used. Thus we can check that for 2โคiโคnโ1, the paths (gnโ,w)(gnโ,x)(gnโ1โ,x)โฏ(giโ,x) and (gnโ,w)(gnโ,x)(gnโ,y)(gnโ1โ,y)โฏ(giโ,y) are all total proper. Next it remains to show that there is a total proper path between any two vertices (giโ,h),(gjโ,hโฒ) in PnโโกT. For i=j, if h,hโฒโV(T)\{x,y,z}, then the desired path is (g1โ,h)(g2โ,h)...(gnโ,h)(gnโ,x)(gnโ,y)(gnโ,z)(gnโ1โ,z)...(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,hโฒ) when i=j=1 and the desired path is (giโ,h)(giโ,x)(giโ,y)(giโ,z)(giโ1โ,z)...(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,hโฒ)(g2โ,hโฒ)...(gjโ,hโฒ) when i=jโฅ2; otherwise, we can find a total proper (giโ,h)-(gjโ,hโฒ) path which is a subpath of (giโ,w)(giโ,x)(giโ,y)(giโ,z), where wโV(T)\{x,y,z}. Now we assume that i๎ =j, say i<j. For i=1, the path (g1โ,h)...(g1โ,z)(g2โ,z)...(gjโ,z)...(gjโ,hโฒ) is the desired path. For iโฅ2, if h=hโฒ, then the path (giโ,h)(gi+1โ,h)...(gjโ,hโฒ) is the desired path; otherwise, the desired path is (giโ,h)...(giโ,z)(giโ1โ,z)...(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,hโฒ)(g2โ,hโฒ)...(gjโ,hโฒ) when hโฒโV(T)\{x,y,z} and (giโ,h)...(giโ,z)(giโ1โ,z)...(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)...(gnโ,w)...(gnโ,hโฒ)(gnโ1โ,hโฒ)โฏ(gjโ,hโฒ) when hโฒโ{x,y,z}, where wโV(T)\{x,y,z,h}. Thus tpc(PnโโกT)โค3.
Case 2. nโก2ย (modย 3).
This case can be viewed as adding one T-layer to the graph in Case 1. So we give the coloring in Case 1 to PnโโกT except for the last T-layer, which is the Z-induced subgraph where Z={(gnโ,v):vโV(T)}. We color this induced subgraph in such a way that for any wโV(T)\{x,y,z}, the trail (gnโ,w)(gnโ,x)(gnโ,y)(gnโ,z)(gnโ1โ,z)โฏ(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)โฏ(gnโ,w) is total-proper connected. Similar to the checking process in Case 1, we can check that for any two vertices (giโ,h),(gjโ,hโฒ) in PnโโกT, there is a total proper path between them and so tpc(PnโโกT)โค3.
Case 3. nโก0ย (modย 3).
The last case again can be viewed as one T-layer more added to Case 2. We likewise color the former nโ1 T-layers as we have discussed in Case 2 and for the last T-layer, again make the trail (gnโ,w)(gnโ,x)(gnโ,y)(gnโ,z)(gnโ1โ,z)โฏ(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)โฏ(gnโ,w) total-proper connected, where wโV(T)\{x,y,z}. Moreover, color the two edges (gnโ1โ,x)(gnโ2โ,x) and (gnโ1โ,y)(gnโ2โ,y) with the colors of the edges (gnโ2โ,x)(gnโ2โ,y) and (gnโ2โ,y)(gnโ2โ,z), respectively. Next it remains to show that there is a total proper path between any two vertices (giโ,h),(gjโ,hโฒ) in PnโโกT. By symmetry, suppose that i=n and j=nโ1. If hโฒ=z, then the path (gnโ,h)...(gnโ,z)(gnโ1โ,z) is the desired path; otherwise, the desired path is (gnโ,h)...(gnโ,z)(gnโ1โ,z)...(g1โ,z)(g1โ,y)(g1โ,x)(g1โ,w)(g2โ,w)...(gnโ2โ,w)...(gnโ2โ,hโฒ)(gnโ1โ,hโฒ),
where wโV(T)\{x,y,z}. For the other cases, we can check in a similar way as Case 2. Thus tpc(PnโโกT)โค3.โ
4 Permutation graphs
Let G be a graph with V(G)={v1โ,...,vnโ} and ฮฑ be a permutation of [n]. Let Gโฒ be a copy of G with vertices labeled {u1โ,...,unโ} where uiโโGโฒ corresponds to viโโG. Then the permutation graph Pฮฑโ(G) of G can be obtained from GโชGโฒ by adding all edges of the form viโuฮฑ(i)โ. This concept was first introduced by Chartrand and Harary [6]. Note that if ฮฑ is the identity permutation on [n], then Pฮฑโ(G)=GโกK2โ is the Cartesian product of a graph G and K2โ. Moreover, Pฮฑโ(G) is 2-connected whenever G is connected. From Theorem 3, we have that 3โคPฮฑโ(G)โค4. In this section, we mainly study the permutation graphs of the star and traceable graphs, and obtain that the values of the total proper connection number of these graphs are all 3.
Theorem 8**.**
Let G be a nontrivial traceable graph of order n. Then tpc(Pฮฑโ(G))=3 for each permutation ฮฑ of [n].
Proof. Let P=v1โv2โ...vnโ be a hamiltonian path of G. Then Pโฒ=u1โu2โ...unโ is a hamiltonian path of Gโฒ. Besides, we write Pโ1 and Pโฒโ1 as the reverse of P and Pโฒ, respectively. If ฮฑ(n)=1 or n, then clearly Pฮฑโ(G) is traceable and the theorem holds according to Corollary 2. Otherwise, we suppose that ฮฑ(n)=iย (2โคiโคnโ1). Since Pฮฑโ(G) is not complete, it remains to show that tpc(Pฮฑโ(G))โค3. Define a 3-coloring c of the vertices and edges of Pฮฑโ(G) as follows. First color the vertices and edges of the path P starting from v1โ in turn with the colors 1,2,3. Then color the remaining vertices and edges in the three paths v1โPvnโuiโPโฒโ1u1โ,v1โPvnโuiโPโฒunโ and uฮฑ(1)โv1โPvnโ so that each follows the sequence 1,2,3,...,1,2,3,.... Finally set c(vjโuฮฑ(j)โ)=c(vjโ1โvjโ), where 2โคjโคnโ1. Next we check that there is a total proper path between any two vertices in Pฮฑโ(G). It is easy to see the total proper paths between all pairs of vertices except between usโ and utโ with 1โคsโคiโ1 and i+1โคtโคn. In this case, the path usโPโฒuiโvnโPโ1vฮฑโ1(t)โutโ is the desired total proper path. Thus the proof is complete.โ
Theorem 9**.**
Every permutation graph of a star of order at least 4 has total proper connection number 3.
Proof. For an integer mโฅ3, let G=K1,mโ be the star with vertex set {v0โ,v1โ,...,vmโ}, where v0โ is the central vertex. Then there are exactly two non-isomorphic permutation graphs, namely Pฮฑ1โโ(G)=GโกK2โ where ฮฑ1โ is the identity permutation on the set {0,1,...,m} and Pฮฑ2โโ(G) where ฮฑ2โ=(0,1). By Theorem 6, we have that tpc(Pฮฑ1โโ(G))=3. It remains to show that tpc(Pฮฑ2โโ(G))=3. Let {v0โฒโ,v1โฒโ,...,vmโฒโ} be the corresponding vertex set in the second copy Gโฒ of G. Since Pฮฑ2โโ(G) is not complete, we just need to show that tpc(Pฮฑ2โโ(G))โค3.
Define a total-coloring c of Pฮฑ2โโ(G) with three colors by assigning (1) the color 1 to the vertices v0โ,v0โฒโ and the edges viโviโฒโ for 2โคiโคm, (2) the color 2 to the vertices v2โฒโ,viโ and the edges v0โv1โฒโ,v0โv2โ,v0โฒโviโฒโ for iโ[m]\{2} and (3) the color 3 to the remaining vertices and edges of Pฮฑ2โโ(G). It remains to check that there is a total proper path between any two vertices u,v in Pฮฑ2โโ(G). For 3โคiโคm, the cycle Ciโ=v0โv2โv2โฒโv0โฒโviโฒโviโv0โ is a total-proper connected 6-cycle. Thus we may assume that u and v do not belong to any one of the mโ2 cycles at the same time.
First suppose that u=v1โ and v=v1โฒโ by symmetry. Then the path uv0โv or uv0โฒโv is the desired path. Next suppose that u=v1โ or v1โฒโ and vโV(Pฮฑ2โโ(G))\{v1โ,v1โฒโ} by symmetry. If v=v0โ or v0โฒโ, then the edge uv is the desired path. Now assume first that u=v1โ. If v=v2โ, then uv0โv is the desired path, while if v=v2โฒโ, then uv0โv2โv is the desired path. For iโฅ3, if v=viโ, then uv0โฒโviโฒโv is the desired path, while if v=viโฒโ, then uv0โฒโv is the desired path. Then assume that u=v1โฒโ. If v=v2โ, then uv0โฒโv2โฒโv is the desired path, while if v=v2โฒโ, then uv0โฒโv is the desired path. For iโฅ3, if v=viโ, then uv0โv is the desired path, while if v=viโฒโ, then uv0โviโv is the desired path. Finally suppose that u,vโV(Pฮฑ2โโ(G))\{v0โ,v0โฒโ,v1โ,v1โฒโ,v2โ,v2โฒโ}. Let P=viโviโฒโv0โฒโv2โฒโv2โv0โvjโvjโฒโ, where 3โคi,jโคm and i๎ =j. According to the total coloring c, it is easy to see that the path P is a total proper path. Moreover, we can always find a total proper path which is a subpath of P between u and v. Thus tpc(Pฮฑ2โโ(G))โค3 and we complete the proof.โ
We conclude this section with the following question: Is there a class of nontrivial connected graphs G such that tpc(Pฮฑโ(G))=4 for some permutation graph Pฮฑโ(G) of G?
5 The lexicographic product
The lexicographic product GโH of graphs G and H is the graph with vertex set V(G)รV(H), in which two vertices (g,h),(gโฒ,hโฒ) are adjacent if and only if ggโฒโE(G), or g=gโฒ and hhโฒโE(H). The lexicographic product is not commutative and is connected whenever G is connected. In a tree T, we denote the parent of the vertex v by p(v).
Theorem 10**.**
Let G and H be two nontrivial graphs. If G is connected and GโH is not complete, then tpc(GโH)=3.
Proof. Since GโH is not complete, it follows that tpc(GโH)โฅ3 and so we just need to show that tpc(GโH)โค3. If G has only two vertices, i.e. G=K2โ, then GโH contains the graph in Theorem 2 as a spanning subgraph and so tpc(GโH)โค3 by Proposition 1 and Theorem 2. Now we may assume that G is a nontrivial connected graph of order at least 3. Take a spanning tree T from G and appoint a pendant vertex of T, say r, to be the root of T. Since r is a pendant vertex, it has only one neighbor in T called t. For the graph H, we view it as an empty graph. Thus the lexicographic product TโH is a spanning subgraph of GโH. By Proposition 1, it suffices to show that tpc(TโH)โค3.
Define a total-coloring c of TโH using the color set A={1,2,3} as follows. Let V(H)={h1โ,h2โ,โฏ,hnโ} and then set X={(g,h1โ)โฃgโV(T)}. We first give the vertices and edges of X-induced subgraph of TโH a total-coloring using A in such a way that for any vertex gโV(T), the path (g,h1โ)(g1โ,h1โ)(g2โ,h1โ)โฏ(t,h1โ)(r,h1โ) in TโH is total proper, where gg1โg2โโฏtr is the unique path between g and r in T. Then color the edge (r,h1โ)(t,h2โ) in such a way that the path (t,h1โ)(r,h1โ)(t,h2โ) is total proper. Let Y={(q,h2โ)โฃqโV(T)\{r}}. We give the Y-induced subgraph of TโH a total-coloring in such a way that for any two vertices (g,h1โ),(gโฒ,h2โ) in TโH, the path (g,h1โ)(g1โ,h1โ)(g2โ,h1โ)โฏ(t,h1โ)(r,h1โ)(t,h2โ)โฏ(g2โฒโ,h2โ)(g1โฒโ,h2โ)(gโฒ,h2โ) is total proper, where gg1โg2โโฏtr and gโฒg1โฒโg2โฒโโฏtr are the paths from g to r and gโฒ to r in T respectively. For (g,hiโ)โV(TโH), where gโV(T)\{r,t} and iโ[n], set c((g,hiโ)(p(g),h1โ))=c((g,h1โ)(p(g),h1โ)) and c((g,hiโ)(p(g),h2โ))=c((g,h2โ)(p(g),h2โ)). By the way, we let c((t,h1โ)(r,hiโ))=c((t,h1โ)(r,h1โ)) for 2โคiโคn, c((r,h1โ)(t,hjโ))=c((t,h2โ)(r,hjโ))=c((r,h1โ)(t,h2โ)) for 3โคjโคn, c((r,h3โ)(t,hsโ))=c(t,h2โ) for 4โคsโคn and c((r,h2โ)(t,h2โ))=c(r,h1โ). Pick one neighbor of the vertex t in T other than r called a and make c((a,h2โ)(t,hiโ))=c(t,h2โ) for 3โคiโคn, c(r,h3โ)=c(t,h3โ)=c((a,h2โ)(t,h2โ)), and c((t,h3โ)(r,hjโ))=c(a,h2โ) for 3โคjโคn.
Next it remains to check that for any two vertices (g,hiโ),(gโฒ,hjโ) in TโH, where g,gโฒโV(T) and hiโ,hjโโV(H), there is a total proper path between them. Let gg1โg2โโฏtr and gโฒg1โฒโg2โฒโโฏtr be the paths from g to r and gโฒ to r in T, respectively. If g,gโฒโV(T)\{r,t}, then the path (g,hiโ)(g1โ,h1โ)(g2โ,h1โ)โฏ(t,h1โ)(r,h1โ)(t,h2โ)โฏ(g2โฒโ,h2โ)(g1โฒโ,h2โ)(gโฒ,hjโ) is the desired path. By symmetry, suppose that gโV(T)\{r,t} and gโฒโ{r,t}. If gโฒ=r, then the path (g,hiโ)(g1โ,h1โ)(g2โ,h1โ)โฏ(t,h1โ)(r,hjโ) is the desired path, while if gโฒ=t, then the desired path is (g,hiโ)(g1โ,h1โ)(g2โ,h1โ)โฏ(t,h1โ)(r,h1โ)(t,hjโ). Finally suppose that g,gโฒโ{r,t}. If g๎ =gโฒ, then the desired path is rather simple, that is the edge (g,hiโ)(gโฒ,hjโ). For g=gโฒ=r, if i=1,j=2 or i=2,jโฅ3, then the path (g,hiโ)(t,h2โ)(gโฒ,hjโ) is the desired path; if i=1,j๎ =2 or i,jโฅ3, then the path (g,hiโ)(t,h2โ)(a,h2โ)(t,h3โ)(gโฒ,hjโ) is the desired path. For g=gโฒ=t, if i=1, then the path (g,hiโ)(r,h1โ)(gโฒ,hjโ) is the desired path; if i=2 and jโฅ3, then the path
(g,hiโ)(a,h2โ)(gโฒ,hjโ) is the desired path; if 3โคi<j, then the path (g,hiโ)(a,h2โ)(t,h2โ)(r,h3โ)(gโฒ,hjโ) is the desired path. Thus tpc(TโH)โค3 and the proof is complete. โ
6 The strong product
The strong product Gโ H of graphs G and H is the graph with vertex set V(G)รV(H), in which two vertices (g,h),(gโฒ,hโฒ) are adjacent whenever ggโฒโE(G) and h=hโฒ, or g=gโฒ and hhโฒโE(H), or ggโฒโE(G) and hhโฒโE(H). If an edge of Gโ H belongs to one of the first two types, then we call such an edge a Cartesian edge and an edge of the last type is called a noncartesian edge. (The name is due to the fact that if we consider only the first two types, we get the Cartesian product of graphs.) The strong product is commutative and is 2-connected as long as both G and H are connected. Remind that dGโ(u,v) is the shortest distance between the two vertices u and v in graph G. And let dGโ(g) denote the degree of the vertex g in G.
Theorem 11**.**
Let G and H be two nontrivial connected graphs. If Gโ H is not complete, then tpc(Gโ H)=3.
Proof. Since Gโ H is not complete, tpc(Gโ H)โฅ3 and we only need to show that tpc(Gโ H)โค3. Like the method we use above, we pick a spanning tree T of G with root t and a spanning tree S of H with root s. Clearly, the strong product Tโ S is a spanning subgraph of Gโ H. Thus it suffices to show that tpc(Tโ S)โค3 by Proposition 1.
Define a total-coloring c of Tโ S using the color set A={1,2,3} as follows. Let W={wโV(T)\{t}:dTโ(w)=1} and X={xโV(S)\{s}:dSโ(x)=1}. We first give the vertices and edges of Tโ S a total-coloring using A in such a way that for each wโW, xโX and vโV(S)\{s}, the trail (w,v)(p(w),v)โฏ(t,v)(t,p(v))โฏ(t,s)โฏ(w,s)โฏ(w,x) is total-proper connected and has the color sequence 1,3,2,1,3,2โฏ except for its two endpoints. Then set c((u,s)(p(u),sโ))=c(p(u),s) where uโV(T)\{t} and sโ is a neighbor of s in S. For any noncartesian edge, give it a color differing from the colors which its endpoints have already used. To complete our proof, the two claims below are necessary.
Claim 1: Let tt1โt2โโฏti+jโ and ss1โs2โโฏsjโ be two paths in T and in S respectively, where iโก0ย (modย 3) and ti+jโโ/W. Then for xโX, the path P=(t,x)(t,p(x))โฏ(t,s)(t1โ,s)(t2โ,s)โฏ(tiโ,s)(ti+1โ,s1โ)โฏ(ti+jโ,sjโ) is total proper.
According to the total-coloring c of Tโ S, we only need to show that the path P also has the color sequence 1,3,2,1,3,2โฏ. If so, the vertices of P should have the color sequence 1,2,3,1,2,3โฏ. Consider the cycle C=(ti+1โ,s1โ)(tiโ,s1โ)โฏ(t,s1โ)(t,s)(t1โ,s)โฏ(tiโ,s)(ti+1โ,s1โ) and we have โฃCโฃโก0ย (modย 3). Then it follows that the cycle C is total-proper connected and c(ti+1โ,s1โ)โกc(tiโ,s)+1ย (modย 3). For the vertices (ti+dโ,sdโ) and (ti+d+1โ,sd+1โ), where 1โคdโคjโ1, we set P1โ=(ti+dโ,sdโ)(ti+dโ1โ,sdโ)โฏ(t,sdโ)(t,sdโ1โ)โฏ(t,s) and P2โ=(ti+d+1โ,sd+1โ)(ti+dโ,sd+1โ)โฏ(t,sd+1โ)(t,sdโ)โฏ(t,s). Since โฃP2โโฃ=โฃP1โโฃ+2, we have c(ti+d+1โ,sd+1โ)โกc(ti+dโ,sdโ)โ2โกc(ti+dโ,sdโ)+1ย (modย 3). Thus, the vertices of the path P do have the color sequence 1,2,3,1,2,3,โฏ and we complete the proof of Claim 1.
Claim 2: Let tiโti+1โโฏti+kโ and sjโsj+1โโฏsj+kโ be two paths in T and in S respectively, where kโฅ1,ย ti+kโโ/W,ย sjโ๎ =s,ย dTโ(tiโ,t)<dTโ(ti+kโ,t) and dSโ(sjโ,s)<dSโ(sj+kโ,s). Then the path Pโฒ=(tiโ,sjโ)(ti+1โ,sj+1โ)โฏ(ti+kโ,sj+kโ) is total-proper connected with the color sequence 1,3,2,1,3,2โฏ.
Similar to the proof of Claim 1, for the vertices (ti+dโ,sdโ) and (ti+d+1โ,sd+1โ), where 0โคdโคkโ1, we can deduce that c(ti+d+1โ,sd+1โ)โกc(ti+dโ,sdโ)โ2โกc(ti+dโ,sdโ)+1ย (modย 3). Then the vertices of Pโฒ have the color sequence 1,2,3,1,2,3,โฏ and so the path Pโฒ is total-proper connected with the color sequence 1,3,2,1,3,2โฏ.
Next it remains to check that for any two vertices (u,v),(uโฒ,vโฒ) in Tโ S, where u,uโฒโV(T) and v,vโฒโV(S), there is a total proper path between them. Without loss of generality, assume that dSโ(v,s)โฅdSโ(vโฒ,s). Let tt1โt2โโฏtaโ1โuโฒ and ss1โs2โโฏsbโ1โvโฒ be the paths from t to uโฒ in T and from s to vโฒ in S, respectively. Then dTโ(t,uโฒ)=a and dSโ(s,vโฒ)=b. If a=b, then the walk (u,v)โฏ(t,v)โฏ(t,s)(t1โ,s1โ)(t2โ,s2โ)โฏ(uโฒ,vโฒ) is total-proper connected by Claim 1, where uโฏt denotes the path from u to t in T and vโฏs denotes the path from v to s in S. If a<b, then the walk (u,v)(p(u),v)โฏ(t,v)(t,p(v))โฏ(t,s)(t1โ,s1โ)(t,s1โ)(t1โ,s2โ)โฏ(t,sbโaโ)(t1โ,sbโa+1โ)โฏ(taโ1โ,sbโ1โ)(uโฒ,vโฒ) is total-proper connected by Claims 1 and 2. For a>b, assume that uโฒ lies on the path tt1โt2โ...taโ1โuโฒ...w(=tdTโ(w,t)โ) in T from t to w where wโW. If vโฒ=s or uโฒ=w, then the situation is clear according to the total-coloring c of Tโ S. Otherwise we have vโฒ๎ =s and uโฒ๎ =w. Then bโฅ1 and aโคdTโ(w,t)โ1. Let c be a nonnegative integer. We divide the proof into three cases.
Case 1. dTโ(w,t)=3c+2.
Then aโbโค3c and so the walk (u,v)(p(u),v)โฏ(t,v)(t,p(v))โฏ(t,s)(t1โ,s)โฏ(t3dโ,s)(t3d+1โ,s1โ)โฏ(taโb+1โ,s1โ)(taโb+2โ,s2โ)โฏ(uโฒ,vโฒ) is total-proper connected by Claims 1 and 2, where 3(dโ1)<aโbโค3d and 1โคdโคc.
Case 2. dTโ(w,t)=3c+1.
Then aโbโค3cโ1. If aโbโค3cโ3, we have the similar total-proper connected walk as Case 1. If aโb=3cโ1, we must have a=3c and b=1, and then the walk (u,v)(p(u),v)โฏ(t,v)(t,p(v))โฏ(t,s)(t1โ,s)โฏ(ta+1โ,s)(uโฒ,vโฒ) is total-proper connected. If aโb=3cโ2, then we have a=3cโ1 and b=1 or a=3c and b=2. In the former case, we analogously have that the walk (u,v)(p(u),v)โฏ(t,v)(t,p(v))โฏ(t,s)(t1โ,s)โฏ(ta+1โ,s)(uโฒ,vโฒ) is total-proper connected; while in the latter case, since dTโ(w,t)+b=3c+3โก0ย (modย 3), the walk
(u,v)(p(u),v)โฏ(t,v)(t,p(v))โฏ(t,s)(t1โ,s)โฏ(w,s)(w,s1โ)(w,vโฒ)(uโฒ,vโฒ) is total-proper connected.
Case 3. dTโ(w,t)=3c.
Then aโbโค3cโ2. If aโbโค3cโ3, we have the similar total-proper connected walk as Case 1. Thus a=3cโ1 and b=1 is the only case we need to discuss. However this is like the discussion in Case 2.
After removing all the cycles of the total-proper connected walks appearing above, we get the corresponding desired paths. Thus, tpc(Tโ S)โค3 and we complete the proof.โ