on counting of special case of trees on a graph - MathOverflow most recent 30 from http://mathoverflow.net 2013-05-23T11:15:37Z http://mathoverflow.net/feeds/question/37614 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://mathoverflow.net/questions/37614/on-counting-of-special-case-of-trees-on-a-graph on counting of special case of trees on a graph katsarola 2010-09-03T13:38:20Z 2010-09-03T16:57:15Z <p>Lets define <em>edge-cycle</em> in a graph $G$ as a path where the first and the last node are adjacent. (in contrast with the definition of <em>cycle</em> where first and last node are the same).</p> <p>An <em>edge-tree</em> $T$ is a tree with the additional property that doesn't have an edge-cycle.</p> <p>In a graph we can compute the number of spanning trees by using the <a href="http://en.wikipedia.org/wiki/Kirchhoff%27s_theorem" rel="nofollow">Matrix-Tree</a> theorem.</p> <blockquote> <p>Is there any similar theorem for the computation of the number of edge-trees of a graph?</p> </blockquote> http://mathoverflow.net/questions/37614/on-counting-of-special-case-of-trees-on-a-graph/37622#37622 Answer by Nekura for on counting of special case of trees on a graph Nekura 2010-09-03T14:47:41Z 2010-09-03T14:47:41Z <p>If I'm reading your definitions right, I believe the answer is that there are zero edge-trees of G if G has any cycle. And one if G is a tree itself (T=G)</p> <p>Proof: If G has a cycle C, then for any spanning tree T of G there exist an edge E(u,v) of C that is not in T. Since T is a spanning tree, there is a path from u to v in T, and u and v are adjacent in G, thus the path from u to v is an edge-cycle, therefore there is always an edge-cycle in T. Therefore there are zero edge-trees of G.</p> http://mathoverflow.net/questions/37614/on-counting-of-special-case-of-trees-on-a-graph/37636#37636 Answer by Tony Huynh for on counting of special case of trees on a graph Tony Huynh 2010-09-03T16:27:03Z 2010-09-03T16:57:15Z <p>I'll answer a question raised in the comments:</p> <p><strong>Problem</strong>: Count the number of induced trees of size $k$.</p> <p>According to this <a href="http://www.renyi.hu/~p_erdos/1986-08.pdf" rel="nofollow">paper</a> by Erdös, Saks and Sos, it is NP-complete to decide given a graph $G$ and an integer $k$, if $G$ contains an induced tree of size $k$. So, it's probably pretty damn hard to count them. Apparently, it remains NP-complete even for bipartite graphs. </p> <p>Actually, the argument is pretty simple so I'll include it here. Given a graph $H$ and an integer $k$, it is well-known that the problem of deciding if $H$ has an independent set of size $k$ is NP-complete. Suppose that $H$ has $n$ vertices. Let $G$ be the graph obtained from $H$ by first adding a disjoint copy of $P_n$ (a path on $n$ vertices), and then connecting one end of $P_n$ to all the vertices in $H$. Clearly, $H$ has an independent set of size $k$ if and only if $G$ contains an induced tree of size $n+k$. </p>