in Graph Theory
444 views
0 votes
0 votes

in Graph Theory
444 views

4 Comments

but it's not a simple means multi-edge is also considered right ??
0
0
Oh yes..I laid more stress on "not connected"..  if answer is C then it would mean they have not framed the question in a proper way.. :/ Else don't know :P
0
0

@Magma , probably they meant in the question that G is not connected graph , and then they are asking to find the maximum number of edges possible, graph will be simple in this case.

0
0

1 Answer

1 vote
1 vote
C should be answer

if a graph has more than $\frac{(n−1)(n−2)}{2}$ then it is connected.

A simple undirected graph with n vertices can have at most $\frac{n.(n−1)}{2}$edges.

Now disconnect the graph by disconnected one of its vertices(means remove all the edges that are incident on the nth vertex).
The maximum number of edges between the remaining n−1 vertices can be   $\frac{(n−1)(n−2)}{2}$
Now if u add 1 more edge to the graph it will again connect the nth vertex.
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true