Prove that every tree with 2 or more vertices is 2-chromatic.

Since a tree is connected and has no cycle if one starts coloring any one vertex with a specific color and keeps on coloring every alternate vertex with another color, the entire graph can be colored with only two colors and since there is one and only one path between any two vertices in a tree, no two vertices will have the same color.
Hence every Tree with 2 or more vertices is 2-Chromatic.    [Proved]

                                                                FIG (I)


                                                                 FIG (II)

Comments

Popular posts from this blog

Show that number of pendant vertices in a binary tree is (n+1)/2 ,where n is the number of vertices in the tree.

Top 5 websites to learn coding Online