<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJDM</journal-id><journal-title-group><journal-title>Open Journal of Discrete Mathematics</journal-title></journal-title-group><issn pub-type="epub">2161-7635</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojdm.2022.121001</article-id><article-id pub-id-type="publisher-id">OJDM-114598</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Geodetic Number and Geo-Chromatic Number of 2-Cartesian Product of Some Graphs
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Medha</surname><given-names>Itagi Huilgol</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>B.</surname><given-names>Divya</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics, Bengaluru City University, Central College Campus, Bengaluru, India</addr-line></aff><aff id="aff2"><addr-line>Department of Mathematics, Bangalore University, Bengaluru, India</addr-line></aff><pub-date pub-type="epub"><day>14</day><month>01</month><year>2022</year></pub-date><volume>12</volume><issue>01</issue><fpage>1</fpage><lpage>16</lpage><history><date date-type="received"><day>17,</day>	<month>November</month>	<year>2021</year></date><date date-type="rev-recd"><day>11,</day>	<month>January</month>	<year>2022</year>	</date><date date-type="accepted"><day>14,</day>	<month>January</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  A set 
  <em>S ⊆ V (G)</em> is called a geodetic set if every vertex of 
  <em>G</em> lies on a shortest 
  <em>u-v</em> path for some 
  <em>u, v ∈ S</em>, the minimum cardinality among all geodetic sets is called geodetic number and is denoted by 
  <inline-formula><inline-graphic xlink:href="dit_82259359-0135-4a65-9378-b767f0405b48.png" xlink:type="simple"/></inline-formula>. A set 
  <em>C ⊆ V (G)</em> is called a chromatic set if 
  <em>C</em> contains all vertices of different colors in
  <em> G</em>, the minimum cardinality among all chromatic sets is called the chromatic number and is denoted by 
  <inline-formula><inline-graphic xlink:href="dit_d849148d-5778-459b-abbb-ff25b5cd659b.png" xlink:type="simple"/></inline-formula>. A geo-chromatic set
  <em> S</em>
  <sub><em>c</em></sub>
  <em> ⊆ V (G</em>
  <em>)</em> is both a geodetic set and a chromatic set. The geo-chromatic number 
  <inline-formula><inline-graphic xlink:href="dit_505e203c-888c-471c-852d-4b9c2dd1a31c.png" xlink:type="simple"/></inline-formula>
  <em> </em>of
  <em> G</em> is the minimum cardinality among all geo-chromatic sets of
  <em> G</em>. In this paper, we determine the geodetic number and the geo-chromatic number of 2-cartesian product of some standard graphs like complete graphs, cycles and paths.
 
