# On Z 2 x Z 2 - Cordial Graphs

(1)

## - Cordial Graphs

S. Beena

Associate Professor, Department of Mathematics, NSS College, Nilamel, Kollam, Kerala, India

Abstract

For any abelian group

### A

, a graph G is said to be A - cordial if there is a labeling f of V(G) with elements of A so that for all a,bA , the edge ab is labeled with f(a)  f(b)then the number of vertices labeled with a and the vertices labeled with b differ by at most 1and the number of edges labeled with a and edges labeled with b differ by at most 1. In this paper we determine some classes of 22 cordial graphs, a

necessary condition for the sum of two 22- cordial graphs to be 22- cordial and we prove that every

graph is an induced sub graph of 22- cordial graph.

Key words - A- Cordial labeling, Abelian group.

I. INTRODUCTION

Mark Hovey  has introduced A – cordial labeling as a generalization of harmonious and cordial labeling. It is well known that 2

###  

0,1 is the residue classes modulo 2, where 0 denote the set of all even integers and 1 denote the set of all odd integers and consequently 22

0,0,1,0, 0,1,1,1

### 

is an abelian

group. Without loss of generality, we may assume thate

0,0,

. Then

and

### a

. In this paper we determine some classes of 22cordial graphs and a necessary condition for sum of two 22- cordial graphs to be 22- cordial. Also we prove that every graph is an induced subgraph of 22- cordial graph.

Definition 1. For any abelian group

, a graph

is said to be

### A

- cordial , if there is a labeling

of

with elements of

so that for all

, the edge

is labeled with

then

f

and

### v

f differ by at most 1 and

f

and

f

### )

differ by at most 1, where

f

and

f

### )

are respectively the number of vertices labeled with

### a

and the number of edges labeled with

### .

II. MAIN RESULTS

Theorem 2: The cycle C is n 22- cordial for all n except n4,5and n2(mod4).

Proof: Let V

Cn

vi:1in

### 

be the set of all vertices of

n, and E

Cn

eivivi1:1in1

### 

be the

set of all edges

of C . Define n f :V

###  

Cn 22 as follows: Case(i) If n0,1,3,7(mod8): Label the vertices of Cn as

e v

f( i) , if i4k,4k1 where

### k

is odd, f(vi)a, if i1,8k,8k1 where

### k

is an integer, f(vi)b, if )

4 (mod 2

i and f(vi)c, if i3(mod4).

Case(ii) If n4 or 5(mod8)where n4,5: Label the vertices of Cn as f(vi)e if i4,5,8,8k,8k1 where k1is an integer, f(vi)a, if i1,7,4k,4k1 where k1is odd, f(vi)b if i2,9,2k where

3

k is odd, f(vi)c, if i3,6,4k3 where k1is an integer. Table 1 shows the values of vf(x)for all

2 2

 

x and Table 2 shows the values of ef(x)for all x22. Alsovf(i)vf(j) 1and 1

) ( )

(ie j

ef f for all i,j22. HenceCnis 22- cordial for all

### n

except n4,5and )

4 (mod 2

(2)

Table 1. Labelings of the vertices of Cn

Table 2. Labelings of the edges of Cn

Theorem3. The complete bipartite graph Km,nwhere mn is 22- cordial for all

and

except )

