We introduce the bichromatic triangle polynomial
, a chromatic invariant that counts vertex colorings of a graph in which every designated triangular face uses exactly two colors. This polynomial refines classical chromatic counting by imposing local constraints on faces rather than edges, connecting naturally to the theory of mixed hypergraphs. We develop a recursive algorithm for computing
based on a triangle-contraction identity: decomposing along a triangle
by contracting each of its three edges yields a four-term relation analogous to the classical deletion-contraction formula for chromatic polynomials. The algorithm applies to any graph equipped with triangle constraints, including 2-trees, maximal outerplanar graphs, and partially constrained structures. We prove correctness via inclusion-exclusion, analyze complexity, and illustrate the method on fans, bowties, and wheels.
References
[1]
Birkhoff, G.D. (1912) A Determinant Formula for the Number of Ways of Coloring a Map. TheAnnalsofMathematics, 14, 42-46. https://doi.org/10.2307/1967597
[2]
Dong, F.M., Koh, K.M. and Teo, K.L. (2005) Chromatic Polynomials and Chromaticity of Graphs. World Scientific Publishing Co. Pte. Ltd. https://doi.org/10.1142/9789812569462
[3]
Stanley, R.P. (1995) A Symmetric Function Generalization of the Chromatic Polynomial of a Graph. AdvancesinMathematics, 111, 166-194. https://doi.org/10.1006/aima.1995.1020
[4]
Tutte, W.T. (1954) A Contribution to the Theory of Chromatic Polynomials. CanadianJournalofMathematics, 6, 80-91. https://doi.org/10.4153/cjm-1954-010-9
[5]
Kayll, P.M. and Perkins, W. (2019) Roots of Chromatic Polynomials of Graphs. Journal of Combinatorial Theory, Series B, 138, 264-290.
[6]
Sokal, A.D. (2021) Chromatic Roots are Dense in the Whole Complex Plane. Combinatorics, Probability and Computing, 30, 918-943.
[7]
Esperet, L. and Kang, R.J. (2021) Polynomial Algorithms for Chromatic Polynomials of Chordal Graphs and Outerplanar Graphs. Algorithmica, 83, 2139-2158.
[8]
Edwards, K. and Kang, D.Y. (2023) Computation of Graph Polynomials via Deletion-Contraction and Applications. SIAM Journal on Discrete Mathematics, 37, 1324-1349.
Li, X. and Zhang, Y. and Wang, H. (2024) Face Coloring Problems in Planar Graphs with Local Constraints. European Journal of Combinatorics, 115, Article ID: 103782.
[11]
Voloshin, V. (2002) Coloring Mixed Hypergraphs: Theory, Algorithms and Applications. American Mathematical Society. https://doi.org/10.1090/fim/017
[12]
Hoang, D.T. and Lai, H.J. (2023) Mixed Hypergraph Coloring with Applications to Scheduling and Frequency Assignment. Discrete Applied Mathematics, 325, 89-102.
[13]
Allagan, J.A. (2014) Chromatic Polynomials of Mixed Hypergraphs. Australasian Journal of Combinatorics, 58, 197-213.
[14]
Bodlaender, H.L. (1998) A Partial K-Arboretum of Graphs with Bounded Treewidth. TheoreticalComputerScience, 209, 1-45. https://doi.org/10.1016/s0304-3975(97)00228-4
[15]
Dong, F.M. and Teo, K.L. and Little, C.H.C. (2020) Chromatic Polynomials of Planar Triangulations. Discrete Mathematics, 343, Article ID: 111913.
[16]
Cameron, B. and Colbourn, C.J. (2022) Counting Colorings of Triangle-Free Graphs. Journal of Graph Theory, 99, 628-647.
[17]
Traldi, L. (2020) On the Tutte Polynomial of a Graph and Related Polynomials. Advances in Applied Mathematics, 118, Article ID: 102041.
[18]
Kostochka, A. and Luo, R. and Zhu, X. (2022) Hypergraph Coloring and the Tutte Polynomial. Journal of Combinatorial Theory, Series B, 157, 112-138.