</p></abstract><kwd-group><kwd>Cartesian Product</kwd><kwd> Grid Graphs</kwd><kwd> Geodetic Set</kwd><kwd> Geodetic Number</kwd><kwd> Chromatic Set</kwd><kwd> Chromatic Number</kwd><kwd> Geo-Chromatic Set</kwd><kwd> Geo-Chromatic Number</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Products of structures are a fundamental construction in mathematics, for which theorems abound in set theory, category theory, universal algebra etc. Product in graphs is a natural extension of concepts of graphs involved in the product. The most famous, well studied graph product is the cartesian product. It not only extends many properties, but also carries metric space structure with it. Combining the usual vertex distance as a metric, the cartesian product is generalized to give multidimensional aspect to the underlying graphs. A special case of this was studied as 2-cartesian product by Acharya [<xref ref-type="bibr" rid="scirp.114598-ref1">1</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>]. These papers throw light on 2-cartesian product of some special graphs. Inspired by these, in this paper we consider finding geodetic number of 2-cartesian product of graphs and then extend them to find geochromatic number. Geodetic number primarily deals with distance convexity which is studied by many researchers [<xref ref-type="bibr" rid="scirp.114598-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], etc. The depth of convexity theory enables study of geodeticity in graphs to further heights. Another interesting concept in graphs that finds numerous applications is that of coloring. Recently these two concepts are combined to give geochromatic number, which acts as a double layered measure that covers all vertices in a graph containing all color class representations. The geochromatic number of a graph was defined by Samli et al. [<xref ref-type="bibr" rid="scirp.114598-ref6">6</xref>], which was further studied by Mary [<xref ref-type="bibr" rid="scirp.114598-ref7">7</xref>], Huilgol et al. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>]. In this paper we determine the geodetic number of 2-cartesian product of some graphs and extend them to find geochromatic number.</p><p>First of all, we list some important preliminaries.</p></sec><sec id="s2"><title>2. Definitions and Preliminary Results</title><p>All the terms undefined here are in the sense of Buckley and Harary [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>]. Here we consider a finite graph without loops and multiple edges. For any graph G the set of vertices is denoted by V ( G ) and the edge set by E ( G ) . The order and size of G are denoted by p and q respectively.</p><p>Let u and v be vertices of a connected graph G. A shortest u − v path is called a u , v -geodesic. The distance between two vertices u and v is defined as the length of a u , v geodesic in G and is denoted by d G ( u , v ) or d ( u , v ) if G is clear from the context.</p><p>The eccentricity of vertex v of a graph G denoted by e c c ( v ) is maximum distance from v to any other vertex of G. Diameter of G, denoted by d i a m ( G ) is the maximum eccentricity of vertices in G, and radius is the minimum such eccentricity denoted by r a d ( G ) .</p><p>Definition 2.1. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] A vertex v of G is a peripheral vertex if e c c ( v ) = d i a m ( G ) .</p><p>Definition 2.2. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] The set of all peripheral vertices of G is called periphery, denoted by P ( G ) . That is, P ( G ) = { v ∈ V ( G ) : e c c ( v ) = d i a m ( G ) } .</p><p>Definition 2.3. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] A graph G is said to be self-centered if d i a m ( G ) = r a d ( G ) .</p><p>Definition 2.4. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] If each vertex of a graph G has exactly one eccentric vertex, then G is called a unique eccentric vertex graph.</p><p>Definition 2.5. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] The (geodesic) interval I ( u , v ) between u and v is the set of all vertices on all shortest u − v paths. Given a set S ⊆ V ( G ) , its geodetic closure I [ S ] is the set of all vertices lying on some shortest path joining two vertices of S. Thus, I [ S ] = { v ∈ V ( G ) : v ∈ I ( x , y ) , x , y ∈ S } = ∪ x , y     I { x , y } .</p><p>A set S ⊆ V ( G ) is called a geodetic set in G if I [ S ] = V ( G ) ; that is every vertex in G lies on some geodesic between two vertices from S. The geodetic number g n ( G ) of a graph G is the minimum cardinality of a geodetic set in G.</p><p>Definition 2.6. [<xref ref-type="bibr" rid="scirp.114598-ref10">10</xref>] A n-vertex coloring of G is an assignment of n colors 1, 2, 3, ..., n to the vertices of G. The coloring is proper if no two adjacent vertices have the same color.</p><p>Definition 2.7. [<xref ref-type="bibr" rid="scirp.114598-ref10">10</xref>] A set C ⊆ V ( G ) is called chromatic set if C contains all vertices belonging to each color class. Chromatic number of G is the minimum cardinality among all chromatic sets of G, that is, χ ( G ) = { min | C i | / C i   i s a c h r o m a t i c s e t o f   G } .</p><p>Definition 2.8. [<xref ref-type="bibr" rid="scirp.114598-ref6">6</xref>] A set S c of vertices in G is said to be geochromatic set, if S c is both a geodetic set and a chromatic set. The minimum cardinality of a geochromatic set of G is its geochromatic number (GCN) and is denoted by χ g c ( G ) . A geochromatic set of size χ g c ( G ) is said to be χ g c -set.</p><p>Definition 2.9. [<xref ref-type="bibr" rid="scirp.114598-ref4">4</xref>] A vertex v in G is an extreme vertex if the subgraph induced by its neighborhood is complete.</p><p>Definition 2.10. [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>] Let G be a graph and let S = { x 1 , x 2 , ⋯ , x k } be a geodetic set of G, then S is a linear geodetic set if for any x ∈ V ( G ) there exists an index i, 1 &lt; i &lt; k such that x ∈ I [ x i , x i + 1 ] .</p><p>Definition 2.11. [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>] Let G be a graph, If S is a geodetic set of G such that, for all u ∈ V ( G ) \ S , for all v , w ∈ S : u ∈ I [ v , w ] then S is a complete geodetic set of G.</p><p>The following results are helpful in proving our results.</p><p>Theorem 1. [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>] Every geodetic set of a graph contains its extreme vertices.</p><p>Theorem 2. [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>] If G is a non trivial connected graph of order p and diameter d, then g n ( G ) ≤ p − d + 1 .</p><p>Theorem 3. [<xref ref-type="bibr" rid="scirp.114598-ref9">9</xref>] If every chromatic set of a graph G contains k vertices, then G has k vertices of degree at least k − 1 .</p><p>Theorem 4. [<xref ref-type="bibr" rid="scirp.114598-ref10">10</xref>] Every minimum chromatic set of a graph G contains at most ( Δ ( G ) + 1 ) vertices.</p><p>Theorem 5. [<xref ref-type="bibr" rid="scirp.114598-ref10">10</xref>] If G = K t , a complete graph on t vertices, then V ( G ) is the unique chromatic set of G.</p></sec><sec id="s3"><title>3. Geodetic Number and Geochromatic Number of 2-Cartesian Product of Some Graphs</title><p>We establish the geodetic number of graphs resulting from 2-cartesian product of two graphs. We first give some definitions and preliminary results pertaining to 2-cartesian products, geodeticity, chromaticity and geochromaticity with respect to 2-cartesian product in paths, cycles and complete bipartite graphs.</p><p>Definition 3.1. [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>] The cartesian product G     □     H of graphs G and H is the graph with vertex set V ( G ) &#215; V ( H ) in which vertices ( g , h ) and ( g ′ , h ′ ) are adjacent whenever g g ′ ∈ E ( G ) and h = h ′ or g = g ′ and h h ′ ∈ E ( H ) .</p><p>By [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>] most important metric property of the cartesian product operation is written as follows d G □ H ( ( g , h ) , ( g ′ , h ′ ) ) = d G ( g , g ′ ) + d H ( h , h ′ ) , for any two graphs G and H.</p><p>Theorem 6. [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>] For any two graphs G and H, χ ( G     □     H ) = max { χ ( G ) , χ ( H ) } .</p><p>Remark 1. In the cartesian product color assignment is given as follows: Whenever χ ( G ) ≥ χ ( H ) , let g : V ( G ) → { 0,1, ⋯ , χ ( G ) − 1 } be a coloring of G and h : V ( H ) → { 0,1, ⋯ , χ ( H ) − 1 } be a coloring of H.A color assignment f is f : V ( G     □     H ) → { 0,1, ⋯ , χ ( G ) − 1 } , defined by f ( a , x ) = g ( a ) + h ( x ) ( mod χ ( G ) ) .</p><p>Theorem 7. [<xref ref-type="bibr" rid="scirp.114598-ref13">13</xref>] Let X = G     □     H be the cartesian product of connected graphs G and H and let ( g , h ) , ( g ′ , h ′ ) be vertices of X then, I X [ ( g , h ) , ( g ′ , h ′ ) ] = I G [ ( g , g ′ ) ] &#215; I H [ ( h , h ′ ) ] . Moreover, I X [ ( g , h ) , ( g ′ , h ′ ) ] = I X [ ( g ′ , h ) , ( g , h ′ ) ] .</p><p>Theorem 8. [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>] For any graphs G and H, g n ( G ) = m ≥ g n ( H ) = n ≥ 2 , then m ≤ g n ( G □ H ) ≤ m n − n .</p><p>Theorem 9. [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>] Let G and H be graphs on at least two vertices with</p><p>g n ( G ) = m and let g n ( H ) = n . Suppose that both G and H contain linear</p><p>minimum geodetic sets, then g n ( G     □     H ) ≤ ⌊ m n 2 ⌋ .</p><p>Theorem 10. [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>] Let G be a graph on at least two vertices that admits a linear minimum geodetic set and let H be a graph with g n ( H ) = 2 , then g n ( G     □     H ) = g n ( G ) .</p><p>Theorem 11. [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>] Let G and H be non trivial graphs, both being non trivial graphs having complete minimum geodetic sets. Let H be a graph with g n ( H ) = 2 then g n ( G     □     H ) = max { g n ( G ) , g n ( H ) } .</p><p>Theorem 12. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] For the cartesian product of two paths, that is, the grid graphs, the geochromatic number is given by,</p><p>χ g c ( P m □ P n ) = { 2 ,     f o r   m ≠ n , a n d   o n e   o f   m   o r   n   i s   e v e n , 3 ,     f o r   m = n , a n d   f o r   m ≠ n ,   w i t h   b o t h   m   a n d   n   o d d   o r   b o t h   e v e n .</p><p>Theorem 13. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] For the cartesian product of cycle C m with path P n , the geo-chromatic number is given by, χ g c ( C m □ P n ) = 2 or 3.</p><p>Theorem 14. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] For the cartesian product of cycle C m with cycle C n the geo-chromatic number is given by, χ g c ( C m □ C n ) = 2,3 or 5.</p><p>Theorem 15. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] For the cartesian product of complete graph K m with path P n the geochromatic number is given by,</p><p>χ g c ( K m □ P n ) = { m ,             f o r   n   o d d , m + 1,     f o r   n   e v e n .</p><p>Theorem 16. [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] For the cartesian product of complete graph K m with cycle C n the geochromatic number is given by,</p><p>χ g c ( K m □ C n ) = { m ,                   f o r   n   o d d   a n d   n / 2   e v e n , m + 1 ,           f o r   n   e v e n   a n d   n / 2   o d d , 2 m − 1 ,     f o r   n   o d d .</p><p>Definition 3.2. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] The 2-cartesian product of graphs G 1 = ( V 1 , E 1 ) and G 1 = ( V 2 , E 2 ) is the graph G = ( V , E ) with the vertex set V = V 1 &#215; V 2 and the edge set E defined as follows:</p><p>Two vertices ( u , v ) and ( u ′ , v ′ ) are adjacent in G if one of the conditions is satisfied:</p><p>1) d G 1 ( u , u ′ ) = 2 and d G 2 ( v , v ′ ) = 0 ,</p><p>2) d G 1 ( u , u ′ ) = 0 and d G 2 ( v , v ′ ) = 2 .</p><p>We denote this graph G by G 1 &#215; 2 G 2 .</p><p>It is clear that if we replace 2by 1in the definition,then we get usual cartesian product G 1 □ G 2 .</p><p>Note that, if diameter of each graph G 1 and G 2 is less than 2, then G 1 &#215; 2 G 2 is a null graph.To avoid this,we consider all graphs with diameter at least 2.</p><p>Definition 3.3. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] The grid graph G = G m , n is defined as the graph with the vertex set V = { ( u i , v j ) : i = 1 , 2 , 3 , ⋯ , m   a n d   j = 1 , 2 , ⋯ , n } and egde set E = ∪ j = 1 m { ( u i , v j ) ↔ ( u i , v j + 1 ) : 1 ≤ j ≤ n − 1 }     ∪ j = 1 m { ( u i , v j ) ↔ ( u i + 1 , v j ) : 1 ≤ i ≤ m − 1 } .</p><p>Definition 3.4. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] The semi tied grid graph G ( m ) , ( n 0 ) is a grid graph with the vertex set V ( G ) and the edge set consisting of following edges:</p><p>1)Each edge of G m , n ;</p><p>2) The edges ( u i , v 1 ) ↔ ( u i , v n ) ,for every i = 1 , 2 , ⋯ , m .</p><p>In place of (2), if we consider (2)' then we get another semi tied grid graph denoted by G ( m 0 ) , ( n ) , where (2)': The edges ( u i , v j ) ↔ ( u m , v j ) , for every j = 1 , 2 , 3 , ⋯ , n .</p><p>A graph containing all the above types of edges is called a tied graph, denoted by G ( m 0 ) , ( n 0 ) .</p><p>Proposition 3.1. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] For m , n ≥ 3 ,</p><p>1) If both m and n are even integers then,</p><p>P m &#215; 2 P n = [ ∪ i = 1 4 ( G ( m 2 ) , ( n 2 ) ) ( i ) ] .</p><p>2)If m is odd and n is even, then,</p><p>P m &#215; 2 P n = [ ∪ i = 1 2 ( G ( m + 1 2 ) , ( n 2 ) ) ( i ) ] ∪ [ ∪ j = 1 2 ( G ( m − 1 2 ) , ( n 2 ) ) ( j ) ] .</p><p>3) If m is even and n is odd, then,</p><p>P m &#215; 2 P n = [ ∪ i = 1 2 ( G ( m 2 ) , ( n + 1 2 ) ) ( i ) ] ∪ [ ∪ j = 1 2 ( G ( m 2 ) , ( n − 1 2 ) ) ( j ) ] .</p><p>4)If both m and n are odd integers, then,</p><p>P m &#215; 2 P n = [ ( G ( m + 1 2 ) , ( n + 1 2 ) ) ] ∪ [ ( G ( m + 1 2 ) , ( n − 1 2 ) ) ] ∪ [ ( G ( m − 1 2 ) , ( n + 1 2 ) ) ] ∪ [ ( G ( m − 1 2 ) , ( n − 1 2 ) ) ] .</p><p>Proposition 3.2. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] Let P m and C n be path graph and cycle graph with m and n vertices respectively.</p><p>1) If n is an even integer,then P m &#215; 2 C n has four components which are semi tied graphs.</p><p>a) if m is even,we have 4isomorphic components ( G ( m 2 ) , ( ( n 2 ) 0 ) ) ( i ) .Hence,</p><p>P m &#215; 2 C n = [ ∪ i = 1 4 ( G ( m 2 ) , ( ( n 2 ) 0 ) ) ( i ) ] .</p><p>b) if m is odd,we have 2pairs of isomorphic components ( G ( m + 1 2 ) , ( ( n 2 ) 0 ) ) ( i ) and ( G ( m − 1 2 ) , ( ( n 2 ) 0 ) ) ( j ) .Hence,</p><p>P m &#215; 2 C n = [ ∪ i = 1 2 ( G ( m + 1 2 ) , ( ( n 2 ) 0 ) ) ( i ) ] ∪ [ ∪ i = 1 2 ( G ( m − 1 2 ) , ( ( n 2 ) 0 ) ) ( j ) ] .</p><p>2) If n is an odd integer,then P m &#215; 2 C n has two components which are semi tied graphs.</p><p>a) if m is even,we have 2isomorphic components ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) to give</p><p>P m &#215; 2 C n = [ ∪ i = 1 2 ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) ] .</p><p>b) if m is odd,we have 2non-isomorphic components ( G ( m + 1 2 ) , ( ( n ) 0 ) ) and ( G ( m − 1 2 ) , ( ( n ) 0 ) ) to give</p><p>P m &#215; 2 C n = ( G ( m + 1 2 ) , ( ( n ) 0 ) ) ∪ ( G ( m − 1 2 ) , ( ( n ) 0 ) ) .</p><p>Proposition 3.3. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] Let C m and C n be cycle graphs with m and n vertices respectively.</p><p>1) If both m and n are even integers,then C m &#215; 2 C n has four isomorphic tied grid graph components are ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) .Hence</p><p>C m &#215; 2 C n = [ ∪ i = 1 4 ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] .</p><p>2) If m is odd and n is even,then C m &#215; 2 C n has two tied grid graph components ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) to have</p><p>C m &#215; 2 C n = [ ∪ i = 1 2 ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] .</p><p>3) If both m and n are odd integers,then C m &#215; 2 C n is a connected graph which is a tied grid graph.</p><p>Proposition 3.4. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] Let K s , t be a complete biartite graph and P m be a path graph with m vertices. Then K s , t &#215; 2 P m has exactly four components.</p><p>1) If m is an even integer then K s , t &#215; 2 P m has four components two components each isomorphic to K s □ P ( m 2 ) and K t □ P ( m 2 ) and</p><p>2)If m is an odd integer then K s , t &#215; 2 P m has four components viz., K s □ P ( m + 1 2 ) , K s □ P ( m − 1 2 ) , K t □ P ( m + 1 2 ) ,and K t □ P ( m − 1 2 ) .</p><p>Proposition 3.5. [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] Let K s , t be a complete bipartite graph and C m be a cycle graph with m vertices.</p><p>1)If m is an even integer then K s , t &#215; 2 C m has four components two components each isomorphic to K s □ C ( m 2 ) and K t □ C ( m 2 )</p><p>2)If m is an odd integer then K s , t &#215; 2 C m has two components K s □ C m and K t □ C m .</p><p>Remark 2. By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] the geodetic number of disconnected graph is the sum of geodetic number of each component.</p><p>Theorem 17. The geodetic number of 2-cartesian product of two paths is given by, g n ( P m &#215; 2 P n ) = 8 , for m , n ≥ 3 .</p><p>Proof. Let P m and P n be two path graphs with V ( P m ) = { u 1 , u 2 , u 3 , ⋯ , u m } and E ( P m ) = { ( u 1 u 2 ) , ( u 2 u 3 ) , ( u 3 u 4 ) , ⋯ , ( u m − 1 u m ) } and V ( P n ) = { v 1 , v 2 , v 3 , ⋯ , v n } and E ( P m ) = { ( v 1 v 2 ) , ( v 2 v 3 ) , ( v 3 v 4 ) , ⋯ , ( v n − 1 v n ) } . By Proposition 3.1 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], ( P m &#215; 2 P n ) has four components with each component being a grid graph isomorphic to ( P m □ P n ) with identity map as the bijection. From Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>], paths contain complete minimum geodetic sets, hence, we have g n ( P m □ P n ) = max { g n ( P m ) , g n ( P n ) } = { ( 2 , 2 ) } = 2 .</p><p>In ( P m &#215; 2 P n ) a geodetic set can be formed as follows depending on the values of m and n.</p><p>1) If both m and n are even integers then, P m &#215; 2 P n has four isomorphic</p><p>components by Proposition 3.1 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], that is, P m &#215; 2 P n = [ ∪ i = 1 4 ( G m 2 , n 2 ) i ] . As each</p><p>component is isomorphic to ( P m □ P n ) , a geodetic set is of the form, { ( u 1 , v 1 ) , ( u m − 1 , v n − 1 ) } or { ( u 1 , v n − 1 ) , ( u m − 1 , v 1 ) } or { ( u 1 , v 2 ) , ( u m − 1 , v n ) } or { ( u 1 , v n ) , ( u m − 1 , v 2 ) } or { ( u 2 , v 1 ) , ( u m , v n − 1 ) } or { ( u 2 , v n − 1 ) , ( u m , v 1 ) } or { ( u 2 , v 2 ) , ( u m , v n ) } or { ( u 2 , v n ) , ( u m , v 2 ) } .</p><p>2) If m is odd and n is even, then P m &#215; 2 P n has two pairs of isomorphic components by Proposition 3.1 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>]. Hence,</p><p>P m &#215; 2 P n = [ ∪ i = 1 2 ( G m + 1 2 , n 2 ) i ] ∪ [ ∪ j = 1 2 ( G m − 1 2 , n 2 ) j ] . Here a geodetic set is of the form,</p><p>{ ( u 1 , v 1 ) , ( u m − 1 , v n ) } or { ( u 1 , v n ) , ( u m − 1 , v 1 ) } or { ( u 2 , v 1 ) , ( u m , v n ) } or { ( u 2 , v n ) , ( u m , v 1 ) } or { ( u 1 , v 2 ) , ( u m , v n − 1 ) } or { ( u 1 , v n − 1 ) , ( u m − 1 , v 2 ) } or { ( u 2 , v 2 ) , ( u m , v n − 1 ) } or { ( u 2 , v n − 1 ) , ( u m , v 2 ) } .</p><p>3) If m is even and n is odd, then P m &#215; 2 P n has two pairs of isomorphic components by Proposition 3.1 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>]. Hence,</p><p>P m &#215; 2 P n = [ ∪ i = 1 2 ( G m 2 , n + 1 2 ) i ] ∪ [ ∪ j = 1 2 ( G m 2 , n − 1 2 ) j ] . Here a geodetic set is of the form,</p><p>{ ( u 1 , v 1 ) , ( u m , v n − 1 ) } or { ( u 1 , v n − 1 ) , ( u m , v 1 ) } or { ( u 1 , v 2 ) , ( u m , v n ) } or { ( u 1 , v n ) , ( u m , v 2 ) } or { ( u 2 , v 1 ) , ( u m − 1 , v n − 1 ) } or { ( u 2 , v n − 1 ) , ( u m − 1 , v 1 ) } or { ( u 2 , v 2 ) , ( u m − 1 , v n ) } or { ( u 2 , v n ) , ( u m − 1 , v 2 ) } .</p><p>4) If both m and n are odd integers, then P m &#215; 2 P n has four non-isomorphic components by Proposition 3.1 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>]. Therefore,</p><p>P m &#215; 2 P n = [ ( G m + 1 2 , n + 1 2 ) ] ∪ [ ( G m + 1 2 , n − 1 2 ) ] ∪ [ ( G m − 1 2 , n + 1 2 ) ] ∪ [ ( G m − 1 2 , n − 1 2 ) ] . A geodetic</p><p>set is of the form, { ( u 1 , v 1 ) , ( u m , v n ) } or { ( u 1 , v n ) , ( u m , v 1 ) } or { ( u 1 , v 2 ) , ( u m , v n − 1 ) } or { ( u 1 , v n ) , ( u m , v 1 ) } or { ( u 2 , v 1 ) , ( u m − 1 , v n ) } or { ( u 2 , v n ) , ( u m − 1 , v 1 ) } or { ( u 2 , v 2 ) , ( u m − 1 , v n − 1 ) } or { ( u 2 , v n − 1 ) , ( u m − 1 , v 2 ) } .</p><p>By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 2. Hence g n ( P m &#215; 2 P n ) = 8 , for m , n ≥ 3 . □</p><p>Corollary 3.1. The geochromatic number of 2-cartesian product of two paths is given by, χ g c ( P m &#215; 2 P n ) = 8 , for m , n ≥ 3 .</p><p>Proof. By Theorem 6 [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>], we have χ ( P m □ P n ) = 2 . Hence, geodetic set of each component of P m &#215; 2 P n is bicolorable. By the above theorem, each component has geodetic number 2. Since P m &#215; 2 P n has four components isomorphic to P m □ P n , by Theorem 12 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] the result follows. □</p><p>Theorem 18. The geodetic number number of 2-cartesian product of path P m with cycle C n is given by, g n ( P m &#215; 2 C n ) = { 6 ,       f o r   n   o d d , 12 ,     f o r   n ≡ 2 ( mod 4 ) , 8 ,       f o r   n ≡ 0 ( mod 4 ) .</p><p>Proof. Let P m be a path with m vertices and C n be a cycle with n vertice. Let the vertices abd edges be labelled as V ( P m ) = { u 1 , u 2 , u 3 , ⋯ , u m } and E ( P m ) = { ( u 1 u 2 ) , ( u 2 u 3 ) , ( u 3 u 4 ) , ⋯ , ( u m − 1 u m ) } . Similarly, let V ( C n ) = { v 1 , v 2 , v 3 , ⋯ , v n } and E ( C n ) = { ( v 1 v 2 ) , ( v 2 v 3 ) , ( v 3 v 4 ) , ⋯ , ( v n − 1 v n ) , ( v n v 1 ) } . Hence, we have V ( P m &#215; 2 C n ) = { ( u i , v j ) / u i ∈ V ( P m )   and   v j ∈ V ( C n ) } . As given in the statement, we have three cases as follows:</p><p>Case 1: Let n be an odd interger of the form, say, n = 2 k + 1 and k ≥ 1 with m ≥ 3 .</p><p>Here we consider two subcases, depending on whether m is odd or even.</p><p>Subcase (1a): Let m be odd.</p><p>By Proposition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two non-isomorphic components, that is, P m &#215; 2 C n = [ ∪ ( G ( m + 1 2 ) , ( ( n ) 0 ) ) ] ∪ [ ∪ ( G ( m − 1 2 ) , ( ( n ) 0 ) ) ] . We see that</p><p>( G ( m + 1 2 ) , ( ( n ) 0 ) ) ≅ P ( m + 1 2 ) □ C ( ( n ) 0 ) and ( G ( m − 1 2 ) , ( ( n ) 0 ) ) ≅ P ( m − 1 2 ) □ C ( ( n ) 0 ) with the identity map as the bijection. As paths contain complete minimum geodetic sets and</p><p>cycles contain linear geodetic sets, by Theorem 10 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], we have g n ( P m □ C n ) = max { g n ( P m ) , g n ( C n ) } = max { ( 2,3 ) } = 3 . The geodetic set is of the</p><p>form { ( u 1 , v j ) , ( u m , v j + k ) , ( u m , v j + k + 1 ) } or { ( u m , v j ) , ( u 1 , v j + k ) , ( u 1 , v j + k + 1 ) } , for</p><p>1 ≤ j ≤ n . Similarly, for other component the geodetic set is of the form</p><p>{ ( u 2 , v j ) , ( u m − 1 , v j + k ) , ( u m − 1 , v j + k + 1 ) } or { ( u m − 1 , v j ) , ( u 2 , v j + k ) , ( u 2 , v j + k + 1 ) } . Hence the geodetic set is given by { ( u 1 , v j ) , ( u m , v j + k ) , ( u m , v j + k + 1 ) } or</p><p>{ ( u m , v j ) , ( u 1 , v j + k ) , ( u 1 , v j + k + 1 ) } or { ( u 2 , v j ) , ( u m − 1 , v j + k ) , ( u m − 1 , v j + k + 1 ) } or</p><p>{ ( u m − 1 , v j ) , ( u 2 , v j + k ) , ( u 2 , v j + k + 1 ) } . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3. Therefore g n ( P m &#215; 2 C n ) = 6 .</p><p>Subcase (1b): Let m be even.</p><p>By Proposition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two isomorphic components, that is, P m &#215; 2 C n = [ ∪ i = 1 2 ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) ] . We have ( G ( m 2 ) , ( ( n ) 0 ) ) ≅ P m 2 &#215; 2 C ( ( n ) 0 ) with identity map as the bijection. Similar to the above case we get by Theorem 10 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], we have g n ( P m 2 □ C n ) = 3 . The geodetic set is of the form</p><p>{ ( u 1 , v j ) , ( u m , v j + k ) , ( u m , v j + k + 1 ) } or { ( u m , v j ) , ( u 1 , v j + k ) , ( u 1 , v j + k + 1 ) } , for 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3, to give g n ( P m &#215; 2 C n ) = 6 .</p><p>Case 2: Let n be even of the form n = 2 l , l ≥ 1 and l odd.</p><p>Here we consider two subcases, depending on whether m is even or odd.</p><p>Subcase (2a): Let m be even.</p><p>By Propsition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get four isomorphic components, that is,</p><p>P m &#215; 2 C n = [ ∪ i = 1 4 ( G m 2 , ( n 2 ) ) i ] and we see that G ( m 2 ) , ( n 2 ) ≅ P ( m 2 ) □ C l with identity map as the bijection. Hence by Theorem 10 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], g n ( P m 2 □ C l ) = 3 . The geodetic</p><p>set is of the form { ( u 1 , v j ) , ( u m , v j + l ) , ( u m , v j + l + 1 ) } or</p><p>{ ( u m , v j ) , ( u 1 , v j + l ) , ( u 1 , v j + l + 1 ) } for 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3. Therefore, g n ( P m &#215; 2 C l ) = 12 .</p><p>Subcase (2b): Let m be odd.</p><p>By Propsition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we have 2 pairs of isomorphic components, that is,</p><p>P m &#215; 2 C n = [ ∪ ( G ( m + 1 2 ) , ( ( n 2 ) 0 ) ) ] ∪ [ ∪ ( G ( m − 1 2 ) , ( ( n 2 ) 0 ) ) ] . We see that</p><p>G ( m + 1 2 ) , ( n 2 ) ≅ P ( m + 1 2 ) □ C l and G ( m − 1 2 ) , ( n 2 ) ≅ P ( m − 1 2 ) □ C l with identity map as the bijection. Hence by Theorem 3.5 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], we have g n ( P ( m + 1 2 ) □ C l ) = g n ( P ( m − 1 2 ) □ C l ) = 3 .</p><p>The geodetic set is of the form { ( u 1 , v j ) , ( u m , v j + l ) , ( u m , v j + l + 1 ) } or { ( u m , v j ) , ( u 1 , v j + l ) , ( u 1 , v j + l + 1 ) } for 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3. Therefore g n ( P m &#215; 2 C l ) = 12 .</p><p>Case 3: Let n be even of the form n = 2 l , l ≥ 1 and l even.</p><p>Here we consider two subcases, depending on whether m is odd or even.</p><p>Subcase (3a): Let m be even.</p><p>By Proposition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we have four isomorphic components, that is,</p><p>P m &#215; 2 C n = [ ∪ i = 1 4 ( G ( m 2 ) , ( n 2 ) ( i ) ) ] and we see that G ( m 2 ) , ( n 2 ) ≅ P ( m 2 ) □ C l with identity</p><p>map as the bijection. Similar to the above case, by Theorem 3.5 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], we have</p><p>g n ( P ( m 2 ) □ C l ) = max { g n ( P ( m 2 ) ) , g n ( C l ) } = 2 . The geodetic set is of the form</p><p>{ ( u m , v j ) , ( u 1 , v j + l ) } or { ( u 1 , v j ) , ( u m , v j + l ) } for 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 2. Therefore g n ( P m &#215; 2 C l ) = 8 .</p><p>Subcase (3b): Let m be odd.</p><p>By Proposition 3.2 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we have 2 pairs of isomorphic components, that is,</p><p>P m &#215; 2 C n = [ ∪ ( G ( m + 1 2 ) , ( ( n 2 ) 0 ) ) ] ∪ [ ∪ ( G ( m − 1 2 ) , ( ( n 2 ) 0 ) ) ] and we see that G ( m + 1 2 ) , ( n 2 ) ≅ P ( m + 1 2 ) □ C l and G ( m − 1 2 ) , ( n 2 ) ≅ P ( m − 1 2 ) □ C l with identity map as the bijection. Similar to above cases, by Theorem 10 [<xref ref-type="bibr" rid="scirp.114598-ref5">5</xref>], we have g n ( P ( m + 1 2 ) □ C l ) and g n ( P ( m − 1 2 ) □ C l ) = 3 . The geodetic set is of the form { ( u 1 , v j ) , ( u m , v j + l ) } or</p><p>{ ( u m , v j ) , ( u 1 , v j + l ) } for 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 2. Therefore g n ( P m &#215; 2 C l ) = 8 . □</p><p>Corollary 3.2. The geochromatic number of 2-cartesian product of path P n cycle C n is given by, χ g c ( P m &#215; 2 C n ) = { 6 ,       f o r   n   o d d , 12 ,     f o r   n ≡ 2 ( mod 4 ) , 8 ,       f o r   n ≡ 0 ( mod 4 ) .</p><p>Proof. By Theorem 6 [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>], we have χ ( P m □ C n ) = max { ( 2,3 ) } = 3 if n is odd and χ ( P m □ C n ) = max { ( 2,2 ) } = 2 if n is even. By the above theorem, each component has geodetic number 2 or 3, and P m &#215; 2 C n has either two or four components isomorphic to P m □ C n . A geodetic set can be found using union from each component, and hence we can permute the vertices of such a geodetic set to have all color class representation, to give a geochromatic set. By Theorem 13 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>], the result follows. □</p><p>Theorem 19. For the 2-cartesian product of cycle C m with cycle graph C n the geodetic number is given by,</p><p>g n ( C m &#215; 2 C n ) = { 5 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 1 ( mod 2 ) , 8 ,       f o r   m ≡ 0 ( mod 4 ) , n ≡ 0 ( mod 4 ) , 6 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 0 ( mod 4 ) ; m ≡ 0 ( mod 2 ) , n ≡ 1 ( mod 2 ) , 10 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 2 ( mod 4 ) , 12 ,       f o r   m ≡ 1 ( mod 4 ) , n ≡ 0 ( mod 4 ) , 20 ,       f o r   m ≡ 2 ( mod 4 ) , n ≡ 2 ( mod 4 ) .</p><p>Proof. Let C m be a cycle with m vertices and C n be a cycle with n vertices, labelled as V ( C m ) = { u 1 , u 2 , u 3 , ⋯ , u m } and E ( C m ) = { ( u 1 u 2 ) , ( u 2 u 3 ) , ( u 3 u 4 ) , ⋯ , ( u m − 1 u m ) , ( u m u 1 ) } and V ( C n ) = { v 1 , v 2 , v 3 , ⋯ , v n } and E ( C n ) = { ( v 1 v 2 ) , ( v 2 v 3 ) , ( v 3 v 4 ) , ⋯ , ( v n − 1 v n ) , ( v n v 1 ) } . Then we have V ( C m &#215; 2 C n ) = { ( u i , v j ) / u i ∈ V ( P m )   and   v j ∈ V ( C n ) } . As given in the statement we have the following cases:</p><p>Case 1: Let m , n be odd of the form, m = 2 k + 1 , n = 2 l + 1 .</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], C m &#215; 2 C n is a connected graph isomorphic to G ( m 0 ) , ( n 0 ) , a tied grid graph. Further, G ( m 0 ) , ( n 0 ) ≅ C m □ C n . By Theorem 14 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>], we get</p><p>g n ( C m &#215; 2 C n ) = 5 and the geodetic set is of the form { ( u i , v j ) , ( u i + k , v j + l ) , ( u i + k , v j + l + 1 ) , ( u i + k + 1 , v j + l + 1 ) , ( u i + k + 1 , v j + l + 1 ) } , for 1 ≤ i ≤ m and 1 ≤ j ≤ n . Hence g n ( C m &#215; 2 C n ) = 5</p><p>Case 2: For m = 2 k , k ≥ 2 , n = 2 l , l ≥ 2 with k , l even.</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>] we have four isomorphic components, that is,</p><p>C m &#215; 2 C n = [ ∪ i = 1 4 ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] and G ( m 2 ) 0 , ( n 2 ) 0 ≅ C k □ C l with identity map</p><p>as the bijection. By Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>], we have g n ( C k □ C l ) = 2 . The geodetic sets are of the form { ( u i , v j ) , ( u i + k , v j + l ) } or { ( u i , v j + l ) , ( u i + k , v j ) } for 1 ≤ i ≤ m and 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 2. Hence geodetic set of g n ( C k &#215; 2 C l ) = 8 .</p><p>Case 3: For m = 2 k + 1 , n = 2 l , with l even and m = 2 k , n = 2 l + 1 with k even.</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two pairs of isomorphic components, that is,</p><p>C m &#215; 2 C n = [ ∪ i = 1 2 ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] and G ( m ) 0 , ( n 2 ) 0 ≅ C 2 k + 1 □ C l with identity map</p><p>as the bijection. Similar to the above case by Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>], we get</p><p>g n ( C 2 k + 1 □ C l ) = 3 . The geodetic set is given by { ( u i , v j ) , ( u i + k , v j + l ) , ( u i + k + 1 , v j + l ) }</p><p>or { ( u i , v j + l ) , ( u i + k , v j ) , ( u i + k + 1 , v j ) } for 1 ≤ i ≤ m and 1 ≤ j ≤ n . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3. Hence geodetic set of g n ( C 2 k + 1 &#215; 2 C l ) = 6 .</p><p>Case 4: For m = 2 k + 1 , n = 2 l with l odd and m = 2 k , n with k odd.</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two pairs of isomorphic components, that is,</p><p>C 2 k + 1 &#215; 2 C n = [ ∪ i = 1 2 ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] and G ( m ) 0 , ( n 2 ) 0 ≅ C 2 k + 1 □ C l with identity</p><p>map as the bijection. Similar to the above case by Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>], we have g n ( C 2 k + 1 □ C 2 l ) = 3 . The geodetic set is given by { ( u i , v j ) , ( u i + k , v j + l ) , ( u i + k + 1 , v j + l ) } or { ( u i , v j + l ) , ( u i + k , v j ) , ( u i + k + 1 , v j ) } . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3. Hence geodetic set of g n ( C 2 k + 1 &#215; 2 C l ) = 6 .</p><p>Case 5: For m = 2 k , n = 2 l and k odd, l even.</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get four isomorphic components, that is,</p><p>C m &#215; 2 C n = [ ∪ i = 1 4 ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] and G ( m 2 ) 0 , ( n 2 ) 0 ≅ C k □ C l with identity map</p><p>as the bijection. Using Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>], we get g n ( C k □ C l ) = 3 . The geodetic set is given by { ( u i , v j ) , ( u i + k , v j + l ) , ( u i + k + 1 , v j + l ) } or</p><p>{ ( u i , v j + l ) , ( u i + k , v j ) , ( u i + k + 1 , v j ) } . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 3, hence geodetic number of g n ( C k &#215; 2 C l ) = 12 .</p><p>Case 6: For m = 2 k , n = 2 l and k , l odd.</p><p>By Proposition 3.3 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get four isomorphic components, that is,</p><p>C m &#215; 2 C n = [ ∪ i = 1 4 ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] and G ( m 2 ) 0 , ( n 2 ) 0 ≅ C k □ C l with identity map</p><p>as the bijection. By Theorem 14 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] we get g n ( C k □ C l ) = 5 . The geodetic sets are of the form { ( u i , v j ) , ( u i + k , v j + l ) , ( u i + k , v j + l + 1 ) , ( u i + k + 1 , v j + l + 1 ) , ( u i + k + 1 , v j + l + 1 ) } .</p><p>By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number 5. Hence g n ( C k &#215; 2 C l ) = 20 .</p><p>□</p><p>Corollary 3.3. The geochromatic number of 2-cartesian product of cycle C m with cycle C n is given by,</p><p>χ g c ( C m &#215; 2 C n ) = { 5 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 1 ( mod 2 ) , 8 ,       f o r   m ≡ 0 ( mod 4 ) , n ≡ 0 ( mod 4 ) , 6 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 0 ( mod 4 ) ; m ≡ 0 ( mod 2 ) , n ≡ 1 ( mod 2 ) , 10 ,       f o r   m ≡ 1 ( mod 2 ) , n ≡ 2 ( mod 4 ) , 12 ,       f o r   m ≡ 1 ( mod 4 ) , n ≡ 0 ( mod 4 ) , 20 ,       f o r   m ≡ 2 ( mod 4 ) , n ≡ 2 ( mod 4 ) .</p><p>Proof. By Theorem 6 [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>], χ ( C m □ C n ) = max { ( 2,3 ) } = 3 , if n is odd and</p><p>χ ( C m □ C n ) = max { ( 2,2 ) } = 2 , if n is even. By the above theorem, each component has geodetic number 2, 3 or 5. A geodetic set can be found using union from each component, and hence we can permute the vertices of such a geodetic set to have all color class representation, to give a geochromatic set. By Theorem 14 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] result follows. □</p><p>Theorem 20. The geodetic number of 2-cartesian product of complete bipartite graph K s , t with path P m is given by,</p><p>g n ( K s , t &#215; 2 P m ) = { 4 s ,                 f o r   s = t   a n d   m   e v e n , 2 s + 2 t ,     f o r   s ≠ t ,   o t h e r w i s e .</p><p>Proof. Let K s , t be a complete bipartite graph with U 1 and U 2 as two partite sets. Let V ( P m ) = { v 1 , v 2 , v 3 , ⋯ , v m } . K t , K s and P m contain complete minimum geodetic sets. As given in the statement we have the following cases depending on s , t and m.</p><p>Case 1: Let m be even.</p><p>Using Proposition 3.4 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two pairs of isomorphic components of the</p><p>form K s □ P ( m 2 ) or K t □ P ( m 2 ) with identity mapping as the bijection. We know</p><p>that each component is isomorphic to cartesian product of a complete graph and a path. Hence, we get the geodetic number to be s or t. By Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>],</p><p>g n ( K s □ P ( m 2 ) ) = max { g n ( K s ) , g n ( P m 2 ) } = max { ( s , 2 ) } = s , for s ≥ 2 and g n ( K t □ P ( m 2 ) ) = max { g n ( K t ) , g n ( P m 2 ) } = max { ( t , 2 ) } = t , for t ≥ 2 . Hence a geodetic set is of the form { ( u i , v 1 ) , ( u j , v ( m 2 ) ) } or { ( u i , v ( m 2 ) ) , ( u j , v 1 ) } for</p><p>( 1 ≤ i ≤ s or t), ( 1 ≤ j ≤ s or t) and i ≠ j . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number is s and t. Hence g n ( K s , t &#215; 2 P n ) = 4 s or 4t, if s = t and g n ( K s , t &#215; 2 P n ) = 2 s + 2 t , if s ≠ t .</p><p>Case 2: Let m be odd.</p><p>Using Proposition 3.4 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we have four non isomorphic components, that is,</p><p>K s &#215; P ( m + 1 2 ) , K s &#215; P ( m − 1 2 ) , K t &#215; P ( m + 1 2 ) , K t &#215; P ( m − 1 2 ) with identity mapping as the</p><p>bijection and each being isomorphic to the cartesian product of a complete graph and a path. Similar to the above case, we get the geodetic number equal to s or t, in each case by [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>]. Hence g n ( K s , t &#215; 2 P n ) = 2 ( s + t ) . □</p><p>Corollary 3.4. The geochromatic number of 2-cartesian product of complete bipartite graph K s , t with path P m is given by,</p><p>χ g c ( K s , t &#215; 2 P m ) = { 4 s ,                 f o r   s = t , 2 s + 2 t ,     f o r   s ≠ t .</p><p>Proof. By Theorem 6 [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>], χ ( K m □ P n ) = max { ( m ,2 ) } = m , we have K s is s colorable and K t is t colorabe. By the above theorem, each component has geodetic number s or t. Since K s , t &#215; 2 P n has four components isomorphic to K m □ P n each of them being s and t colorable. A geodetic set can be found using union for each component and hence we can permute the vertices of such geodetic set to have all color class representation, to give a geochromatic set. By Theorem 15 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>], the result follows. □</p><p>Theorem 21. The geodetic number of 2-cartesian product of complete bipartite graph K s , t with cycle C m is given by,</p><p>g n ( K s , t &#215; 2 C m ) = { 4 s ,                           f o r   s = t   a n d   m   e v e n , 2 s + 2 t ,               f o r   s ≠ t   a n d   m   e v e n , 2 ( s + t − 1 ) ,     f o r   m   o d d .</p><p>Proof. Let K s , t be a complete bipartite graph with U 1 and U 2 partite sets. Let V ( C m ) = { v 1 , v 2 , v 3 , ⋯ , v m } . As given in the statement, we have the following cases depending on s , t and m.</p><p>Case 1: Let m be even.</p><p>Using Proposition 3.5 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we have four components, two components each</p><p>isomorphic to K s □ C ( m 2 ) and K t □ C ( m 2 ) with identity mapping as the bijection</p><p>and each being isomorphic to cartesian product of a complete graph and a cycle.</p><p>Hence, by Theorem 11 [<xref ref-type="bibr" rid="scirp.114598-ref11">11</xref>] we have g n ( K s &#215; C ( m 2 ) ) = max { s ,2 } = s and g n ( K t &#215; C ( m 2 ) ) = max { t ,2 } = t , we get the geodetic number equal to s or t, by [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>]</p><p>[<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] for each component. Hence geodetic set is of the form { ( u i , v j ) , ( u i ′ , v j ′ ) } , for i ≠ i ′ , 1 ≤ i , i ′ ≤ m . Hence g n ( K s , t &#215; 2 C n ) = 4 t or 4s, if s = t and g n ( K s , t &#215; 2 P n ) = 2 s + 2 t if s ≠ t .</p><p>Case 2: Let m be odd.</p><p>Using Proposition 3.5 [<xref ref-type="bibr" rid="scirp.114598-ref2">2</xref>], we get two components isomrphic to K s □ C m , K t □ C m . By Theorem 16 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>], we get g n ( K s □ C m ) = 2 s − 1 and g n ( K t □ C m ) = 2 t − 1 and a geodetic set is of the form ( ( u i , v j ) , ( u i ′ , v j ′ ) ( u i ′ , v j ′ + 1 ) ) for ( 1 ≤ i ≤ s or t), ( 1 ≤ j ≤ s or t) and i ≠ j . By [<xref ref-type="bibr" rid="scirp.114598-ref14">14</xref>] [<xref ref-type="bibr" rid="scirp.114598-ref15">15</xref>] each component has geodetic number is 2 s − 1 and 2 t − 1 . Hence g n ( K s , t &#215; 2 C n ) = 2 s + 2 t − 2 . □</p><p>Corollary 3.5. The geochromatic number of 2-cartesian product of complete bipartite graph K s , t with cycle C n is given by,</p><p>χ g c ( K s , t &#215; 2 C n ) = { 4 s ,                           f o r   s = t   a n d   m   e v e n , 2 s + 2 t ,               f o r   s ≠ t   a n d   m   e v e n , 2 ( s + t − 1 ) ,     f o r   m   o d d .</p><p>Proof. By Theorem 6 [<xref ref-type="bibr" rid="scirp.114598-ref12">12</xref>], χ ( K m □ C n ) = max { ( m ,2 ) } = m . By the above theorem, each component has geodetic number s , t . Since K s , t &#215; 2 C n has two or four components isomorphic to K m □ C n . A geodetic set can be found using union from each component and hence we can permute the vertices of such a geodetic set to have all color class representation, to get a geochromatic set. By Theorem 16 [<xref ref-type="bibr" rid="scirp.114598-ref8">8</xref>] result follows. □</p></sec><sec id="s4"><title>4. Conclusion</title><p>Here we have determined geodetic number and geochromatic number of 2-cartesian product of some special class of graphs like complete graphs, cycles and paths. This procedure can be extended to find the geodetic number and geo-chromatic number of r-cartesian products, in general for graphs.</p></sec><sec id="s5"><title>Acknowledgements</title><p>We highly appreciate suggestions given by unknown referees that have improved overall presentation of the paper.</p></sec><sec id="s6"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s7"><title>Cite this paper</title><p>Huilgol, M.I. and Divya, B. (2022) Geodetic Number and Geo-Chromatic Number of 2-Cartesian Product of Some Graphs. Open Journal of Discrete Mathematics, 12, 1-16. https://doi.org/10.4236/ojdm.2022.121001</p></sec></body><back><ref-list><title>References</title><ref id="scirp.114598-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Acharya, U.P. and Mehta, H.S. (2015) Generalized Cartesian Product of Graphs. International Journal of Mathematics and Scientific Computing, 5, 4-7.</mixed-citation></ref><ref id="scirp.114598-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Acharya, U.P. and Mehta, H.S. (2014) 2-Cartesian Product of Special Graphs. International Journal of Mathematics and Soft Computing, 4, 139-144.</mixed-citation></ref><ref id="scirp.114598-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Harary, F., Loukakis, E. and Tsouros, C. (1993) The Geodetic Number of a Graph. Mathematical and Computer Modelling, 17, 89-95.</mixed-citation></ref><ref id="scirp.114598-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Chartrand, G., Harary, F. and Zhang, P. (2002) On the Geodetic Number of a Graph. Networks, 39, 1-6. https://doi.org/10.1002/net.10007</mixed-citation></ref><ref id="scirp.114598-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Chartrand, G., Harary, F. and Zhang, P. (2000) Geodetic Sets in Graphs. Discussiones Mathematicae Graph Theory, 20, 129-138. https://doi.org/10.7151/dmgt.1112</mixed-citation></ref><ref id="scirp.114598-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Samli, B.S. and Chellathurai, R.S. (2018) Geochromatic Number of a Graph. International Journal of Scientific Research in Mathematical and Statistical Sciences, 5, 259-264.</mixed-citation></ref><ref id="scirp.114598-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Stanis Arul Mary, S.A. (2020) Geo Chromatic Number for Certain Cartesian Product of Graphs. International Journal of Mathematics Trends and Technology, 66, 40-43. https://doi.org/10.14445/22315373/IJMTT-V66I1P507</mixed-citation></ref><ref id="scirp.114598-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Huilgol, M.I. and Divya, B. (2021) Geochromatic Number of Cartesian Product of Some Graphs. Journal of Mathematics and Computer Science, 11, 3866-3886.</mixed-citation></ref><ref id="scirp.114598-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Buckley, F. and Harary, F. (1990) Distance in Graphs. Addison-Wesley Publishing Company, Redwood City.</mixed-citation></ref><ref id="scirp.114598-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Khayoom, M.M.A., Arul, P. and Sudhahar, P. (2017) Monophonic Chromatic Parameter in a Connected Graph. International Journal of Mathematical Analysis, 11, 911-920. https://doi.org/10.12988/ijma.2017.78114</mixed-citation></ref><ref id="scirp.114598-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Breser, B., Klav&amp;#382;ar, S. and Horvat, S.T. (2008) On the Geodetic Number and Related Metric Sets in Cartesian Product Graphs. Discrete Mathematics, 308, 5555-5561.</mixed-citation></ref><ref id="scirp.114598-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Hammack, R., Imrich, W. and Klavzar, S. (2011) Handbook of Product of Graphs. CRC Press, New York.</mixed-citation></ref><ref id="scirp.114598-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Mulder, H.M. (1980) The Interval Function of a Graph. Vol. 132, Mathematisch Centrum, Amsterdam.</mixed-citation></ref><ref id="scirp.114598-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Xaviour, X.L. and Chellathurai, R.S. (2020) Geodetic Global Domination in the Join of Two Graphs. International Journal of Recent Technology and Engineering, 8, 4579-4583. https://doi.org/10.35940/ijrte.E6770.018520</mixed-citation></ref><ref id="scirp.114598-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Xaviour, X.L. and Prakash, S.V.A. (2018) Isolate Geodetic Number of a Graph. Journal of Applied Science and Computations, 5, 755-765.</mixed-citation></ref></ref-list></back></article>