In the
mathematical
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
fields of
graph theory
In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
and
combinatorics
Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many a ...
, a matching polynomial (sometimes called an acyclic polynomial) is a
generating function
In mathematics, a generating function is a way of encoding an infinite sequence of numbers () by treating them as the coefficients of a formal power series. This series is called the generating function of the sequence. Unlike an ordinary ser ...
of the numbers of
matchings of various sizes in a graph. It is one of several
graph polynomial In mathematics, a graph polynomial is a graph invariant whose values are polynomials. Invariants of this type are studied in algebraic graph theory.
Important graph polynomials include:
*The characteristic polynomial, based on the graph's adjacency ...
s studied in
algebraic graph theory
Algebraic graph theory is a branch of mathematics in which algebraic methods are applied to problems about graphs. This is in contrast to geometric, combinatoric, or algorithmic approaches. There are three main branches of algebraic graph th ...
.
Definition
Several different types of matching polynomials have been defined. Let ''G'' be a graph with ''n'' vertices and let ''m
k'' be the number of ''k''-edge matchings.
One matching polynomial of ''G'' is
:
Another definition gives the matching polynomial as
:
A third definition is the polynomial
:
Each type has its uses, and all are equivalent by simple transformations. For instance,
:
and
:
Connections to other polynomials
The first type of matching polynomial is a direct generalization of the
rook polynomial
In combinatorial mathematics, a rook polynomial is a generating polynomial of the number of ways to place non-attacking rooks on a board that looks like a checkerboard; that is, no two rooks may be in the same row or column. The board is any su ...
.
The second type of matching polynomial has remarkable connections with
orthogonal polynomials
In mathematics, an orthogonal polynomial sequence is a family of polynomials such that any two different polynomials in the sequence are orthogonal to each other under some inner product.
The most widely used orthogonal polynomials are the cl ...
. For instance, if ''G'' = ''K''
''m'',''n'', the
complete bipartite graph
In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17.
Graph theory ...
, then the second type of matching polynomial is related to the generalized
Laguerre polynomial ''L''
''n''''α''(''x'') by the identity:
:
If ''G'' is the
complete graph
In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices ...
''K''
''n'', then ''M''
''G''(''x'') is an Hermite polynomial:
:
where ''H''
''n''(''x'') is the "probabilist's Hermite polynomial" (1) in the definition of
Hermite polynomial
In mathematics, the Hermite polynomials are a classical orthogonal polynomial sequence.
The polynomials arise in:
* signal processing as Hermitian wavelets for wavelet transform analysis
* probability, such as the Edgeworth series, as well as ...
s. These facts were observed by .
If ''G'' is a
forest
A forest is an area of land dominated by trees. Hundreds of definitions of forest are used throughout the world, incorporating factors such as tree density, tree height, land use, legal standing, and ecological function. The United Nations' ...
, then its matching polynomial is equal to the
characteristic polynomial
In linear algebra, the characteristic polynomial of a square matrix is a polynomial which is invariant under matrix similarity and has the eigenvalues as roots. It has the determinant and the trace of the matrix among its coefficients. The ...
of its
adjacency matrix
In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph.
In the special case of a finite simple ...
.
If ''G'' is a
path
A path is a route for physical travel – see Trail.
Path or PATH may also refer to:
Physical paths of different types
* Bicycle path
* Bridle path, used by people on horseback
* Course (navigation), the intended path of a vehicle
* Desire ...
or a
cycle
Cycle, cycles, or cyclic may refer to:
Anthropology and social sciences
* Cyclic history, a theory of history
* Cyclical theory, a theory of American political history associated with Arthur Schlesinger, Sr.
* Social cycle, various cycles in so ...
, then ''M''
''G''(''x'') is a
Chebyshev polynomial
The Chebyshev polynomials are two sequences of polynomials related to the cosine and sine functions, notated as T_n(x) and U_n(x). They can be defined in several equivalent ways, one of which starts with trigonometric functions:
The Chebyshe ...
. In this case
μ
''G''(1,''x'') is a
Fibonacci polynomial In mathematics, the Fibonacci polynomials are a polynomial sequence which can be considered as a generalization of the Fibonacci numbers. The polynomials generated in a similar way from the Lucas numbers are called Lucas polynomials.
Definition
...
or
Lucas polynomial respectively.
Complementation
The matching polynomial of a graph ''G'' with ''n'' vertices is related to that of its complement by a pair of (equivalent) formulas. One of them is a simple combinatorial identity due to . The other is an integral identity due to .
There is a similar relation for a subgraph ''G'' of ''K''
''m'',''n'' and its complement in ''K''
''m'',''n''. This relation, due to Riordan (1958), was known in the context of non-attacking rook placements and rook polynomials.
Applications in chemical informatics
The
Hosoya index of a graph ''G'', its number of matchings, is used in
chemoinformatics as a structural descriptor of a molecular graph. It may be evaluated as ''m''
''G''(1) .
The third type of matching polynomial was introduced by as a version of the "acyclic polynomial" used in
chemistry.
Computational complexity
On arbitrary graphs, or even
planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cro ...
s, computing the matching polynomial is
#P-complete . However, it can be computed more efficiently when additional structure about the graph is known. In particular,
computing the matching polynomial on ''n''-vertex graphs of
treewidth
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests. The gr ...
''k'' is
fixed-parameter tractable
In computer science, parameterized complexity is a branch of computational complexity theory that focuses on classifying computational problems according to their inherent difficulty with respect to ''multiple'' parameters of the input or output. ...
: there exists an algorithm whose running time, for any fixed constant ''k'', is a
polynomial
In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An ex ...
in ''n'' with an exponent that does not depend on ''k'' .
The matching polynomial of a graph with ''n'' vertices and
clique-width
In graph theory, the clique-width of a graph is a parameter that describes the structural complexity of the graph; it is closely related to treewidth, but unlike treewidth it can be bounded even for dense graphs.
It is defined as the minimum nu ...
''k'' may be computed in time ''n''
O(''k'') .
References
*.
*.
*.
*.
*.
*.
*.
*{{citation
, last = Zaslavsky , first = Thomas
, journal = European Journal of Combinatorics
, pages = 91–103
, title = Complementary matching vectors and the uniform matching extension property
, volume = 2
, year = 1981
, doi=10.1016/s0195-6698(81)80025-x, doi-access = free
.
Algebraic graph theory
Matching (graph theory)
Polynomials
Graph invariants