Polynomial reconstruction of the matching polynomial

DOI: 10.5614/ejgta.2015.3.1.4

ISSN: 2338-2287

Publisher: The Institute for Research and Community Services (LPPM) ITB


Abstract

The matching polynomial of a graph is the generating function of the numbers of its matchings with respect to their cardinality. A graph polynomial is polynomial reconstructible, if its value for a graph can be determined from its values for the vertex-deleted subgraphs of the same graph. This note discusses the polynomial reconstructibility of the matching polynomial. We collect previous results, prove it for graphs with pendant edges and disprove it for some graphs.

Xueliang Li, Yongtang Shi, Martin Trinks

Center for Combinatorics, Nankai University, Tianjin 300071, China

lxl@nankai.edu.cn, shi@nankai.edu.cn, martin.trinks@googlemail.com

The matching polynomial of a graph is the generating function of the numbers of its matchings with respect to their cardinality. A graph polynomial is polynomial reconstructible, if its value for a graph can be determined from its values for the vertex-deleted subgraphs of the same graph. This note discusses the polynomial reconstructibility of the matching polynomial. We collect previous results, prove it for graphs with pendant edges and disprove it for some graphs.

Keywords: reconstruction, matching polynomial, perfect matching

Mathematics Subject Classification : 05C31, 05C70

DOI: 10.5614/ejgta.2015.3.1.4

1. Introduction

The famous (and still unsolved) reconstruction conjecture of Kelly [9] and Ulam [15] states that every graph G with at least three vertices can be reconstructed from (the isomorphism classes of) its vertex-deleted subgraphs.

With respect to a graph polynomial P(G), this question may be adapted as follows: Can P(G) of a graph G = (V, E) be reconstructed from the graph polynomials of the vertex deletedsubgraphs, that is from the collection P(Gv) for v ∈ V ? Here, this problem is considered for the matching polynomial of a graph, which is the generating function of the number of its matchings with respect to their cardinality.

This paper aims to prove that graphs with pendant edges are polynomial reconstructible and, on the other hand, to display some evidence that arbitrary graphs are not.

Received: 09 September 2014, Revised: 07 December 2014, Accepted: 02 January 2015.

In the reminder of this section the necessary definitions and notation are given. Further, the previous results from the literature are mentioned in Section 2. Section 3 and Section 4 contain the result for pendant edges and the counterexamples in the general case.

Let G = (V, E) be a graph. A matching in G is an edge subset \(A \subseteq E\), such that no two edges have a common vertex. The matching polynomial M(G, x, y) is defined as

\[M(G, x, y) = \sum_{\substack{A \subseteq E \\ A \text{ is matching in } G}} x^{\operatorname{def}(G, A)} y^{|A|}, \tag{1}\]

where \(def(G, A) = |V| - |\bigcup_{e \in A} e|\) is the number of vertices not included in any of the edges of A. A matching A is a perfect matching, if its edges include all vertices, that means if def(G, A) = 0. A near-perfect matching A is a matching that includes all vertices except one, that means def(G, A) = 1. For more information about matchings and the matching polynomial, see [2, 6, 11].

There are also two versions of univariate matching polynomials defined in the literature, namely the matching defect polynomial and the matching generating polynomial [11, Section 8.5]. For simple graphs, the previously mentioned matching polynomials are equivalent to each other.

For a graph G=(V,E) with a vertex \(v\in V\), \(G_{-v}\) is the graph arising from the deletion of v, i.e. arising by the removal of all edges incident to v and v itself. The multiset of (the isomorphism classes of) the vertex-deleted subgraphs \(G_{-v}\) for \(v\in V\) is the deck of G. The polynomial deck \(\mathcal{D}_P(G)\) with respect to a graph polynomial P(G) is the multiset of \(P(G_{-v})\) for \(v\in V\). A graph polynomial P(G) is polynomial reconstructible, if P(G) can be determined from \(\mathcal{D}_P(G)\).

2. Previous results

For results about the polynomial reconstruction of other graph polynomials, see the article by Brešar, Imrich, and Klavžar [1, Section 1] and the references therein. For additional results, see [10] [12, Section 7] [13, Subsection 4.7.3].

