1,333
Views
0
CrossRef citations to date
0
Altmetric
Articles

On the cozero-divisor graphs associated to rings

, &
Pages 238-248 | Received 18 May 2022, Accepted 31 Jul 2022, Published online: 19 Aug 2022

Abstract

Let R be a ring with unity. The cozero-divisor graph of a ring R, denoted by Γ(R), is an undirected simple graph whose vertices are the set of all non-zero and non-unit elements of R, and two distinct vertices x and y are adjacent if and only if xRy and yRx. In this paper, first we study the Laplacian spectrum of Γ(Zn). We show that the graph Γ(Zpq) is Laplacian integral. Further, we obtain the Laplacian spectrum of Γ(Zn) for n=pn1qn2, where n1,n2N and p, q are distinct primes. In order to study the Laplacian spectral radius and algebraic connectivity of Γ(Zn), we characterized the values of n for which the Laplacian spectral radius is equal to the order of Γ(Zn). Moreover, the values of n for which the algebraic connectivity and vertex connectivity of Γ(Zn) coincide are also described. At the final part of this paper, we obtain the Wiener index of Γ(Zn) for arbitrary n.

Mathematics Subject Classification:

1. Introduction

The study of algebraic structures through graph theoretic properties has emerged as a fascinating research discipline in the past three decades, it has provided not only intriguing and exciting results but also opened up a whole new domain yet to be explored. At the beginning, the idea to associate a graph with ring structure was appeared in [Citation9]. The cozero-divisor graph related to a commutative ring was introduced by Afkhami et al. in [Citation1]. The cozero-divisor graph of a ring R with unity, denoted by Γ(R), is an undirected simple graph whose vertex set is the set of all non-zero and non-unit elements of R, and two distinct vertices x and y are adjacent if and only if xRy and yRx. They discussed certain basic properties on the structure of cozero-divisor graph and studied the relationship between the zero divisor graph and the cozero-divisor graph over ring structure. In [Citation2], they investigated the complement of cozero-divisor graph and characterized the commutative rings with forest, star or unicyclic cozero-divisor graphs. Akbari et al. [Citation5], studied the cozero-divisor graph associated to the polynomial ring. Some of the work associated with the cozero-divisor graph on the rings can be found in [Citation3, Citation4, Citation6, Citation8, Citation17, Citation18]. The spectral graph theory is associated with spectral properties including investigation of charateristic polynomials, eigenvalues, eiegnvectors of matrices related with graphs. Recently, Chattopadhyay et al. [Citation11] studied the Laplacian spectrum of the zero divisor graph of the ring Zn. They proved that the zero divisor graph of the ring Zpl is Laplacian integral for every prime p and a positive integer l2. The work on spectral radius, viz. adjacency spectrum, Laplacian spectrum, signless Laplacian spectrum, distance signless spectrum etc., of the zero-divisor graphs can be found in [Citation11, Citation16, Citation19, Citation20, Citation21, Citation22, Citation23]. The Wiener index, which is a distance based topological index, has various applications in pharmaceutical science, chemistry etc., see [Citation12, Citation14, Citation26, Citation27]. Recently, the Wiener index of the zero divisor graph of the ring Zn of integers modulo n has been studied in [Citation7].

In this paper, we study the Laplacian spectrum and the Wiener index of the cozero-divisor graph associated with the ring Zn. The paper is arranged as follows: In Sec. 2, we recall necessary results and fix our notations which are used throughout the paper. In Sec. 3, we study the structure of Γ(Zn). Section 4 deals with the Laplacian spectrum of the cozero-divisor graph of the ring Zn for n=pn1qn2, where p, q are distinct primes. In Sec. 5, the Laplacian spectral radius and the algebraic connectivity of Γ(Zn) have been investigated. The Wiener index of Γ(Zn) has been obtained in Sec. 6.

2. Preliminaries

In this section, we recall necessary definitions, results and notations of graph theory from [Citation25]. A graph Γ is a pair Γ=(V,E), where V=V(Γ) and E=E(Γ) are the set of vertices and edges of Γ, respectively. Let Γ be a graph. The order of a graph Γ is the number of vertices of Γ. Two distinct vertices x,yΓ are adjacent, denoted by xy, if there is an edge between x and y. Otherwise, we denote it by xy. The set NΓ(x) of all the vertices adjacent to x in Γ is said to be the neighbourhood of x. A subgraph Γ of a graph Γ is a graph such that V(Γ)V(Γ) and E(Γ)E(Γ). If UV(Γ) then the subgraph of Γ induced by U, denoted by Γ(U), is the graph with vertex set U and two vertices of Γ(U) are adjacent if and only if they are adjacent in Γ. The complement Γ¯ of Γ is a graph with same vertex set as Γ and distinct vertices x, y are adjacent in Γ¯ if they are not adjacent in Γ. A graph Γ is said to be complete if every two distinct vertices are adjacent. The complete graph on n vertices is denoted by Kn. A path in a graph is a sequence of distinct vertices with the property that each vertex in the sequence is adjacent to the next vertex of it. The graph Γ is said to be connected if there is path between every pair of vertex.

The distance between any two vertices x and y of Γ, denoted by d(x, y), is the number of edges in a shortest path between x and y. The Wiener index is defined as the sum of all distances between every pair of vertices in the graph that is the Wiener index of a graph Γ is given by W(Γ)=12uV(Γ)vV(Γ)d(u,v) The diameter of a connected graph Γ, written as diam(Γ), is the maximum of the distances between vertices. If the graph consists of a single vertex, then the diameter is 0. The degree of a vertex vΓ, denoted by deg(v), is the number of edges adjacent to v. The smallest degree among the vertices of Γ is called the minimum degree of Γ and it is denoted by δ(Γ). A vertex cut-set in a connected graph Γ is a set X of vertices such that the remaining subgraph ΓX, by removing the set X is disconnected or has only one vertex. The vertex connectivity of a connected graph Γ, denoted by κ(Γ), is the minimum size of a vertex cut set. Let Γ1 and Γ2 be two graphs. The union Γ1Γ2 is the graph with V(Γ1Γ2)=V(Γ1)V(Γ2) and E(Γ1Γ2)=E(Γ1)E(Γ2). The join Γ1Γ2 of Γ1 and Γ2 is the graph obtained from the union of Γ1 and Γ2 by adding new edges from each vertex of Γ1 to every vertex of Γ2.

