2. For each of the following graphs, find the chromati is possible. In your drawing, make sure the graphs are! 3


Solution-
Chromatic number is the bare minimum of colours needed to colour a graph so that no two of its neighbouring vertices have the same colour allocated to them.
The chromatic number of any given graph can be found using the greedy technique described below.
let colors are represented by 0,1,2,3,4,5,14 and each vertex is given the color with the smallest member that is not
already used by one of its neighbors.
Greedy Algorithm:
Step 1: Color first nexter with the fisst color. step: consider the remaining vertex One by one and do the following
i) Color the currently picked vertex with the lowest numbered color if it has not been used to color any of its adjacent vertices.
ii) if it has been used, then choose the next least numbered color .
iii) if all the previously used colors have been used then assign a new Color to the currently picked vertex.
Step by step
Solved in 4 steps with 4 images









