edited by
1 flag 18,709 views
39 votes
39 votes

The maximum number of edges in a $n$-node undirected graph without self loops is

  1. $n^2$
  2. $\frac{n(n-1)}{2}$
  3. $n-1$
  4. $\frac{(n+1)(n)}{2}$
  • ๐Ÿšฉ Edit necessary | ๐Ÿ‘ฎ Nirbhay Chaubey | ๐Ÿ’ฌ โ€œThe question should mention that the graph is a simple graph, else it has infinitely many no. of edges.โ€
edited by

8 Answers

0 votes
0 votes

max no. of edegs without self loop and parallel edges are  n*(n-1)/2
but when we add self loop n vertices can have n self loop so add +n to above formula
and you will get
 

Ans โ€“ D

0 votes
0 votes

Since the graph is undirected (v1,v2) is same as (v2,v1).So we care only about picking a pair and placing an edge between them without any self loops and multiple edges as simple undirected graph is needed

No of ways to pick a pair from n objects =nC2=n(n-1)/2

 

Correct answer is option B.

0 votes
0 votes

 maximum number of edges in a n-node undirected graph without self loops is complete graph.

 

so, no. of edges in complete graph = nC2 = n(n-1)/2

I hope my answer helps you a lot.

Answer:

Related questions

29 votes
29 votes
3 answers
5
Kathleen asked Sep 15, 2014
11,485 views
The performance of a pipelined processor suffers if:the pipeline stages have different delaysconsecutive instructions are dependent on each otherthe pipeline stages share...
77 votes
77 votes
12 answers
6
Kathleen asked Oct 4, 2014
34,790 views
The number of distinct simple graphs with up to three nodes is$15$$10$$7$$9$
8 votes
8 votes
1 answer
7
go_editor asked Jun 13, 2016
4,004 views
Consider the graph shown in the figure below:Which of the following is a valid strong component?$a, c, d$$a, b, d$$b, c, d$$a, b, c$
33 votes
33 votes
5 answers
8
Kathleen asked Oct 8, 2014
21,170 views
The minimum number of edges in a connected cyclic graph on $n$ vertices is:$n-1$$n$$n+1$None of the above