Let Γ be a graph on k vertices and V(Γ)={u1,u2,,uk}. Suppose that Γ1,Γ2,,Γk are k pairwise disjoint graphs. Then the generalised join graph Γ[Γ1,Γ2,,Γk] of Γ1,Γ2,,Γk is the graph formed by replacing each vertex ui of Γ by Γi and then joining each vertex of Γi to every vertex of Γj whenever uiuj in Γ (cf. [Citation24]).

For a finite simple (without multiple edge and loops) undirected graph Γ with vertex set V(Γ)={u1,u2,,uk}, the adjacency matrix A(Γ) is defined as the k × k  matrix whose (i,j)th entry is 1 if uiuj and 0 otherwise. We denote the diagonal matrix by D(Γ)=diag(d1,d2,,dk), where di is the degree of the vertex ui of Γ. The Laplacian matrix L(Γ) of Γ is the matrix D(Γ)A(Γ). The matrix L(Γ) is a symmetric and positive semidefinite, so that its eigenvalues are real and non-negative. Furthermore, the sum of each row (column) of L(Γ) is zero. The eigenvalues of L(Γ) are called the Laplacian eigenvalues of Γ and are taken as λ1(Γ)λ2(Γ)λn(Γ)=0. The second smallest Laplacian eigenvalue of L(Γ), denoted by μ(Γ), is called the algebraic connectivity of Γ. The largest Laplacian eigenvalue λ(Γ) of L(Γ) is called the Laplacian spectral radius of Γ. Now let λ1(Γ)λ2(Γ)λr(Γ)=0 be the distinct eigenvalues of Γ with multiplicities μ1,μ2,,μr, respectively. The Laplacian spectrum of Γ, that is the spectrum of L(Γ), is represented as Φ(L(Γ))=(λ1(Γ)λ2(Γ)λr(Γ)μ1μ2μr). Sometime we write Φ(L(Γ) as ΦL(Γ) also. The following results are useful in the sequel.

Theorem 2.1.

[Citation10] Let Γ be a graph on k vertices having V(Γ)={u1,u2,,uk} and let Γ1,Γ2,,Γk be k pairwise disjoint graphs on n1,n2,,nk vertices, respectively. Then the Laplacian spectrum of Γ[Γ1,Γ2,,Γk] is given by (1) ΦL(Γ[Γ1,Γ2,,Γk])=i=1k(Di+(ΦL(Γi){0}))Φ(L(Γ))(1) where Di={ujuinj  if  NΓ(ui);0otherwise (2) L(Γ)=[D1p1,2p1,kp2,1D2p2,kpk,1pk,2Dk](2) such that pi,j={ninj  if  uiuj  in  Γ0otherwise in (1), (ΦL(Γi){0})) means that one copy of the eigenvalue 0 is removed from the multiset ΦL(Γi), and Di+(ΦL(Γi){0})) means Di is added to each element of (ΦL(Γi){0})).

