This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

The Rainbow Connection Number of The Commuting Graph of a Finite Non-abelian Group

Rian Febrian Umbara1,3, A.N.M. Salman2, Pritta Etriana Putri2 1 Doctoral Program in Mathematics, Faculty of Mathematics and Natural Sciences, Institut Teknologi Bandung, Bandung, Indonesia [email protected] 2 Combinatorial Mathematics Research Group, Faculty of Mathematics and Natural Sciences, Institut Teknologi Bandung, Indonesia [email protected],[email protected] 3 School of Computing, Telkom University, Bandung, Indonesia [email protected]
Abstract.

A path in an edge-colored graph is called a rainbow path if every two distinct edges of the path have different colors. A graph whose every pair of vertices are linked by a rainbow path is called a rainbow-connected graph. The rainbow connection number of a graph is the minimum number of colors that are needed to color the edges of the graph such that the graph is rainbow-connected. In this paper, we determine the rainbow connection number of the commuting graph of a finite non-abelian group, which is a graph whose vertex set is a non-abelian group of finite order and two distinct elements of the group is adjacent in the graph if they commute. We also show that the rainbow connection number of the commuting graph of a finite group is related to the number of maximal abelian subgroups or the number of involutions that do not commute with any other non-identity element of the group.

Key words and phrases:
rainbow connection number, commuting graph, finite nonabelian group
2010 Mathematics Subject Classification:
Primary 05C15; Secondary 05C25.

1. Introduction

Let G=(V(G),E(G))G=(V(G),E(G)) be a graph with V(G)V(G) and E(G)E(G) are its set of vertices and set of edges, respectively. Let cc be an edge coloring on GG which allows the adjacent edges of GG have the same color. A path PP betwen two vertices of GG is a rainbow path under the coloring cc if every pair of edges of the path have different colors. If every two vertices of GG are connected by a raibow path, then GG is rainbow-conneted. The minimum number of colors that are needed to color the edges of GG such that GG is rainbow-connected is called the rainbow connection number of GG, denoted by rc(G)rc(G). A rainbow coloring of GG that uses rc(G)rc(G) colors is called a minimum rainbow coloring of GG.

The study of rainbow connection number of a graph was initiated by Chartrand et al. in 2008 [8]. The concept of rainbow connection number was proposed to solve the problem of communication security between two agencies of US Government after the terrorist attack on September 11, 2001. The rainbow connection number of a graph serves as a metric to assess the security of a communication or computer network represented by the graph. Besides defining rainbow connection number of a graph, Chartrand et al. also determined the rainbow connection numbers of some graphs, such as complete graphs, trees, wheel graphs, bipartite graphs, and multipartite graphs [8]. Other researchers have also studied the rainbow connection numbers of other graph families. Some of them are Fitriani et al. who studied the rainbow connection number of amalgamation of some graphs [12] and comb product of graphs [13] .

Over the last decade, some researchers have studied the rainbow connection numbers of some graphs of finite groups. A graph of a finite group is a graph whose vertex set is the elements of a finite group and two elements of the group are adjacent if they meet a certain condition. Some example of graphs of finite groups are Cayley graphs [6], non-commuting graph of a group [2], commuting graph of a group [4], undirected power graphs of semigroups [7], the enhanced power graph of a group [1], and the inverse graph of a finite group [3]. Some studies have been conducted to study rainbow connection numbers of some graphs of finite groups, such as the (strong) rainbow connection numbers of Cayley graphs on abelian groups [14], rainbow 2-connection numbers of Cayley graphs [15], rainbow connection number of the power graph of a finite group [16], rainbow connectivity of the non-commuting graph of a finite group [20], rainbow connection numbers of Cayley graphs [17], rainbow connectivity in some Cayley graphs [5], and rainbow connection number of the inverse graph of a finite group ([18],[19]).

Motivated by those studies, we study the rainbow connection number of the commuting graph of a finite nonabelian group. The commuting graph CG(Γ,X)CG(\Gamma,X), where Γ\Gamma is a finite group and XX is a nonempty subset of Γ\Gamma, is a graph with XX as its set of vertices and u,vXu,v\in X are adjacent if uu and vv commute in Γ\Gamma [4]. If X=ΓX=\Gamma, then CG(Γ,X)CG(\Gamma,X) is written as CG(Γ)CG(\Gamma). In this paper, we discuss CG(Γ)CG(\Gamma), where Γ\Gamma is a finite nonabelian group. We show that for a finite nonabelian group Γ\Gamma with a nontrivial center, the rainbow connection number of CG(Γ)CG(\Gamma) is related to the number of maximal abelian subgroups of Γ\Gamma. We also show that if Γ\Gamma is a finite nonabelian group with a trivial center, the rainbow connection number of CG(Γ)CG(\Gamma) determines the number of involutions of Γ\Gamma that do not commute with any other nonidentity element of Γ\Gamma.

2. Preliminaries

2.1. Some terminologies in Graph Theory

We refer to [9] for definitions and notations in Graph Theory that are not described in this text. A graph is a pair G=(V(G),E(G))G=(V(G),E(G)) of sets, where the elements of E(G)E(G) are 2-element subsets of V(G)V(G). An element of V(G)V(G) is called a vertex of GG and an element of E(G)E(G) is called an edge of GG. A graph G=(V(G),E(G))G=(V(G),E(G)) is finite if |V(G)||V(G)| is finite. If |V(G)|=0|V(G)|=0 of 11, then GG is called a trivial graph. An edge ϵ={x,y}\epsilon=\{x,y\} is written as ϵ=xy\epsilon=xy or ϵ=yx\epsilon=yx. Two vertices xx and yy of a graph GG are adjacent if xyxy is an edge of GG. An edge xyxy is incident with both xx and yy. Both xx and yy are the ends of the edge xyxy. A vertex of a graph GG which is adjacent to one and only one vertex of GG is called a pendant vertex. An edge that incidents with a pendant vertex is called a pendant edge. If every two distinct vertices of a graph GG is adjacent, then GG is a complete graph. Let k1k\geq 1 be an integer. A path between two vertices x0x_{0} and xkx_{k} is a graph with a set of vertices {x0,x1,,xk}\{x_{0},x_{1},\dots,x_{k}\} and a set of edges {x0x1,x1x2,,xk1xk}\{x_{0}x_{1},x_{1}x_{2},\dots,x_{k-1}x_{k}\}, where xixjx_{i}\neq x_{j} for every distinct i,j{0,1,,k}i,j\in\{0,1,\dots,k\}. If there is a path between every two distinct vertices of a graph, then the graph is connected. All graphs in this paper are nontrivial and connected.

The length of a path is the number of edges in the path. The distance between two vertices xx and yy, denoted by d(x,y)d(x,y), in a graph GG is the length of the shortest path between xx and yy in GG. The largest distance between any two vertices of a graph GG is called the diameter of GG, denoted by diam(G)diam(G). Let r2r\geq 2 be an integer. A graph G=(V(G),E(G))G=(V(G),E(G)) is called an rr-partite graph if V(G)V(G) can be partitioned into rr classes such that every member of E(G)E(G) has it ends in different classes.

2.2. Some properties of the rainbow connection number of a graph

Let GG be a connected graph with at least two vertices. Chartrand et al. [8] have determined some properties of the rainbow connection number of GG. For a connected graph GG, diam(G)rc(G)mdiam(G)\leq rc(G)\leq m, where diam(G)diam(G) is the diameter of GG and mm is the number of edges of GG. For a natural number tt, if a connected graph GG with |G|3|G|\geq 3 has tt pendant vertices, then rc(G)trc(G)\geq t. The rainbow connection number of a complete graph and a kk-partite graph, where k3k\geq 3, have also been determined.

Theorem 2.1.

[8] Let GG be a connected graph. The rainbow connection number of GG is 1 if and only if GG is a complete graph.

Theorem 2.2.