By arguments analogous to those used in Kelly's Lemma [9], the derivative of the matching polynomials of a graph G=(V,E) equals the sum of the polynomials in the corresponding polynomial deck.

Proposition 2.1 (Lemma 1 in [3]). Let G=(V,E) be a graph. The matching polynomial M(G,x,y) satisfies

\[\frac{\delta}{\delta x}M(G,x,y) = \sum_{v \in V} M(G_{-v},x,y). \tag{2}\]

In other words, all coefficients of the matching polynomial except the one corresponding to the number of perfect matchings can be determined from the polynomial deck and thus also from the deck:

\[m_{i,j}(G) = \frac{1}{i} \sum_{v \in V} m_{i,j}(G_{-v}) \qquad \forall i \ge 1,\] (3)

where mi,j (G) is the coefficient of the monomial x i y j in M(G, x, y).

Consequently, the (polynomial) reconstruction of the matching polynomial reduces to the determination of the number of perfect matchings.

Proposition 2.2. The matching polynomial M(G, x, y) of a graph G can be determined from its polynomial deck DM(G) and its number of perfect matchings. In particular, the matching polynomials M(G, x, y) of graphs with an odd number of vertices are polynomial reconstructible.

Tutte [14, Statement 6.9] has shown that the number of perfect matchings of a simple graph can be determined from its deck of vertex-deleted subgraphs and therefore gave an affirmative answer on the reconstruction problem for the matching polynomial.

The matching polynomial of a simple graph can also be reconstructed from the deck of edgeextracted and edge-deleted subgraphs [3, Theorem 4 and 6] and from the polynomial deck of the edge-extracted graphs [7, Corollary 2.3]. For a simple graph G on n vertices, the matching polynomial is reconstructible from the collection of induced subgraphs of G with b n 2 c + 1 vertices [5, Theorem 4.1].

3. Result for simple graphs with pendant edges

Theorem 3.1. Let G = (V, E) be a simple graph with a vertex of degree 1. G has a perfect matching if and only if each vertex-deleted subgraph Gv for v ∈ V has a near-perfect matching.

Proof. For the first direction we assume that G has a perfect matching M. Then each vertexdeleted subgraph Gv has a near-perfect matching M0 = M \e, where e is the edge in the matching M incident to v.

For the second direction, let w be a vertex of degree 1 and u its neighbor. If each vertex-deleted subgraph has a near-perfect matching, say M0 , so does Gu. Hence, M0 ∪ {{u, w}} is a perfect matching of G.

As proven recently by Huang and Lih [8], this statement can be generalized to arbitrary simple graphs.

Corollary 3.1. Let G = (V, E) be a forest. G has a perfect matching if and only if each vertexdeleted subgraph Gv for v ∈ V has a near-perfect matching.

Forests have either none or one perfect matching. Because every pendant edge must be in a perfect matching (in order to cover the vertices of degree 1) and the same holds recursively for the subforest arising by deleting all the vertices of the pendant edges. Therefore, from Proposition 2.2 and Corollary 3.1 the polynomial reconstructibility of the matching polynomials follows.

Corollary 3.2. The matching polynomials M(G, x, y) of forests are polynomial reconstructible.

On the other hand, arbitrary graphs with pendant edges can have more than one perfect matching. However, Corollary 3.1 can be extended to obtain the number of perfect matchings. For a graph G = (V, E), the number of perfect matchings and of near-perfect matchings of G is denoted by p(G) and np(G), respectively.

Theorem 3.2. Let G = (V, E) be a simple graph with a pendant edge e = {u, w} where w is a vertex of degree 1. Then we have

\[p(G) = np(G_{-u}) \le np(G_{-v}) \quad \forall v \in V \text{ and particularly}\] (4)

\[p(G) = \min \{ np(G_{-v}) \mid v \in V \}.\] \[(5)\]

Proof. For each vertex v ∈ V , each perfect matching of G corresponds to a near-perfect matching of Gv (by removing the edge including v). But the converse is not necessarily true, namely there are near-perfect matchings of Gv leaving a non-neighbor of v in G unmatched. Thus, we have p(G) ≤ np(Gv).

