GATE CSE
First time here? Checkout the FAQ!
x
+9 votes
254 views

A vertex colouring with three colours of a graph $G=(V, E)$ is a mapping $c: V \rightarrow \{R, G, B\}$ so that adjacent vertices receive distinct colours. Consider the following undirected graph.

How many vertex colouring with three colours does this graph have?

  1. $3^9$
  2. $6^3$
  3. $3 \times 2^8$
  4. $27$
  5. $24$
asked in Graph Theory by Veteran (92.5k points) 971 2329 3115
edited by | 254 views

2 Answers

+18 votes
Best answer

Start with the Inner one which can be filled in => $3 * 2 * 1 = 6$ ways

Then, middle one can be filled in => $2 * 1 * 1 = 2$ ways

Then, similarly outermost can be filled in => $2 * 1 * 1 = 2$ ways


Hence, Total number of ways to fill this figure => $6 * 2 * 2 = 24$ ways

answered by Veteran (50.4k points) 22 90 410
selected by
0 votes
The answer is E (24).

Start with the innermost triangle.

u1, u2, u3 must be coloured separately as they are connected to each other. Therefore, if u1 is coloured red, u2 and u3 must be coloured with (green and blue) or (blue and green) respectively. Hence, allocating a single colour to u1 brings two choices and u1 can be coloured with three differnet colours, hence total ways in innermost triangle can be coloured is 3 X 2 = 6 ways.

Now, after colouring the inner triangle come to the middle one. For instance, If we had coloured the inner triangle, u1-> red, u2-> blue,  u3-> green, the v1 vertex can be coloured only blue or green, since it is connected to u1 vertex, similarly v2 can be coloured with red or green since v2 is connected to u2, and similarly v3 being directly connected to u3 can coloured either with red or blue.

Summarizing the choices below ->

v1 -> blue or green

v2 -> red or green

v3 -> red or blue

and, v1, v2,v3 must be coloured with different colour as they are directly connected to each other.

Lets suppose we colour v1 blue, then v3 must be coloured red, and then v2 must be coloured green. Another option can be v1 ->green, v2->red, v3->blue.

So, for each innermost triangle colouring there exists two separate colourings for the middle triangle.

And, in a similar way for each middle triangle colouring there exists two colourings of the outermost triangle.

Total colouring = product of colouring of innermost, middle, outermost triangle colouring.

= 6 X 2 X 2 = 24.
answered by Active (1.1k points) 1 2 11

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
Top Users Oct 2017
  1. Arjun

    23398 Points

  2. Bikram

    17078 Points

  3. Habibkhan

    8264 Points

  4. srestha

    6296 Points

  5. Debashish Deka

    5438 Points

  6. jothee

    4978 Points

  7. Sachin Mittal 1

    4772 Points

  8. joshi_nitish

    4348 Points

  9. sushmita

    3964 Points

  10. Rishi yadav

    3804 Points


Recent Badges

Notable Question KISHALAY DAS
Notable Question sh!va
Notable Question abhijeetbzu
Great Question jothee
Popular Question rahul sharma 5
Nice Question mohit kumar 5
Notable Question rishu_darkshadow
Nice Comment Pranay Datta 1
Copy Editor Shivansh Gupta
Nice Comment KULDEEP SINGH 2
27,324 questions
35,176 answers
84,108 comments
33,279 users