English

Characterizing and recognizing exact-distance squares of graphs

Combinatorics 2023-08-03 v2

Abstract

For a graph G=(V,E)G=(V,E), its exact-distance square, G[2]G^{[\sharp 2]}, is the graph with vertex set VV and with an edge between vertices xx and yy if and only if xx and yy have distance (exactly) 22 in GG. The graph GG is an exact-distance square root of G[2]G^{[\sharp 2]}. We give a characterization of graphs having an exact-distance square root, our characterization easily leading to a polynomial-time recognition algorithm. We show that it is NP-complete to recognize graphs with a bipartite exact-distance square root. These two results strongly contrast known results on (usual) graph squares. We then characterize graphs having a tree as an exact-distance square root, and from this obtain a polynomial-time recognition algorithm for these graphs. Finally, we show that, unlike for usual square roots, a graph might have (arbitrarily many) non-isomorphic exact-distance square roots which are trees.

Keywords

Cite

@article{arxiv.2211.02699,
  title  = {Characterizing and recognizing exact-distance squares of graphs},
  author = {Yandong Bai and Pedro P. Cortés and Reza Naserasr and Daniel A. Quiroz},
  journal= {arXiv preprint arXiv:2211.02699},
  year   = {2023}
}

Comments

15 pages, 6 figures. References added and small changes according to referees' comments

R2 v1 2026-06-28T05:13:23.060Z