• recategorized by
2,112 views
1 1 vote
The maximum number of edges in a n-node undirected graph WITH self-loops is?

1 Answer

Best answer
4 4 votes
If the graph is without self-loop,

then to determine the maximum no,. of edge

We need to select $2$ node from $n$ nodes i.e. $^nC_2$ or $\dfrac{n(n-1)}{2}$

But, The question tells us to find out the maximum no. of edge of a graph without self-loop

Now, Every vertex is having $(n+1)$ edge in an undirected graph having $n-$ nodes & with self-loop

(Assuming every vertex is having a self-loop )

If we take a universal vertex which is having a degree  $(n-1)$ & we know that a self-loop is contributing $+2$ (both in-degree & out-degree) degree in a universal or dominating vertex.

As the graph has $n$- vertex, ∴ there can be maximum $n$-loops.

∴$\color{green}{\text{Maximum no. of edges }}$= $n + ^nC_2$

$\qquad  \qquad =n +\bigg \{\dfrac{n!}{2! \times (n-2)!}\bigg\}$

$\qquad  \qquad =n + \bigg\{\dfrac{n \times (n-1) \times (n-2) \times .....}{2! \times (n-2)!}\bigg\}$

$\qquad \qquad =n+ \dfrac{n(n-1)}{2} $

$\qquad \qquad =\dfrac{n(n-1) + 2n}{2}$

$\qquad \qquad  =\dfrac{n(n-1 + 2)}{2}$

$\color{purple}{\qquad \qquad =\dfrac{n(n+1)}{2}}$
• edited by
Position:
Show:

Related questions

1 1 vote
3 3 answers
667
667 views
GO Classes asked Jun 9, 2025
667 views
 How many of the following given set of vertices is/are CORRECT strongly connected components for the given directed graph?$C$$A$$E$$IC$$F$$IDE$$I$$H$$GJ$
1 1 vote
0 0 answers
1.5k
1.5k views
tishhaagrawal asked Dec 16, 2023
1,497 views
Q. 52Solution VideoHave any Doubt?Consider the graph G given below:The number of labelled subgraph of $G$ is equal to $\qquad$ .- 121Correct OptionSolution :121\begin{tab...
0 0 votes
0 0 answers
940
940 views
AngshukN asked May 22, 2022
940 views
This is the problem snapshot
2 2 votes
1 1 answer
1.3k
1.3k views
gmrishikumar asked Apr 28, 2019
1,253 views
I have trouble understanding the difference between DAG and Multi-stage graph. I know what each of them isBut I think that a multi-stage graph is also a DAG. Are multi-st...