Solution to Show that a complete graph with n vertices has n(n -1) 2 edges - Sikademy
Author Image

Archangel Macsika

Show that a complete graph with n vertices has n(n -1) 2 edges

The Answer to the Question
is below this banner.

Can't find a solution anywhere?

NEED A FAST ANSWER TO ANY QUESTION OR ASSIGNMENT?

Get the Answers Now!

You will get a detailed answer to your question or assignment in the shortest time possible.

Here's the Solution to this Question

Solution:

We have to show that a complete graph with n vertices has exactly \frac{n(n-1)}{2} edges.

A complete graph means that every vertex is connected with every other vertex.

If we take one vertex of the complete graph, we therefore have n-1 outgoing edges from that particular vertex.

Now, we have n vertices in total, so we might be tempted to say that there are n(n−1) edges in total, n-1 for every vertex in our graph.

But this method counts every edge twice, because every edge going out from one vertex is an edge going into another vertex.

Hence, we have to divide your result by 2.

We get \frac{n(n-1)}{2}.

Hence, proved.


Related Answers

Was this answer helpful?

Join our Community to stay in the know

Get updates for similar and other helpful Answers

Question ID: mtid-5-stid-8-sqid-2694-qpid-1164