[8] Let G=Kn1,n2,,nkG=K_{n_{1},n_{2},\dots,n_{k}} be a complete kk-partite graph, with k3k\geq 3 and n1n2nkn_{1}\leq n_{2}\leq\dots\leq n_{k}, such that s=1k1nis=\sum_{1}^{k-1}n_{i} and t=nkt=n_{k}. Then

rc(G)={1if nk=12if nk2,s>tmin{3,ts}if strc(G)=\begin{cases}1&\text{if }n_{k}=1\\ 2&\text{if }n_{k}\geq 2,s>t\\ min\{3,\lceil\sqrt[s]{t}\rceil\}&\text{if }s\leq t\end{cases}

2.3. Group and the commuting graph of a group

We refer to [10] for definitions and notations in Group Theory that are not described in this paper. A group is an ordered pair (Γ,)(\Gamma,*), where Γ\Gamma is a set and * is a binary operation, which satisfies the following axioms:

  1. (1)

    (ab)c=a(bc)(a*b)*c=a*(b*c) for all a,b,cΓa,b,c\in\Gamma,

  2. (2)

    there exists an element eΓe\in\Gamma, which is called the identity element of Γ\Gamma, such that ae=ea=aa*e=e*a=a for all aΓa\in\Gamma,

  3. (3)

    for each aΓa\in\Gamma there is an element a1Γa^{-1}\in\Gamma, which is called the inverse of aa, such that aa1=a1a=ea*a^{-1}=a^{-1}*a=e.

For simplicity, the group notation (Γ,)(\Gamma,*) will be written as Γ\Gamma. Let Γ\Gamma be a group. Two members a,bΓa,b\in\Gamma commute if ab=baa*b=b*a. A group Γ\Gamma is called an abelian group if every two members of Γ\Gamma commute. The center of a group Γ\Gamma is Z(Γ)={zΓ|za=azZ(\Gamma)=\{z\in\Gamma|z*a=a*z for every aΓ}a\in\Gamma\}. If Z(Γ)={e}Z(\Gamma)=\{e\}, where ee is the identity element of Γ\Gamma, then Z(Γ)Z(\Gamma) is called trivial. A group Γ\Gamma is called a finite group if |Γ||\Gamma| (the cardinality of the set Γ\Gamma) is finite. An element aΓa\in\Gamma is called an involution if aea\neq e and aa=ea*a=e. If Γ\Gamma is a group and Λ\Lambda is a nonempty subset of Γ\Gamma such that for all h,kΛh,k\in\Lambda, hkΛh*k\in\Lambda and h1Λh^{-1}\in\Lambda, then Λ\Lambda is called a subgroup of Γ\Gamma. If Λ\Lambda is a subgroup of Γ\Gamma such that every two elements of Λ\Lambda commute, then Λ\Lambda is an abelian subgroup of Γ\Gamma. If Λ\Lambda is an abelian subgroup of a group Γ\Gamma and there is no other abelian subgroup of Γ\Gamma that contains Λ\Lambda, then Λ\Lambda is called a maximal abelian subgroup of Γ\Gamma.

The identity element of a finite group is a member of every maximal abelian subgroup of the group. Hence, the cardinality of any maximal abelian subgroup of a finite nontrivial group is at least 2. A maximal abelian subgroup of cardinality 2 consists of the identity element of the group and an involution that do not commute with any other nonidentity element of the group. If aa and bb are any two elements that do not commute in a finite nonabelian group, then aa and bb are not in the same maximal abelian subgroup of the group and the subset {a,b,ab}\{a,b,a*b\} is noncommuting. Therefore, a finite nonabelian group must have at least three maximal abelian subgroups. It is obvious that if {Λ1,Λ2,,Λm}\{\Lambda_{1},\Lambda_{2},\dots,\Lambda_{m}\} is the collection of all maximal abelian subgroups of a finite nonabelian group Γ\Gamma, where m3m\geq 3, then Γ=i=1mΛi\Gamma=\bigcup\limits_{i=1}^{m}\Lambda_{i}. A finite group Γ\Gamma has only one maximal abelian subgroup if and only if Γ\Gamma is abelian. In this case, the maximal abelian subgroup is the group itself.

The commuting graph CG(Γ,X)CG(\Gamma,X), where Γ\Gamma is a finite group and XX is a nonempty subset of Γ\Gamma, is a graph whose set of vertices is XX and two members a,bXa,b\in X are adjacent if ab=baa*b=b*a in Γ\Gamma [4]. If X=ΓX=\Gamma, then CG(Γ,X)CG(\Gamma,X) is written as CG(Γ)CG(\Gamma). Obviously, CG(Γ)CG(\Gamma) is connected, since the identity element of any group Γ\Gamma comumutes with all elements of the group. Figure 1 shows the commuting graph of group SD24SD_{24}, the semidihedral group with 24 members. The presentation of the group is SD24=a,b:a12=b2=1,ba=a5bSD_{24}=\langle a,b:a^{12}=b^{2}=1,ba=a^{5}b\rangle.

Refer to caption
Figure 1. The commuting graph of group SD24SD_{24}.

Every two elements of a maximal abelian subgroup of a finite group Γ\Gamma are adjacent in CG(Γ)CG(\Gamma). Hence, a maximal abelian subgroup of Γ\Gamma forms a maximal clique in CG(Γ)CG(\Gamma), and a maximal abelian subgroup of order 2 forms a pendant edge in CG(Γ)CG(\Gamma). Since a finite abelian group has only one maximal abelian subgroup, which is the group itself, the commuting graph the group is a complete graph, and hence its rainbow connection number is 1. If Γ\Gamma is a finite nonabelian group, then Γ\Gamma has more than one maximal commuting subsets and its commuting graph is not a complete graph..

3. Main results

Throughout this section, we discuss rainbow connection numbers of the commuting graphs of finite nonabelian groups. If Γ\Gamma is a finite nonabelian group, then CG(Γ)CG(\Gamma) is not a complete graph and hence rc(CG(Γ))2rc(CG(\Gamma))\geq 2. We start the discussion with finite nonabelian groups whose commuting graphs have rainbow connection numbers at most 3.

Theorem 3.1.

Let Γ\Gamma be a finite nonabelian group. The rainbow connection number of CG(Γ)CG(\Gamma) is at most 33 if and only if Γ\Gamma has a nontrivial center or Γ\Gamma is a group with a trivial center and has at most three maximal abelian subgroups of order 22.

Proof.

Let Γ\Gamma be a finite nonabelian group with a nontrivial center and Z(Γ)Z(\Gamma) be the center of Γ\Gamma. Since any member of Z(Γ)Z(\Gamma) commutes with all members of Γ\Gamma, any member of Z(Γ)Z(\Gamma) is adjacent with all vertices in V(CG(Γ))V(CG(\Gamma)). Choose any two members z1z_{1} and z2z_{2} from Z(Γ)Z(\Gamma). For every element xΓZ(Γx\in\Gamma\setminus Z(\Gamma), the edge xz1xz_{1} is colored with color 1 and the edge xz2xz_{2} is colored with color 2. The edge z1z2z_{1}z_{2} is colored with color 3. The other edges of CG(Γ)CG(\Gamma) are colored with color 1. With this edge coloring, every two distinct elements x,yΓZ(Γ)x,y\in\Gamma\setminus Z(\Gamma) are connected by the path xz1z2yxz_{1}z_{2}y which has 3 edges with 3 distinct colors. Hence, rc(CG(Γ))3rc(CG(\Gamma))\leq 3.

Now let Γ\Gamma be a finite nonabelian group with a trivial center and has at most three maximal abelian subgroups of order 2. Let ee be the identity element of Γ\Gamma, 𝒞={C1,,Cm}\mathscr{C}=\{C_{1},\dots,C_{m}\} be the collection of all maximal abelian subgroups of Γ\Gamma with m3m\geq 3 (since Γ\Gamma is nonabelian), and let 𝒞\mathscr{C} has exactly tt members of order 2, where 0t30\leq t\leq 3. Construct a set 𝒞¯={C¯1,,C¯t}\bar{\mathscr{C}}=\{\bar{C}_{1},\dots,\bar{C}_{t}\}, which is the collection of all maximal abelian subgroups of order 2 and C^=(Γi=1tC¯i){e}\hat{C}=(\Gamma\setminus\bigcup\limits_{i=1}^{t}\bar{C}_{i})\cup\{e\}. Write C¯i={e,c¯i}\bar{C}_{i}=\{e,\bar{c}_{i}\} for every i{1,,t}i\in\{1,\dots,t\} and write C^={e,c^1,c^2,,c^s}\hat{C}=\{e,\hat{c}_{1},\hat{c}_{2},\dots,\hat{c}_{s}\} in an order such that c^i\hat{c}_{i} commutes with c^i1\hat{c}_{i-1} or with c^i+1\hat{c}_{i+1} for every i{1,,s}i\in\{1,\dots,s\}, where s=|Γ|t1s=|\Gamma|-t-1.

If t=0t=0, then 𝒞¯=\bar{\mathscr{C}}=\emptyset, C^=Γ\hat{C}=\Gamma, and we can color the edges of CG(Γ)CG(\Gamma) with three colors as follows:

  1. (1)

    the edge ec^ie\hat{c}_{i} is colored with color 1 if ii is odd or color 2 if ii is even for every i{1,2,,s}i\in\{1,2,\dots,s\},

  2. (2)

    the other edges are colored with color 3.

With this coloring, the rainbow paths between two vertices of CG(Γ)CG(\Gamma) are as follows:

  1. (1)

    c^ic^j\hat{c}_{i}\hat{c}_{j} if c^i\hat{c}_{i} and c^j\hat{c}_{j} are adjacent, where i,j{1,2,,s}i,j\in\{1,2,\dots,s\},

  2. (2)

    c^iec^j\hat{c}_{i}e\hat{c}_{j} if c^i\hat{c}_{i} and c^j\hat{c}_{j} are not adjacent and the parities of ii and jj are different, where i,j{1,2,,s}i,j\in\{1,2,\dots,s\},

  3. (3)

    if c^i\hat{c}_{i} and c^j\hat{c}_{j} are not adjacent and the parities of ii and jj are the same, where i,j{1,2,,s}i,j\in\{1,2,\dots,s\}, then the rainbow path between c^i\hat{c}_{i} and c^j\hat{c}_{j} is c^iec^j1c^j\hat{c}_{i}e\hat{c}_{j-1}\hat{c}_{j} if c^j1\hat{c}_{j-1} is adjacent to c^j\hat{c}_{j} and j1j\neq 1, or c^iec^j+1c^j\hat{c}_{i}e\hat{c}_{j+1}\hat{c}_{j} if c^j+1\hat{c}_{j+1} is adjacent to c^j\hat{c}_{j} and jsj\neq s.

Since every two vertices of CG(Γ)CG(\Gamma) are connected by a rainbow path under this edge coloring, we have rc(CG(Γ))3rc(CG(\Gamma))\leq 3.

If 1t31\leq t\leq 3, the edge ec¯ie\bar{c}_{i} is a pendant edge of CG(Γ)CG(\Gamma) for every i{1,,t}i\in\{1,\dots,t\} and we can color the edges of CG(Γ)CG(\Gamma) with three colors as follows:

  1. (1)

    the edge ec¯ie\bar{c}_{i} is colored with color ii for every i{1,,t}i\in\{1,\dots,t\},

  2. (2)

    the edge ec^ie\hat{c}_{i} is colored with color 1 if ii is odd or color 2 if ii is even for every i{1,2,,s}i\in\{1,2,\dots,s\},

  3. (3)

    the other edges are colored with color 3.

The rainbow paths between two vertices of CG(Γ)CG(\Gamma) under this edge coloring are as follows.

  1. (1)

    The rainbow paths between c^i\hat{c}_{i} and c^j\hat{c}_{j}, where i,j{1,2,,s}i,j\in\{1,2,\dots,s\} and iji\neq j, are the same as the paths in the case of t=0t=0.

  2. (2)

    For i,j{1,,t}i,j\in\{1,\dots,t\}, where iji\neq j, the rainbow path between c¯i\bar{c}_{i} and c¯j\bar{c}_{j} is c¯iec¯j\bar{c}_{i}e\bar{c}_{j}.

  3. (3)

    For j{1,2,,s}j\in\{1,2,\dots,s\}, the rainbow path between c¯1\bar{c}_{1} and c^j\hat{c}_{j} is c¯1ec^j\bar{c}_{1}e\hat{c}_{j} if jj is even, c¯1ec^j1c^j\bar{c}_{1}e\hat{c}_{j-1}\hat{c}_{j} if jj is odd, c^j1\hat{c}_{j-1} is adjacent to c^j\hat{c}_{j}, and j1j\neq 1, or c¯1ec^j+1c^j\bar{c}_{1}e\hat{c}_{j+1}\hat{c}_{j} if jj is odd, c^j+1\hat{c}_{j+1} and c^j\hat{c}_{j} are adjacent, and jsj\neq s.

  4. (4)

    If t=2t=2 and j{1,2,,s}j\in\{1,2,\dots,s\}, the rainbow path between c¯2\bar{c}_{2} and c^j\hat{c}_{j} is c¯2ec^j\bar{c}_{2}e\hat{c}_{j} if jj is odd, c¯2ec^j1c^j\bar{c}_{2}e\hat{c}_{j-1}\hat{c}_{j} if jj is even and c^j1\hat{c}_{j-1} is adjacent to c^j\hat{c}_{j}, or c¯2ec^j+1c^j\bar{c}_{2}e\hat{c}_{j+1}\hat{c}_{j} if jj is even, c^j+1\hat{c}_{j+1} is adjacent to c^j\hat{c}_{j}, and jsj\neq s. The rainbow paths between c¯1\bar{c}_{1} and c^j\hat{c}_{j} are the same as the paths in point 3.

  5. (5)

    If t=3t=3 and j{1,2,,s}j\in\{1,2,\dots,s\}, the rainbow path between c¯3\bar{c}_{3} and c^j\hat{c}_{j} is c¯3ec^j\bar{c}_{3}e\hat{c}_{j} . The rainbow paths between c¯1\bar{c}_{1} and c^j\hat{c}_{j}, and between c¯2\bar{c}_{2} and c^j\hat{c}_{j}, are the same as the paths in point 3 and 4, respectively.

Since every two distinct vertices of CG(Γ)CG(\Gamma) are connected by a rainbow path under this edge coloring, we get rc(CG(Γ))3rc(CG(\Gamma))\leq 3. From the above explanations, we conclude that if Γ\Gamma has a nontrivial center or if Γ\Gamma is a group with a trivial center and has at most three maximal abelian subgroups of order 2, then rc(CG(Γ))3rc(CG(\Gamma))\leq 3.

Now suppose that Γ\Gamma is a finite nonabelian group with a trivial center and has at least 44 maximal abelian subgroups of order 2. Therefore, CG(Γ)CG(\Gamma) has at least 44 pendant edges and rc(CG(Γ))4rc(CG(\Gamma))\geq 4. Thus, if rc(CG(Γ))3rc(CG(\Gamma))\leq 3, then Γ\Gamma has a nontrivial center or Γ\Gamma is a group with a trivial center and has at most three maximal abelian subgroups of order 2. ∎

Theorem 3.1 characterizes all finite nonabelian groups whose rainbow connection numbers of their commuting graphs do not exceed 3. The theorem states that the rainbow connection number of the commuting graph of a finite nonabelian groups with nontrivial center cannot be greater than 3. In Theorem 4, we discuss a finite nonabelian group with nontrivial center whose rainbow connection number of its inverse graph equals 2.

Theorem 3.2.

Let Γ\Gamma be a finite nonabelian group with |Z(Γ)|2|Z(\Gamma)|\geq 2 and 𝒞\mathscr{C} be the collection of all maximal abelian subgroups of Γ\Gamma. If |𝒞|2|Z(Γ)||\mathscr{C}|\leq 2^{|Z(\Gamma)|}, then rc(CG(Γ))=2rc(CG(\Gamma))=2.

Proof.

Let Γ\Gamma be a non-Abelian finite group with |Z(Γ)|2|Z(\Gamma)|\geq 2 and having nn maximal Abelian subgroups where n3n\geq 3. Let C={C1,,Cn}C=\{C_{1},\dots,C_{n}\} be the collection of all maximal Abelian subgroups of Γ\Gamma. Since Γ\Gamma is non-Abelian, CG(Γ)CG(\Gamma) is not a complete graph. Therefore, rc(CG(Γ))2rc(CG(\Gamma))\geq 2.

Select any element uiu_{i} from CiZ(Γ)C_{i}\setminus Z(\Gamma) for each i{1,2,,n}i\in\{1,2,\dots,n\} and form a set U={u1,u2,,un}U=\{u_{1},u_{2},\dots,u_{n}\}. If there exist two elements uiu_{i} and uju_{j} such that ui=uju_{i}=u_{j} for distinct ii and jj in {1,2,,n}\{1,2,\dots,n\} (i.e., uiu_{i} and uju_{j} are the same non-central element in an intersection of two or more maximal Abelian subgroups), then remove one of the two elements from UU. Hence, |U||C||U|\leq|C|.

Let JJ be an induced subgraph of CG(Γ)CG(\Gamma) with the vertex set V(J)=Z(Γ)UV(J)=Z(\Gamma)\cup U. Note that every member of Z(Γ)Z(\Gamma) is adjacent to every other element in Z(Γ)UZ(\Gamma)\cup U in JJ. Suppose JJ is edge-colored with two colors. Each uiUu_{i}\in U is labeled with an ordered |Z(Γ)||Z(\Gamma)|-tuple, denoted by Kui=(kui1,kui2,,kui|Z(Γ)|)K_{u_{i}}=(k_{u_{i}1},k_{u_{i}2},\dots,k_{u_{i}|Z(\Gamma)|}), where kuijk_{u_{i}j} is the color of the edge uizju_{i}z_{j}, with zjz_{j} being a member of Z(Γ)Z(\Gamma), and j{1,,|Z(Γ)|}j\in\{1,\dots,|Z(\Gamma)|\}. Since only two colors are used to color the edges of JJ, we have kuij{1,2}k_{u_{i}j}\in\{1,2\} for each uiUu_{i}\in U and each j{1,,|Z(Γ)|}j\in\{1,\dots,|Z(\Gamma)|\}. Therefore, the number of distinct ordered |Z(Γ)||Z(\Gamma)|-tuples that can be used to label the elements in UU is 2|Z(Γ)|2^{|Z(\Gamma)|}.

If |C|2|Z(Γ)||C|\leq 2^{|Z(\Gamma)|}, then every two distinct elements in UU that come from different maximal Abelian subgroups can be labeled with different |Z(Γ)||Z(\Gamma)|-tuples. If uiu_{i} and uju_{j} are two distinct elements in (CiCj)Z(Γ)(C_{i}\cap C_{j})\setminus Z(\Gamma), the shortest rainbow path in JJ connecting these two elements is the edge uiuju_{i}u_{j}. For uiCiCju_{i}\in C_{i}\setminus C_{j} and ujCjCiu_{j}\in C_{j}\setminus C_{i}, the rainbow path of length 2 in the subgraph JJ that connects uiu_{i} and uju_{j} is uizluju_{i}z_{l}u_{j}, where zlz_{l} is an element of Z(Γ)Z(\Gamma) such that kuilkujlk_{u_{i}l}\neq k_{u_{j}l}. Since each member of UU is chosen arbitrarily from CiZ(Γ)C_{i}\setminus Z(\Gamma) for each i{1,2,,n}i\in\{1,2,\dots,n\}, it follows that any two elements from different maximal Abelian subgroups are connected by a rainbow path. Note that any two noncommuting elements in Γ\Gamma do not belong to the same maximal Abelian subgroup. Therefore, if |C|2|Z(Γ)||C|\leq 2^{|Z(\Gamma)|}, the edges of the graph CG(Γ)CG(\Gamma) can be colored with two colors such that any two non-adjacent vertices are connected by a rainbow path of length 2. Consequently, rc(CG(Γ))2rc(CG(\Gamma))\leq 2. Since rc(CG(Γ))2rc(CG(\Gamma))\geq 2, it follows that rc(CG(Γ))=2rc(CG(\Gamma))=2. ∎

The semidihedral group SD8nSD_{8n}, which is a group of order 8n8n with n2n\geq 2, is an example of a group that meet the condition of Theorem 3.2. The presentation of the group is SD8n=a,b:a4n=b2=e,ba=a2n1bSD_{8n}=\langle a,b:a^{4n}=b^{2}=e,ba=a^{2n-1}b\rangle. The set of elements of the group is {e,a,a2,,a4n1,b,ab,a2b,,a4n1b}\{e,a,a^{2},\dots,a^{4n-1},b,ab,a^{2}b,\dots,a^{4n-1}b\}. The center of SD8nSD_{8n} is Z(SD8n)={e,a2n}Z(SD_{8n})=\{e,a^{2n}\} if nn is even, and Z(SD8n)={e,an,a2n,a3n}Z(SD_{8n})=\{e,a^{n},a^{2n},a^{3n}\} if nn is odd. For an even nn, the maximal abelian subgroups of SD8nSD_{8n} are Hi={e,a2n,aib,a2n+ib}H_{i}=\{e,a^{2n},a^{i}b,a^{2n+i}b\} for i{1,2,,3n1}i\in\{1,2,\dots,3n-1\} and H3n={e,a,a2,,a4n1}H_{3n}=\{e,a,a^{2},\dots,a^{4n-1}\}. For an odd nn, the maximal abelian subgroups of SD8nSD_{8n} are Hi={e,an,a2n,a3n,aib,an+ib,a2n+ib,a3n+ib}H_{i}=\{e,a^{n},a^{2n},a^{3n},a^{i}b,a^{n+i}b,a^{2n+i}b,a^{3n+i}b\} for i{1,2,,n}i\in\{1,2,\dots,n\} and Hn+1={e,a,a2,,a4n1}H_{n+1}=\{e,a,a^{2},\dots,a^{4n-1}\}. If n=n= 3, SD8n=SD24SD_{8n}=SD_{24} and has four maximal abelian subgroups. Hence, rc(CG(SD24))=2rc(CG(SD_{24}))=2. Figure 2 shows the minimum rainbow coloring of the commuting graph of the group SD24SD_{24} with two colors: color 1 and color 2.

Refer to caption
Figure 2. The minimum rainbow coloring of the commuting graph of group SD24SD_{24} with two colors. The edges whose color numbers are not written are colored with color 1.

From Theorem  3.2, we directly get the fact that for a finite nonabelian group Γ\Gamma with |Z(Γ)|2|Z(\Gamma)|\geq 2, if rc(CG(Γ))=3rc(CG(\Gamma))=3, then Γ\Gamma has more than 2|Z(Γ)|2^{|Z(\Gamma)|} maximal abelian subgroups. In order to obtain some finite nonabelian groups whose rainbow connection numbers of their commuting graphs equal 3, we need the following theorem.

Theorem 3.3.

Let Γ\Gamma be a finite non-Abelian group and HΓH\subset\Gamma with |H|2|H|\geq 2. If Γ\Gamma has a collection 𝒯\mathscr{T} of at least two maximal Abelian subgroups such that the intersection of any two subgroups in 𝒯\mathscr{T} is equal to HH, and XX is the union of all members of 𝒯\mathscr{T}, then

  1. (1)

    rc(CG(Γ,X))=2rc(CG(\Gamma,X))=2 if and only if |𝒯|2|H||\mathscr{T}|\leq 2^{|H|};

  2. (2)

    rc(CG(Γ,X))=3rc(CG(\Gamma,X))=3 if and only if |𝒯|>2|H||\mathscr{T}|>2^{|H|}.

Proof.

Suppose Γ\Gamma is a finite non-Abelian group and HH is a subset of Γ\Gamma with |H|2|H|\geq 2. Let Γ\Gamma have a collection of maximal Abelian subgroups 𝒯={Θ1,,Θm}\mathscr{T}=\{\Theta_{1},\dots,\Theta_{m}\} with m2m\geq 2, satisfying H=ΘiΘjH=\Theta_{i}\cap\Theta_{j} for every distinct ii and jj in {1,,m}\{1,\dots,m\}, and let X=i=1mΘiX=\bigcup\limits_{i=1}^{m}\Theta_{i}. Since Γ\Gamma is a non-Abelian group and m2m\geq 2, there are two vertices in CG(Γ,X)CG(\Gamma,X) that are not adjacent, which implies that CG(Γ,X)CG(\Gamma,X) is not a complete graph. Consequently, rc(CG(Γ,X))2rc(CG(\Gamma,X))\geq 2. Any two distinct elements in Θi\Theta_{i} are adjacent in CG(Γ,X)CG(\Gamma,X) for each i{1,,m}i\in\{1,\dots,m\}, so every two distinct elements in HH are adjacent in CG(Γ,X)CG(\Gamma,X). Since ΘiΘj=H\Theta_{i}\cap\Theta_{j}=H for every i,j{1,,m}i,j\in\{1,\dots,m\} with iji\neq j, each aΘiHa\in\Theta_{i}\setminus H is not adjacent to any bΘjHb\in\Theta_{j}\setminus H in CG(Γ,X)CG(\Gamma,X) when iji\neq j. Hence, the shortest paths in CG(Γ,X)CG(\Gamma,X) connecting aΘiHa\in\Theta_{i}\setminus H and bΘjHb\in\Theta_{j}\setminus H with iji\neq j are paths of the form ahkbah_{k}b where hkHh_{k}\in H and k{1,,|H|}k\in\{1,\dots,|H|\}. These shortest paths have length 2.

Select one element wiw_{i} from ΘiH\Theta_{i}\setminus H for each i{1,,m}i\in\{1,\dots,m\}, then form the subset W={w1,,wm}W=\{w_{1},\dots,w_{m}\}. Clearly, any two distinct elements in WW are not adjacent in CG(Γ,X)CG(\Gamma,X). Consider the subgraph induced by CG(Γ,X)CG(\Gamma,X) with the vertex set HWH\cup W. Denote this subgraph as JJ. It is evident that JJ is not a complete graph, so rc(J)2rc(J)\geq 2. Next, two cases will be considered to determine the rainbow connection number of the graph JJ.

Case 1: For m2|H|m\leq 2^{|H|}.

Let the edges of JJ be colored with a 2-coloring pp. For every two elements hih_{i} and hjh_{j} in HH, the edge hihjh_{i}h_{j} is colored with color 1. For each wiWw_{i}\in W, i{1,,m}i\in\{1,\dots,m\}, assign a labeled ordered tuple-|H||H| as Kwi=(kwi1,kwi2,,kwi|H|)K_{w_{i}}=(k_{w_{i1}},k_{w_{i2}},\dots,k_{w_{i|H|}}), where kwijk_{w_{ij}} is the color of the edge wihjw_{i}h_{j}, hjHh_{j}\in H, and j{1,,|H|}j\in\{1,\dots,|H|\}. Since the number of colors used is two, kwij{1,2}k_{w_{ij}}\in\{1,2\} for each i{1,,m}i\in\{1,\dots,m\} and each j{1,,|H|}j\in\{1,\dots,|H|\}. Thus, the number of possible ordered tuples-|H||H| for the elements of WW is 2|H|2^{|H|}. Note that |W|=|𝒯|=m|W|=|\mathscr{T}|=m. If m2|H|m\leq 2^{|H|}, then every two distinct elements of WW can be assigned different labeled ordered tuples-|H||H|, ensuring that every two elements of WW are connected by a rainbow path in JJ. The rainbow path connecting each pair wiw_{i} and wjw_{j} in WW has the form wihlwjw_{i}h_{l}w_{j}, where hlh_{l} is an element of HH such that kwilkwjlk_{w_{il}}\neq k_{w_{jl}}. Therefore, we have rc(J)2rc(J)\leq 2. Since rc(J)2rc(J)\geq 2, it follows that rc(J)=2rc(J)=2.

Case 2: For m>2|H|m>2^{|H|}.

As in Case 1, each wiWw_{i}\in W, i{1,,m}i\in\{1,\dots,m\}, is assigned a labeled ordered tuple-|H||H| as Kwi=(kwi1,kwi2,,kwi|H|)K_{w_{i}}=(k_{w_{i1}},k_{w_{i2}},\dots,k_{w_{i|H|}}), where kwijk_{w_{ij}} is the color of the edge wihjw_{i}h_{j}, hjHh_{j}\in H, and j{1,,|H|}j\in\{1,\dots,|H|\}.

Just as in Case 1, if we color the edges of the graph JJ with two colors, the number of possible ordered tuples-|H||H| for the elements of WW is 2|H|2^{|H|}. Since m>2|H|m>2^{|H|}, there are at least two vertices wiw_{i} and wjw_{j} in WW such that Kwi=KwjK_{w_{i}}=K_{w_{j}}. Since kwil=kwjlk_{w_{il}}=k_{w_{jl}} for each l{1,,|H|}l\in\{1,\dots,|H|\}, there is no rainbow path of length 2 connecting wiw_{i} and wjw_{j} in JJ. Any other paths in JJ that are not the shortest paths between wiw_{i} and wjw_{j} have length at least 3, so coloring the edges of JJ with two colors does not result in a rainbow path in JJ connecting wiw_{i} and wjw_{j}. Therefore, we have rc(J)3rc(J)\geq 3.

Now suppose that each edge ϵ\epsilon of JJ is colored with three colors as follows:

p={1,if ϵ=hihi+1 for i{1,,|H|1} or ϵ=hiwi for i{1,,|H|},2,if ϵ=h1wt for t{|H|+1,,m},3,for all other edges.p*=\begin{cases}1,&\text{if }\epsilon=h_{i}h_{i+1}\text{ for }i\in\{1,\dots,|H|-1\}\text{ or }\epsilon=h_{i}w_{i}\text{ for }i\in\{1,\dots,|H|\},\\ 2,&\text{if }\epsilon=h_{1}w_{t}\text{ for }t\in\{|H|+1,\dots,m\},\\ 3,&\text{for all other edges}.\end{cases}

With this coloring, the rainbow paths between any two vertices in JJ are as follows:

  1. (1)

    The rainbow path between any two vertices in HH is the edge between those two vertices since every two vertices in HH are adjacent.

  2. (2)

    The rainbow path between two vertices wiw_{i} and wjw_{j} with ii and jj in {1,,|H|}\{1,\dots,|H|\} and iji\neq j is wihiwjw_{i}h_{i}w_{j}.

  3. (3)

    The rainbow path between two vertices wiw_{i} and wjw_{j} with ii and jj in {|H|+1,,m}\{|H|+1,\dots,m\} and iji\neq j is wih1h2wjw_{i}h_{1}h_{2}w_{j}.

  4. (4)

    The rainbow path between two vertices wiw_{i} and wjw_{j} with i{1,,|H|}i\in\{1,\dots,|H|\} and j{|H|+1,,m}j\in\{|H|+1,\dots,m\} is wih1wjw_{i}h_{1}w_{j}.

From the above description, it is clear that with the coloring pp^{*}, any two distinct vertices in JJ are connected by a rainbow path, so rc(J)3rc(J)\leq 3. Since rc(J)3rc(J)\geq 3, we conclude that rc(J)=3rc(J)=3.

If |Θi|4|\Theta_{i}|\geq 4 for at least one i{1,,m}i\in\{1,\dots,m\}, then there exists another subgraph in CG(Γ,X)CG(\Gamma,X) that is isomorphic to JJ. In this case, to obtain another subgraph isomorphic to JJ, select one element wiw^{\prime}_{i} from ΘiH\Theta_{i}\setminus H for each i{1,,m}i\in\{1,\dots,m\}, with wiwiw^{\prime}_{i}\neq w_{i} for at least one i{1,,m}i\in\{1,\dots,m\}. Then form the subset W={w1,,wm}W^{\prime}=\{w^{\prime}_{1},\dots,w^{\prime}_{m}\}. Clearly, any two distinct elements in WW^{\prime} are not adjacent in CG(Γ,X)CG(\Gamma,X). The subgraph of CG(Γ,X)CG(\Gamma,X) induced by HWH\cup W^{\prime}, call it subgraph JJ^{\prime}, is isomorphic to JJ.

In CG(Γ,X)CG(\Gamma,X), there are i=1m|ΘiH|\prod_{i=1}^{m}|\Theta_{i}\setminus H| subgraphs that are isomorphic to JJ. Since these subgraphs are isomorphic to JJ, the rainbow connection number of each of these subgraphs is the same as rc(J)rc(J). Any two non-adjacent vertices in CG(Γ,X)CG(\Gamma,X) lie in the same subgraph, either JJ or a subgraph isomorphic to JJ.

Next, the rainbow connection number rc(J)rc(J) will be used to determine rc(CG(Γ,X))rc(CG(\Gamma,X)). As with determining rc(J)rc(J), the determination of rc(CG(Γ,X))rc(CG(\Gamma,X)) will be divided into two cases.

Case 1: For m2|H|m\leq 2^{|H|}. Color the edges of CG(Γ,X)CG(\Gamma,X) using the following edge-coloring scheme:

  1. (1)

    The subgraph JJ, and all subgraphs isomorphic to JJ, are colored using the minimum rainbow coloring for JJ, which uses two colors.

  2. (2)

    All other edges in CG(Γ,X)CG(\Gamma,X) are colored with color 1.

Since any two non-adjacent vertices in CG(Γ,X)CG(\Gamma,X) lie in the same subgraph (either the subgraph JJ or a subgraph isomorphic to JJ), with the above edge-coloring, any two non-adjacent vertices in CG(Γ,X)CG(\Gamma,X) are connected by a rainbow path. Therefore, rc(CG(Γ,X))2rc(CG(\Gamma,X))\leq 2. Since rc(CG(Γ,X))2rc(CG(\Gamma,X))\geq 2, we conclude that rc(CG(Γ,X))=2rc(CG(\Gamma,X))=2.

Case 2: For m>2|H|m>2^{|H|}. Color the edges of CG(Γ,X)CG(\Gamma,X) using the following edge-coloring scheme:

  1. (1)

    The subgraph JJ, and all subgraphs isomorphic to JJ, are colored using the minimum rainbow coloring for JJ, which uses three colors.

  2. (2)

    All other edges in CG(Γ,X)CG(\Gamma,X) are colored with color 1.

Since any two non-adjacent vertices in CG(Γ,X)CG(\Gamma,X) lie in the same subgraph (either the subgraph JJ or a subgraph isomorphic to JJ), with the above edge-coloring, any two non-adjacent vertices in CG(Γ,X)CG(\Gamma,X) are connected by a rainbow path. Thus, rc(CG(Γ,X))3rc(CG(\Gamma,X))\leq 3. If we attempt to color the edges of CG(Γ,X)CG(\Gamma,X) with fewer than three colors, then there exist two non-adjacent vertices in the subgraph JJ that are not connected by a rainbow path, implying that rc(CG(Γ,X))3rc(CG(\Gamma,X))\geq 3. Therefore, we conclude that rc(CG(Γ,X))=3rc(CG(\Gamma,X))=3.

From the above results, several conclusions can be drawn. If m2|H|m\leq 2^{|H|}, then rc(CG(Γ,X))=2rc(CG(\Gamma,X))=2. If m>2|H|m>2^{|H|}, then rc(CG(Γ,X))=3rc(CG(\Gamma,X))=3. Thus, we can conclude that rc(CG(Γ,X))=2rc(CG(\Gamma,X))=2 if and only if m2|H|m\leq 2^{|H|}, and rc(CG(Γ,X))=3rc(CG(\Gamma,X))=3 if and only if m>2|H|m>2^{|H|}.

Using Theorem 3.3, we obtain some finite nonabelian groups whose rainbow connection numbers of their commuting graphs equal 3.

Theorem 3.4.

Let Γ\Gamma be a finite non-Abelian group with at most three maximal Abelian subgroups of order 2. Let mm be an integer with m2m\geq 2, HΓH\subset\Gamma with |H|1|H|\geq 1, and there exists a collection of maximal Abelian subgroups 𝒯={Θ1,,Θm}\mathscr{T}=\{\Theta_{1},\dots,\Theta_{m}\} of the group Γ\Gamma such that ΘiΘj=H\Theta_{i}\cap\Theta_{j}=H for iji\neq j. If m>2|H|m>2^{|H|}, then rc(CG(Γ))=3rc(CG(\Gamma))=3.

Proof.

Let |Z(Γ)|2|Z(\Gamma)|\geq 2, m>2|H|m>2^{|H|}, and X=i=1mΘiX=\bigcup\limits_{i=1}^{m}\Theta_{i}. According to Theorem 3.1, rc(CG(Γ))3rc(CG(\Gamma))\leq 3. Since |Z(Γ)|2|Z(\Gamma)|\geq 2, we get |H|2|H|\geq 2. According to Theorem 3.3, rc(CG(Γ,X))=3rc(CG(\Gamma,X))=3. It is obvious that CG(Γ,X)CG(\Gamma,X) is a subgraph of CG(Γ)CG(\Gamma). The length of any path PP in CG(Γ)CG(\Gamma), whose E(P)E(P) is not the subset of E(CG(Γ,X))E(CG(\Gamma,X)), that connects any two nonadjacent vertices aΘiHa\in\Theta_{i}\setminus H and bΘjHb\in\Theta_{j}\setminus H for iji\neq j is at least 33. Therefore, we need an edge coloring with at least 3 colors to make CG(Γ)CG(\Gamma) rainbow-connected, and hence rc(CG(Γ))3rc(CG(\Gamma))\geq 3. Since rc(CG(Γ))3rc(CG(\Gamma))\leq 3, we get rc(CG(Γ))=3rc(CG(\Gamma))=3.

Now let |Z(Γ)|=1|Z(\Gamma)|=1, m>2|H|m>2^{|H|}, and Γ\Gamma has at most 33 maximal abelian subgroups of order 22. According to Theorem 3.1, rc(CG(Γ))3rc(CG(\Gamma))\leq 3. Let X=i=1mΘiX=\bigcup\limits_{i=1}^{m}\Theta_{i} and |H|=1|H|=1. Since |Z(Γ)|=|H|=1|Z(\Gamma)|=|H|=1, we get Z(Γ)=HZ(\Gamma)=H and m3m\geq 3. Suppose that rc(CG(Γ,X))=2rc(CG(\Gamma,X))=2. Choose three non-identity elements c1Θ1c_{1}\in\Theta_{1}, c2Θ2c_{2}\in\Theta_{2}, and c3Θ3c_{3}\in\Theta_{3}. Clearly, every pair of the three elements are not adjacent in CG(Γ,X)CG(\Gamma,X), and also in CG(Γ,)CG(\Gamma,) . Since ΘiΘj={e}\Theta_{i}\cap\Theta_{j}=\{e\} for every i,j{1,,m}i,j\in\{1,\dots,m\}, where iji\neq j, the only paths of length 2 in CG(Γ,X)CG(\Gamma,X), and also in CG(Γ)CG(\Gamma), connecting every pair of the three elements are c1ec2c_{1}ec_{2}, c1ec3c_{1}ec_{3}, and c2ec3c_{2}ec_{3}. Without loss of generality, if we color the edge c1ec_{1}e with color 1, the edge c2ec_{2}e with color 2, and the edge c3ec_{3}e with color 2, then c1ec2c_{1}ec_{2} is the rainbow path connecting c1c_{1} and c2c_{2}, and c1ec3c_{1}ec_{3} is the rainbow path connecting c1c_{1} and c3c_{3}. But there is no rainbow path connecting c2c_{2} and c3c_{3}. Hence, rc(CG(Γ,X))rc(CG(\Gamma,X)), and also rc(CG(Γ))rc(CG(\Gamma)), must be at least 3. Since rc(CG(Γ))3rc(CG(\Gamma))\leq 3, we get rc(CG(Γ))=3rc(CG(\Gamma))=3. If |H|2|H|\geq 2, using a similar proof as in the case of |Z(Γ)|2|Z(\Gamma)|\geq 2, we get rc(CG(Γ))3rc(CG(\Gamma))\geq 3. Since rc(CG(Γ))3rc(CG(\Gamma))\leq 3, we get rc(CG(Γ))=3rc(CG(\Gamma))=3. ∎

For a finite nonabelian group Γ\Gamma with a nontrivial center which the intersection of every pair of its maximal abelian subgroups equals its center, Theorem 3.3 immediately gives us the following corollary.

Corollary 3.5.

Let Γ\Gamma be a finite nonabelian group with a nontrivial center Z(Γ)Z(\Gamma), 𝒞\mathscr{C} be the collection of all maximal abelian subgroups of Γ\Gamma, and the intersection of every two members of 𝒞\mathscr{C} equals Z(Γ)Z(\Gamma).

  1. (1)

    rc(CG(Γ))=2rc(CG(\Gamma))=2 if and only if |𝒞|2|Z(Γ)||\mathscr{C}|\leq 2^{|Z(\Gamma)|},

  2. (2)

    rc(CG(Γ))=3rc(CG(\Gamma))=3 if and only if |𝒞|>2|Z(Γ)||\mathscr{C}|>2^{|Z(\Gamma)|}.

The dihedral group D6D_{6} and the alternating group A4A_{4} are examples of groups that meet the condition of Corollary 3.5. The presentation of D6D_{6} is D6=r,s:r3=s2=e,srs=r1D_{6}=\langle r,s:r^{3}=s^{2}=e,srs=r^{-1}\rangle, where ee is the identity element of the group. This group has four maximal abelian subgroups, which are {e,r,r2}\{e,r,r^{2}\}, {e,s}\{e,s\}, {e,rs}\{e,rs\}, and {e,r2s}\{e,r^{2}s\}. There are three maximal abelian subgroups of order 2 in this group. The center of this group is Z(D6)={e}Z(D_{6})=\{e\} and the intersection of every two distinct maximal abelian subgroups is Z(D6)Z(D_{6}). The center of group A4A_{4} is Z(A4)={(1)}Z(A_{4})=\{(1)\}, which is the identity permutation. This group has five maximal abelian subgroups. The maximal abelian subgroups of A4A_{4} are {(1),(123),(132)}\{(1),(123),(132)\}, {(1),(124),(142)}\{(1),(124),(142)\}, {(1),(134),(143)}\{(1),(134),(143)\}, {(1),(234),(243)}\{(1),(234),(243)\}, and {(1),(12)(34),(13)(24),(14)(23)}\{(1),(12)(34),(13)(24),(14)(23)\}. This group has no maximal abelian subgroup of order 2. The intersection of every two distinct maximal abelian subgroups of A4A_{4} is Z(A4)Z(A_{4}). According to Corollary 3.5, rc(CGD6))=rc(CG(A4))=3rc(CGD_{6}))=rc(CG(A_{4}))=3. Figure 3 shows the minimum rainbow colorings of CG(A4)CG(A_{4}) and CG(D6)CG(D_{6}) with three colors: color 1, color 2, and color 3.

Refer to caption
Figure 3. (a) A minimum rainbow coloring of CG(A4)CG(A_{4}), (b) A minimum rainbow coloring of CG(D6)CG(D_{6}).

An example of a finite nonabelian group that meets the condition of Theorem 3.4 is the generalized quaternion group Q4nQ_{4n}, where n2n\geq 2, with presentation Q4n=a,b:an=b2,a2n=e,b1ab=a1Q_{4n}=\langle a,b:a^{n}=b^{2},a^{2n}=e,b^{-1}ab=a^{-1}\rangle. The center of the group is Z(Q4n)={e,an}Z(Q_{4n})=\{e,a^{n}\}. Hence, |Z(Q4n)|=2|Z(Q_{4n})|=2. The maximal abelian subgroups of the group are Hi={e,an,aib,an+ib}H_{i}=\{e,a^{n},a^{i}b,a^{n+i}b\} for i{0,1,,n1}i\in\{0,1,\dots,n-1\} and Hn={e,a,a2,,a2n1}H_{n}=\{e,a,a^{2},\dots,a^{2n-1}\}. Therefore, the group has n+1n+1 maximal abelian subgroups and it is obvious that Z(Γ)=HiHjZ(\Gamma)=H_{i}\cap H_{j} for i,j{0,2,,n}i,j\in\{0,2,\dots,n\} where iji\neq j. If n4n\geq 4, then Q4nQ_{4n} has at least 5 maximal abelian subgroups. Hence, according to Theorem 3.4, rc(CG(Q4n))=3rc(CG(Q_{4n}))=3 if n4n\geq 4. Figure 4 shows a minimum rainbow coloring of the group Q16Q_{16} with three colors: color 1, color 2, and color 3.

Refer to caption
Figure 4. A minimum rainbow coloring of the commuting graph of group Q16Q_{16} with three colors.

So far we have discussed the finite nonabelian groups whose rainbow connection numbers of their commuting graphs are less than or equal to 3. In Theorem 3.6, we characterize a finite nonabelian group whose commuting graph has rainbow connection number at least 4.

Theorem 3.6.

For an integer t4t\geq 4, rc(CG(Γ))=trc(CG(\Gamma))=t if and only if Γ\Gamma is a finite nonabelian group with a trivial center and has exactly tt maximal abelian subgroups of order 2.

Proof.

Let t4t\geq 4 be an integer and Γ\Gamma be a finite nonabelian group with a trivial center and has exactly tt maximal abelian subgroups of order 2. Let ee be the identity element of Γ\Gamma and 𝒞={C1,,Cm}\mathscr{C}=\{C_{1},\dots,C_{m}\} be the collection of all maximal abelian subgroups of Γ\Gamma, where m4m\geq 4. Form the sets 𝒞¯\bar{\mathscr{C}} and C^\hat{C} as in the proof of Theorem 3.1. Recall that since |𝒞¯|=t|\bar{\mathscr{C}}|=t, the commuting graph CG(Γ)CG(\Gamma) has exactly tt pendant edges. Therefore, rc(CG(Γ))trc(CG(\Gamma))\geq t. Next, we color the edges of CG(Γ)CG(\Gamma) with tt colors as follows:

  1. (1)

    the edge ec¯ie\bar{c}_{i} is colored with color ii for every i{1,2,,t}i\in\{1,2,\dots,t\},

  2. (2)

    the edge ec^ie\hat{c}_{i} is colored with color 1 if ii is odd or color 2 if ii is even for every i{1,2,,s}i\in\{1,2,\dots,s\},

  3. (3)

    the other edges are colored with color 3.

The rainbow paths of CG(Γ)CG(\Gamma) under this edge coloring are as follows.

  1. (1)

    For i,j{1,2,,t}i,j\in\{1,2,\dots,t\}, where iji\neq j, the rainbow path between c¯i\bar{c}_{i} and c¯j\bar{c}_{j} is c¯iec¯j\bar{c}_{i}e\bar{c}_{j}.

  2. (2)

    For every j{1,2,,s}j\in\{1,2,\dots,s\}, the rainbow paths between c¯1\bar{c}_{1} and c^j\hat{c}_{j}, and between c¯2\bar{c}_{2} and c^j\hat{c}_{j}, are the same as the paths in the case of t=2t=2 in Theorem 3.1.

  3. (3)

    For every i{3,,t}i\in\{3,\dots,t\} and every j{1,2,,s}j\in\{1,2,\dots,s\}, the rainbow path between c¯i\bar{c}_{i} and c^j\hat{c}_{j} is c¯iec^j\bar{c}_{i}e\hat{c}_{j}.

  4. (4)

    The rainbow paths between c^i\hat{c}_{i} and c^j\hat{c}_{j}, where i,j{1,2,,s}i,j\in\{1,2,\dots,s\}, are the same as the paths between c^i\hat{c}_{i} and c^j\hat{c}_{j} in the case of t=0t=0 in Theorem 3.1.

Since every two distinct vertices of CG(Γ)CG(\Gamma) are connected by a rainbow path under this edge coloring, we get rc(CG(Γ))trc(CG(\Gamma))\leq t. Since rc(CG(Γ))trc(CG(\Gamma))\geq t, we get rc(CG(Γ))=trc(CG(\Gamma))=t, where t4t\geq 4.

Now let rc(CG(Γ))=trc(CG(\Gamma))=t, where t4t\geq 4. According to Theorem 3.1, Γ\Gamma is a finite nonabelian group with a trivial center and has exactly ss maximal abelian subgroups of order 2, where s4s\geq 4. Hence, CG(Γ)CG(\Gamma) has exactly ss pendant edges and sts\leq t. According the previous result, we can color the edges of CG(Γ)CG(\Gamma) by ss colors such that every two distinct vertices of CG(Γ)CG(\Gamma) are connected by a rainbow path. Therefore, rc(CG(Γ))src(CG(\Gamma))\leq s. Since rc(CG(Γ))=trc(CG(\Gamma))=t and sts\leq t, we get s=ts=t. ∎

All results above show that the rainbow connection number of the commuting graph of a finite nonabelian group with nontrivial center is related to the number of maximal abelian subgroups of the group. Now recall that a maximal abelian subgroup of order 2 of a finite nonabelian group Γ\Gamma consists of the identity element of Γ\Gamma and an involution that do not commute with any other nonidentity element of Γ\Gamma. Hence, for a natural number tt, Γ\Gamma has exactly tt maximal abelian subgroups of order 2 if and only if Γ\Gamma has exactly tt involutions that do not commute with any other nonidentity element of the group. Thus, Theorem 3.6 gives us the following corollary.

Corollary 3.7.

For a natural number t4t\geq 4, rc(CG(Γ))=trc(CG(\Gamma))=t if and only if Γ\Gamma is a finite nonabelian group with a trivial center and has exactly tt involutions that do not commute with any other nonidentity element of Γ\Gamma.

According to Corollary 2, if rc(CG(Γ))4rc(CG(\Gamma))\geq 4 for a finite group Γ\Gamma, then Γ\Gamma must be a group with a trivial center and has rc(CG(Γ))rc(CG(\Gamma)) involutions that do not commute with any other nonidentity element of Γ\Gamma. If Γ\Gamma is a finite group with a trivial center and rc(CG(Γ))<4rc(CG(\Gamma))<4, then we can be sure that Γ\Gamma has less than four involutions that do not commute with any other nonidentity element of Γ\Gamma.

References

  • [1] G. Aalipour, S. Akbari, P.J. Cameron, R. Nikandish, and F. Shaveisi, On the structure of the power graph and the enhanced power graph of a group, The Electronic J. Combin. 24 (2017), no. 3, P3.16.
  • [2] A. Abdollahi, S. Akbari, and H.R. Maimani, Non-commuting graph of a group, J. Algebra 298 (2006), no. 2, 468–492.
  • [3] M.R. Alfuraidan and Y.F. Zakariya, Inverse graphs associated with finite groups, Electron. J. Graph Theory Appl. 5 (2017), no. 1, 142–154.
  • [4] F.Ali and Y. Li, The connectivity and the spectral radius of commuting graphs on certain finite groups, Linear and Multilinear Algebra 69 (2021), no. 16, 2945-2958.
  • [5] S. Bau, P. Johnson, E. Jones, K. Kumwenda, and R. Matzke, Rainbow connectivity in some Cayley graphs, Australasian. J. Combin. 71 (2018), no. 3, 381–393.
  • [6] P. Cayley, Desiderata and suggestions: No. 2. The Theory of groups: graphical representation, American. J. Math. 1 (1878), no. 2, 174–176.
  • [7] I. Chakrabarty, S. Ghosh, and M.K. Sen, Undirected power graphs of semigroups, Semigroup Forum 78 (2009), 410–426.
  • [8] G. Chartrand, G.L. Johns, K.A. McKeon, and P. Zhang, Rainbow connection in graphs, Mathematica Bohemica 133 (2008), no. 1, 85-98.
  • [9] R. Diestel, Graph theory, Springer-Verlag, New York, 2005.
  • [10] D.S. Dummit and R.M. Foote, Abstract algebra (3rd Edition), John Wiley & Sons, Inc., New Jersey, 2004.
  • [11] L.A. Dupont, D.G. Mendoza, and M. Rodríguez, The rainbow connection number of enhanced power graph, arXiv preprint (2017), https://doi.org/10.48550/arXiv.1708.07598.
  • [12] D. Fitriani and A.N.M. Salman, Rainbow connection number of amalgamation of some graphs, AKCE Int. J. Graphs Comb. 13 (2016), no. 1, 90-99.
  • [13] D. Fitriani, A.N.M. Salman, and Z.Y. Awanis, Rainbow connection number of comb product of graphs, Electron. J. Graph Theory Appl. 10 (2022), no. 2, 461-473.
  • [14] H. Li, X. Li, and S. Liu, The (strong) rainbow connection numbers of Cayley graphs on abelian groups, Computers and Math. with Appl. 62 (2011), no. 11, 4082-4088.
  • [15] Z. Lu and Y. Ma, Rainbow 2-connection numbers of Cayley graphs, Information Processing Letters 115 (2015), no. 4, 486-491.
  • [16] X. Ma, M. Feng, and K. Wang, The rainbow connection number of the power graph of a finite group, Graphs and Combinatorics 32 (2016), 1495-1504.
  • [17] Y. Ma and Z. Lu, Rainbow connection numbers of Cayley graphs, J. Combin. Optimization 34 (2017), no. 1, 182-193.
  • [18] R.F. Umbara, A.N.M. Salman, and P.E. Putri, On the inverse graph of a finite group and its rainbow connection number, Electron. J. Graph Theory Appl. 11 (2023), no. 1, 135–147.
  • [19] R.F. Umbara, A.N.M. Salman, and P.E. Putri, Rainbow connection numbers of the inverse graphs of some finite abelian groups, AIP Conference Proceedings, 2480 (2023), 030003.
  • [20] Y. Wei, X. Ma, and K. Wang, Rainbow connectivity of the non-commuting graph of a finite group, J. Algebra and Its Appl. 15 (2016), no. 7, 1650127.