In combinatorial mathematics and extremal graph theory, the Ruzsa–Szemerédi problem or (6,3)-problem asks for the maximum number of edges in a graph in which every edge belongs to a unique triangle.
Equivalently it asks for the maximum number of edges in a balanced bipartite graph whose edges can be partitioned into a linear number of induced matchings, or the maximum number of triples one can choose from
The problem is named after Imre Z. Ruzsa and Endre Szemerédi, who first proved that its answer is smaller than
[1] The following questions all have answers that are asymptotically equivalent: they differ by, at most, constant factors from each other.
[1] The Ruzsa–Szemerédi problem asks for the answer to these equivalent questions.
To convert the bipartite graph induced matching problem into the unique triangle problem, add a third set of
In the other direction, an arbitrary graph with the unique triangle property can be made into a balanced tripartite graph by choosing a partition of the vertices into three equal sets randomly and keeping only the triangles that respect the partition.
This will retain (in expectation) a constant fraction of the triangles and edges.
A balanced tripartite graph with the unique triangle property can be made into a partitioned bipartite graph by removing one of its three subsets of vertices, and making an induced matching on the neighbors of each removed vertex.
To convert a graph with a unique triangle per edge into a triple system, let the triples be the triangles of the graph.
Then, form a graph connecting any pair of points that both belong to any of the remaining triples.
A nearly-quadratic lower bound on the Ruzsa–Szemerédi problem can be derived from a result of Felix Behrend, according to which the numbers modulo an odd prime number
[5] To construct a graph of this form from Behrend's arithmetic-progression-free subset
, the result is a nine-vertex balanced tripartite graph with 18 edges, shown in the illustration.
The graph formed from the union of these triangles has the desired property that every edge belongs to a unique triangle.
, violating the assumption that there be no arithmetic progressions
[5] The Szemerédi regularity lemma can be used to prove that any solution to the Ruzsa–Szemerédi problem has at most
[5] A stronger form of the graph removal lemma by Jacob Fox implies that the size of a solution is at most
are instances of little o and big Omega notation, and
[7] In a graph with the unique triangle property, there are (naively)
The problem is named after Imre Z. Ruzsa and Endre Szemerédi, who studied this problem, in the formulation involving triples of points, in a 1978 publication.
[5] However, it had been previously studied by W. G. Brown, Paul Erdős, and Vera T. Sós, in two publications in 1973 which proved that the maximum number of triples can be
[9] Ruzsa and Szemerédi provided (unequal) nearly-quadratic upper and lower bounds for the problem, significantly improving the previous lower bound of Brown, Erdős, and Sós, and proving their conjecture.
[5] The existence of dense graphs that can be partitioned into large induced matchings has been used to construct efficient tests for whether a Boolean function is linear, a key component of the PCP theorem in computational complexity theory.
[10] In the theory of property testing algorithms, the known results on the Ruzsa–Szemerédi problem have been applied to show that it is possible to test whether a graph has no copies of a given subgraph
[11] In the theory of streaming algorithms for graph matching (for instance to match internet advertisers with advertising slots), the quality of matching covers (sparse subgraphs that approximately preserve the size of a matching in all vertex subsets) is closely related to the density of bipartite graphs that can be partitioned into induced matchings.
This construction uses a modified form of the Ruzsa-Szemerédi problem in which the number of induced matchings can be much smaller than the number of vertices, but each induced matching must cover most of the vertices of the graph.
In this version of the problem, it is possible to construct graphs with a non-constant number of linear-sized induced matchings, and this result leads to nearly-tight bounds on the approximation ratio of streaming matching algorithms.
[12][13][14][15] The subquadratic upper bound on the Ruzsa–Szemerédi problem was also used to provide an
[17] It also provides the best known upper bound on tripod packing.