Geodetic Number and Geo-Chromatic Number of 2-Cartesian Product of Some Graphs

Abstract

A set S ⊆ V (G) is called a geodetic set if every vertex of G lies on a shortest u-v path for some u, v ∈ S, the minimum cardinality among all geodetic sets is called geodetic number and is denoted by . A set C ⊆ V (G) is called a chromatic set if C contains all vertices of different colors in G, the minimum cardinality among all chromatic sets is called the chromatic number and is denoted by . A geo-chromatic set Sc ⊆ V (G) is both a geodetic set and a chromatic set. The geo-chromatic number  of G is the minimum cardinality among all geo-chromatic sets of G. 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.

Share and Cite:

Huilgol, M. 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. doi: 10.4236/ojdm.2022.121001.

1. Introduction

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 [1] [2]. 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 [3] [4] [5], 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. [6], which was further studied by Mary [7], Huilgol et al. [8]. In this paper we determine the geodetic number of 2-cartesian product of some graphs and extend them to find geochromatic number.

First of all, we list some important preliminaries.

2. Definitions and Preliminary Results

All the terms undefined here are in the sense of Buckley and Harary [9]. 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.

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.

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 ) .

Definition 2.1. [9] A vertex v of G is a peripheral vertex if e c c ( v ) = d i a m ( G ) .

Definition 2.2. [9] 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 ) } .

Definition 2.3. [9] A graph G is said to be self-centered if d i a m ( G ) = r a d ( G ) .

Definition 2.4. [9] If each vertex of a graph G has exactly one eccentric vertex, then G is called a unique eccentric vertex graph.

Definition 2.5. [9] 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 } .

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.

Definition 2.6. [10] 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.

Definition 2.7. [10] 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 } .

Definition 2.8. [6] 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.

Definition 2.9. [4] A vertex v in G is an extreme vertex if the subgraph induced by its neighborhood is complete.

Definition 2.10. [5] 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 < i < k such that x I [ x i , x i + 1 ] .

Definition 2.11. [5] 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.

The following results are helpful in proving our results.

Theorem 1. [11] Every geodetic set of a graph contains its extreme vertices.

Theorem 2. [5] If G is a non trivial connected graph of order p and diameter d, then g n ( G ) p d + 1 .

Theorem 3. [9] If every chromatic set of a graph G contains k vertices, then G has k vertices of degree at least k 1 .

Theorem 4. [10] Every minimum chromatic set of a graph G contains at most ( Δ ( G ) + 1 ) vertices.

Theorem 5. [10] If G = K t , a complete graph on t vertices, then V ( G ) is the unique chromatic set of G.

3. Geodetic Number and Geochromatic Number of 2-Cartesian Product of Some Graphs

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.

Definition 3.1. [12] The cartesian product G H of graphs G and H is the graph with vertex set V ( G ) × 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 ) .

By [12] 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.

Theorem 6. [12] For any two graphs G and H, χ ( G H ) = max { χ ( G ) , χ ( H ) } .

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 ) ) .

Theorem 7. [13] 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 ) ] × I H [ ( h , h ) ] . Moreover, I X [ ( g , h ) , ( g , h ) ] = I X [ ( g , h ) , ( g , h ) ] .

Theorem 8. [11] For any graphs G and H, g n ( G ) = m g n ( H ) = n 2 , then m g n ( G H ) m n n .

Theorem 9. [11] Let G and H be graphs on at least two vertices with

g n ( G ) = m and let g n ( H ) = n . Suppose that both G and H contain linear

minimum geodetic sets, then g n ( G H ) m n 2 .

Theorem 10. [5] 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 ) .

Theorem 11. [11] 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 ) } .

Theorem 12. [8] For the cartesian product of two paths, that is, the grid graphs, the geochromatic number is given by,

χ 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 .

Theorem 13. [8] 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.

Theorem 14. [8] 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.

Theorem 15. [8] For the cartesian product of complete graph K m with path P n the geochromatic number is given by,

