In mathematics, a dense graph is a special kind of graph. It is a network where most points, or vertices, are joined by lines called edges. Think of it like a group where almost everyone is friends with everyone else.
Dense graphs are useful because they help us understand how information or relationships can move in systems where everything is closely connected. In a dense graph, messages can travel quickly due to the many paths available.
What makes a graph “dense” can change depending on the situation. Sometimes, a graph with more than half of the possible connections is called dense. Other times, the rule is stricter. This flexibility lets experts use the idea of density in ways that fit their specific problems.
Dense graphs are often compared to sparse graphs, which have very few connections. Learning about both types helps in many areas, such as social networks and computer programs.
Graph density
In mathematics, a dense graph has many connections between its points. Imagine you have a group of people, and each person can shake hands with everyone else just once. If almost everyone shakes hands, we call this a dense graph because it has almost the maximum possible connections.
The density of a graph measures how close it is to having the most possible connections. For a group of people, this would mean how many handshakes happened compared to the maximum possible. A complete graph, where everyone shakes hands with everyone else, has the highest density. On the other hand, a sparse graph has very few connections, like if only a few people shook hands.
Upper density
Upper density is a way to talk about how close an infinite graph is to having as many connections as possible. It helps us understand the maximum number of connections in very large graphs.
Using a special math rule called the Erdős–Stone theorem, we know that upper density can only be certain numbers, like 1 or fractions such as 1/2, 2/3, and 3/4.
Sparse and tight graphs
Some graphs have very few lines (edges) compared to the number of points (vertices) they contain. These are called sparse graphs. For example, trees — graphs where each point is connected without any loops — are a type of sparse graph.
There are special ways to describe how sparse a graph can be using numbers. For instance, a graph might have a certain maximum number of lines depending on how many points it has. Graphs that meet this exact maximum are called "tight" graphs. Different kinds of graphs, like planar graphs (graphs that can be drawn on a flat surface without lines crossing), can also be described this way.
Sparse and dense classes of graphs
Some mathematicians study groups of graphs instead of single graphs. They call a group of graphs "somewhere dense" if a certain rule applies. This rule means that big connected graphs can be found inside smaller parts of graphs in the group. If this rule does not apply, the group is called "nowhere dense".
Certain groups of graphs, like those with limits on how their points connect, fall into a category called "biclique-free graphs". These groups do not include specific big connected graphs with two separate sets of points.
This article is a child-friendly adaptation of the Wikipedia article on Dense graph, available under CC BY-SA 4.0.
Safekipedia