Let Γ be a weighted graph by assigning the weight ni=|V(Γi)| to the vertex ui of Γ and i varies from 1 to k. Consider L(Γ)=(li,j) to be a k × k matrix, where li,j={nj  if  ij  and  uiuj;uiurnr  if  i=j;0 otherwise.

The matrix L(Γ) is called the vertex weighted Laplacian matrix of Γ, which is a zero row sum matrix but not a symmetric matrix in general. Though the k × k  matrix L(Γ) defined in Theorem 2.1, is a symmetric matrix but it need not be a zero row sum matrix. Since the matrices L(Γ) and L(Γ) are similar, we have the following remark.

Remark 2.2.

Φ(L(Γ))=Φ(L(Γ)).

Let Zn denotes the ring of integers modulo n that is, Zn={0,1,,n1}. The number of integers which are prime to n and less than n is denoted by Euler Totient function ϕ(n). An integer d, where 1<d<n, is called a proper divisor of n if d|n. If d does not divide n then we write it as dn. The number of all the divisors of n is denoted by τ(n). The greatest common divisor of the two positive integers a and b is denoted by gcd(a, b). The ideal generated by the element a of Zn is the set {xa:xZn} and it is denoted by a.

3. Structure of the cozero-divisor graph Γ(Zn)

In this section, we discuss about the structure of the cozero-divisor graph Γ(Zn). Let d1,d2,,dk be the proper divisors of n. For 1ik, consider the following sets Adi={xZn:gcd(x,n)=di}.

Remark 3.1.

For x,yAdi, we have x=y=di. Further, note that the sets Ad1,Ad2,,Adk forms a partition of the vertex set of the graph Γ(Zn). Thus, V(Γ(Zn))=Ad1Ad2Adk.

The cardinality of each Adi is known in the following lemma.

Lemma 3.2.

[Citation28] |Adi|=ϕ(ndi) for 1ik.

Lemma 3.3.

Let xAdi,yAdj, where i,j{1,2,,τ(n)2}. Then xy in Γ(Zn) if and only if didj and djdi.

Proof.

First note that in Zn,xy if and only if y|x. Let xAdi and yAdj be two distinct vertices of Γ(Zn). Suppose that xy in Γ(Zn). Then xy and yx. If di|dj, then djdi=x. It follows that y=djx and so yx, which is not possible. Similarly, if dj|di, then we get xy, again a contradiction. Thus, neither di|dj nor dj|di. Conversely, if didj and djdi then we obtain xy and yx. It follows that xy. The result holds. □

For distinct vertices x, y of Adi, by Remark 3.1, clearly xy and yx. It follows that xy in Γ(Zn). Using Lemma 3.2, we have the following corollary.

Corollary 3.4.

The following statements hold:

  1. For i{1,2,,τ(n)2}, the induced subgraph Γ(Adi) of Γ(Zn) is isomorphic to K¯ϕ(ndi).

  2. For i,j{1,2,,τ(n)2} and ij, a vertex of Adi is adjacent to either all or none of the vertices of Adj.

Thus, the partition Ad1,Ad2,,Adτ(n)2 of V(Γ(Zn)) is an equitable partition in such a way that every vertex of the Adi has equal number of neighbors in Adj for every i,j{1,2,,τ(n)2}.

We define ϒn by the simple undirected graph whose vertex set is the set of all proper divisors d1,d2,,dk of n and two distinct vertices di and dj are adjacent if and only if didj and djdi.

Lemma 3.5.

For a prime p, the graph ϒn is connected if and only if npt, where t3.

Proof.

Suppose that ϒn is a connected graph and V(ϒn)={d1,d2,,dk}. If n=pt for t3, then V(ϒpt)={p,p2,,pt1}. The definition of ϒn gives that ϒpt is a null graph on t – 1 vertices. Thus, ϒn is not connected; a contradiction. Conversely, suppose that npt, where t3. If n=pt for t{1,2}, then there is nothing to prove because ϒp is an empty graph whereas ϒp2 is a graph with one vertex only. We may now suppose that n=p1n1p2n2pmnm, where pi’s are distinct primes and m2. Now let d,dV(ϒn). If dd and dd, then dd. Without loss of generality, assume that d|d with d=p1β1p2β2pmβm and d=p1α1p2α2pmαm. Note that αi,βiN{0} such that βiαi. Since d is a proper divisor of n there exists r{1,2,,m}, where αrnr, such that prnrd and dprnr. Clearly, prnrd. If dprnr, then dprnrd. If d|prnr, then there exists s{1,2,,m}{r} such that dps and psd. Also, prnrps and psprnr. It follows that dprnrpsd. Hence, the graph ϒn is connected. □

Lemma 3.6.

Γ(Zn)=ϒn[Γ(Ad1),Γ(Ad2),,Γ(Adk)], where d1,d2,,dk are all the proper divisors of n.

Proof.

Replace the vertex di of ϒn by Γ(Adi) for 1ik. Consequently, the result can be obtained by using Lemma 3.3. □

Lemma 3.7.

For a prime p, we have Γ(Zn) is connected if and only if either n = 4 or npt, where t2.

Proof.

Suppose that Γ(Zn) is a connected graph and n4. If possible, let n=pt for t2 then note that V(Γ(Zn))=Γ(Ap)Γ(Ap2)Γ(Apt1) and so xy for any x,yV(Γ(Zn)) (see Lemma 3.3 and Corollary 3.4). Consequently, Γ(Zn) is a null graph; a contradiction. Thus, npt, where t2. Converse follows by the proof of Lemma 3.5 and Lemma 3.6. □

Example 3.8.

The cozero-divisor graph Γ(Z30) is shown in .

By Lemma 3.6, note that Γ(Z30)=ϒ30[Γ(A2),Γ(A3),Γ(A5),Γ(A6),Γ(A10),Γ(A15)], where ϒ30 is shown in and Γ(A2)=K¯8,Γ(A3)=K¯4=Γ(A6),Γ(A5)=K¯2=Γ(A10),Γ(A15)=K¯1.

Figure 1. The graph Γ(Z30).

Figure 1. The graph Γ′(Z30).

Figure 2. The graph ϒ30.

Figure 2. The graph ϒ′30.

4. Laplacian spectrum of Γ(Zn)

In this section, we investigate the Laplacian spectrum of the Γ(Zn) for various n. Consider d1,d2,,dk as all the proper divisors of n. For 1ik, we give the weight ϕ(ndi)=|Adi| to the vertex di of the graph ϒn. Define the integer Ddj=diNϒn(dj)ϕ(ndi) The k × k  weighted Laplacian matrix L(ϒn) of ϒn defined in Theorem 2.1 is given by (3) L(ϒn)=[Dd1l1,2l1,kl2,1Dd2l2,klk,1lk,2Ddk](3) where li,j={ϕ(ndj)  if  didj  in  ϒn;0otherwise.

Theorem 4.1.

The Laplacian spectrum of Γ(Zn) is given by ΦL(Γ(Zn))=i=1k(Ddi+(ΦL(Γ(Adi)){0}))Φ(L(ϒn)), where Ddi+(ΦL(Γ(Adi)){0}) represents that Ddi is added to each element of the multiset (ΦL(Γ(Adi)){0}).

Proof.

By Lemma 3.6, Γ(Zn)=ϒn[Γ(Ad1),Γ(Ad2),,Γ(Adk)]. Consequently, by Theorem 2.1 and Remark 2.2, the result holds. □

If n=pt, where t > 1, then the graph Γ(Zn) is a null graph. Let npt for any tN. Then by Lemma 3.5, ϒn is connected graph so that Ddi>0. By Theorem 4.1, out of nϕ(n)1 Laplacian eigenvalues of Γ(Zn) note that nϕ(n)1k eigenvalues are non-zero integers. The remaining k Laplacian eigenvalues of Γ(Zn) are the roots of the characteristic equation of the matrix L(ϒn) given in equation (3).

Lemma 4.2.

Let n = pq be a product of two distinct primes. Then the Laplacian spectrum of Γ(Zn) is given by (0p+q2p1q111q2p2).

Proof.

By Lemma 3.6, we have Γ(Zpq)=ϒpq[Γ(Ap),Γ(Aq)], where ϒpq=K2,Γ(Ap)=K¯ϕ(q) and Γ(Aq)=K¯ϕ(p) (cf. Lemma 3.2 and Corollary 3.4). Consequently, by Theorem 4.1, the Laplacian spectrum of Γ(Zpq) is ΦL(Γ(Zpq))=(Dp+(ΦL(Γ(Ap)){0}))(Dq+(ΦL(Γ(Aq)){0}))Φ(L(ϒpq))=(p1q1q2p2)Φ(L(ϒpq)).

Then the matrix L(ϒpq)=[p1(p1)(q1)q1] has eigenvalues p+q2 and 0. Thus, we have the result. □

Notations 4.3.

(λi)[μi] denotes the eigenvalue λi of L(Γ(Zn)) with multiplicity μi.

Lemma 4.4.

For distinct primes p and q, if n=p2q then the Laplacian eigenvalues of Γ(Zn) consists of the set {(p2p)[(p1)(q1)1],(pqp)[p2p1],(p21)[q2],(q1)[p2]} and the remaining eigenvalues are the roots of the characteristic polynomial x4{(p1)(2p+1)+(p+1)(q1)}x3+{p(p1)2(p+1)+(p1)(p+1)2(q1)+p(q1)2+(p1)2(q1)}x2p(p1)(q1){(p1)(p+1)+p(q1)}x.

Proof.

First note that ϒp2q is the path graph given by pqp2pq. By Lemma 3.6, Γ(Zp2q)=ϒp2q[Γ(Ap),Γ(Aq),Γ(Ap2),Γ(Apq)], where Γ(Ap)=K¯ϕ(pq),Γ(Aq)=K¯ϕ(p2),Γ(Ap2)=K¯ϕ(q) and Γ(Apq)=K¯ϕ(p). It follows that Dp=ϕ(p2)=p2p and Dq=ϕ(pq)+ϕ(q)=p(q1),Dp2=ϕ(p2)+ϕ(p)=p21 and Dpq=ϕ(q)=q1. Therefore, by Theorem 4.1, the Laplacian spectrum of Γ(Zp2q) is ΦL(Γ(Zp2q))=(Dp+(ΦL(Γ(Ap)){0}))(Dq+(ΦL(Γ(Aq)){0}))(Dp2+(ΦL(Γ(Ap2)){0}))(Dpq+(ΦL(Γ(Apq)){0}))Φ(L(ϒp2q))=(p2ppqpp21q1(p1)(q1)1p2p1q2p2)Φ(L(ϒp2q)).

Thus, the remaining Laplacian eigenvalues can be obtained by the characteristic polynomial (given in the statement) of the matrix L(ϒp2q)=[p2pp2+p00(p1)(q1)p(q1)(q1)00p2+pp21p+100q+1q1].

Lemma 4.5.

For distinct primes p and q, if n=pn1q then the Laplacian eigenvalues of Γ(Zn) consists of the set {(ϕ(pn1))[ϕ(pn11q)1],(ϕ(pn1)+ϕ(pn11))[ϕ(pn12q)1],(i=02ϕ(pn1i))[ϕ(pn13q)1],,(i=0n11ϕ(pn1i))[ϕ(pn1n1q)1],(i=1n1ϕ(pn1iq))[ϕ(pn1)1],(i=2n1ϕ(pn1iq))[ϕ(pn11)1],,(ϕ(q))[ϕ(p)1]} and the remaining eigenvalues are the eigenvalues of the matrix given in equation (3).

Proof.

Note that {p,p2,,pn1,q,pq,p2q,,pn11q} is the vertex set of the graph ϒpn1q. By Lemma 3.6, Γ(Zpn1q)=ϒpn1q[Γ(Ap),Γ(Ap2),,Γ(Apn1),Γ(Aq),Γ(Apq),Γ(Ap2q),,Γ(Apn11q)], where, Γ(Ap)=K¯ϕ(pn11q),Γ(Ap2)=K¯ϕ(pn12q),,Γ(Apn1)=K¯ϕ(q),Γ(Aq)=K¯ϕ(pn1),Γ(Apq)=K¯ϕ(pn11),,Γ(Apn11q)=K¯ϕ(p). It follows that Dp=ϕ(pn1),Dp2=ϕ(pn1)+ϕ(pn11),,Dpn1=i=0n11ϕ(pn1i),Dq=i=1n1ϕ(pn1iq),Dpq=i=2n1ϕ(pn1iq),,Dpn11q=ϕ(q). Consequently, by Theorem 4.1, the Laplacian spectrum of Γ(Zpn1q) is ΦL(Γ(Zpn1q))=(Dp+(ΦL(Γ(Ap)){0}))(Dp2+(ΦL(Γ(Ap2)){0}))(Dpn1+(ΦL(Γ(Apn1)){0}))(Dq+(ΦL(Γ(Aq)){0}))(Dpq+(ΦL(Γ(Apq)){0}))(Dpn11q+(ΦL(Γ(Apn11q)){0}))Φ(L(ϒpn1q)).=(ϕ(pn1)i=0n11ϕ(pn1i)i=1n1ϕ(pn1iq)i=2n1ϕ(pn1iq)ϕ(q)ϕ(pn11q)1ϕ(pn1n1q)1ϕ(pn1)1ϕ(pn1)1ϕ(p)1)Φ(L(ϒpn1q)).

Thus, the remaining 2n1 Laplacian eigenvalues are the eigenvalues of the matrix L(ϒpn1q)= [ϕ(pn1)0000ϕ(pn1)0i=01ϕ(pn1i)00ϕ(pn11)ϕ(pn1)000i=0n11ϕ(pn1i)ϕ(p)ϕ(p2)ϕ(pn1)000ϕ(q)ϕ(q)000ϕ(pq)ϕ(q)0ϕ(pq)+ϕ(q)0ϕ(pn11q)ϕ(pn12q)ϕ(q)00i=1n1ϕ(pn1iq)] where matrix L(ϒpn1q) is obtained by indexing the rows and columns as p,p2,,pn1,pn11q,,pq,q.

Theorem 4.6.

If n=pn1qn2, where p and q are distinct primes. Then the set of Laplacian eigenvalues of Γ(Zn) consists of (i=1n2ϕ(pn1qn2i))[ϕ(pn11qn2)1],     (i=1n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i))[ϕ(pn12qn2)1],(i=1n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i)+i=1n2ϕ(pn12qn2i))[ϕ(pn13qn2)1],(i=1n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i)++i=1n2ϕ(pqn2i))[ϕ(qn2)1],(i=1n1ϕ(pn1iqn2))[ϕ(pn1qn21)1],(i=1n1ϕ(pn1iqn2)+i=1n1ϕ(pn1iqn21))[ϕ(pn1qn22)1],(i=1n1ϕ(pn1iqn2)+i=1n1ϕ(pn1iqn21)+i=1n1ϕ(pn1iqn22))[ϕ(pn1qn23)1],(i=1n1ϕ(pn1iqn2)+i=1n1ϕ(pn1iqn21)++i=1n1ϕ(pn1iq))[ϕ(pn1)1],(i=2n1ϕ(pn1iqn2)+i=2n2ϕ(pn1qn2i))[ϕ(pn11qn21)1],(i=3n1ϕ(pn1iqn2)+i=2n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i))[ϕ(pn12qn21)1],(i=2n2ϕ(pn1qn2i)+i=1n1ϕ(pn1iqn22)+i=1n1ϕ(pn1iqn23)++i=1n11ϕ(pn1i))[ϕ(qn21)1],(i=2n1ϕ(pn1iqn2)+i=3n2ϕ(pn1qn2i)+i=2n1ϕ(pn1iqn21))[ϕ(pn11qn22)1],(i=2n1ϕ(pn1iqn2)+i=1n2ϕ(pn12qn2i)+i=1n2ϕ(pn13qn2i)++i=1n21ϕ(qn2i))[ϕ(pn11)1],(i=1n21ϕ(qn2i)+ϕ(qn2))[ϕ(p)1] and the remaining (n1+1)(n2+1)2 eigenvalues are given by the zeros of the characteristic polynomial of the matrix given in equation (3).

