NK-Labeling of Graphs

Abstract

A graph labeling is the assigning of labels to the vertices, edges, or both (usually non-negative integers), often satisfying some prescribed requirements. This terminology has become standard. A graph G's edges can be colored by assigning a different color to each of its edges. The edge coloring is appropriate if adjacent edges are given different colors. In this work, we introduce a new labeling called NK-labeling. Let c:E( G ) be a proper edge coloring of G which induces a proper vertex coloring c :V( G ) n defined by c ( v ) e E v c( e )modn Such that E v is the set of edges incident with v in G. The minimum positive integer for which the graph G has NK-labeling called NK-chromatic index and denoted by χ NK ( G ) . We study the NK-labeling of several well-known classes of graphs. It is shown that the NK-chromatic of the path P n for n4 is three and for odd n , the NK-chromatic of the complete graph K n is n . Other results dealing with the NK-labeling are also presented.

Share and Cite:

Almohanna, N. and Alhulwah, K. (2024) NK-Labeling of Graphs. American Journal of Computational Mathematics, 14, 391-400. doi: 10.4236/ajcm.2024.144020.

1. Introduction

For terms and symbols related to graph theory that are not covered in this paper, please see the book [1]. In 1968, Alexander Rosa received his Ph.D from Slovak Academy of Science under Anton Kotzig after he published his paper titled “On certain valuations of the vertices of a graph,” which is the source of many labelings. The most attention of his labeling is β -valuation, which recalled a graceful labeling by Solomon W. Golomb [2]. Graph coloring is one of the most useful models in graph theory. Many problems relating to computer registers allocation, electronic bandwidth allocation, and school scheduling have all been resolved using it.

Let G be a graph with vertex set V( G ) and edge set E( G ) . A labeling c:E( G ){ 1,2,,k } such that c( e )c( f ) for every two adjacent edges e and f in G is called proper edge coloring.

We frequently have an interest in proper edge coloring that use a minimum number of colors which called chromatic index (edge chromatic number) χ ( G ) of a graph G. A graph G is k-colorable, if χ ( G )k , and G is k-chromatic, if χ ( G )=k .

Maheo and Sacle in [3] studied the irregular-sum chromatic index for connected graph G with vertex set V( G ) and edge set E( G ) of order n3 . A proper edge coloring c:E( G ){ 1,2,,k } for some integer k2 is called an irregular-sum chromatic coloring of G if the induced vertex coloring c :V( G ) defined by c ( v )= e E v c( e ) is irregular (vertex-distinguishing). The minimum positive integer for which G has such an irregular-sum chromatic coloring is called an irregular-sum chromatic index of G and is denoted by χ is ( G ) .

In [4] [5], Ping Zhang introduced the labeling for a graph G of order n . Let c:E( G ) k , kn be an unrestricted edge coloring (where the adjacent edges may be colored the same). The edge coloring c induces a vertex coloring c :V( G ) k defined by c ( v )= e E v c( e ) where the sum is computed in k . For some positive integer k , such an edge coloring c is always present. The modular edge-gracefulness meg( G ) of G is the minimum k for which such a vertex-distinguishing edge coloring of G exists. Thus, meg( G )n for every connected graph G of order n3 . If meg( G )=n , then G is called a modular edge-graceful graph and a vertex-distinguishing edge coloring c:E( G ) n is called a modular edge-graceful labeling as well as a modular edge-graceful coloring of G.

Based on established graph coloring ideas and inspired by irregular-sum and modular edge-graceful labeling we present a new concept for coloring graphs focusing on proper coloring in this paper.

Let be the set of all positive integers and let E v denoted the set of edges incident with v in G. For a connected simple graph G( V,E ) of order n3 , A proper edge coloring c:E( G ) induces a proper vertex coloring c :V( G ) n , defined by c ( v ) e E v c( e )modn

The minimum positive integer for which G has NK-labeling is called NK-chromatic index and denoted by χ NK ( G ) . A graph G with chromatic number χ NK ( G )k is called a k-NKcolorable graph. If no such k, the graph G is not NK-colorable.

2. Preliminaries

Proposition 2.1 For any connected graph G Δ( G ) χ ( G ) χ NK ( G ) where Δ( G ) is the maximum degree of G.

Proposition 2.2 If G is a connected graph of order at least 3 such that G contains two adjacent vertices of maximum degree, then χ NK ( G )Δ( G )+1 .

