TOPICS
Search

Rainbow Subgraph


A rainbow subgraph of a vertex-colored graph is a subgraph whose vertices have pairwise distinct colors (Angles d'Auriac et al. 2016). In a graph with an edge coloring, a rainbow subgraph is a subgraph whose edges have pairwise distinct colors.

If a rainbow subgraph is also tropical, then it is a colorful subgraph.

For a graph H, let f(n,e,H) be the least number of colors in an edge coloring of some graph on n vertices with at least e edges in which every copy of H is a rainbow subgraph. Shahab (2026) proved

 f(n,|_n^2/4_|+1,C_7)=(1/8+o(1))n^2
(1)

as n->infty, where |_x_| is the floor function. Together with the result of Bucić et al. (2026) for k>=4, this proves the Burr-Erdős-Graham-Sós conjecture

 f(n,|_n^2/4_|+1,C_(2k+1))=(1/8+o(1))n^2
(2)

for every fixed integer k>=3. This is Problem 809 in the Erdős problems collection.

Chao et al. (2026) proved that a simple graph with m edges and an edge coloring using r>=3 colors has at most

 sqrt((2(r-2))/(9r))m^(3/2)
(3)

rainbow triangles, meaning rainbow copies of the cycle graph C_3. The constant is sharp whenever an affine plane of order r-1 exists. In that case, the extremal graphs are balanced graph blow-ups of the complete graph on the points of such an affine plane, with colors assigned by parallel classes of lines, together with possible isolated vertices.


See also

Burr-Erdős-Graham-Sós Conjecture, Affine Plane, Colorful Cycle, Colorful Subgraph, Edge Coloring, Rainbow Cycle, Tropical Subgraph, Vertex-Colored Graph

Explore with Wolfram|Alpha

References

Angles d'Auriac, J.-C.; Cohen, N.; El Maftouhi, A.; Harutyunyan, A.; Legay, S.; and Manoussakis, G. "Connected Tropical Subgraphs in Vertex-Colored Graphs." Disc. Math. Theor. Comput. Sci. 17, 31-42, 2016. https://doi.org/10.46298/dmtcs.2151.Bucić, M.; Chen, K.; and Ma, J. "On a Maximal Anti-Ramsey Conjecture of Burr, Erdős, Graham, and Sós." 24 Mar 2026. https://arxiv.org/abs/2603.18952.Burr, S. A.; Erdős, P.; Graham, R. L.; and Sós, V. T. "Maximal Antiramsey Graphs and the Strong Chromatic Number." J. Graph Theory 13, 263-282, 1989.Chao, T.-W.; Sankar, M.; and Yu, H.-H. H. "On Colorful Kruskal-Katona Theorems." 1 Oct 2026. https://arxiv.org/abs/2610.02165.Shahab, A. "The Burr-Erdős-Graham-Sós Conjecture for the Seven-Cycle." 29 Sep 2026. https://arxiv.org/abs/2609.38286.

Cite this as:

Weisstein, Eric W. "Rainbow Subgraph." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/RainbowSubgraph.html

Subject classifications