Proof.

The set of proper divisors of n=pn1qn2 is {p,p2,,pn1,q,q2,,qn2,pq,p2q,,pn1q,pq2,p2q2,,pn1q2,,pqn2,p2qn2,,pn11qn2}.

By the definition of ϒn, note that

  • piqj for all i, j.

  • pipi1qj1 for i>i1 and j1>0.

  • qjpiqj1 for j>j1 and i > 0.

  • If either i1>i2,j1<j2 or j1>j2,i1<i2, then pi1qj1pi2qj2.

In view of Lemma 3.6, Γ(Zpn1qn2)=ϒpn1qn2[Γ(Ap),Γ(Ap2),,Γ(Apn1),Γ(Aq),Γ(Aq2),,Γ(Aqn2),Γ(Apq),Γ(Ap2q),,Γ(Apn1q),,Γ(Apqn2),,Γ(Apn11qn2)].

Therefore, by Lemma 3.2 and Corollary 3.4, we get

Γ(Api)=K¯ϕ(pn1iqn2), where 1in1,

Γ(Aqj)=K¯ϕ(pn1qn2j) where 1jn2,

Γ(Apiqj)=K¯ϕ(pn1iqn2j).

Consequently, we have Dp=i=1n2ϕ(pn1qn2i),Dp2=i=1n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i),Dpn1=i=1n2ϕ(pn1qn2i)+i=1n2ϕ(pn11qn2i)++i=1n2ϕ(pqn2i),Dq=i=1n1ϕ(pn1iqn2),Dqn2=i=1n1ϕ(pn1iqn2)+i=1n1ϕ(pn1iqn21)++i=1n1ϕ(pn1iq),Dpq=i=2n1ϕ(pn1iqn2)+i=2n2ϕ(pn1qn2i),Dpn1q=i=2n2ϕ(pn1qn2i)+i=1n1ϕ(pn1iqn22)+i=1n1ϕ(pn1iqn23)++i=1n11ϕ(pn1i),Dpq2=i=2n1ϕ(pn1iqn2)+i=3n2ϕ(pn1qn2i)+i=2n1ϕ(pn1iqn21),Dpqn2=i=2n1ϕ(pn1iqn2)+i=1n2ϕ(pn12qn2i)+i=1n2ϕ(pn13qn2i)++i=1n21ϕ(qn2i),Dpn11qn2=i=1n21ϕ(qn2i)+ϕ(qn2).