4 (mod 2 &n

m .

Proof: Let V1

ui:1im

and V2 

vj :1 jn

### 

be the set vertices of Km,n and

e uv i m j n

### 

K

E( m,n) ii j:1  ,1  be the set of all edges of Km,n. Define f :V(Km,n)22 as follows: f(ui)e if i1(mod4), f(ui)a if i2(mod4), f(ui)b if i  3(mod4)

### ,

f(ui)c if

) 4 (mod 0

i .

Case(i) If m0,1,2(mod4) 𝑁𝑜𝑡𝑒 𝑡ℎ𝑎𝑡 𝑖𝑓 m2(mod4), 𝑐ℎ𝑜𝑜𝑠𝑒

𝑠𝑢𝑐ℎ 𝑡ℎ𝑎𝑡

### n

≢ 2(𝑚𝑜𝑑4) , define

e v

f( i) if ) 4 (mod 0

i , f(vi)a if i3(mod4),f(vi)b if i1(mod4),f(vi)c if i2(mod4).

If m4r,Table 3 and 4 shows the values of vf(x) and ef(x)for all x22.

Table 3. Labelings of the vertices of Km,n

.

Table 4. Labelings of the edges of Km,n

If m4r1Table 5 and 6 shows the values of vf(x) and ef(x)for all x22.

i r

n8  vf(e) vf(a) vf(b) vf(c)

0

i 2𝑟 2𝑟 2𝑟 2𝑟

1

i 2𝑟 2𝑟 + 1 2𝑟 2𝑟

3

i 2𝑟 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1

4

i 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1

5

i 2𝑟 + 1 2𝑟 + 2 2𝑟 + 1 2𝑟 + 1

7

i 2𝑟 + 2 2𝑟 + 1 2𝑟 + 2 2𝑟 + 2

i r

n8  ef(e) ef(a) ef(b) ef(c)

0

i 2𝑟 2𝑟 2𝑟 2𝑟

1

i 2r+1 2𝑟 2𝑟 2𝑟

3

i 2𝑟 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1

4

i 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1

5

i 2𝑟 + 2 2𝑟 + 1 2𝑟 + 1 2𝑟 + 1

7

i 2𝑟 + 1 2𝑟 + 2 2𝑟 + 2 2𝑟 + 2

i k

n4  vf(e) vf(a) vf(b) vf(c)

0

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 𝑟 + 𝑘 𝑟 + 𝑘

1

i 𝑟 + 𝑘 𝑟 + 𝑘 𝑟 + 𝑘 + 1 𝑟 + 𝑘

2

i 𝑟 + 𝑘 𝑟 + 𝑘 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

3

i 𝑟 + 𝑘 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

i k

n4  ef(e) ef(a) ef(b) ef(c)

0

i nr nr nr nr

1

i nr nr nr nr

2

i nr nr nr nr

3

i nr nr nr nr

i k

n4  vf(e) vf(a) vf(b) vf(c)

0

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 𝑟 + 𝑘 𝑟 + 𝑘

1

(3)

Table5. Labelings of the vertices of Km,n

Table 6. Labelings of the edges of Km,n

If m4r2Table 7 and 8 shows the values of vf(x) and ef(x)for all x22.

Table7. Labelings of the vertices of Km,n

Table8. Labelings of the edges of Km,n

If m4r3Table 9 and 10 shows the values of vf(x) and ef(x)for all x22.

Table 9. Labelings of the vertices of Km,n

Table 10. Labelings of the edges of Km,n

Case(ii) If m3(mod4), define f(vi)e if i2(mod4), f(vi)a if i3(mod4),f(vi)b if )

4 (mod 0

i ,

c v

f( i) if i1(mod4).

If m4r3Table 11 and 12 shows the values of vf(x) and ef(x)for all x22 2

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

3

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

i k

n4  ef(e) ef(a) ef(b) ef(c)

0

i 𝑚𝑘 𝑚𝑘 𝑚𝑘 𝑚𝑘

1

i 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟

2

i 𝑚𝑘 + 2𝑟 𝑚𝑘 + 2𝑟 𝑚𝑘 + 2𝑟 + 1 𝑚𝑘 + 2𝑟 + 1

3

i 𝑚𝑘 + 3𝑟 𝑚𝑘 + 3𝑟 + 1 𝑚𝑘 + 3𝑟 + 1 𝑚𝑘 + 3𝑟 + 1

i k

n4  vf(e) vf(a) vf(b) vf(c)

0

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 𝑟 + 𝑘

1

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘

3

i 𝑟 + 𝑘 𝑟 + 𝑘 + 1 𝑟 + 𝑘 𝑟 + 𝑘 + 1

i k

n4  ef(e) ef(a) ef(b) ef(c)

0

i 𝑚𝑘 𝑚𝑘 𝑚𝑘 𝑚𝑘

1

i 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟 + 1

3

i 𝑚𝑘 + 3𝑟 + 1 𝑚𝑘 + 3𝑟 + 1 𝑚𝑘 + 3𝑟 + 2 𝑚𝑘 + 3𝑟 + 2

i k

n4  vf(e) vf(a) vf(b) vf(c)

0

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 1

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

2

i 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

3

i 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

i k

n4  ef(e) ef(a) ef(b) ef(c)

0

i 𝑚𝑘 𝑚𝑘 𝑚𝑘 𝑚𝑘

1

i 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟 + 1

2

i 𝑚𝑘 + 2𝑟 + 1 𝑚𝑘 + 2𝑟 + 2 𝑚𝑘 + 2𝑟 + 2 𝑚𝑘 + 2𝑟 + 1

3

i 𝑚𝑘 + 3𝑟 + 2 𝑚𝑘 + 3𝑟 + 3 𝑚𝑘 + 3𝑟 + 2 𝑚𝑘 + 3𝑟 + 2

i k

n4  vf(e) vf(a) vf(b) vf(c)

0

i 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘

1

(4)

Table 11. Labelings of the vertices of Km,n

Table 12. Labelings of the edges of Km,n

In all cases, vf(i)vf(j) 1and ef(i)ef(j) 1 for all i,j22. Hence the complete bipartite graph

n m

K , where

### n

is 22- cordial for all m and nexceptm&n2(mod4).

Remark: 22- cordiality of

### K

m,n IS found in  . However, the proof is different from ours.

Theorem 4. Let Giare (pi,qi)22- cordial labeled graph under fi for i1,2respectively. Then G1G2 is 22- cordial if (i) either p1 or p2 0(mod4)and (ii) either q1 or q2 0(mod4).

Proof: Case (i) Let p10(mod4)and q10(mod4). Then

4 ) ( 1 1 p i

vf  ,

4 ) ( 1 1 q i

ef  ie,a,b,c. Also,

1 ) ( )

