• retagged by
22,636 views
41 41 votes
Consider a simple undirected graph of $10$ vertices. If the graph is disconnected, then the maximum number of edges it can have is _______________ .

10 Answers

Best answer
52 52 votes

Detailed Video Solution Here: Maximum number of edges in disconnected graph

We need a disconnected graph, that too with the maximum number of edges possible. To satisfy both these conditions, we can say that we must have a graph with exactly two components, each of which is a complete graph.

To maximize the number of edges, we should make a complete graph with $9$ vertices, and isolate one vertex.

Hence, we get $36$ edges. (In a complete graph on n vertices, we have ${}^nC_2$ edges. So, for a complete graph on 9 vertices, we have ${}^9C_2 = 36$ Edges)

In general, we can say that, for n vertices disconnected graph, maximum number of edges possible is ${}^{(n-1)}C_2$.


Some Important Questions on Connected & Disconnected Graphs: Important Questions on Connected, Disconnected Graphs (Click HERE)

• edited by
14 14 votes

To get maximum number of edges we can isolate 1 vertex and make a complete graph of 9 vertices.

Max. number of edges with 9 vertices = $\binom92$ = $\frac{9!}{7! *2} = 36$

Answer: 36 edges

8 8 votes

Please refer the following image with two concepts:

1 1 vote
For all graph problems the trick which works is scale down the problem.

It's really simple. Just take 5 vertices.

Now try to draw disconnected graphs. It's simple to understand that if we take more than 3 components we can't have max edges possible because the vertices will be spreaded into different components

The possibilities can be

Connected components of 3 vertices & connected components of 2 vertices.

-> with 3 vertices we can have max 3 edges that is a complete graph and with 2 vertices we can have 1 edge. Total 4 edges

Connected components of 4 vertices & connected components of 1 vertices.

-> with 4 vertices a complete graph has max 6 edges and with 1 vertices 0 edge possible. So total 6 edges.

So we got the max when we form 2 connected component with n-1 vertices and last vertex.

And then form a complete graph with n-1 vertices that's the answer.

For 10 vertices do the same now.

Complete graph of 9 vertices gives 36 edges

Last vertex gives 0 edge

So total 36 edges
1 1 vote
Since the graph needs to be disconnected with maximum number of edges. So 1 Vertex needs to be left. So I can connect remaining 9 Vertices with each other and form a complete graph.

Connecting 1st vertex with remaining 8 vertices=8 edges.

Connecting 2nd vertex with remaining 7 vertices (because it is already connected to 1st vertex)=7 edges.

Connecting 3rd vertex with 6 vertices (because it is already connected to 1st vertex and 2nd vertex)=6 edges.

This is an arithmetic progression with 8 terms, first term 8, and common difference −1.

It forms an A.P. = 8+7+6+...........+1

Sum of A.P.= n/2 [2a+(n-1)d]

                 = 8/2 [2*8 + 7(-1)]

                 = 4[16-7]

                 = 4 * 9

                  = 36

Hence, we get 36 edges.
• reshown by
Answer:
Position:
Show:

Related questions

39 39 votes
5 answers 5 answers
17.9k
17.9k views
Arjun asked Feb 15, 2022
17,932 views
Consider a simple undirected unweighted graph with at least three vertices. If $\textit{A}$ is the adjacency matrix of the graph, then the number of $3–$cycles in the gra...
42 42 votes
4 4 answers
17.7k
17.7k views
Arjun asked Feb 15, 2022
17,708 views
Which of the properties hold for the adjacency matrix $A$ of a simple undirected unweighted graph having $n$ vertices?The diagonal entries of $A^{2}$ are the degrees of t...
35 35 votes
4 answers 4 answers
18.2k
18.2k views
Arjun asked Feb 15, 2022
18,174 views
The following simple undirected graph is referred to as the Peterson graph.Which of the following statements is/are $\text{TRUE}?$The chromatic number of the graph is $3....
1 1 vote
0 0 answers
477
477 views
admin asked Dec 15, 2022
477 views
Consider the following graph.Find closeness centrality of $\text{‘A’}$ node.