An illustration of the NK-chromatic index. We show in Figure 1, χ NK ( G )4 and from preposition 2.2, χ NK ( G )4 . Hence, χ NK ( G )=4 .

Figure 1. An illustration of NK-labeling.

3. Well Known Classes of Graphs

We now turn our attention to two other well-known classes of graphs, namely path and cycles.

Theorem 3.1 Let n be an integer greater than 4, the NK-chromatic index of the path P n of order n is three.

Proof. By preposition 2.2, χ NK ( P n )3 . To prove χ NK ( P n )3 , for 1in1 , assign the edge v i v i+1 by a color c as following.

c( v i v i+1 )={ 1 ifi1mod3 2 ifi2mod3 3 ifi0mod3

Case 1: n0mod3 , the previous edge color induces the following proper vertex coloring for v j ,1jn given by c ( v j )={ 1 ifj=1 2 ifj=n 3 ifj2mod3 4 ifj1mod3,j1 5 ifj0mod3,jn

Hence, χ NK ( P n )=3 .

Case 2: n1mod3 . For n=4 , we show the NK-labeling of P 4 in Figure 2, so χ NK ( P 4 )=3 .

Figure 2. NK-labeling of P4.

For n7 , the previous edge color induces the following proper vertex coloring for v j ,1jn given by c ( v j )={ 1 ifj=1 3 ifj2mod3,j=n 4 ifj1mod3,j1,n 5 ifj0mod3

Hence, χ NK ( P n )=3 .

Case 3: n2mod3 . For n=5 , we show the NK-labeling of P 5 in Figure 3, so χ NK ( P 5 )=3 .

Figure 3. NK-labeling of P5.

For n8 , the previous edge color induces the following proper vertex coloring for v j ,1jn given by c ( v j )={ 1 ifj=1,n 3 ifj2mod3,jn 4 ifj1mod3,j1 5 ifj0mod3

Hence, χ NK ( P 5 )=3 . Therefore, for n4 the NK-chromatic index of P n is 3.

Theorem 3.2 Let n be an integer greater than 3, the NK-chromatic index of the cycle C n of order n is χ NK ( C n )={ 3 ifn0mod3 4 ifn1mod3 5 ifn2mod3

Proof. Case 1: n0mod3 .

Trivially we can show that χ NK ( C 3 )=3 . Now consider the cycle C n =( v 1 , v 2 ,, v n , v 1 ) . Clearly, 3 χ NK ( C n ) by using the Proposition 2.2. We want to prove that χ NK ( C n )3 . For 1in1 , the edge v i v i+1 assigned by a color c as following

c( v i v i+1 )={ 1 ifi1mod3 2 ifi2mod3 3 ifi0mod3 c( v n v 1 )=3

So, we get a proper vertex coloring as following, for 1jn , c ( v j )={ 3 ifn2mod3 4 ifn1mod3 5 ifn0mod3

Therefore, χ NK ( C n )=3 .

Case 2: n1mod3

Clearly for any three consecutive edges in C n , they cannot color by i, j, i, otherwise we get improper vertex coloring. Hence we start to color v 1 v 2 by 1, v 2 v 3 by 2, v 3 v 4 by 3, v 4 v 5 by 1, v 5 v 6 by 2 and so on. Since n1mod3 , we end with c( v n1 v n )=3 . Then we need a new color 4 for the edge v n v 1 , otherwise we get improper vertex coloring. Therefore χ NK ( C n )4 .

To prove that χ NK ( C n )4 , for C 4 we show in Figure 4, χ NK ( C 4 )4 .

Figure 4. NK-labeling of C4.

For n7 , for 1in1 , we did as case 1 with c( v i v i+1 )={ 1 ifi1mod3 2 ifi2mod3 3 ifi0mod3 c( v n v 1 )=4

Then we get a proper vertex coloring as following, for 1jn , c ( v j )={ 3 ifj2mod3 4 ifj1mod3,j1,n 5 ifj0mod3,j=1 7modn ifj=n

Hence, χ NK ( C n )=4 .

Case 3: n2mod3 .

We start to color v 1 v 2 by 1, v 2 v 3 by 2, v 3 v 4 by 3, v 4 v 5 by 1, v 5 v 6 by 2 and so on. Since n2mod3 , we end with c( v n2 v n1 )=3 . For the edges v n1 v n and v n v 1 we have to use new colors 4, 5 respectively, otherwise we get improper vertex coloring. Hence χ NK ( C n )5 . To show χ NK ( C n )5 . For C 5 , we show in Figure 5, χ NK ( C 5 )5 .

Figure 5. NK-labeling of C5.

For n8 , for 1in1 , c( v i v i+1 )={ 1 ifi1mod3,in1 2 ifi2mod3 3 ifi0mod3 4 ifi=n1 c( v n v 1 )=5

Then we get a proper vertex coloring as following, for 1jn , c ( v j )={ 3 ifj2mod3,jn 4 ifj1mod3,j1,n1 5 ifj0mod3,j=1 6 ifj=1 7 ifj=n1 9modn ifj=n

Now we will focus on some well-known classes of graph with odd order.

Theorem 3.3 Let S be a star of odd order n3 , the NK-chromatic index of S is n1 .

Proof. Let V( S )={ v, v 1 , v 2 ,, v n1 } where deg( v )=n1 , deg( v i )=1 , 1in1 . Color the edge v v i by i , which induces a proper vertex coloring c ( v i )=iand c ( v ) i=1 n1 imodn ( n1 )n 2 modn0modn

Hence, χ NK ( S )n1 . Moreover, by preposition 2.1, we have χ NK ( S )n1 because χ ( S )=n1 .

Theorem 3.4 For odd integer n . Let W n be a wheel of order n5 , the NK-chromatic index of W n is n1

Proof. Let V( W n )={ v, v 1 , v 2 ,, v n1 } where deg( v )=n1 , deg( v i )=3 , 1in1 . By proposition 2.1, n1 χ NK ( W n ) . It is reminded to prove that χ NK ( W n )n1 .

Case 1: n 0mod3 . Assign the colors of the edge e as following c( e )={ 1 fore= v n2 v n1 2 fore= v n1 v 1 i fore=v v i i+2 fore= v j v j+1 ,1jn3

We get three types of 3-cycle

1- C 3 =( v, v i , v i+1 ,v ) , 1in3 ,

2- C 3 =( v, v n2 , v n1 ,v ) ,

3- C 3 =( v, v n1 , v 1 ,v ) ,

First, suppose that there exist two vertices of C 3 have same color. Thus c ( v i )= c ( v i+1 ) or c ( v )= c ( v i ) . Assume that c ( v i )= c ( v i+1 ) i+( i+1 )+( i+2 ) k 1 n=( i+1 )+( i+2 )+( i+3 ) k 2 n k 1 , k 2 are integers 3( i+2 )3( i+1 )= k 2 n k 1 n 3=( k 2 k 1 )n

Which impossible since n5 . So, we may assume that c ( v )= c ( v i ) 0 k 1 n=i+( i+1 )+( i+2 ) k 2 n k 1 , k 2 are integers 3( i+1 )=( k 2 k 1 )n

Since 3 is prime, 3 divides k 2 k 1 which implies that i+1 is a multiple of n, contradiction. Hence C 3 =( v, v i , v i+1 ,v ) , 1in3 has proper vertex-coloring. Moreover, according on the edge coloring c ( v n2 )=n2 , c ( v n1 )=2 , c ( v 1 )=6modn . Thus, C 3 and C 3 have a proper vertex-coloring. This implies χ NK ( W n )n1 .

Next, if n0mod3 , then assign the colors of the edge e as following

c( e )={ 1 fore= v n3 v n2 2 fore= v n2 v n1 3 fore= v n1 v 1 i fore=v v i i+3 fore= v j v j+1 ,1jn4

We get four types of 3-cycle

1- C 3 =( v, v i , v i+1 ,v ) , 1in4 ,

2- C 3 =( v, v n3 , v n2 ,v ) ,

3- C 3 =( v, v n2 , v n1 ,v ) ,

4- C 3 =( v, v n1 , v 1 ,v ) ,

As above we can prove that C 3 has proper vertex coloring. First, suppose that there exist two vertices of C 3 have same color. Thus c ( v i )= c ( v i+1 ) or c ( v )= c ( v i ) . Assume that c ( v i )= c ( v i+1 ) i+( i+2 )+( i+3 ) k 1 n=( i+1 )+( i+3 )+( i+4 ) k 2 n k 1 , k 2 are integers 3=( k 1 k 2 )n

Which impossible since n9 . So, we may assume that c ( v )= c ( v i ) 0 k 1 n=i+( i+2 )+( i+3 ) k 2 n k 1 , k 2 are integers 5+3i=( k 1 k 2 )n

Since n0mod3 , there is integer k such that n=3k so 5+3i=3( k 1 k 2 )k

which implies that 5 is a multiple of 3, contradiction. Hence C 3 =( v, v i , v i+1 ,,v ),1in3 has proper vertex-coloring. Moreover, according to the edge coloring c ( v n3 )=n3 , c ( v n2 )=1 , c ( v n1 )=4 and c ( v 1 )=8modn .Thus C 3 , C 3 and C 3 have proper vertex coloring. Hence, χ NK ( W n )=n1 .

Theorem 3.5 For odd integer n , the NK-chromatic index of the complete graph K n is n.

Proof. The graph K n is ( n1 ) -regular graph with size n( n1 ) 2 . Moreover, for odd order n, χ ( K n )=n . From Proposition 2.1, n χ NK ( K n ) . We will color the edges of K n by proper edge coloring using this n colors. Therefore, every vertex in K n incident with n1 different colors. We will denote the vertex that incident with the colors V i ={ 1,2,3,i1,i+1,n } by v i ,1in . Each color i belong to all V j such that ij , otherwise deg( v i )<n1 . Since i V i and from the definition of NK-labeling, c ( v i )= j=1 n j i=ni . It is clear that for ij , c ( v i ) c ( v j ) .

An example of odd complete graph, Figure 6 illustrate χ NK ( K 7 )7 so NK-chromatic index of K 7 is 7.

Figure 6. The NK-labeling of K7.

Proposition 3.6 If G is a graph of size m1 , then χ NK ( G ) m α ( G ) where α ( G ) is the maximum number of edges in an independent set of edges of a graph G.

Proof. Suppose that χ NK ( G )=k and that E 1 , E 2 ,, E k are the edge color classes in k-edge coloring of G. Thus | E i | α ( G ) for each i ( 1ik ). Moreover, from the definition of NK-labeling, it is clear that χ ( G ) χ NK ( G ) . Therefore if F 1 , F 2 ,, F l , lk are the color classes of χ NK ( G ) such that χ NK ( G )=l , then | F j | | E i | α ( G ) for all i,j . Hence m=| E( G ) |= j=1 l | F j | χ NK ( G ) α ( G ) .

Some of the complete graphs K 2n , n3 are NK-colorable, χ NK ( K 4 )=5 . From Figure 7, χ NK ( G )5 . Now, suppose that K 4 can be color by using 4 colors. We may assume that c( v 1 v 2 )=1 in Figure 2. Since c is a proper edge coloring, none of the edges v 1 v 3 , v 2 v 4 , v 2 v 3 and v 1 v 4 can be colored by the color 1. Hence two of these four edges must be assigned the same color and the remaining two edges must be assigned different colors, otherwise c ( v 1 )= c ( v 2 ) which is impossible. Assume c( v 1 v 3 )=c( v 2 v 4 )=2 , c( v 2 v 3 )=3 and c( v 1 v 4 )=4 . The last edge should be colored by the color 1, but in this case c ( v 2 )= c ( v 3 ) , contradiction. Therefore χ NK ( K 4 )5 . Hence, χ NK ( K 4 )=5 .

Figure 7. The NK-labeling of K4.

Problem: For even integer n , determine the NK-chromatic index of the complete graph K n if it exists.

4. Conclusion

Graph labeling is one of the main topics of graph theory, and it is used in a variety of fields, such as coding theory, X-ray crystallography, radar, astronomy, circuit design, communication network addressing, and database management. In this article, we introduced a new concept of graph labeling and found the NK-labeling of special graphs such as path, cycle, wheel, star, and complete graph for some n. Furthermore, we find the lower bound of our labeling.

Conflicts of Interest

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

References

[1] Chartrand, G., Lesniak, L. and Zhang, P. (2010) Graphs and Digraphs. 5th Edition, Chapman and Hall/CRC.
https://doi.org/10.1201/b14892
[2] Golomb, S. (1972) How to Number a Graph. Graph Theory and Computing, 23-27.
https://doi.org/10.1016/B978-1-4832-3187-7.50008-8
[3] Mahéo, M. and Saclé, J.F. (2008) Some Results in (∑,p,g)-Valuation of Connected Graphs. Report de Recherche 1497. Universte' de Paris-Sud, Center d'Orsay.
[4] Zhang, P. (2015) Color-Induced Graph Colorings. Springer.
https://doi.org/10.1007/978-3-319-20394-2
[5] Zhang, P. (2015) A Kaleidoscopic View of Graph Colorings. Springer.
https://doi.org/10.1007/978-3-319-30518-9

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.