( 2

2 iv j

vf f and ef2(i)ef2(j) 1 i,je,a,b,c. Let vf2(e)m1, vf2(a)m2, vf2(b)m3,

4

) (

2 c m

vf  ,

1

2

f

### 

, ef2(a)n2, ef2(b)n3, and vf2(c)m4. Define f :V(G1G2)22

such that f |V(Gi) fi fori1,2. Then clearly vf(i)vf(j) 1 i,je,a,b,cand

, 4 4

)

( 1 1 2

1 p p

n q e

ef    ,

4 4

)

( 2 1 2

1 p p

n q a

ef    ,

4 4

)

( 3 1 2

1 p p

n q b

ef   

4 4

)

( 4 1 2

1 p p

n q c

ef   

.Therefore, ef(i)ef(j) ef2(i)ef2(j) 1 i,je,a,b,c.

Case(ii). Let p10(mod4)and q20(mod4). Then

4 ) ( 1 1 p i

vf  , ie,a,b,candef1(i)ef1(j) 1,

c b a e j

i,  , , ,

 . Let ef1(e)n1, ef1(a)n2, ef1(b)n3, ef1(c)n4and vf2(i)vf2(j) 1 ,

c b a e j

i,  , , ,

 and ef i q i e,a,b,c

4 )

( 2

2    . Let

f2

1,

f2

2,

f2

### m

3and

4

) (

2 c m

vf  . Define f :V(G1G2)22 such that f |V(Gi) fi fori1,2.Then 1 1

4 )

(e p m

vf   ,

2 1

4 )

(a p m

vf   , 3

1

4 )

(b p m

vf   and 4

1

4 )

(c p m

vf   .Therefore, vf(i)vf(j) vf2(i)vf2(j) 1

### 

. Now,

4 4 ) ( 4 4 )

( 1 2 3 4 1 1 1 2

1 1 1 p p q n m m m m p q n e

ef          . Similarly

4 4 )

( 2 1 1 2

p p q n a

ef    ,

4 4 )

( 3 1 1 2

p p q n b

ef    and

4 4 )