Therefore, by Theorem 4.1, the Laplacian spectrum of Γ(Zpn1qn2) is ΦL(Γ(Zpn1qn2))=(Dp+(ΦL(Γ(Ap)){0}))(Dp2+(ΦL(Γ(Ap2)){0}))(Dpn1+(ΦL(Γ(Apn1)){0}))(Dq+(ΦL(Γ(Aq)){0}))(Dq2+(ΦL(Γ(Aq2)){0}))(Dqn2+(ΦL(Γ(Aqn2)){0}))(Dpq+(ΦL(Γ(Apq)){0}))(Dpn1q+(ΦL(Γ(Apn1q)){0}))(Dpqn2+(ΦL(Γ(Apqn2)){0}))(Dpn11qn2+(ΦL(Γ(Apn11qn2)){0}))Φ(L(ϒpn1qn2)).

The remaining (n1+1)(n2+1)2 eigenvalues are the zeros of the characteristic polynomial of the matrix L(ϒpn1qn2) given in equation (3). □

5. The Laplacian spectral radius and the algebraic connectivity of Γ(Zn)

In this section, we study the algebraic connectivity and the Laplacian spectral radius of Γ(Zn). We obtain all those values of n for which the Laplacian spectral radius of Γ(Zn) is equal to order of Γ(Zn). Moreover, the values of n for which the algebraic connectivity and the vertex connectivity coincide are also described. The following theorem follows from the relation λ(Γ)=|V(Γ)|μ(Γ¯) and the fact Γ¯ is disconnected if and only if Γ is the join of two graphs.

Theorem 5.1

([Citation13]). If Γ is a graph on m vertices, then λ(Γ)m. Further, equality holds if and only if Γ¯ is disconnected if and only if Γ is the join of two graphs.

