Computing Bichromatic Triangle Polynomials via Edge Contraction
- 1 Department of Mathematics, Computer Science, and Engineering Technology, Elizabeth City State University, Elizabeth City, NC, USA
- 2 Department of Mathematics, Computer Science, and Engineering Technology, Elizabeth City State University, Elizabeth City, NC, USA
- 3 Department of Mathematics, Computer Science, and Engineering Technology, Elizabeth City State University, Elizabeth City, NC, USA
Abstract
We introduce the bichromatic triangle polynomial P G Δ ( k ) , 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 P G Δ ( k ) based on a triangle-contraction identity: decomposing along a triangle { u , v , w } 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.
- Birkhoff, G.D. (1912) A Determinant Formula for the Number of Ways of Coloring a Map. The Annals of Mathematics , 14, 42-46. https://doi.org/10.2307/1967597
- 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
- Stanley, R.P. (1995) A Symmetric Function Generalization of the Chromatic Polynomial of a Graph. Advances in Mathematics , 111, 166-194. https://doi.org/10.1006/aima.1995.1020
- Tutte, W.T. (1954) A Contribution to the Theory of Chromatic Polynomials. Canadian Journal of Mathematics , 6, 80-91. https://doi.org/10.4153/cjm-1954-010-9
- Kayll, P.M. and Perkins, W. (2019) Roots of Chromatic Polynomials of Graphs. Journal of Combinatorial Theory , Series B , 138, 264-290.
- Sokal, A.D. (2021) Chromatic Roots are Dense in the Whole Complex Plane. Combinatorics , Probability and Computing , 30, 918-943.
- Esperet, L. and Kang, R.J. (2021) Polynomial Algorithms for Chromatic Polynomials of Chordal Graphs and Outerplanar Graphs. Algorithmica , 83, 2139-2158.
- Edwards, K. and Kang, D.Y. (2023) Computation of Graph Polynomials via Deletion-Contraction and Applications. SIAM Journal on Discrete Mathematics , 37, 1324-1349.
- Baxter, R.J. (1982) Exactly Solved Models in Statistical Mechanics. Academic Press.
- 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.
- Voloshin, V. (2002) Coloring Mixed Hypergraphs: Theory, Algorithms and Applications. American Mathematical Society. https://doi.org/10.1090/fim/017
- Hoang, D.T. and Lai, H.J. (2023) Mixed Hypergraph Coloring with Applications to Scheduling and Frequency Assignment. Discrete Applied Mathematics , 325, 89-102.
- Allagan, J.A. (2014) Chromatic Polynomials of Mixed Hypergraphs. Australasian Journal of Combinatorics , 58, 197-213.
- Bodlaender, H.L. (1998) A Partial K-Arboretum of Graphs with Bounded Treewidth. Theoretical Computer Science , 209, 1-45. https://doi.org/10.1016/s0304-3975(97)00228-4
- Dong, F.M. and Teo, K.L. and Little, C.H.C. (2020) Chromatic Polynomials of Planar Triangulations. Discrete Mathematics , 343, Article ID: 111913.