( 4 1 1 2

p p q n c

ef    .Therefore,

1 ) ( ) ( ) ( ) ( 1

1  

e j e i e j i

ef f f f

### c

. In a similar manner we can consider the other two cases. Hence G1G2 is 22- cordial under f .

Theorem5. Every connected graph is an induced sub graph of a 22- cordial graph.

Proof: Let Gbe a connected

### )

graph with vertices

1

2

### v

p. If G itself is 22- cordial, there is nothing to prove. Otherwise, define f :V(G)22such that vf(i)vf(j) 1and ef(i)ef(j) 

where

### 

is possibly a small positive integer. Let ef(e)m1, ef(a)m2, ef(b)m3, 2

i 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

3

i 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 2 𝑟 + 𝑘 + 1 𝑟 + 𝑘 + 1

i k

n4  ef(e) ef(a) ef(b) ef(c)

0

i 𝑚𝑘 𝑚𝑘 𝑚𝑘 𝑚𝑘

1

i 𝑚𝑘 + 𝑟 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟 + 1 𝑚𝑘 + 𝑟 + 1

2

i 𝑚𝑘 + 2𝑟 + 1 𝑚𝑘 + 2𝑟 + 2 𝑚𝑘 + 2𝑟 + 2 𝑚𝑘 + 2𝑟 + 1

3

(5)

4

) (c m

ef  . Let mmin{m1,m2,m3,m4} and M max{m1,m2,m3,m4}. Since G is not 22 cordial, we have Mm2 and p3. Let

### u

be a vertex in G whose label is

, and such that

f

### n

1 is the minimum. Add a new vertex

### v

and label it withx, then

f

1

### 1

. Let Mm2. If Mm11, join

### v

with a vertex in G whose label is

, then

f

1

### 1

. If Mm2 1, join

### v

with a vertex in Gwhose label is xa, thenef(a)m2 1 . Similarly if Mm31, join

### v

with a vertex in Gwhose label is

, then

f

3

### 1

and if if Mm4 1, join

### v

with a vertex in Gwhose label is

, then

4

### e

f . If Mm2, we repeat the above process with the new graph H1. Since this process reduce the difference Mm, after a finite number of steps, we get a 22- cordial graph which contains G as an induced sub graph.

Notation : A (p,q)graph has

vertices and

### q

edges. For basic concepts in graph theory, we follow  and for graph labeling follow .

CONCLUSION

The cycle Cnis 22- cordial for all nexcept n4,5and n2(mod4)and the complete bipartite graph Km,nwhere mn is 22- cordial for all m and nexceptm& n  2(mod4). Also if Giare

) ,

(pi qi 22- cordial labeled graph under fi for i1,2respectively then G1G2 is 22- cordial if (i) either p1 or p2 0(mod4)and (ii) either q1 or q2 0(mod4). Every connected graph is an induced sub graph of a 22- cordial graph.

ACKNOWLEDGEMENTS

The author is grateful to Dr M I Jinnah, Former Prof & Head, Department of Mathematics, University of Kerala, Thiruvananthapuram for his valuable suggestions.

REFERENCES

 Mark Hovey, A – cordial Graphs, Discrete mathematics 93(1991) 183 – 194, North Holland.

 O.Pechenik and J. Wise, Generalized graph cordialty, Discuss. Math. Graph Theory 32 (2012) 557-567.  WB West, Introduction to Graph Theory, (2nd Edn) Pearson Education (2001)

## Figure Table 5 and 6 shows the values of . View in document p.2 Table 3. Labelings of the vertices of . View in document p.2 Table 4. Labelings of the edges of . View in document p.2

Updating...
{"ft_lang_label":"__label__en","ft_lang_prob":0.53654313,"math_prob":0.99932635,"size":10025,"snap":"2021-21-2021-25","text_gpt3_token_len":5319,"char_repetition_ratio":0.1796228,"word_repetition_ratio":0.39513916,"special_character_ratio":0.43750623,"punctuation_ratio":0.120490365,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9870608,"pos_list":[0,1,2,3,4,5,6],"im_url_duplicate_count":[null,null,null,null,null,null,null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-05-16T18:16:11Z\",\"WARC-Record-ID\":\"<urn:uuid:49bf95bd-c075-405a-b716-bffb7341f442>\",\"Content-Length\":\"228618\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:58930ba3-dcf4-4b46-833c-8a0e9b110992>\",\"WARC-Concurrent-To\":\"<urn:uuid:e67ecdf8-19cc-405a-af08-d23dc7fe09d3>\",\"WARC-IP-Address\":\"138.197.149.215\",\"WARC-Target-URI\":\"https://1library.net/document/z1evr38y-on-cordial-graphs.html\",\"WARC-Payload-Digest\":\"sha1:JMVH5YIJV376GSWYVBMSL3GSOJJAW6XT\",\"WARC-Block-Digest\":\"sha1:XW5VE3LI7AR3KTGRXT4IZVV6FGTHYIBX\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-21/CC-MAIN-2021-21_segments_1620243991178.59_warc_CC-MAIN-20210516171301-20210516201301-00516.warc.gz\"}"}