In view of Theorem 5.1, first we characterize the values of n for which the complement of Γ(Zn) is disconnected.

Proposition 5.2.

Γ(Zn)¯ is disconnected if and only if n is a product of two distinct primes.

Proof.

Let p and q be two distinct primes. If n = pq, then by Remark 3.1 we get V(Γ(Zn))=ApAq such that ApAq=. In fact, Γ(Zn)=Kϕ(q),ϕ(p) is a complete bipartite graph. Consequently, Γ(Zn)¯ is a disconnected graph.

Conversely, suppose Γ(Zn)¯ is disconnected. Clearly, for n = p  there is nothing to prove. If n=pα for some 1<αN, then Γ(Zpα) is a null graph. Consequently, Γ(Zpα)¯ is a complete graph which is not possible. If possible, let npq. Let d1 and d2 be the proper divisors of n and let xAd1,yAd2. If d1 = d2 then clearly xy in Γ(Zn)¯. If d1d2 such that either d1|d2 or d2|d1 then xy in Γ(Zn)¯ (cf. Lemma 3.3). If d1d2 and neither d1|d2 nor d2|d1, then there exist two primes p1 and p2 such that p1|d1 and p2|d2. Consequently, xz1z2z3y in Γ(Zn)¯ for some z1Ap1,z2Ap1p2 and z3Ap2. Thus, Γ(Zn)¯ is connected; a contradiction. Hence, n must be a product of two distinct primes. □

Since |V(Γ(Zn))|=nϕ(n)1, by using the Proposition 5.2 in Theorem 5.1, we have the following proposition.

Proposition 5.3.

λ(Γ(Zn))=|V(Γ(Zn))| if and only if n is a product of two distinct primes. Moreover, if n = pq then λ(Γ(Zn))=p+q2.

Now we classify all those values of n for which the algebraic connectivity and the vertex connectivity of Γ(Zn) are equal. The following theorem is useful in this study.

Theorem 5.4.

[Citation15] Let Γ be a non-complete connected graph on m vertices. Then κ(Γ)=μ(Γ) if and only if Γ can be written as Γ1Γ2, where Γ1 is a disconnected graph on mκ(Γ) vertices and Γ2 is a graph on κ(Γ) vertices with μ(Γ2)2κ(Γ)m.

Lemma 5.5.

For distinct primes p and q, if n = pq where p < q then κ(Γ(Zn))=δ(Γ(Zn))=p1.

Proof.

For n = pq, Γ(Zn) is a complete bipartite graph with partition sets Ap and Aq. Hence, κ(Γ(Zn))=δ(Γ(Zn))=min{|Ap|,|Aq|}=p1

Theorem 5.6.

For the graph Γ(Zn), we have μ(Γ(Zn))κ(Γ(Zn)). The equality holds if and only if n is a product of two distinct primes.

Proof.

By [Citation15], for any graph Γ which is not complete, we have μ(Γ)κ(Γ). If n = 4 then there is nothing to prove because Γ(Z4) is the graph of one vertex only. If n4 then Γ(Zn) is not a complete graph. Consequently, μ(Γ(Zn))κ(Γ(Zn)).

If n is not a product of two distinct primes then by Proposition 5.2 and by Theorem 5.1, Γ(Zn) cannot be written as the join of two graphs. Thus, by Theorem 5.4, we obtain μ(Γ(Zn))<κ(Γ(Zn)). If n = pq, where p and q are distinct primes such that p <q  , then by Theorem 5.1, Proposition 5.2, Theorem 5.4 and Lemma 5.5, we obtain μ(Γ(Zn))=κ(Γ(Zn))=p1.

6. The Wiener index of Γ(Zn)

In this section, we obtain the Wiener index of the cozero-divisor graph of the ring Zn for arbitrary nN. Consequently, we obtain the diameter of Γ(Zn) (see Proposition 6.4). For a prime p and 1αN, the graph Γ(Zp) is empty whereas Γ(Zpα) is a null graph. Therefore W(Γ(Zp))=W(Γ(Zpα))=0.

Theorem 6.1.

For 1iτ(n)2, let di’s be the proper divisors of n. If n=p1p2pk, where pi’s are distinct primes and 2kN, then W(Γ(Zn))=i=12k2ϕ(ndi)(ϕ(ndi)1)+12didjdjdiϕ(ndi)ϕ(ndj)+2di|djijϕ(ndi)ϕ(ndj).

Proof.

To determine the Wiener index of Γ(Zn), we first obtain the distances between the vertices of each Adi and two distinct Adi’s, respectively. For a proper divisor di of n, let x,yAdi. Since Γ(Zn) is connected, by Corollary 3.4, there exists a proper divisor dr of n such that xz for each xAdi and zAdr. Consequently, d(x,y)=2 for any two distinct x,yAdi. Now we obtain the distances between the vertices of any two distinct Adi’s through the following cases.

Case-1: Neither di|dj nor dj|di. By Lemma 3.3, d(x,y)=1 for every xAdi and yAdj.

Case-2: di|dj. For xAdi and yAdj we have xy. Without loss of generality, assume that dj=p1p2pmdi, where 1mk2. Since dj is a proper divisor of n there exists a prime p such that pdj. Consequently, pdi. It follows that for xAdi and yAdj there exists a zAp such that xzy. Thus, d(x,y)=2 for each xAdi and yAdj.

Thus, in view of all the possible distances between the vertices of Γ(Zn), we get W(Γ(Zn))=12uV(Γ(Zn))vV(Γ(Zn))d(u,v)=12[i=12k22|Adi|(|Adi|1)+didjdjdi|Adi||Adj|]+2|Adi||Adj|=i=12k2ϕ(ndi)(ϕ(ndi)1)+12didjdjdiϕ(ndi)ϕ(ndj)+2di|djijϕ(ndi)ϕ(ndj).

Corollary 6.2.

If n = pq, where p, q are distinct primes, then W(Γ(Zn))=(p1)(q1)+(p1)(p2)+(q1)(q2).

Theorem 6.3.

