Awesome q2a theme
0 votes
13 views

How many edges must a graph with N vertices have in order to guarantee that it is connected? 

here on stack overflow they said (n-1)*(n-2)/2 +1

https://cs.stackexchange.com/questions/7373/how-many-edges-must-a-graph-with-n-vertices-have-in-order-to-guarantee-that-it-i

but i have doubt in it suppose we consider graph on 10 vertices.

here we need just 21 edges for n=10

but according to given formula it is 9*8/2  + 1 = 37.

so what is correct?

in Graph Theory by (22 points) | 13 views
0
With 21 edges and 10 vertices, can't we have a disconnected graph?
If yes, it mean we can't guarantee graph is connected with 10 vertices and 21 edges.
0
How can we have disconnected graph (simple graph)

can you show , how can i add 21st edge in above graph such that after addition graph will be still disconnected and simple?
0
In that 10 vertices group... Make it complete graph..

Please log in or register to answer this question.

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
Top Users 2020 Aug 03 - 09
  1. Mellophi

    90 Points

  2. Ashutosh07091999

    61 Points

  3. prakhar2810

    7 Points

  4. toppoavinash

    6 Points

  5. prashastinama

    6 Points

  6. Kushagra गुप्ता

    5 Points

  7. prajjwalsingh_11

    4 Points

  8. manas_kulkarni

    4 Points

  9. Shaik Masthan

    4 Points

  10. srestha

    3 Points

Weekly Top User (excluding moderators) will get free access to GATE Overflow Test Series for GATE 2021
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Aug 2020
  1. Mellophi

    96 Points

  2. Ashutosh07091999

    64 Points

  3. Shaik Masthan

    11 Points

  4. Unnayan kumar

    8 Points

  5. prakhar2810

    7 Points

  6. Sourav Kar

    7 Points

  7. anurag_yo

    7 Points

  8. toppoavinash

    6 Points

  9. prashastinama

    6 Points

  10. sureshthiyam

    6 Points

7,698 questions
1,820 answers
11,098 comments
95,081 users