Prove that all trees are 2-colourable, from this are all trees there planar or not? Justify your answer.

I am just stuck on how to start this question, how do I prove all trees are 2-colourable...

Many thanks!

Printable View

- October 12th 2010, 03:27 AMusagi_killer2 colourable tree
Prove that all trees are 2-colourable, from this are all trees there planar or not? Justify your answer.

I am just stuck on how to start this question, how do I prove all trees are 2-colourable...

Many thanks! - October 12th 2010, 04:04 AMTraveller
Use induction. Use the facts that if we remove a leaf from a tree it still remains a tree and a leaf is adjacent to only one vertex.

- October 12th 2010, 06:18 PMNguyen
First, a graph is bipartite if it can be colored with two colors.

So lets prove by induction that a tree is bipartite.

Let be the proposition 'every tree with n vertices is bipartite.' The is true, which is trivial.

Suppose that and that is true. Let be a tree with vertices. Then contains a leaf . Let be be the vertex adjacent to and let be the tree formed by removing from . Then has a 2-coloring, and we can extend this to by coloring a different color to .

Thus every tree is 2-colorable.

As to the question about if all trees are planar, I wouldn't know what to do. What are your thoughts on this?