edited by
12,168 views
1 votes
1 votes

The number of edges in a complete graph with $N$ vertices is equal to :

  1. $N (N−1)$
  2. $2N−1$
  3. $N−1$
  4. $N(N−1)/2$
edited by

2 Answers

0 votes
0 votes
ans is  D

in complete graph there is an edge between every  pair of vertices. so in complete graph with n vertices the degree of each vertex is n-1 . so total degrees of all vertices n(n-1)

according to handshaking theorem

2x No of edges =sum of degree of all vertices (n(n-1) here)

so No of edges =n(n-1)2
0 votes
0 votes

In a complete graph of n vertices every vertex is adjacent to n-1 other vertices 
so degree of each node is $n-1$ and there are $n$ vertices ,which makes $n(n-1)$ as the total degree


By handshaking Lemma we have → (For undirected graphs)
Sum of all the degree of all the vertices =$ 2* |E|$ where |E| represents the no of edges in the graph 
$2*|E|=n(n-1)$
$|E|=n(n-1)/2$

So the correct answer will be option D.

Related questions

0 votes
0 votes
1 answer
1
go_editor asked Mar 27, 2020
1,520 views
Which of the regular expressions corresponds to this grammar ?$S → AB/AS, A → a/aA, B → b$$aa^*b^+$$aa^*b$$(ab)^*$$a(ab)^*$
0 votes
0 votes
1 answer
2
0 votes
0 votes
0 answers
3
go_editor asked Mar 27, 2020
334 views
Which of the following is not true ? A−B=A ∩ ~ B
0 votes
0 votes
0 answers
4
go_editor asked Mar 27, 2020
256 views
If $(a^2−b^2)$ is a prime number where a and b $\in$ N, then :$a^2−b^2=3$$a^2−b^2=a−b$$a^2−b^2=a+b$$a^2−b^2=5$