A graph with no cycles is called a forest. A connected forest is called a tree.
Show that TFAE11 1 the following are equivalent for a graph on vertices.
is a forest.
has edges.
Show that a graph is a tree iff it is connected and has edges.
Prove that there exists two vertices of degree in a tree.
A labelled tree on is a tree with vertex set . Note that two labelled trees are equal only if their edge sets are equal. Thus isomorphic labelled trees are not necessarily equal for us. A spanning subgraph is said to be a spanning tree of if is a tree. Now it is easy to observe that a labelled tree on is nothing but a spanning tree of , the complete graph on .
The number of labelled trees on (or number of spanning trees of ) vertices is
We shall construct a bijection
Given a tree on , we generate a sequence of trees inductively as follows : Set . Given tree on vertices, let be the least labelled vertex of degree 1 and delete the edge incident on to obtain . Denote by , the neighbour of . Observe that is and the process terminates at when the tree has only one vertex. Now define as
Clearly is a map from to . We shall prove that it is a bijection by constructing using induction. For , is trivially a bijection.
Some observations : (i) is the Prufer code of . (ii) The degree
(Try to prove this yourself by induction on and then see the proof below). (iii) As a consequence we have that
(again prove by induction on using (ii)).
Suppose is a bijection for and let . Now, let . Consider and by induction assumption is the unique Prufer code of a tree on since is a bijection on by induction assumption. Define Clearly, is a tree as and . If is a tree such that , then by the property (ii) of Prufer code, is nothing but vertices of degree 1. By definition of , it has the least label among such vertices and thus by construction . Hence, . By uniqueness of , we have that and hence So is well-defined on and is and onto. Thus is a bijection.
Trivially (ii) holds for . Assume that it holds for all trees on vertices. Let be a tree on . By (i) and induction hypothesis, for , we have that . Since for all and , , (ii) holds for as well. ∎
The number of labelled spanning trees on vertices with degree sequence is for .
Show that Cayley’s theorem follows as a corollary of the tree counting theorem.
Denote by the number of trees with degree sequence . The theorem holds for . Assume that it is true for . Assume that .
Suppose is joined to in a tree , then is a tree on with degree sequence . Thus we get that
where means is absent. Note that it is not possible that and for , . Now check inductively that ∎
Give an alternative proof of tree counting theorem using Prufer codes.
As with any such a fundamental result, there are multiple proofs.
We shall see a more powerful tree counting argument (known as Kirchoff’s matrix tree theorem) using matrix theory later.
There is another proof via bijection due to Joyal and a recent double counting argument due to Pitman.
All these five proofs can be found in [Aigner et al. 2010, Chapter 30].