If G is the forest with 54 vertices and 17 connected components, G has _______ total number of edges.

If G is the forest with 54 vertices and 17 connected components, G has _______ total number of edges. Correct Answer 37

Here we are given a forest with 54 vertices and 17 components. A component is itself a tree and since there are 17 components means that every component has a root, therefore we have 17 roots. Each new vertex of the forest contributes to a single edge to a forest. So for remaining 54-17 = 37 vertices we can have m-n=37 edges. Hence, answer is 37.

Related Questions