PARADIGMA BARU PENDIDIKAN MATEMATIKA DAN APLIKASI ONLINE INTERNET PEMBELAJARAN CONTACT: Mohammad Nafie Jauhari nafie.jauhari@uin-malang.ac.id Department of Mathematics, UIN Maulana Malik Ibrahim, Malang, East Java 65144 The article can be accessed here. https://doi.org/10.15642/mantik.2022.8.1.99-104 On the Relation of the Total Graph of a Ring and a Product of Graphs Mohammad Nafie Jauhari Universitas Islam Negeri Maulana Malik Ibrahim, Malang, Indonesia, Article history: Received Aug 31, 2022 Revised, Dec 25, 2022 Accepted, Dec 31, 2022 Kata Kunci: Grup, Total graf, Isomorfisma, Perkalian Kartesius Abstrak. Graf total atas suatu ring 𝑅, dinotasikan dengan 𝑇(Ξ“(𝑅)), didefinisikan sebagai suatu graf dengan himpunan titik 𝑉 (𝑇(Ξ“(𝑅))) = 𝑅 dan dua titik berbeda 𝑒,𝑣 ∈ 𝑉(𝑇(Ξ“(𝑅))) bertetangga jika dan hanya jika 𝑒 + 𝑣 ∈ 𝑍(𝑅), di mana 𝑍(𝑅) merupakan pembagi nol dari 𝑅. Perkalian Kartesius dari dua graf 𝐺 dan 𝐻 merupakan suatu graf yang dinotasikan dengan 𝐺 Γ— 𝐻 di mana himpunan titiknya adalah 𝑉(𝐺 Γ— 𝐻) = 𝑉(𝐺) Γ— 𝑉(𝐻) dan dua titik berbeda (𝑒1,𝑣1) dan (𝑒2,𝑣2) di 𝑉(𝐺 Γ— 𝐻) bertetangga jika dan hanya jika: 1) 𝑒1 = 𝑒2 dan 𝑣1𝑣2 ∈ 𝐻; atau 2) 𝑣1 = 𝑣2 dan 𝑒1𝑒2 ∈ 𝐸(𝐺). Isomorfisma dari graf 𝐺 dan 𝐻 adalah suatu fungsi bijektif πœ™:𝑉(𝐺) β†’ 𝑉(𝐻) sedemikian sehingga 𝑒,𝑣 ∈ 𝑉(𝐺) bertetangga jika dan hanya jika 𝑓(𝑒),𝑓(𝑣) ∈ 𝑉(𝐻) bertetangga. Akan dibuktikan bahwa graf 𝑇(Ξ“(β„€2𝑝)) isomorf dengan graf 𝑃2 Γ— 𝐾𝑝 untuk setiap bilangan prima 𝑝. Keywords: Group, Total graph, Isomorphism, Cartesian product Abstract. The total graph of a ring 𝑅, denoted as 𝑇(Ξ“(𝑅)), is defined to be a graph with vertex set 𝑉 (𝑇(Ξ“(𝑅))) = 𝑅 and two distinct vertices 𝑒,𝑣 ∈ 𝑉 (𝑇(Ξ“(𝑅))) are adjacent if and only if 𝑒 + 𝑣 ∈ 𝑍(𝑅), where 𝑍(𝑅) is the zero divisor of 𝑅. The Cartesian product of two graphs 𝐺 and 𝐻 is a graph with the vertex set 𝑉(𝐺 Γ— 𝐻) = 𝑉(𝐺) Γ— 𝑉(𝐻) and two distinct vertices (𝑒1,𝑣1) and (𝑒2,𝑣2) are adjacent if and only if: 1) 𝑒1 = 𝑒2 and 𝑣1𝑣2 ∈ 𝐻; or 2) 𝑣1 = 𝑣2 and 𝑒1𝑒2 ∈ 𝐸(𝐺). An isomorphism of graphs 𝐺 dan 𝐻 is a bijection πœ™:𝑉(𝐺) β†’ 𝑉(𝐻) such that 𝑒,𝑣 ∈ 𝑉(𝐺) are adjacent if and only if 𝑓(𝑒),𝑓(𝑣) ∈ 𝑉(𝐻) are adjacent. This paper proved that 𝑇(Ξ“(β„€2𝑝)) and 𝑃2 Γ— 𝐾𝑝 are isomorphic for every odd prime 𝑝. How to cite: M. N. Jauhari, β€œOn the Relation of Total Graph of a Ring and a Product of Graphs”, J. Mat. Mantik, vol. 8, no. 2, pp. 99-104, December 2022. Jurnal Matematika MANTIK Vol. 8, No. 2, December 2022, pp. 99-104 ISSN: 2527-3159 (print) 2527-3167 (online) mailto:nafie.jauhari@uin-malang.ac.id https://doi.org/10.15642/mantik.2021.7.1.9-19 http://u.lipi.go.id/1458103791 Jurnal Matematika MANTIK Vol. 8, No. 2, December 2022, pp. 99-104 100 1. Introduction Investigating group or ring properties and its structures from their graph representation become a new trend in graph theoretic research. Many authors proved that there are tight bonds between the rings and graphs. Aalipour in [1] investigated the chromatic number and clique number of a commutative ring. [2] gave a novel application of a central-vertex complete graph to a commutive ring. In 2008, [3] investigated the commutive graph of rings generated from matrices over a finite filed. Three years after the graph of a ring was introduced in [4], [5] proposed useful applications of semirings in mathematics and theoretical computer science. One interest in applying graph invariant on a group also showed in [6] in the properties of zero-divisor graphs. Another useful graph generated from group or ring structure is Cayley graphs which has many useful applications in solving and understanding a variety problem in several scientific interests [7]. The graph isomorphism itself has many applications in real life and many scientific fields [8]. [9] stated briefly about its application in the atomic structures and [10] showed how it can be applied in biochemical data. To prove the isomorphism of two graphs is an NP-problem in which there is no specific algorithm or certain way that works for all graphs in consideration [11]. In 1996, [12] proposed a good graph isomorphism algorithm but still troublesome for a large graphs. Considering those applications of ring generated graphs, the applications of the graph isomorphisms, and the isomorphism-related algorithm complexity, finding an isomorphism of ring-structured graphs and the graph obtained from certain operation is a challenging task and a potential new interest in graph theory research. This paper considers the relation between the total graph of ℀𝑝 and 𝑃2 Γ— 𝐾𝑝 for all odd prime 𝑝. 2. Preliminaries A graph 𝐺 is a pair 𝐺 = (𝑉,𝐸) for non-empty set 𝑉 and 𝐸 βŠ† [𝑉]2 (the elements of 𝐸 are 2-element subsets of 𝑉). For terminologies and notations concerning to a graph and its invariants, please consider [13]. This preliminary covers the definitions related to ring and the total graph of a ring. It also provides some definitions related to graph isomorphism and a graph operation. Definition 1. Ring [14] A ring 𝑅 is a set with two binary operations, addition and multiplication, such that for all π‘Ž,𝑏,𝑐 ∈ 𝑅: 1. π‘Ž + 𝑏 = 𝑏 + π‘Ž, 2. (π‘Ž + 𝑏)+ 𝑐 = π‘Ž + (𝑏 + 𝑐), 3. There is an additive identity 0, 4. There is an element βˆ’π‘Ž ∈ 𝑅 such that π‘Ž + (βˆ’π‘Ž) = 0, 5. π‘Ž(𝑏𝑐) = (π‘Žπ‘)𝑐, and 6. π‘Ž(𝑏 + 𝑐) = π‘Žπ‘ + π‘Žπ‘ and (𝑏 + 𝑐)π‘Ž = π‘π‘Ž + π‘π‘Ž. With this definition, β„€2𝑝, an integer modulo 2𝑝 set, equipped with addition and multiplication modulo 2𝑝 operation is a ring. Definition 2. Zero Divisor [14] A zero-divisor is a nonzero element π‘Ž of a commutative ring 𝑅 such that there is a nonzero element 𝑏 ∈ 𝑅 with π‘Žπ‘ = 0. Mohammad Nafie Jauhari On the Relation of Total Graph of a Ring and a Product of Graphs 101 Definition 3. Total Graph of a Ring [15] Let 𝑅 be a ring and 𝑍(𝑅) denotes the zero divisor of 𝑅. The total graph of 𝑅, denoted by 𝑇(Ξ“(𝑅)) is an undirected graph with elements of 𝑅 as its vertices, and for distinct π‘₯,𝑦 ∈ 𝑅, the vertices π‘₯ and 𝑦 are adjacent if and only if π‘₯ + 𝑦 ∈ 𝑍(𝑅). From those definitions of zero divisor and total graph, we will construct a total graph of β„€2𝑝 for an odd prime 𝑝. Definition 4. Graph Homomorphism and Isomorphism [13] Let 𝐺 = (𝑉𝐺,𝐸𝐺) and 𝐻 = (𝑉𝐻,𝐸𝐻) be graphs. A map πœ‘:𝑉𝐺 β†’ 𝑉𝐻 is a homomorphism from 𝐺 to 𝐻 if it preserves the adjacency of the vertices. In another word, {π‘₯,𝑦} ∈ 𝐸𝐺 β‡’ {πœ‘(π‘₯),πœ‘(𝑦)} ∈ 𝐸𝐻. If πœ‘ is bijective and πœ‘ βˆ’1 is also a homomorphism, then πœ‘ is an isomorphism and 𝐺 is said to be isomorphic to 𝐻. Definition 5. Cartesian Product [13] The Cartesian product of two graphs 𝐺 and 𝐻 is a graph with the vertex set 𝑉(𝐺 Γ— 𝐻) = 𝑉(𝐺) Γ— 𝑉(𝐻) and two distinct vertices (𝑒1,𝑣1) and (𝑒2,𝑣2) are adjacent if and only if: 1) 𝑒1 = 𝑒2 and 𝑣1𝑣2 ∈ 𝐻; or 2) 𝑣1 = 𝑣2 and 𝑒1𝑒2 ∈ 𝐸(𝐺). An isomorphism of graphs 𝐺 dan 𝐻 is a bijection πœ™:𝑉(𝐺) β†’ 𝑉(𝐻) such that 𝑒,𝑣 ∈ 𝑉(𝐺) are adjacent if and only if 𝑓(𝑒),𝑓(𝑣) ∈ 𝑉(𝐻) are adjacent. 3. Main Results In this section we will prove the isomorphism of the total graph of β„€2𝑝 and 𝑃2 Γ— 𝐾𝑝. We will investigate several properties of 𝑇(Ξ“(β„€2𝑝)) before we proof the isomorphism. Those investigations will be provided as lemmas and theorems equipped with their proofs. To characterize 𝑇(Ξ“(β„€2𝑝)), we consider its vertex set, the degree of each vertex, and the clique it has as subgraphs, since 𝑃2 Γ— 𝐾𝑝 can easily be considered and seen from those properties. Lemma 1. The zero divisor of β„€2𝑝 is 𝑍(β„€2𝑝) = {𝑝} βˆͺ {2𝑛:𝑛 = 1,2,…,𝑛 βˆ’ 1} for every odd prime 𝑝. Proof. For each π‘₯ ∈ β„€2𝑝, the exactly one of the following holds: π‘₯ = 𝑝, π‘₯ is even, and π‘₯ β‰  𝑝 is odd. Case 1, π‘₯ = 𝑝 Since 2𝑝 = 0 and 2 ∈ β„€2𝑝, we conclude that 𝑝 ∈ 𝑍(β„€2𝑝). Case 2, π‘₯ is even Let π‘₯ = 2π‘š for some π‘š ∈ β„€. Since π‘₯𝑝 = 2π‘šπ‘ = π‘š β‹… 2𝑝 = π‘š β‹… 0 = 0 and 𝑝 ∈ β„€2𝑝, we conclude that π‘₯ ∈ 𝑍(β„€2𝑝) for all even π‘₯ ∈ β„€2𝑝. Case 3, π‘₯ β‰  𝑝 is odd If π‘₯ = 1, then π‘₯𝑦 β‰  0 for all 0 β‰  𝑦 ∈ β„€2𝑝. We will show that 1 β‰  π‘₯ βˆ‰ 𝑍(β„€2𝑝) by using a contradiction. Suppose on the contrary, that π‘₯ ∈ 𝑍(β„€2𝑝). Consequently, there exists 0 β‰  𝑦 ∈ β„€2𝑝 such that π‘₯𝑦 = 0. It follows that gcd(π‘₯,2𝑝) > 1. Since the factor of 2𝑝 is 2 and 𝑝, we obtain that π‘₯ divides 𝑝. It is a contradiction since 𝑝 is a prime number. Jurnal Matematika MANTIK Vol. 8, No. 2, December 2022, pp. 99-104 102 Lemma 2. Let 𝑝 be an odd prime. Let 𝐴 βŠ† β„€2𝑝 be the set of all odd elements of β„€2𝑝 and 𝐡 βŠ† β„€2𝑝 be the set of all even elements of β„€2𝑝. {𝑒,𝑣} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))) for all 𝑒,𝑣 ∈ 𝐴 and {π‘₯,𝑦} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))) for all π‘₯,𝑦 ∈ 𝐡. In another word, the vertices in 𝐴 dan 𝐡 form cliques in 𝑇(Ξ“(β„€2𝑝)). Proof. Let 𝑒,𝑣 ∈ 𝐴 and let 𝑒 = 2𝑠 + 1 and 𝑣 = 2𝑑 + 1 for some 𝑠,𝑑 ∈ β„€. We obtain 𝑒 + 𝑣 = 2𝑠 + 1 + 2𝑑 + 1 = 2(𝑠 + 𝑑 + 1) ∈ 𝑍(β„€2𝑝). Therefore {𝑒,𝑣} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))) for all 𝑒,𝑣 ∈ 𝐴. Let π‘₯,𝑦 ∈ 𝐴 and let π‘₯ = 2𝑠 and 𝑦 = 2𝑑 for some 𝑠,𝑑 ∈ β„€. We obtain π‘₯ + 𝑦 = 2𝑠 + 2𝑑 = 2(𝑠 + 𝑑) ∈ 𝑍(β„€2𝑝). Therefore {π‘₯,𝑦} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))) for all π‘₯,𝑦 ∈ 𝐡. It proves that 𝐴 and 𝐡 form cliques in 𝑇(Ξ“(β„€2𝑝)). Lemma 3. Let 𝐴 and 𝐡 be sets defined in Lemma 2 and 𝑝 be an odd prime number. For each 𝑣 ∈ 𝐴 there is a unique π‘₯ ∈ 𝐡 such that {𝑣,π‘₯} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))). Proof. For each 𝑣 ∈ 𝐴, choose π‘₯ = 𝑝 βˆ’ 𝑣. It can be easily verified that π‘₯ ∈ 𝐡 since 𝑝 and 𝑣 are both odd numbers. On the other hand, let π‘₯ ∈ 𝐡 and π‘₯ β‰  𝑝 βˆ’ 𝑣. Suppose that {𝑣,π‘₯} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))), that is 𝑣 + π‘₯ ∈ 𝑍(β„€2𝑝). Since 𝑣 is odd and π‘₯ is even, it follows that 𝑣 + π‘₯ is an odd number and 𝑣 + π‘₯ = 𝑝 ⟺ π‘₯ = 𝑝 βˆ’ 𝑣, a contradiction. This proves that {𝑣,𝑝 βˆ’ 𝑣} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))),βˆ€π‘₯ ∈ 𝐴. Analogous to this proof, we can easily prove that for each π‘₯ ∈ 𝐡 there is a unique 𝑣 ∈ 𝐴 such that {𝑣,π‘₯} ∈ 𝐸(𝑇(Ξ“(β„€2𝑝))). Before we discuss the main problem, consider Figure 1 that represents the graph 𝑇(Ξ“(β„€2𝑝)) for several 𝑝. Figure 1. 𝑇(Ξ“(β„€2𝑝)) for 𝑝 ∈ {3,5,7}. Mohammad Nafie Jauhari On the Relation of Total Graph of a Ring and a Product of Graphs 103 Theorem 1. For any odd prime 𝑝, 𝑇(Ξ“(β„€2𝑝)) is isomorph to 𝑃2 Γ— 𝐾𝑝. Proof. Let 𝑉(𝑃2) and 𝑉(𝐾𝑝) be labeled as {𝑝1,𝑝2} and {π‘˜0,π‘˜1,…,π‘˜π‘βˆ’1} respectively. The vertices of the resulting graph obtained from the Cartesian product, 𝑃2 Γ— 𝐾𝑝, is therefore labeled {(𝑝1,π‘˜1),(𝑝1,π‘˜2),…,(𝑝1,π‘˜π‘),(𝑝2,π‘˜1),(𝑝2,π‘˜2),…,(𝑝2,π‘˜π‘)} in which {(𝑝𝑠,π‘˜π‘–),(𝑝𝑠,π‘˜π‘—)} ∈ 𝐸(𝑃2 Γ— 𝐾𝑝),βˆ€π‘–,𝑗 ∈ {1,2,…,𝑝} and 𝑖 β‰  𝑗, for 𝑠 ∈ {1,2}. Other edges to consider is {(𝑝1,π‘˜π‘–),(𝑝2,π‘˜(π‘βˆ’π‘– mod 𝑝)+1)} ∈ 𝐸(𝑃2 Γ— 𝐾𝑝),βˆ€π‘– ∈ {1,2,…,𝑝}. Here, the β€œmod” in β€œπ‘ βˆ’ 𝑖 mod 𝑝” is a modulus operator, not a modulus relation. Consider the function πœ‘:𝑉(𝑇(Ξ“(β„€2𝑝))) β†’ 𝑉(𝑃2 Γ— 𝐾𝑝) defined as follows: πœ‘(π‘₯) = { (𝑃1,( 𝑝 βˆ’ π‘₯ 2 mod 𝑝) + 1), if π‘₯ is odd (𝑃2, π‘₯ 2 + 1), if π‘₯ is even. Since πœ‘ is a bijective function that preserves adjacency of the vertices of 𝑉(𝑇(Ξ“(β„€2𝑝))) and 𝑉(𝑃2 Γ— 𝐾𝑝), we conclude that 𝑇(Ξ“(β„€2𝑝)) and 𝑃2 Γ— 𝐾𝑝 are isomorphic. Figure 1 and Figure 2 show some examples of the mapping result of πœ‘. Figure 2. the mapping result of πœ‘ from 𝑇(Ξ“(β„€2β‹…5)) to 𝑃2 Γ— 𝐾5 Figure 3. the mapping result of πœ‘ from 𝑇(Ξ“(β„€2β‹…7)) to 𝑃2 Γ— 𝐾7 4. Conclusion From the discussion, we conclude that 𝑇(Ξ“(β„€2𝑝)) and 𝑃2 Γ— 𝐾𝑝 are isomorphic. Jurnal Matematika MANTIK Vol. 8, No. 2, December 2022, pp. 99-104 104 References [1] G. Aalipour and S. Akbari, β€œApplication of some combinatorial arrays in coloring of total graph of a commutative ring,” May 2013. [2] J. D. LaGrange, β€œWeakly central-vertex complete graphs with applications to commutative rings,” J. Pure Appl. Algebr., vol. 214, no. 7, pp. 1121–1130, Jul. 2010. [3] A. Abdollahi, β€œCommuting graphs of full matrix rings over finite fields,” Linear Algebra Appl., 2008. [4] R. P. Grimaldi, β€œGraphs from rings,” Congr. Numer, vol. 71, pp. 95–104, 1990. [5] J. S. Golan, β€œThe theory of semirings with applications in mathematics and theoretical computer science.,” p. 318, 1992. [6] D. F. Anderson, T. Asir, A. Badawi, and T. Tamizh Chelvam, Graphs from Rings. 2021. [7] A. Kelarev, J. Ryan, and J. Yearwood, β€œCayley graphs as classifiers for data mining: The influence of asymmetries,” Discrete Math., vol. 309, no. 17, pp. 5360–5369, Sep. 2009. [8] S. Y. Hsieh, C. W. Huang, and H. H. Chou, β€œA DNA-based graph encoding scheme with its applications to graph isomorphism problems,” Appl. Math. Comput., vol. 203, no. 2, pp. 502–512, Sep. 2008. [9] M. Grohe and P. Schweitzer, β€œThe graph isomorphism problem,” Commun. ACM, vol. 63, no. 11, pp. 128–134, 2020. [10] V. Bonnici, R. Giugno, A. Pulvirenti, D. Shasha, and A. Ferro, β€œA subgraph isomorphism algorithm and its application to biochemical data,” BMC Bioinformatics, vol. 14, no. SUPPL7, pp. 1–13, Apr. 2013. [11] C. S. Calude, M. J. Dinneen, and R. Hua, β€œQUBO formulations for the graph isomorphism problem and related problems,” Theor. Comput. Sci., vol. 701, pp. 54– 69, Nov. 2017. [12] X. Y. Jiang and H. Bunke, β€œIncluding geometry in graph representations: A quadratic-time graph isomorphism algorithm and its applications,” Lect. Notes Comput. Sci. (including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 1121, pp. 110–119, 1996. [13] R. Diestel, β€œGraph Theory (5th Edition),” Springer, 2017. [14] J. Gallian, Contemporary Abstract Algebra. 2021. [15] D. F. Anderson and A. Badawi, β€œThe total graph of a commutative ring,” J. Algebr., vol. 320, no. 7, pp. 2706–2719, Oct. 2008.