TOPICS
Search

Graph Discrepancy


Graph discrepancy measures the imbalance of edge counts on induced subgraphs. In the Erdős-Spencer problem, assign a sign sigma(e) in {-1,1} to each graph edge of the complete graph K_n. The discrepancy of the signing is the largest absolute value of the sum of signs on edges within a subset S of the vertex set. The minimum over all signings is

 H(n)=min_(sigma)max_(S subset= V(K_n))|sum_(e in E(K_n[S]))sigma(e)|,

where K_n[S] is the induced subgraph on S.

Erdős and Spencer (1971) showed that H(n) has order n^(3/2). Thus there are positive constants c,C such that cn^(3/2)<=H(n)<=Cn^(3/2) for all sufficiently large n. Niedzielski (2026) formalized both bounds in Lean with AI assistance.

If the positive edges form a graph G on the same vertices, the signed sum for S is 2|E(G[S])|-(|S|; 2). It measures the deviation of the edge count from its expected value at density 1/2, up to a factor of 2.


See also

Complete Graph, Discrepancy, Induced Subgraph, Set System Discrepancy

Explore with Wolfram|Alpha

References

Erdős, P. and Spencer, J. "Imbalances in k-Colorations." Networks 1, 379-385, 1971. https://doi.org/10.1002/net.3230010407.Niedzielski, S. "Graph Burning, Cycle Ramsey Numbers, Chorded Cycles, Discrepancy, Shannon Capacity, and Monochromatic AP Density." Palomar Registry, 4 Dec 2026. https://data.palomar-registry.org/entries/PALOMAR-2026-12-04-000055-v1.json.

Cite this as:

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

Subject classifications