χ g c ( K m P n ) = { m , f o r n o d d , m + 1, f o r n e v e n .

Theorem 16. [8] For the cartesian product of complete graph K m with cycle C n the geochromatic number is given by,

χ 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 .

Definition 3.2. [2] 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 × V 2 and the edge set E defined as follows:

Two vertices ( u , v ) and ( u , v ) are adjacent in G if one of the conditions is satisfied:

1) d G 1 ( u , u ) = 2 and d G 2 ( v , v ) = 0 ,

2) d G 1 ( u , u ) = 0 and d G 2 ( v , v ) = 2 .

We denote this graph G by G 1 × 2 G 2 .

It is clear that if we replace 2by 1in the definition,then we get usual cartesian product G 1 G 2 .

Note that, if diameter of each graph G 1 and G 2 is less than 2, then G 1 × 2 G 2 is a null graph.To avoid this,we consider all graphs with diameter at least 2.

Definition 3.3. [2] 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 } .

Definition 3.4. [2] 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:

1)Each edge of G m , n ;

2) The edges ( u i , v 1 ) ( u i , v n ) ,for every i = 1 , 2 , , m .

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 .

A graph containing all the above types of edges is called a tied graph, denoted by G ( m 0 ) , ( n 0 ) .

Proposition 3.1. [2] For m , n 3 ,

1) If both m and n are even integers then,

P m × 2 P n = [ i = 1 4 ( G ( m 2 ) , ( n 2 ) ) ( i ) ] .

2)If m is odd and n is even, then,

P m × 2 P n = [ i = 1 2 ( G ( m + 1 2 ) , ( n 2 ) ) ( i ) ] [ j = 1 2 ( G ( m 1 2 ) , ( n 2 ) ) ( j ) ] .

3) If m is even and n is odd, then,

P m × 2 P n = [ i = 1 2 ( G ( m 2 ) , ( n + 1 2 ) ) ( i ) ] [ j = 1 2 ( G ( m 2 ) , ( n 1 2 ) ) ( j ) ] .

4)If both m and n are odd integers, then,

P m × 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 ) ) ] .

Proposition 3.2. [2] Let P m and C n be path graph and cycle graph with m and n vertices respectively.

1) If n is an even integer,then P m × 2 C n has four components which are semi tied graphs.

a) if m is even,we have 4isomorphic components ( G ( m 2 ) , ( ( n 2 ) 0 ) ) ( i ) .Hence,

P m × 2 C n = [ i = 1 4 ( G ( m 2 ) , ( ( n 2 ) 0 ) ) ( i ) ] .

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 m × 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 ) ] .

2) If n is an odd integer,then P m × 2 C n has two components which are semi tied graphs.

a) if m is even,we have 2isomorphic components ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) to give

P m × 2 C n = [ i = 1 2 ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) ] .

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 m × 2 C n = ( G ( m + 1 2 ) , ( ( n ) 0 ) ) ( G ( m 1 2 ) , ( ( n ) 0 ) ) .

Proposition 3.3. [2] Let C m and C n be cycle graphs with m and n vertices respectively.

1) If both m and n are even integers,then C m × 2 C n has four isomorphic tied grid graph components are ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) .Hence

C m × 2 C n = [ i = 1 4 ( G ( ( m 2 ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] .

2) If m is odd and n is even,then C m × 2 C n has two tied grid graph components ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) to have

C m × 2 C n = [ i = 1 2 ( G ( ( m ) 0 ) , ( ( n 2 ) 0 ) ) ( i ) ] .

3) If both m and n are odd integers,then C m × 2 C n is a connected graph which is a tied grid graph.

Proposition 3.4. [2] Let K s , t be a complete biartite graph and P m be a path graph with m vertices. Then K s , t × 2 P m has exactly four components.

1) If m is an even integer then K s , t × 2 P m has four components two components each isomorphic to K s P ( m 2 ) and K t P ( m 2 ) and

2)If m is an odd integer then K s , t × 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 ) .

Proposition 3.5. [2] Let K s , t be a complete bipartite graph and C m be a cycle graph with m vertices.

1)If m is an even integer then K s , t × 2 C m has four components two components each isomorphic to K s C ( m 2 ) and K t C ( m 2 )

2)If m is an odd integer then K s , t × 2 C m has two components K s C m and K t C m .

Remark 2. By [14] [15] the geodetic number of disconnected graph is the sum of geodetic number of each component.

