recategorized by
4,448 views
1 votes
1 votes
An undirected graph G has n vertices and n-1 edges then G is

A.    Cyclic
B.    Addition of edge will make it cyclic
C.    Eulerian
D.    Is a Tree
recategorized by

2 Answers

4 votes
4 votes
If the graph is connected (considering)  then Its tree.

hence Option D) Its a tree is correct.
0 votes
0 votes

Let G be a connected graph with n vertices and n −1 edges. We have to show that G contains no cycles. Assume to the contrary that G contains cycles.Remove an edge from a cycle so that the resulting graph is again connected. Continue this process of removing one edge from one cycle at a time till the resulting graph H is a tree. As H has n vertices, so number of edges in H is n−1. Now, the number of edges in G is greater than the number of edges in H. So n−1 > n−1, which is not possible. Hence, G has no cycles and therefore  G is a tree.

Related questions

0 votes
0 votes
2 answers
1
yuuchan asked Jul 22, 2023
530 views
If G is a complete bipartite graph with n vertices (n >= 2) and minimum number of edges, then matching number of G is ____1n-1⌊n/2⌋⌈n/2⌉
2 votes
2 votes
2 answers
2
shivani2010 asked Jun 12, 2016
4,317 views
An undirected graph is Eulerian if and only if all vertices of G are of the sum of the degrees of all nodes isA. Same degreeB. ODD degreeC. Need not be ODDD. ...
2 votes
2 votes
1 answer
4