


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



































Tree
Not Tree
Tree
Theorem: Let G be a graph with n nodes and e edges
The following are equivalent:
joined by a unique path
Proof: (by induction) Assume true for every graph with < n nodes
Let G have n nodes and let x and y be adjacent
Let n 1 ,e 1 be number of nodes and edges in G 1 Then n = n 1 + n 2 = e 1 + e 2 + 2 = e + 1
x y
Proof: (by contradiction)
Assume G is connected with n = e + 1, and G has a cycle containing k nodes
k nodes
Note that the cycle has k nodes and k edges Starting from cycle, add other nodes and edges until you cover the whole graph Number of edges in the graph will be at least n
a b
c d
16 labeled trees with 4 nodes
3 labeled trees with 3 nodes
125 labeled trees with 5 nodes
The number of labeled trees on n nodes is n n-