in Graph Theory edited by
1,237 views
1 vote
1 vote

The number of edges in a complete graph with $‘n’$ vertices is equal to :

  1. $n(n-1)$
  2. $\large\frac{n(n-1)}{2}$
  3. $n^2$
  4. $2n-1$
in Graph Theory edited by
1.2k views

2 Answers

0 votes
0 votes
In a complete graph of n vertices, each vertex has a degree of $n-1$.

Let number of edges =e

we know that,

Sum of degrees$=$ $2*e$

$(n-1) +(n-1)+(n-1)+.....+(n-1)(n times)=2*e$

$n(n-1)=2*e$

$e=n(n-1)/2$
0 votes
0 votes

A graph is called a complete graph ($K_n)$ if each vertex is connected to the $n-1$ remaining vertices.

For eg $K_3$ graph having 3 vertices and 3 edges.

in the same way, $K_4$ having 4 vertices and 6 edges.

 

For $K_n$ graph with $n$ vertex, $\frac{n(n-1)}{2}$ edges should be there.

So with the given options, only option B is satisfied. option B is correct.

Related questions

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