Let n=p1n1p2n2prnrpknk with k2, where pi’s are distinct primes and let D={d1,d2,,dτ(n)2} be the set of all proper divisors of n. For di|dj, define A={(di,dj)D×D|diprs};B={(di,dj)D×D|di=prsandndjprt};C={(di,dj)D×D|di=prsandndj=prt}. Then W(Γ(Zn))=i=1τ(n)2ϕ(ndi)(ϕ(ndi)1)+12didjdjdiϕ(ndi)ϕ(ndj)+2(di,dj)Aϕ(ndi)ϕ(ndj)+2(di,dj)Bϕ(ndi)ϕ(ndj)+   3(di,dj)Cϕ(ndi)ϕ(ndj).

Proof.

In view of Remark 3.1, first we obtain all the possible distances between the vertices of Adi and Adj, where di and dj are proper divisors of n. If i = j  then by the proof of Theorem 6.1, we get d(x,y)=2 for any two distinct x,yAdi. Now suppose that ij. If didj and djdi, then by Lemma 3.3, we get d(x,y)=1 for every xAdi and yAdj. If di|dj then we obtain the possible distances through the following cases.

Case-1: (di,dj)A. Since di|dj, we have xy for any xAdi and yAdj. Note that diprs implies that di=p1β1p2β2pmβm for some βi’s N{0} and m2. Consequently, dj=p1α1p2α2pmαm for some αi’s N{0}. Since dj is a proper divisor of n there exists l{1,2,,k} such that plnldj. Also, plnldi. Further, m2 follows that diplnl and djplnl. Now for any xAdi,yAdj there exists a zAplnl such that xzy. Thus d(x,y)=2 for every xAdi and yAdj.

Case-2: di=prs for some r{1,2,,k} and 1snr. Suppose xAdi and yAdj. Then we obtain d(x, y) in the following subcases:

Subcase-2.1: (di,dj)B. Suppose dj=p1α1p2α2prαrpkαk. Since ndjprt there exists a prime pm{p1,p2,,pk}{pr} and αmnm such that pmnmdj. Consequently, pmnmdi. Moreover, dipmnm and djpmnm. Thus, for every xAdi and yAdj, we get xzy for some zApmnm. Hence, d(x,y)=2 for each xAdi and yAdj.

Subcase-2.2: (di,dj)C. Then dj=p1n1p2n2prαrpknk, where nrαr=t1. Since di|dj, for each xAdi and yAdj, we have d(x,y)2 (cf. Lemma 3.3). First, we show that d(x,y)>2 for any xAdi and yAdj. In this connection, it is sufficient to prove that for any proper divisor d of n, we have either d|dj or di|d. Suppose that ddj. Then d=p1γ1p2γ2prγrpkγk together with γr>αr. Since prs=di|dj, we get sαr<γr. Consequently, di|d.