In case of the vertex u, each near-perfect matching M0 of Gu corresponds to a perfect matching M of G, namely M0 ∪ {e}, and vice versa. Thus, we have p(G) = np(Gu), giving the result.

By applying this theorem, the number of perfect matchings of a simple graph with pendant edges can be determined from its polynomial deck and the following result is obtained as a corollary.

Corollary 3.3. The matching polynomials M(G, x, y) of simple graphs with a pendant edge are polynomial reconstructible.

4. Counterexamples for arbitrary graphs

While it is true that the matching polynomials of graphs with an odd number of vertices or with an pendant edge are polynomial reconstructible, it does not hold for arbitrary graphs.

There are graphs which have the same polynomial deck and yet their matching polynomials are different. Although there are already counterexamples with as little as six vertices, it seems that nothing have been published before in connection with the question addressed here.

Remark 4.1. The matching polynomials M(G, x, y) of arbitrary graphs are not polynomial reconstructible. The minimal counterexample for simple graphs (with respect to the number of vertices and edges) are the graphs G1, G2 shown in Figure 1.

The graphs creating the minimal counterexample have six vertices and there are three more pairs of such simple graphs, which are given in Figure 2.

The question arises, whether or not there are such counterexamples consisting of graphs with an arbitrary even number of vertices. In the remainder, we give an affirmative answer to this questions.

Let Pn and Cn be a path and a cycle on n vertices, respectively. For a graph G = (V, E), G denotes the complement of G, i.e. G = (V, V 2 \ E). For two graphs G and H, the disjoint union of G and H is denoted by G ∪· H.

Theorem 4.1. Let k ≥ 3. The matching polynomials M(G, x, y) of the graphs C2k, Ck ∪· Ck and C2k, Ck ∪· Ck are not polynomial reconstructible.

Figure 1. Graphs \(G_1\) and \(G_2\), which are the minimal simple graphs creating a counterexample for the polynomial reconstructibility of the matching polynomial M(G,x,y). The decks of \(G_1\) and \(G_2\) consist of six graphs, each isomorphic to \(G_1'\) and \(G_2'\), respectively. Unlike the matching polynomials of \(G_1\) and \(G_2\), the matching polynomials of \(G_1'\) and \(G_2'\) coincide.

Figure 2. The other counterexamples on six vertices for the polynomial reconstructibility of the matching polynomial M(G,x,y).

Proof. Due to Godsil [4, Corollary 2.3], the matching polynomial of a graph is determined by the matching polynomial of the complement of this graph. Furthermore, Gv = Gv. Therefore, it is enough to consider the graphs C2k and Ck ∪· Ck.

The matching polynomials of these two graphs do not coincide because C2k has exactly two perfect matchings, while Ck ∪· Ck has zero (k odd) or four (k even) perfect matchings.

On the other hand, their polynomial decks are identical. At first observe, that (C2k)v is isomorphic to P2k−1 and (Ck ∪· Ck)v is isomorphic to Ck ∪· Pk−1 for every vertex v of the respective graph.

It remains to show that the matching polynomials of these graphs in the deck coincide, i.e. M(P2k−1, x, y) = M(Ck ∪· Pk−1, x, y). Therefore, we make use of the well-known recurrence relation for the matching polynomial [2, Theorem 1]:

\[M(G, x, y) = M(G_{-e}, x, y) + y \cdot M(G_{-u-v}, x, y),\]

where e = {u, v} is an edge of G, Ge is the graph with the edge e deleted and Gu−v is the graph with the vertices of e deleted.

Applying the recurrence relation to the edge connecting the (k − 2)th and (k − 1)th vertex of P2k−1 (counted from either side), we obtain

\[M(P_{2k-1}, x, y) = M(P_{k-1} \cup P_k, x, y) + y \cdot M(P_{k-2} \cup P_{k-1}, x, y).\]

Applying the recurrence relation to an edge of the cycle in Ck ∪· Pk−1, we obtain exactly the same term:

\[M(C_k \cup P_{k-1}, x, y) = M(P_k \cup P_{k-1}, x, y) + y \cdot M(P_{k-2} \cup P_{k-1}, x, y).\]