Theorem 17. The geodetic number of 2-cartesian product of two paths is given by, g n ( P m × 2 P n ) = 8 , for m , n 3 .

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 [2], ( P m × 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 [11], 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 .

In ( P m × 2 P n ) a geodetic set can be formed as follows depending on the values of m and n.

1) If both m and n are even integers then, P m × 2 P n has four isomorphic

components by Proposition 3.1 [2], that is, P m × 2 P n = [ i = 1 4 ( G m 2 , n 2 ) i ] . As each

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 ) } .

2) If m is odd and n is even, then P m × 2 P n has two pairs of isomorphic components by Proposition 3.1 [2]. Hence,

P m × 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,

{ ( 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 ) } .

3) If m is even and n is odd, then P m × 2 P n has two pairs of isomorphic components by Proposition 3.1 [2]. Hence,

P m × 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,

{ ( 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 ) } .

4) If both m and n are odd integers, then P m × 2 P n has four non-isomorphic components by Proposition 3.1 [2]. Therefore,

P m × 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

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 ) } .

By [14] [15] each component has geodetic number 2. Hence g n ( P m × 2 P n ) = 8 , for m , n 3 . □

Corollary 3.1. The geochromatic number of 2-cartesian product of two paths is given by, χ g c ( P m × 2 P n ) = 8 , for m , n 3 .

Proof. By Theorem 6 [12], we have χ ( P m P n ) = 2 . Hence, geodetic set of each component of P m × 2 P n is bicolorable. By the above theorem, each component has geodetic number 2. Since P m × 2 P n has four components isomorphic to P m P n , by Theorem 12 [8] the result follows. □

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 × 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 ) .

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 × 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:

Case 1: Let n be an odd interger of the form, say, n = 2 k + 1 and k 1 with m 3 .

Here we consider two subcases, depending on whether m is odd or even.

Subcase (1a): Let m be odd.

By Proposition 3.2 [2], we get two non-isomorphic components, that is, P m × 2 C n = [ ( G ( m + 1 2 ) , ( ( n ) 0 ) ) ] [ ( G ( m 1 2 ) , ( ( n ) 0 ) ) ] . We see that

