in Graph Theory edited by
13,117 views
64 votes
64 votes

Consider the undirected graph $G$ defined as follows. The vertices of $G$ are bit strings of length $n$. We have an edge between vertex $u$ and vertex $v$ if and only if $u$ and $v$ differ in exactly one bit position (in other words, $v$ can be obtained from $u$ by flipping a single bit). The ratio of the chromatic number of $G$ to the diameter of $G$ is,

  1. $\frac{1}{\left(2^{n-1}\right)}$
  2. $\left(\frac{1}{n}\right)$
  3. $\left(\frac{2}{n}\right)$
  4. $\left(\frac{3}{n}\right)$
in Graph Theory edited by
13.1k views

4 Comments

edited by

After reading this question words "Gray code", "Hypercube graph", "Haming Distance" and "Even length cycles"  are  coming in mind.

Now if you are thinking why Hypercube graph has chromatic no = 2  or Even length cycle then refer -->

https://math.stackexchange.com/questions/227681/how-to-find-chromatic-number-of-the-hypercube-q-n

Chromatic number is 2 so maximum independent set size is $2^{n-1}$.

15
15

how u calculate diameter of graph?

The diameter of a graph is the length of the shortest path between the most distanced nodes

5
5
@set2018,

For the diameter, the bit difference (Hamming distance) between the two nodes should be maximum.

For example: For n = 3,  000  $\rightarrow$ 001  $\rightarrow$  011  $\rightarrow$ 111.
6
6

$diameter = max(eccentricity(v), v \  \epsilon \ G)$

1
1

9 Answers

0 votes
0 votes

  0 ----------------1                  

We can see that only 2 colours are enough to colour it. Hence Chromatic number of this graph is 2

The diameter of a graph is the length of the shortest path between the most distanced nodes  = 0 to 1 which is equal to 1  

therefore  ratio= 2/1=2

 only Option C is TRUE

Answer:

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true