Skip to Main content Skip to Navigation
Conference papers

Computing Graph Roots Without Short Cycles

Abstract : Graph G is the square of graph H if two vertices x, y have an edge in G if and only if x, y are of distance at most two in H. Given H it is easy to compute its square H2, however Motwani and Sudan proved that it is NP-complete to determine if a given graph G is the square of some graph H (of girth 3). In this paper we consider the characterization and recognition problems of graphs that are squares of graphs of small girth, i.e. to determine if G = H2 for some graph H of small girth. The main results are the following. - There is a graph theoretical characterization for graphs that are squares of some graph of girth at least 7. A corollary is that if a graph G has a square root H of girth at least 7 then H is unique up to isomorphism. - There is a polynomial time algorithm to recognize if G = H2 for some graph H of girth at least 6. - It is NP-complete to recognize if G = H2 for some graph H of girth 4. These results almost provide a dichotomy theorem for the complexity of the recognition problem in terms of girth of the square roots. The algorithmic and graph theoretical results generalize previous results on tree square roots, and provide polynomial time algorithms to compute a graph square root of small girth if it exists. Some open questions and conjectures will also be discussed.
Complete list of metadata

Cited literature [21 references]  Display  Hide  Download
Contributor : Publications Loria <>
Submitted on : Tuesday, February 10, 2009 - 10:42:14 AM
Last modification on : Thursday, February 7, 2019 - 5:56:54 PM
Long-term archiving on: : Tuesday, June 8, 2010 - 10:09:59 PM


Files produced by the author(s)


  • HAL Id : inria-00360037, version 1
  • ARXIV : 0902.2150



Babak Farzad, Lap Chi Lau, van Bang Le, Nguyen Ngoc Tuy. Computing Graph Roots Without Short Cycles. 26th International Symposium on Theoretical Aspects of Computer Science STACS 2009, Feb 2009, Freiburg, Germany. pp.397-408. ⟨inria-00360037⟩



Record views


Files downloads