1. Introduction
Let
and
be a set of zero-divisors and a set of regular elements of commutative ring
with
, respectively. In [
1], Mohammad Ashraf et al. defined the dot total graph of
, denoted by
, as an (undirected) graph, which consists of all elements of
as vertex set
and includes all edges such that for distinct
,
if and only if
. In this paper, we replace
by an ideal
I, and we introduce and investigate an
ideal-based dot total graph of denoted
. In addition, Redmond [
2] defined
as an undirected graph. It has vertices
. In this case,
x and
y are vertices that are both distinct and adjacent if and only if
, i.e.,
is subgraph of
. It will also appear in this paper. Further, if
in
, then
; this graph is studied by Anderson et al. [
3], and they were interested in studying the interplay of ring-theoretic properties of
with graph-theoretic properties of
. Moreover, they associated a (simple) graph
to
, which consists of a vertex set
and edge set
such that for all distinct
,
if and only if
. Furthermore, if
in
, then
; this graph is studied by Beck [
4], in which he considered
as a simple graph for which its vertex set is the set of all elements of
and edge set such that for all distinct
,
if and only if
. In addition, some fundamentals of Laplacian eigenvalues and energy of graphs can be identified in [
5,
6,
7].
Assuming G to be a graph, G can be said to be connected when a path connects every pair of its distinctive vertices. Denoting distinct vertices of graph G to be x and y, will indicate the shortest distance between the two vertices. However, where no such path exists, it will be represented by . Similarly, the diameter of G is . The girth of G, denoted by , is defined as the length of shortest cycle in G ( if G contains no cycle). Note that if G contains a cycle, then . The degree of vertex v, written or , is the number of edges incident to v (or the degree of the vertex v is the number of vertices adjacent to v). In a connected graph G, a vertex v is said to be a cut-vertex of G if and only if is disconnected. Let be a vertex set of G. Then, the subset is called a vertex-cut if is disconnected. The connectivity of a graph G denoted by and is defined as the cardinality of a minimum vertex-cut of G, which is also the same concepts we have in the edges. In a connected graph G, an edge e is said to be a bridge of G if and only if is disconnected. Let be an edge set of G. If is disconnected, it will have a subset as its edge-cut. Let denote the edge-connectivity of a connected graph G which is the size of the smallest set of edges for which removal disconnects G. Moreover, a clique is a complete subgraph of a graph G. The clique number denoted by is the greatest integer such that , and if for all . A nontrivial connected graph G is Eulerian if every vertex of G has an even degree. Moreover, G contains a Eulerian trail if exactly two vertices of G have an odd degree. In addition, let G be a graph of order . If for each pair u and v of vertices of G that are not adjacent, then G is Hamiltonian.
The present paper is organized as follows:
In
Section 2, we define an ideal-based dot total graph of
and study the most basic results of
. We provide many examples and show that
is always connected with
and
, and we determine when
is a complete graph and a regular graph. Moreover, we find the degree of each vertex of
. Furthermore, in
Section 3, we study the connectivity of
when
has a no cut-vertex, and
has a bridge. We shall also find the
. On the other hand, in
Section 4, we study the clique number and girth of
, and we determine the clique number when
has a cycle. Furthermore, we find the girth of
, i.e.,
. Finally, in
Section 5, we study the traversability of
when
is Eulerian or contains a Eulerian trail, and
is Hamiltonian.
2. Definition and Basic Structure of
In this section, we define an ideal-based dot total graph, denoted by , and show that this graph is always connected and has a small diameter of at most two. By dividing the element of into three disjoint subsets, we study the basic results on the structure of this graph and the relationship between and , , , or with some examples clarification. Moreover, we find the degree of each vertex of that depends on the three sets , and Y. Furthermore, we determine the case when is a complete graph or a regular graph.
Definition 1. Let be a commutative ring with and ideal I. Then, a simple graph that is not directed is defined as , possessing vertices of . In this case, the graph has vertices x and y that are both distinct and adjacent if and only if .
Proposition 1. If , then .
If is an ideal and , then .
If , then , where .
Let have a proper nonzero ideal I. Consequently, this means that . The value of n is given by if and only if the prime ideal of is I.
Proof. The proofs of
and
follow by the definition of the zero-divisor graph of
, which appeared in Beck [
4], and definition of the dot total graph of
, which appeared recently in Ashraf et al. [
1], respectively.
Let x and y be distinct vertices of . Then, . Thus, x is adjacent to y for all . Hence, , where . This completes the proof.
Let I be a prime ideal of . Then, is an integral domain. Thus, is a star graph. Hence, , where .
Conversely, let , where . Then, is a star graph, and we have the following two cases:
Case If , then is an integral domain.
Case If , then there exists at least two vertices in . Therefore, is not a star graph, which is a contradiction.
Thus, we obtain as an integral domain. Hence, I is the prime ideal of . This completes the proof. □
In view of the following examples, we shall find and with several ideals I of the same ring .
Example 1. Let . Then, , and are ideals of :
- (i)
Let , then (see Figure 1). - (ii)
Let , then (see Figure 2). - (iii)
Let , then (see Figure 3). - (iv)
Let , then (see Figure 4).
Example 2. Let . Then , and are ideals of :
- (i)
Let , then (see Figure 5). - (ii)
Let , then (see Figure 6). - (iii)
Let , then (see Figure 7). - (iv)
Let , then (see Figure 8).
Theorem 1. is connected and . Therefore, where has a cycle, it implies .
Proof. Assume that x and y are distinct vertices of . In such a scenario, various cases will be true as shown:
Case: If and , then . Thus, is a path of length one in .
Case: If and , then . Thus, is a path of length one in .
Case: If and , then this will result in a path of length one as in the previous case.
Case: If and , then we will consider the following subcases:
□
Suppose that is a commutative ring, and I is an ideal of . We construct a graph with the following method:
First, the set of vertices of can be classified into three disjoint subsets of :
is the subset of such that I is the ideal generated by the element a.
, for all .
, for some .
Second, we will connect the edges between the vertices defined in the three previous sets as follows:
We define a complete graph (, where ) by using the first set as its vertex set. Thus, we have an edge between each vertex of I (i.e., ). Then, join each vertex of the second set X to all vertices of the complete graph , and similarly, join each vertex of the third set Y to all vertices of the complete graph . Thus, we have an edge between each vertex of the sets X and Y with all vertex of I (i.e., and ). Finally, in this part of the edges the relationship between and is identical. Thus, for distinct , is adjacent to in if and only if is adjacent to in (i.e., ).
Henceforth, we shall rely on the three sets , and Y defined above in this paper.
Theorem 2. Let and be any two distinct vertices of the third set Y and is adjacent to in . If , then is adjacent to in and if , then .
Corollary 1. Let have two vertices () that are both distinct and adjacent. This implies that the elements, and , are adjacent in . Assuming that , this implies that has all the distinct elements of adjacent to it.
Corollary 2. Let I be an ideal of . Then, and are subgraphs of .
Corollary 3. Assume that a nonzero ideal of is I. Then, if and only if the prime ideal of is I, is subgraph of .
Corollary 4. contains disjoint subgraphs isomorphic to .
Proof. Since is subgraph of (see Corollary 2) and contains disjoint subgraphs isomorphic to , contains disjoint subgraphs isomorphic to . □
Remark 1. Let , and Y be three disjoint sets defined above, and . Then, we have the following results:
- (i)
If is adjacent to in , then u is adjacent to v in .
- (ii)
If is adjacent to in , then u may or may not be adjacent to v in (see Example 1(iii); Figure 3). - (iii)
If I is a prime ideal, then the set Y defined above will vanish.
- (iv)
If , then the sets X and Y defined above will vanish, i.e., X and Y are empty. Thus, , where .
- (v)
If , then u is adjacent to each vertex .
- (vi)
If , then u is adjacent to only.
- (vii)
If , then u is adjacent to and some .
- (viii)
Any two distinct vertices of X are not adjacent in , i.e., if , and , then .
- (ix)
If Y is a subgraph of , then each pair of distinct vertices u and v of Y is connected by a path with a length of at most three.
- (x)
There are no adjacencies between elements of X and elements of Y.
Theorem 3. Let I be a prime ideal of . Then, contains a subgraph isomorphic to , where .
Proof. Since I is a prime ideal, Y will vanish, and there is at least one element v in X. Moreover, we have a complete subgraph , where and the vertex v is adjacent to each vertex of . Thus, we have a complete subgraph of order . □
Theorem 4. Let I be a non-prime ideal of , and there exists such that . Then, contains a subgraph isomorphic to , where m is at least .
Proof. Since there exists such that , all the distinct elements of are adjacent in (see Corollary 1). Thus, we have a complete subgraph of order . Moreover, by element of the set I, we have a complete subgraph , where and all the distinct elements of are adjacent to each vertex of . Thus, we have a complete subgraph of order . Therefore, if Y consists of the elements only, then . If there exists other than the elements , then v is adjacent to all the elements or there exists an element such that v is adjacent to w, and w is adjacent to all the elements . Hence, in both cases we have a complete subgraph of order , and all elements of this subgraph are adjacent to each vertex of . Thus, we have a complete subgraph of order . □
Theorem 5. Let I be an ideal of that is not prime, and for all . Then, contains a subgraph isomorphic to , where m is at least .
Proof. Assume that for all . By the same arguments as used in Theorems 3 and 4, we obtain the result. □
Corollary 5. is a complete graph if and only if either or .
Theorem 6. Let I be a prime ideal of . Then, the degree of each vertex of is either or .
Proof. Since I is a prime ideal of , the set Y will vanish. Thus, consists of two disjoint subsets I and X. Then, we have the following two cases:
Case : If , then u is adjacent to each vertex in except u; that is, u is adjacent to vertices, and hence the degree of u is .
Case : If , then u is adjacent to the vertices, which belongs to I; that is, u is adjacent to vertices and, hence, . □
Corollary 6. Let I be an ideal of and . Then, the number of elements of adjacent to u is either or at least .
Proof. Let . Then, we have two types of adjacencies. First, u is adjacent to each element of I, i.e., u is adjacent to vertices. Second, if , then u is adjacent to some elements of Y, i.e., u is adjacent to at least one vertex of Y. Thus, u is adjacent to at least vertices. If , then u is adjacent to elements only. Hence, or . □
Corollary 7. Let I be an ideal of and . Then, the degree of u depends on the three sets , and Y defined earlier as follows. Corollary 8. is regular graph if and only if either or (i.e., is a complete graph).
Remark 2. Minimum degree of is , and maximum degree of is .
3. Connectivity of
In this section, we study the connectivity of .
Theorem 7. Let I be a nonzero ideal of . Then, has no cut-vertex.
Proof. Assume that the vertex u of is a cut-vertex. Then, there exist such that u lies on every path from x to y. Thus, we have the following cases.
Case : If x is adjacent to y, then there is a path from x to y in such that u does not lie on it. Hence, we obtain a contradiction.
Case : If x is not adjacent to y, then . Since I is nonzero ideal, I has at least two elements, and we have the following subcases.
Subcase: If , then x is not adjacent to y, and there exist such that x is adjacent to , and similarly, y is adjacent to . Therefore, if u is equal to or , then there is at least one path from x to y, and u does not lie on it, which is a contradiction. Moreover, we obtain the same contradiction when u is not equal to and .
Subcase: If and , then x is not adjacent to y, and by the same arguments as used in the above subcase, we obtain the contradiction.
Subcase: If , then x may or may not adjacent to y. Thus in both the cases and by the same arguments as used in the subcase, we obtain a contradiction. □
Corollary 9. Let I be an ideal of . Then, has a cut-vertex if and only if I is a zero ideal.
Remark 3. If has a cut-vertex, then 0 is the cut-vertex of .
Theorem 8. Proof. By Remark 2, . Moreover, for any graph G, . Therefore, . Now, if , then u is adjacent to each vertex . Thus, the minimum vertex-cut is the set of all those vertices in I. Therefore, , and hence . □
Remark 4. For any commutative ring with , the elements of I with some elements of Y form a vertex-cut of . However, only the elements of I is the minimum vertex-cut of .
Theorem 9. has a bridge if and only if either is a graph with two vertices (i.e., ), or I is the zero ideal of .
Proof. Suppose that has a bridge. Now, we have the following cases.
Case: If , then it is clear that , which has a bridge. Hence, .
Case: If , then either , , or . Let be the bridge of . Since there is no edge neither between any two elements of X nor between any element of X with element of Y, we have the following subcases.
Subcase: If , and , then there exists such that u and v are adjacent to w. We note that is a cycle, and there is no bridge between them; we obtain a contradiction.
Subcase: If , and , then there exists such that u and v are adjacent to w. We note that is a cycle, and there is no bridge between them; we obtain a contradiction.
Subcase: If , , and , then there are two possibilities.
If (i.e., I is a zero ideal of ), then v is adjacent to only, and is a bridge of . Moreover, each vertex of X with u forms a bridge of (i.e., we have bridges).
If (i.e., I is not zero ideal of ), then there exists such that u and v are adjacent to w. We note that is a cycle, and there is no bridge between them; we obtain a contradiction.
Subcase: If , , and , then there are three possibilities.
If (i.e., I is a zero ideal of ) and , then v is adjacent to only, and is a bridge of .
If (i.e., I is a zero ideal of ) and , then there exists at least one element such that v and w are connected vertices by a path P. Since each elements of Y are adjacent to elements of I, is a cycle and there is no bridge between them. This is a contradiction.
If (i.e., I is not zero ideal of ), then there exists such that v is adjacent to w. Since each element of I is adjacent, is a cycle, and there is no bridge between them; we obtain a contradiction.
Conversely, suppose that is a graph with two vertices. Then, it is clear that has a bridge. Let us suppose that I is the zero ideal of (i.e., ) and . Then, we have at least one element u in X. Hence, is a bridge in . □
Remark 5. If the ring or I is the zero ideal of , then has a bridge and vice versa, i.e., if has a bridge, then the ring or I is the zero ideal of .
5. Is Eulerian and Hamiltonian
In this section, we determine when is Eulerian, Hamiltonian, and contains a Eulerian trail.
Theorem 14. Let I be an ideal of a ring such that . If and are odd, then is a Eulerian.
Proof. Suppose that and is odd. Then, by Corollary 5, is a complete graph of odd vertices. Thus, the degree of each vertex of is even. Hence, is Eulerian. □
Theorem 15. Let I be a zero ideal of a ring such that and are even. If each vertex of has odd degree, then contains a Eulerian trail.
Proof. Suppose that each vertex of has odd degree. Then, each vertex of Y in has even degree. Since and are even, the vertex 0 of I has odd degree. Moreover, the degree of the vertex of X has degree one. Thus, each vertex of has an even degree except for two vertices that have odd degrees. Hence, contains a Eulerian trail. □
Remark 8. In view of Theorem 15, the element of X is the unity of the ring . Moreover, the Eulerian trail of begins at unity and ends at zero of or begins at zero and ends at unity of (for example, and ).
Theorem 16. Assume that a prime ideal of Ring is I. Thus, if and only if is even and is odd, then is Eulerian. also is odd.
Proof. Suppose that is Eulerian. Then, every vertex of has an even degree. Since I is a prime ideal of , the degree of each vertex of either () or (Theorem 6). Therefore, we have the following cases.
Case: If , then , which is even. Thus, is even.
Case: If , then , which is even, and we obtain as odd.
Now, we have as odd and as even. Therefore, is odd.
Conversely, suppose that is even and is odd. Then, is odd. Thus, is even, and is also even. Since I is a prime ideal of , the degree of each vertex of is either or . Thus, the degree of each vertex of is even. Hence, is Eulerian. □
Theorem 17. Let I be a prime ideal of a ring . Then, contains a Eulerian trail if and only if either or is even or and are odd.
Proof. Suppose that contains a Eulerian trail. Then, exactly two vertices of have odd degree. Since I is a prime ideal of , the vertex set of consists of I and X only, and Y will vanish. Let u and v be the two vertices of odd degree and let be the vertices of even degree. Then, we have the following cases.
Case: If and for all , then is odd and for all is even. Therefore, is odd, and is even; thus, is even and . Hence, and is even. Moreover, is even.
Case: If and there exists at least one , then is odd. Hence, there are more than two odd vertices in , and we obtain a contradiction.
Case: If and for all , then is odd and for all is even. Note that is odd, and is even. We obtain as odd and as odd. Since only, we have . Hence, and are odd. Moreover, is odd.
Case: If and there exists at least one , then is odd. Thus, there are more than two odd vertices in , we obtain a contradiction.
Case: If and , then for all is odd. Thus, all the vertices of have odd degree, and we obtain a contradiction. Therefore in all the cases, we obtain either and as even or and as odd.
Conversely, suppose that either and are even or and are odd. We first assume that and are even. Thus, is even, and let u be any vertex of . Therefore, we have the following cases.
Case: If , then , which is odd. Since and are even, and there are only two vertices in I posessing an odd degree, and each vertices in X has an even degree. Hence, contains a Eulerian trail.
Case: If , then , which is even by the same argument; there are only two vertices such that and are adjacent to each vertices in X and adjacent to and , which is odd. Therefore, there are only two vertices in I that have an odd degree, and each other vertices in X has even degree. Hence, contains a Eulerian trail.
Now, we assume that and are odd. Thus, is odd, and let u be any vertex of . Then, we have the following cases.
Case: If , then , which is even. Since and are odd, there are only two vertices in X that have an odd degree, and each other vertices in I has an even degree. Hence, contains a Eulerian trail.
Case: If , then , which is odd; thus, is odd. By the same argument, there are only two vertices in X possessing an odd degree and each other vertices in I has degree , which is even. Hence, contains a Eulerian trail.
From all the above cases, we conclude that contains a Eulerian trail. Hence, if either and are even or and are odd, then contains a Eulerian trail. □
Remark 9. In view of Theorem 17, if , then Eulerian trail of begins at one of these two elements of I and ends at other(for example and see Example 2(iii) Figure 7). Moreover, if , then the Eulerian trail of begins at one of these two elements of X and ends at the other (for example and ). Theorem 18. Let I be an ideal of a ring that is not prime such that is even, is odd, and is even. Then, we have the following case:
is Eulerian if and only if is Eulerian.
contains a Eulerian trail if and only if contains a Eulerian trail.
Theorem 19. Let I be an ideal of a ring that is not prime such that is even, is even, and is odd. Then, we have the following case.
is Eulerian if and only if is Eulerian.
contains a Eulerian trail if and only if contains a Eulerian trail.
Remark 10. In view of Theorems 16, 18, and 19, since is even and is odd, there is no graph on n vertices that can be realized as for some ring and an ideal I of .
Theorem 20. Let I be a non-prime ideal of a ring such that , is even, and is even. Then, contains a Eulerian trail if and only if is Eulerian.
Proof. Suppose that contains a Eulerian trail. Then, each vertex of has an even degree except for two vertices that have odd degrees. Since I is not a prime ideal of , the vertex set of consists of I, X, and Y. Let u and v be the two vertices of odd degree and let be the vertices of even degree. Since and are even and , . If we assume that at least one of , then is odd, which is a contradiction, and if we assume that at least one of , then we have more than two odd vertices in . Therefore, has no Eulerian trail, which is a contradiction. Thus, the two elements of I are the only ones that are odd and all other elements of X and Y are even. Now, we know that is a subgraph of , i.e., the set Y is the set of vertex of , but to obtain the exact number of edges that incident on each vertex of , we remove the edges join all vertex of I with each vertex of Y. Thus, the degree of each vertex of is same as the degree of each vertex of Y in subtract . Therefore, the degree of each vertex of is even. Hence, is Eulerian.
Conversely, suppose that is Eulerian. Then, each vertex of has an even degree. Thus, each vertex of Y in has an even degree. Now, we will construct . First, we have two vertices of the set I adjacent to all vertex of , i.e., adjacent to () vertices. Since , and are even, and the degree of each vertex of I is odd, i.e., we have two vertices of I being odd. Now, if we have an even vertex of set X, which is adjacent to all vertices of I only. Thus, the degree of each vertex of X is even. Finally, we have an even vertex of set Y adjacent to all vertex of I and at least one vertex of Y. Since is even and each vertex of Y in has an even degree, the degree of each vertex of Y in is even. Thus, each vertex of has an even degree except for two vertices, which have odd degrees. Hence, contains a Eulerian trail. □
Theorem 21. Let I be an ideal of a ring that is not prime such that , is odd, and is odd. Then, contains a Eulerian trail if and only if is Eulerian.
Proof. By the same arguments used in the above Theorem 18, the proof is clear. □
Example 3. Let and . Then, and . We observe that is Eulerian and contains a Eulerian trail (see Figure 9). Theorem 22. Let I be an ideal of a ring such that . If , then is Hamiltonian.
Proof. Suppose that . Then, by Corollary 5, is a complete graph. Hence, is Hamiltonian. □
Theorem 23. Let I be a zero ideal of a ring . Then, cannot be Hamiltonian.
Proof. Suppose that . Then, by Corollary 9, has a cut-vertex. Hence cannot be Hamiltonian. □
Theorem 24. Let I be a nonzero ideal of a ring such that . If , then is Hamiltonian.
Proof. Suppose that u and v are any two vertices of . Then, we have the following cases.
Case: If u and v are adjacent for all , then is complete. Therefore, is Hamiltonian.
Case: If u and v are nonadjacent for some , then by Remarks 1, and , we have the following subcases:
Subcase: If , then by Corollary 7, . Thus, . Hence, is Hamiltonian.
Subcase: If , then by Corollary 7, . Thus, . Hence, is Hamiltonian.
Subcase: If and , then by Corollary 7, and . Thus, . Hence, is Hamiltonian. □
Corollary 13. Let I be a nonzero ideal of a ring such that . If for each pair of X, then is Hamiltonian if and only if is Hamiltonian.
Corollary 14. Let I be a nonzero ideal of a ring . Then, I is a maximal ideal of a ring if and only if is Hamiltonian.