( 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

cycles contain linear geodetic sets, by Theorem 10 [5], 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

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

1 j n . Similarly, for other component the geodetic set is of the form

{ ( 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

{ ( 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

{ ( u m 1 , v j ) , ( u 2 , v j + k ) , ( u 2 , v j + k + 1 ) } . By [14] [15] each component has geodetic number 3. Therefore g n ( P m × 2 C n ) = 6 .

Subcase (1b): Let m be even.

By Proposition 3.2 [2], we get two isomorphic components, that is, P m × 2 C n = [ i = 1 2 ( G ( m 2 ) , ( ( n ) 0 ) ) ( i ) ] . We have ( G ( m 2 ) , ( ( n ) 0 ) ) P m 2 × 2 C ( ( n ) 0 ) with identity map as the bijection. Similar to the above case we get by Theorem 10 [5], we have g n ( P m 2 C n ) = 3 . The geodetic set is of the 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 1 j n . By [14] [15] each component has geodetic number 3, to give g n ( P m × 2 C n ) = 6 .

Case 2: Let n be even of the form n = 2 l , l 1 and l odd.

Here we consider two subcases, depending on whether m is even or odd.

Subcase (2a): Let m be even.

By Propsition 3.2 [2], we get four isomorphic components, that is,

P m × 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 [5], g n ( P m 2 C l ) = 3 . 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 [14] [15] each component has geodetic number 3. Therefore, g n ( P m × 2 C l ) = 12 .

Subcase (2b): Let m be odd.

By Propsition 3.2 [2], we have 2 pairs of isomorphic components, that is,

P m × 2 C n = [ ( G ( m + 1 2 ) , ( ( n 2 ) 0 ) ) ] [ ( G ( m 1 2 ) , ( ( n 2 ) 0 ) ) ] . 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. Hence by Theorem 3.5 [5], we have g n ( P ( m + 1 2 ) C l ) = 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 ) , ( 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 [14] [15] each component has geodetic number 3. Therefore g n ( P m × 2 C l ) = 12 .

Case 3: Let n be even of the form n = 2 l , l 1 and l even.

Here we consider two subcases, depending on whether m is odd or even.

Subcase (3a): Let m be even.

By Proposition 3.2 [2], we have four isomorphic components, that is,

P m × 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. Similar to the above case, by Theorem 3.5 [5], we have

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

{ ( u m , v j ) , ( u 1 , v j + l ) } or { ( u 1 , v j ) , ( u m , v j + l ) } for 1 j n . By [14] [15] each component has geodetic number 2. Therefore g n ( P m × 2 C l ) = 8 .

Subcase (3b): Let m be odd.

By Proposition 3.2 [2], we have 2 pairs of isomorphic components, that is,

P m × 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 [5], 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

{ ( u m , v j ) , ( u 1 , v j + l ) } for 1 j n . By [14] [15] each component has geodetic number 2. Therefore g n ( P m × 2 C l ) = 8 . □

Corollary 3.2. The geochromatic number of 2-cartesian product of path P n cycle C n is given by, χ g c ( P m × 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 ) .

Proof. By Theorem 6 [12], 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 × 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 [8], the result follows. □

Theorem 19. For the 2-cartesian product of cycle C m with cycle graph C n the geodetic number is given by,

g n ( C m × 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 ) .

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 × 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:

Case 1: Let m , n be odd of the form, m = 2 k + 1 , n = 2 l + 1 .

By Proposition 3.3 [2], C m × 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 [8], we get

g n ( C m × 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 × 2 C n ) = 5

Case 2: For m = 2 k , k 2 , n = 2 l , l 2 with k , l even.

By Proposition 3.3 [2] we have four isomorphic components, that is,

C m × 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

as the bijection. By Theorem 11 [11], 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 [14] [15] each component has geodetic number 2. Hence geodetic set of g n ( C k × 2 C l ) = 8 .

Case 3: For m = 2 k + 1 , n = 2 l , with l even and m = 2 k , n = 2 l + 1 with k even.

By Proposition 3.3 [2], we get two pairs of isomorphic components, that is,

C m × 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

as the bijection. Similar to the above case by Theorem 11 [11], we get

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 ) }

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 [14] [15] each component has geodetic number 3. Hence geodetic set of g n ( C 2 k + 1 × 2 C l ) = 6 .

Case 4: For m = 2 k + 1 , n = 2 l with l odd and m = 2 k , n with k odd.

By Proposition 3.3 [2], we get two pairs of isomorphic components, that is,

C 2 k + 1 × 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 as the bijection. Similar to the above case by Theorem 11 [11], 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 [14] [15] each component has geodetic number 3. Hence geodetic set of g n ( C 2 k + 1 × 2 C l ) = 6 .

Case 5: For m = 2 k , n = 2 l and k odd, l even.

By Proposition 3.3 [2], we get four isomorphic components, that is,

C m × 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

as the bijection. Using Theorem 11 [11], 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

{ ( u i , v j + l ) , ( u i + k , v j ) , ( u i + k + 1 , v j ) } . By [14] [15] each component has geodetic number 3, hence geodetic number of g n ( C k × 2 C l ) = 12 .

Case 6: For m = 2 k , n = 2 l and k , l odd.

By Proposition 3.3 [2], we get four isomorphic components, that is,

C m × 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

as the bijection. By Theorem 14 [8] 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 ) } .

By [14] [15] each component has geodetic number 5. Hence g n ( C k × 2 C l ) = 20 .

Corollary 3.3. The geochromatic number of 2-cartesian product of cycle C m with cycle C n is given by,

χ g c ( C m × 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 ) .

Proof. By Theorem 6 [12], χ ( C m C n ) = max { ( 2,3 ) } = 3 , if n is odd and

χ ( 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 [8] result follows. □

Theorem 20. The geodetic number of 2-cartesian product of complete bipartite graph K s , t with path P m is given by,

g n ( K s , t × 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 .

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.

Case 1: Let m be even.

Using Proposition 3.4 [2], we get two pairs of isomorphic components of the

form K s P ( m 2 ) or K t P ( m 2 ) with identity mapping as the bijection. We know

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 [11],

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

( 1 i s or t), ( 1 j s or t) and i j . By [14] [15] each component has geodetic number is s and t. Hence g n ( K s , t × 2 P n ) = 4 s or 4t, if s = t and g n ( K s , t × 2 P n ) = 2 s + 2 t , if s t .

Case 2: Let m be odd.

Using Proposition 3.4 [2], we have four non isomorphic components, that is,

K s × P ( m + 1 2 ) , K s × P ( m 1 2 ) , K t × P ( m + 1 2 ) , K t × P ( m 1 2 ) with identity mapping as the

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 [14] [15]. Hence g n ( K s , t × 2 P n ) = 2 ( s + t ) . □

Corollary 3.4. The geochromatic number of 2-cartesian product of complete bipartite graph K s , t with path P m is given by,

χ g c ( K s , t × 2 P m ) = { 4 s , f o r s = t , 2 s + 2 t , f o r s t .

Proof. By Theorem 6 [12], χ ( 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 × 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 [8], the result follows. □

Theorem 21. The geodetic number of 2-cartesian product of complete bipartite graph K s , t with cycle C m is given by,

g n ( K s , t × 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 .

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.

Case 1: Let m be even.

Using Proposition 3.5 [2], we have four components, two components each

isomorphic to K s C ( m 2 ) and K t C ( m 2 ) with identity mapping as the bijection

and each being isomorphic to cartesian product of a complete graph and a cycle.

Hence, by Theorem 11 [11] we have g n ( K s × C ( m 2 ) ) = max { s ,2 } = s and g n ( K t × C ( m 2 ) ) = max { t ,2 } = t , we get the geodetic number equal to s or t, by [14]

[15] 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 × 2 C n ) = 4 t or 4s, if s = t and g n ( K s , t × 2 P n ) = 2 s + 2 t if s t .

Case 2: Let m be odd.

Using Proposition 3.5 [2], we get two components isomrphic to K s C m , K t C m . By Theorem 16 [8], 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 [14] [15] each component has geodetic number is 2 s 1 and 2 t 1 . Hence g n ( K s , t × 2 C n ) = 2 s + 2 t 2 . □

Corollary 3.5. The geochromatic number of 2-cartesian product of complete bipartite graph K s , t with cycle C n is given by,

χ g c ( K s , t × 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 .

Proof. By Theorem 6 [12], χ ( K m C n ) = max { ( m ,2 ) } = m . By the above theorem, each component has geodetic number s , t . Since K s , t × 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 [8] result follows. □

4. Conclusion

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.

Acknowledgements

We highly appreciate suggestions given by unknown referees that have improved overall presentation of the paper.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Acharya, U.P. and Mehta, H.S. (2015) Generalized Cartesian Product of Graphs. International Journal of Mathematics and Scientific Computing, 5, 4-7.
[2] Acharya, U.P. and Mehta, H.S. (2014) 2-Cartesian Product of Special Graphs. International Journal of Mathematics and Soft Computing, 4, 139-144.
[3] Harary, F., Loukakis, E. and Tsouros, C. (1993) The Geodetic Number of a Graph. Mathematical and Computer Modelling, 17, 89-95.
[4] 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
[5] 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
[6] 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.
[7] 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
[8] Huilgol, M.I. and Divya, B. (2021) Geochromatic Number of Cartesian Product of Some Graphs. Journal of Mathematics and Computer Science, 11, 3866-3886.
[9] Buckley, F. and Harary, F. (1990) Distance in Graphs. Addison-Wesley Publishing Company, Redwood City.
[10] 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
[11] Breser, B., Klavžar, S. and Horvat, S.T. (2008) On the Geodetic Number and Related Metric Sets in Cartesian Product Graphs. Discrete Mathematics, 308, 5555-5561.
[12] Hammack, R., Imrich, W. and Klavzar, S. (2011) Handbook of Product of Graphs. CRC Press, New York.
[13] Mulder, H.M. (1980) The Interval Function of a Graph. Vol. 132, Mathematisch Centrum, Amsterdam.
[14] 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
[15] Xaviour, X.L. and Prakash, S.V.A. (2018) Isolate Geodetic Number of a Graph. Journal of Applied Science and Computations, 5, 755-765.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.