The matching polynomial of a graph is defined by
|
(1)
|
where
counts the
-matchings (independent
edge sets of size
),
is the vertex count, and
is the matching number (Ivanciuc and Balaban 2000,
p. 92; Levit and Mandrescu 2005). In particular,
and
, where
is the edge count. The matching
number satisfies
, where
is the floor function.
The matching polynomial is also known as the acyclic polynomial (Gutman and Trinajstić 1976, Devillers and Balaban 2000), matching defect polynomial (Lovász and Plummer 1986), and reference polynomial (Aihara 1976).
The matching-generating polynomial directly encodes the numbers of independent edge
sets of a graph and is defined by
|
(2)
|
The matching polynomial and the matching-generating
polynomial satisfy
|
(3)
|
(Ellis-Monaghan and Merino 2008; typo corrected), so
|
(4)
|
The notation
for the matching polynomial is unrelated to the
used for the mutual-visibility
number, the
used for circuit rank, and the
parameter of a strongly
regular graph.
The matching polynomial is closely related to the independence polynomial. In particular, the matching-generating
polynomial of a graph is equal to the independence
polynomial of the line graph of
(Levit and Mandrescu 2005).
The matching polynomial has a nonzero constant coefficient (or equivalently, the matching-generating
polynomial is of polynomial degree
for a graph
on an even number
of nodes) iff
the graph has a perfect
matching.
Precomputed matching polynomials for many named graphs in terms of a variable can be obtained using GraphData[graph,
"MatchingPolynomial"][x].
The following table summarizes closed forms for the matching polynomials of some common classes of graphs.
Here,
is a modified Hermite polynomial,
is the usual Hermite
polynomial,
is a Laguerre polynomial,
is a confluent
hypergeometric function of the second kind,
is a Lucas polynomial,
,
, and
.
| graph | |
| book
graph | |
| centipede graph | |
| complete graph | |
| complete bipartite
graph | |
| cycle
graph | |
| empty graph | |
| gear graph | |
| helm graph | |
| ladder rung graph | |
| pan graph | |
| path graph | |
| star graph | |
| sunlet
graph | |
| wheel graph |
The following table summarizes recurrence relations for matching polynomials of some classes of graphs, with
. The antiprism recurrence applies for
, and the book-graph recurrence applies for
.
Nonisomorphic graphs do not necessarily have distinct matching polynomials. The following table summarizes some co-matching graphs.
| matching polynomial | graphs | |
| 4 | claw
graph, | |
| 5 | ||
| 5 | butterfly graph, kite graph | |
| 5 | ||
| 5 | ||
| 5 | house graph, complete
bipartite graph | |
| 5 | cricket graph, | |
| 5 | fork graph, |
The banner graph has matching polynomial . The 3-centipede
graph has six vertices and matching polynomial
, so these graphs
are not co-matching.
For any graph , the matching polynomial
has only real
roots.