The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+2 votes
149 views

Let A has n vertices. If Ā is connected graph then the maximum number of edges that A can have is

a) (n-1)(n-2)/2
b) n(n-1)/2
c) n-1
d) n

asked in Mathematical Logic by Active (1.2k points) | 149 views

I am getting option a , but by substitution , what is the standard way to solve it. I solve it for n=3,4 ,5 and got option a

think like ...

you have a grapg A with n vertices.  excepts one vertex, all n-1 vertices are making a complete graph with total

(n-1)(n-2)/2 edges. Now if we see complement of this graph then it would be connected right ( A' ->star graph)??

And if we add any more edge in A,  then it would make its complement disconnected ...

Note-  we are not told that A is also connected.. only A' is connected.

just give it  think ..

1 Answer

+2 votes
Best answer
If  $A^c$   is connected then minimum no. of  edges in $A^c$   are n-1

so  maximum no. of edges in A= Total edges - minimum edges in $A^c$

= $_{2}^{n}\textrm{c}$ - (n-1)

=n(n-1)/2 -(n-1)

=(n-1)(n-2)/2

option A)
answered by Loyal (4.3k points)
selected by
option A is correct.


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

29,138 questions
36,958 answers
92,024 comments
34,802 users