- Cayley's formula
tree with 2 vertices, trees with 3 vertices and trees with 4 vertices.
In
mathematics , Cayley's formula is a result ingraph theory named afterArthur Cayley . It states that if "n" is an integer bigger than 1, the number of trees on "n" labeled vertices is:
It is a particular case of
Kirchhoff's theorem .Proof of the formula
Let be the set of trees possible on the vertex set . We seek to show that
:.
We begin by proving a lemma:
Claim: Let be positive integers such that . Let be the set of trees on the vertex set such that the degree of (denoted ) is for . Then
:
Proof:We go by induction on . For and the proposition holds trivially and is easy to verify. We move to the inductive step. Assume and that the claim holds for degree sequences on vertices. Since the are all positive but their sum is less than , such that . Assume without loss of generality that
For let be the set of trees on the vertex set such that:
:
where is the degree of .
Trees in correspond to trees in with the edge , and if , then
Since must have been connected to some node in every tree in , we have that
:
Further, for a given we can apply either the inductive assumption (if ) or our previous note (if , then ) to find :
: for
Observing that
:
it becomes clear that, in either case,So we have
::
:
:
And since and , we have:
:
which proves the lemma.
We have shown that given a particular list of positive integers such that the sum of these integers is , we can find the number of trees with labeled vertices of these degrees. Since every tree on vertices has edges, the sum of the degrees of the vertices in an -vertex tree is always . To count the total number of trees on vertices, then, we simply sum over possible degree lists. Thus, we have:
:
If we reindex with for , we have:
:
Finally, we can apply the
multinomial theorem to find::
as expected.
Note
Prüfer sequence s yield one of the many alternate proofs of Cayley's formula.
Wikimedia Foundation. 2010.