It follows, that the polynomial decks coincide, while the matching polynomials of the original graphs do not. Hence, those cannot be determined from the corresponding polynomial decks.

In fact, the above construction for k = 2, in the case of the graphs C4 and C2 ∪· C2, where C2 is a graph on two vertices connected by two parallel edges, provide an even smaller counterexample, though the graphs are not simple.

In addition, to obtain examples on an arbitrary even number of vertices such that the graphs and their complements are connected, the construction of the graphs G3 and G4 as well as of their complements G5 and G6 can be generalized analogously.

Acknowledgement

This work was supported by the National Natural Science Foundation of China. Many thanks to Julian A. Allagan for his suggestions improving the presentation of this paper.

References

[1] Bostjan Bre ˇ sar, Wilfried Imrich, and Sandi Klav ˇ zar. Reconstructing subgraph-counting graph ˇ polynomials of increasing families of graphs. Discrete Mathematics, 297(1-3) (2005), 159– 166, doi:10.1016/j.disc.2005.02.019.

  • [2] Edward J. Farrell. An introduction to matching polynomials. Journal of Combinatorial Theory, Series B, 27(1) (1979), 75–86, doi:10.1016/0095-8956(79)90070-4.
  • [3] Edward J. Farrell and S. A. Wahid. On the reconstraction of the matching polynomial and the reconstruction conjecture. International Journal of Mathematics and Mathematical Sciences, 10(1) (1987), 155–162, doi:10.1155/S016117128700019X.
  • [4] Chris D. Godsil. Hermite polynomials and a duality relation for matchings polynomials. Combinatorica, 1(3) (1981), 257–262, doi:10.1007/BF02579331.
  • [5] Chris D. Godsil. Matchings and walks in graphs. Journal of Graph Theory, 5(3) (1981), 285–297, doi:10.1002/jgt.3190050310.
  • [6] Ivan Gutman. The acyclic polynomial of a graph. Publications de l'Institut Mathmatique, 22(36) (1977), 63–69,
  • [7] Ivan Gutman. Some analytical properties of the independence and matching polynomials. MATCH Communications in Mathematical and in Computer Chemistry, 1(28) (1992), 139– 150, URL: http://match.pmf.kg.ac.rs/electronic_versions/Match28/ match28_139-150.pdf.
  • [8] Kuo-Ching Huang and Ko-Wei Lih. A note on near-factor-critical graphs, April 2014. arXiv:1404.5416.
  • [9] Paul J. Kelly. A congruence theorem for trees. Pacific Journal of Mathematics, 7(1) (1957), 961–968, URL: http://projecteuclid.org/euclid.pjm/1103043674.
  • [10] Xueliang Li and Ivan Gutman. A unified approach to the first derivatives of graph polynomials. Discrete Applied Mathematics, 58(3) (1995), 293–297, doi:10.1016/ 0166-218X(95)00121-7.
  • [11] Laszl ´ o Lov ´ asz and M. D. Plummer. ´ Matching Theory, volume 121 of North-Holland Mathematics Studies. North-Holland, 1986.
  • [12] Peter Tittmann, Ilia Averbouch, and Johann A. Makowsky. The enumeration of vertex induced subgraphs with respect to the number of components. European Journal of Combinatorics, 32(7) (2011), 954–974, doi:10.1016/j.ejc.2011.03.017.
  • [13] Martin Trinks. Graph Polynomials and Their Representations. PhD thesis, TU Bergakademie Freiberg, 2012. URL: http://nbn-resolving.de/urn:nbn:de: bsz:105-qucosa-94991.
  • [14] William T. Tutte. All the king's horses (a guide to reconstruction). In J. Adrian Bondy and U. S. R. Murty, editors, Graph theory and related topics, pages 15–33. Academic Press, 1979. Proceedings of the conference held in honour of Professor W. T. Tutte on the occasion of his sixtieth birthday, University of Waterloo, July 5-9, 1977.

[15] S. M. Ulam. A collection of mathematical problems. Number 8 in Interscience Tracts in pure and applied mathematics. Interscience New York, 1960.