Since n=p1n1p2n2prnrpknk with k2, there exists a prime qpr such that q|n. Clearly, qdi and diq. Also, prnrq and qprnr. Since αr<nr, we obtain djprnr and prnrdj. Thus, in view of Lemma 3.3, for any xAdi and yAdj, there exist zAq and wAprnr such that xzwy. Hence, d(x,y)=3 for every xAdi and yAdj. In view of the cases and arguments discussed in this proof, we have W(Γ(Zn))=12uV(Γ(Zn))vV(Γ(Zn)d(u,v)=12[i=1τ(n)22|Adi|(|Adi|1)+didjdjdi|Adi||Adj|]+2(di,dj)A|Adi||Adj|+2(di,dj)B|Adi||Adj|+3(di,dj)C|Adi||Adj|=i=1τ(n)2ϕ(ndi)(ϕ(ndi)1)+12didjdjdiϕ(ndi)ϕ(ndj)+2(di,dj)Aϕ(ndi)ϕ(ndj)+2(di,dj)Bϕ(ndi)ϕ(ndj)+3(di,dj)Cϕ(ndi)ϕ(ndj).

Based on all the possible distances obtained in this section, the following proposition is easy to observe.

Proposition 6.4.

The diameter of Γ(Zn) is given below: diam(Γ(Zn))={0n=4,2n=p1p2pk, k23otherwise.

Now we conclude this paper with an illustration of Theorem 6.3 for n = 72.

Example 6.5.

Consider n=23·32=72. Then the number of proper divisor τ(n) of n is i=1k(ni+1)2=10. Therefore, D={2,22,23,3,32,2·3,22·3,23·3,2·32,22·32}. Let d1=2,d2=22,d3=23,d4=3,d5=32,d6=2·3,d7=22·3,d8=23·3,d9=2·32,d10=22·32. By Lemma 3.2, we obtain |Ad1|=12,|Ad2|=6,|Ad3|=6,|Ad4|=8,|Ad5|=4,|Ad6|=4,|Ad7|=2,|Ad8|=2,|Ad9|=2,|Ad10|=1. Now 12i=1102|Adi|(|Adi|1)=[132+30+30+56+12+12+2+2+2+0]=278 and 12didjdjdi|Adi||Adj|=[96+48+48+24+24+12+48+24+24+12+12+6+16+8+8+4+4+2]=420 The sets A, B and C defined in Theorem 6.3 are A={(d6,d7),(d6,d8),(d6,d9),(d6,d10),(d7,d8),(d7,d10),(d9,d10)};B={(d1,d2),(d1,d3),(d1,d6),(d1,d7),(d1,d8),(d2,d3),(d2,d7),(d2,d8),(d3,d8),(d4,d5),(d4,d6),(d4,d7),(d4,d9),(d4,d10),(d5,d9),(d5,d10)};C={(d1,d9),(d1,d10),(d2,d10),(d4,d8)}. Consequently, 2(di,dj)A|Adi||Adj|=2[8+8+8+4+4+2+2]=722(di,dj)B|Adi||Adj|=2[72+72+48+24+24+36+12+12+12+32+32+16+16+8+8+4]=8563(di,dj)C|Adi||Adj|=3[24+12+6+16]=174 Hence, the Wiener index of Γ(Z72) is given by W(Γ(Z72))=12[i=1τ(n)22|Adi|(|Adj|1)+didjdjdi|Adi||Adj|]+2(di,dj)A|Adi||Adj|+2(di,dj)B|Adi||Adj|+3(di,dj)C|Adi||Adj|=278+420+72+856+174=1800.

Acknowledgments

The authors are thankful to the referee for valuable suggestions which helped in improving the presentation of the paper.

Disclosure statement

There is no conflict of interest regarding the publishing of this paper.

Additional information

Funding

The second author gratefully acknowledge for providing financial support to CSIR (09/719(0093)/2019-EMR-I)) government of India.

References

  • Afkhami, M., Khashyarmanesh, K. (2011). The cozero-divisor graph of a commutative ring. Southeast Asian Bull. Math. 35(5): 753–762.
  • Afkhami, M., Khashyarmanesh, K. (2012). On the cozero-divisor graphs of commutative rings and their complements. Bull. Malays. Math. Sci. Soc. 35(4): 935–944.
  • Afkhami, M., Khashyarmanesh, K. (2012). Planar, outerplanar, and ring graph of the cozero-divisor graph of a finite commutative ring. J. Algebra Appl. 11(6): 1250103.
  • Afkhami, M., Khashyarmanesh, K. (2013). On the cozero-divisor graphs and comaximal graphs of commutative rings. J. Algebra Appl. 12(03): 1250173.
  • Akbari, S., Alizadeh, F., Khojasteh, S. (2014). Some results on cozero-divisor graph of a commutative ring. J. Algebra Appl. 13(3): 1350113.
  • Akbari, S., Khojasteh, S. (2014). Commutative rings whose cozero-divisor graphs are unicyclic or of bounded degree. Commun. Algebra. 42(4): 1594–1605.
  • Asir, T., Rabikka, V. (2021). The wiener index of the zero-divisor graph of Zn. Discrete Appl. Math. 319: 461–471.
  • Bakhtyiari, M., Nikandish, R., Nikmehr, M. (2020). Coloring of cozero-divisor graphs of commutative von Neumann regular rings. Proc. - Math. Sci. 130(1): 1–7.
  • Beck, I. (1988). Coloring of commutative rings. J. Algebra. 116(1): 208–226.
  • Cardoso, D. M., de Freitas, M. A. A., Martins, E. A., Robbiano, M. (2013). Spectra of graphs obtained by a generalization of the join graph operation. Discrete Math. 313(5): 733–741.
  • Chattopadhyay, S., Patra, K. L., Sahoo, B. K. (2020). Laplacian eigenvalues of the zero divisor graph of the ring Zn. Linear Algebra Appl. 584: 267–286.
  • Dobrynin, A. A., Entringer, R., Gutman, I. (2001). Wiener index of trees: Theory and applications. Acta Appl. Math. 66(3): 211–249.
  • Fiedler, M. (1973). Algebraic connectivity of graphs. Czech. Math. J. 23(2): 298–305.
  • Janezic, D., Milicevic, A., Nikolic, S., Trinajstic, N. (2015). Graph-Theoretical Matrices in Chemistry. Boca Raton: CRC Press.
  • Kirkland, S. J., Molitierno, J. J., Neumann, M., Shader, B. L. (2002). On graphs with equal algebraic and vertex connectivity. Linear Algebra Appl. 341(1–3): 45–56.
  • Magi, P., Jose, S. M., Kishore, A. (2020). Spectrum of the zero-divisor graph on the ring of integers modulo n. J. Math. Comput. Sci. 10(5): 1643–1666.
  • Mallika, A., Kala, R. (2017). Rings whose cozero-divisor graph has crosscap number at most two. Discrete Math. Algorithms Appl. 9(6): 1750074.
  • Nikandish, R., Nikmehr, M., Bakhtyiari, M. (2021). Metric and strong metric dimension in cozero-divisor graphs. Mediterr. J. Math. 18(3): 1–12.
  • Patil, A., Shinde, K. (2021). Spectrum of the zero-divisor graph of von Neumann regular rings. J. Algebra Appl. 2250193. DOI:10.1142/S0219498822501936
  • Pirzada, S., Rather, B., Shaban, R. U., Merajuddin, S. (2021). On signless Laplacian spectrum of the zero divisor graphs of the ring Zn. Korean J. Math. 29(1): 13–24.
  • Pirzada, S., Rather, B. A., Aijaz, M., Chishti, T. (2020). On distance signless Laplacian spectrum of graphs and spectrum of zero divisor graphs of Zn. Linear Multilinear Algebra. 1–16. DOI:10.1080/03081087.2020.1838425
  • Pirzada, S., Rather, B. A., Chishti, T., Samee, U. (2021). On normalized Laplacian spectrum of zero divisor graphs of commutative ring Zn. Electron. J. Graph Theory Appl. 9(2): 331–345.
  • Rather, B. A., Pirzada, S., Naikoo, T. A., Shang, Y. (2021). On Laplacian eigenvalues of the zero-divisor graph associated to the ring of integers modulo n. Mathematics. 9(5): 482.
  • Schwenk, A. J. (1974). Computing the characteristic polynomial of a graph. In Graphs and Combinatorics: Proceedings of the Capital Conference. Lecture Notes in Mathematics, Vol. 406, p. 153–172.
  • West, D. B. (1996). Introduction to Graph Theory. 2nd ed, NewYork: Prentice Hall.
  • Wiener, H. (1947). Structural determination of paraffin boiling points. J. Am. Chem. Soc. 69(1): 17–20.
  • Xu, K., Liu, M., Das, K. C., Gutman, I., Furtula, B. (2014). A survey on graphs extremal with respect to distance-based topological indices. MATCH Commun. Math. Comput. Chem. 71(3): 461–508.
  • Young, M. (2015). Adjacency matrices of zero-divisor graphs of integers modulo n. Involve. 8(5): 753–761.