Question:

Consider a simple undirected graph of 10 vertices. If the graph is disconnected, then the maximum number of edges it can have is

Show Hint

In a disconnected graph, the maximum number of edges is achieved when the graph is a forest, i.e., a collection of trees.
Updated On: Jan 30, 2026
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 36

Solution and Explanation

To find the maximum number of edges in a disconnected graph, consider that removing the fewest number of edges while ensuring the graph remains disconnected is optimal. The simplest form of disconnection involves one component containing the maximum number of vertices possible without encompassing all vertices. Let one component have 9 vertices and the other 1 to ensure disconnection. The maximum number of edges in the 9-vertex component is given by: 9(9-1)/2=36.
No edges exist between the separate components.
Thus, the maximum number of edges ensuring the graph remains disconnected is 36.

Was this answer helpful?
0
0

Top Questions on Graph - Connectivity