Let be a graph. Define , where is the number of vertices of degree in If and are two different trees with , then
View worked solution
Answer: C
By definition, is the sum of the degrees of all vertices in the graph .
According to the Handshaking Lemma, the sum of degrees of all vertices in any graph is equal to twice the number of edges, :
For any tree with vertices, the number of edges is always . Therefore, for a tree:
Given that and are two trees with , we have:
Thus, the number of vertices in both trees must be equal.
Free practice · Your answers on this page are not saved.
