TOPICS
Search

Graph Density


The density of a simple graph is defined as the edge count m divided by the possible number of edges in the graph, i.e.,

rho(G)=(|E(G)|)/((|V(G)|; 2))
(1)
=(2m)/(n(n-1)),
(2)

where m=|E(G)| is the edge count of G, n=|V(G)| the vertex count, and (a; b) is a binomial coefficient.

The density of a simple graph therefore ranges from 0 (for an empty graph) to 1 (for a complete graph).

The density of the singleton graph K_1 is undefined since there are no possible edges for a 1-vertex graph, making K_1 perplexingly both a complete graph and an empty graph.


See also

Edge Count, Vertex Count

Explore with Wolfram|Alpha

Cite this as:

Weisstein, Eric W. "Graph Density." From MathWorld--A Wolfram Web Resource. https://mathworld.wolfram.com/GraphDensity.html

Subject classifications