Dense graph

For the family of bipartite graphs Km,n where m = n, the density of the graphs approaches 1/2 as the number of vertices approaches infinity, and so the family is not sparse.

In mathematics, a dense graph is a graph in which the number of edges is close to the maximal number of edges (where every pair of vertices is connected by one edge). The opposite, a graph with only a few edges, is a sparse graph. The distinction of what constitutes a dense or sparse graph is ill-defined, and is often represented by 'roughly equal to' statements. Due to this, the way that density is defined often depends on the context of the problem.