Godsil 1981
Godsil 1981
Godsil 1981
by
C. D. G O D S I L
Institut ffir Mathematik und Angewandte Geometrie
Montanuniversit/it Leoben, Austria
Received 17 July 1980
Our main result is that the number of perfect matchings in the complement of G is equal to
Let Km be the complete graph on m vertices. Then a(K,,, x) is the Hermite polynomial He,~(x)
of degree n. Using (1) we show, amongst other results, that
[nI~l
e(d,x) = k=O
22 p(G,k)~(Kn_2k, x).
1.1. Let G be a g r a p h with vertex set {1, ..., n}. A k-matching in G is a set o f k edges
o f G, no two o f which have a vertex irl c o m m o n . Clearly k ~ n / 2 , if k=n/2 then a
k - m a t c h i n g o f G is called perfect. The n u m b e r o f k - m a t c h i n g s in G will be d e n o t e d
b y p(G, k), with the c o n v e n t i o n t h a t p(G, 0 ) = 1 .
T h e m a t c h i n g s p o l y n o m i a l c~(G)=a(G, x) is
[,/2]
,~ (-- 1)kp(G, k)x "-ek
k=O
4*
258 C.O. GODSIL
For further information on Hermite polynomials we refer the reader to [2]. The
fact that He,, (x)=ct(K,,, x) is proved in [4].)
We use (~ to represent the complement of the graph G. The main result
of this paper is the following connection between ~(G, x) and c~(G, x).
1.2. Theorem. Let G be a graph. Then the number of pelfect matchings in G is equal to
Proof. We represent the integral above by I(G). Let En denote the graph with n
vertices and no edges. Clearly the complement of E, is K,, hence the number of
perfect matchings in E, is zero if n is odd and equals (n --1) (n - 3) . . . 1 when n is
even. It is now a simple exercise in integration by parts to show that the theorem
holds when G = E , .
We now prove the theorem for an arbitrary graph G with at least one edge.
Assume inductively that our result holds for each proper subgraph of G. Suppose
u = {1, 2} is an edge in G. Let G. be the graph obtained by deleting the edge {1, 2},
let G12 be obtained by deleting the vertices 1 and 2 from G.
Trivially, the k-matching in G may be partitioned into those that contain u
and those that do not. Hence we have
(l) p(O, k) = p(C~, k)+p(G,.~, k - 1 ) .
Using the definition of e(G) it follows that
(2) c~(G, x) = c~(G,, x)-c~(GI~, x).
From (1) we also have
(3) p(G,,, k) = p(G, k)-bp((~12, k - 1 ) ,
where it is to be understood that complementation is carried out after deletion.
By (2) and the linearity of integration,
(4) I(G) = I(G,,)- I(G12).
If n is odd then G, and Gx2 have no perfect matchings, the right side of (4)
is zero, by our induction hypothesis. Hence I ( G ) = 0 . Since G also has no perfect
matchings when n is odd, the theorem holds in this case.
Suppose then that n=2m. As the theorem holds for G, and G~2, (4) yields
I(G) = p(G,, m)--p(Gl~., m-- 1),
whence the theorem following using (3). |
D U A L I T Y RELATION FOR M A T C H I N G S POLYNOMIALS 259
2.1. In this section we will derive some consequences of Theorem 1.2. If G and H
are graphs we use G U H to denote their disjoint union. It is easy to show that
~(6UH)=~(a)~(H).
2.2. Corollary. Let G be a graph with n vertices. Then
Proof. Let m = n - 2 k . The integral given is just I(GUK,,). By 1.2 this equals the
number of perfect matchings in the complement of GI..JK,,. Each k-matching in G
can be extended to give m! perfect matchings in G UK,,. On the other hand each
perfect matching of GUK,, restricts to a k-matching of G, so our result follows. |
Taking G = K , and m = n - 2 k in 2.2 yields the identity
This is, of course, just a statement of the orthogonality of the Hermite polynomials
on the real line, with respect to the weight function (2n) -1/2 exp (-x2/2). It should
be evident that 1.2 and 2.2 enable a combinatorial interpretation of many properties
of the Hermite polynomials.
One consequence of the orthogonality of the Hermite polynomials is the
following.
2.3. Corollary. Let G be a graph with n vertices. Then
[,/2j
(G, x) = Z p (G, k) ~ (K,_ ~k, X).
k=0
Proof. It is easy to see that the Hermite polynomials form a basis for the vector
space of all polynomials with real coefficients. Hence ~(G, x) can be expressed in
a unique fashion as a linear combination of Hermite polynomials. By 2.2 and the
orthogonality of the Hermite polynomials we see that the coefficient of c~(Kn_~k)
in such an expression is just p(G, k). |
From either of Corollaries 2.2 or 2.3 we see that the matchings polynomial
of G determines that of C,. Further, taking x = 0 in 2.3 gives an explicit formula for
c~(G, 0), and thus also for the number of perfect matchings in G, in terms of the
numbers p(G, k). This formula is also derived, using inclusion-exclusion, in [8].
In this reference the multigraphs with the property that the matchings polynomial
of each subgraph determines that of its complementary subgraph are determined.
260 c.D. GODSlL
k= 0 \ nl ]
711 > H.
j=0\J
Using this we see that the theorem holds when G=Kn, since in this case the integral
in the statement of the theorem equals m[ [ n ] y , _ , , . Given this, the general result
follows at once using 2.3. II
We note one corollary of the preceding result.
2.5. CoroLlary. Let G be a graph with n vertices. Then the number of rnatchings
in G is
3. Rook polynomials
3.1. A result analogous to 1.2 can be established for rook polynomials. We com-
ment briefly on this.
A subset of the squares of an m × n chessboard (m<=n) will be referred to as a
board. If B is a board then r(B, k) is the number of ways of placing k non-attacking
rooks on the square~ of B, i.e. the number of choosing k squares of B with no two
in the same row or column.
We identify a board B with a graph G=G(B) as follows. The vertices of
G(B) are the rows and columns of the full m X n chessboard, a row and column
are adjacent if the square in which they intersect lies in B. Given this identification
it follows that r(B, k)=p(G(B), k). Note that if B is the full m × n chessboard then
G(B) is the complete bipartite graph Km, n.
D U A L I T Y RELATION FOR MATCHFNGS POLYNOMIALS 261
Many properties of rook polynomials are established in the last two chapters of
Riordan's book [7]. In particular we find that ( - l ) ' r ( K , , , , x) is the Laguerre poly-
nomial Lm(x) and that, if t=>0, ( - l)"r(Km,,,+,, x) is the generalized Laguerre poly-
nomial L~,,(x). For information o11 the Laguerre polynomials see [2]. We also warn
the reader that our notation for rook polynomials differs slightly from that used by
Riordan.
If G is a subgraph of K,..... we use G* to denote the subgraph of Kin,,, formed
by those edges not in G. Taking the proof of 1.2 as a guide, we obtain:
3.2. Theorem. Let G be a subgraph of K,,,,,. Then the mtmber of pepfect matehings
in G* is equal to
f r(G, x)e-* dx. |
0
This result also occurs as Corollary 2.1 in [5]. We note that if G and H are
subgraphs of K,,,,,, +~and K,,, +~ respectively, then G U H is a subgraph of K~,t where
l=m+n+s. It is routine to verify that the rook polynomial of G U H is
r(G, x)r(H, x)x s. If H=K,,,,_~ ~ then the number of perfect matchings in ( G U H ) *
is just n!(n+s)! p(G*, r n - n ) when n<=m, and is zero otherwise. Hence:
3.3. Corollary. Let G be a subgraph of Km,,,+.~. Then
It follows from 3.3 that r(G, x) determines r(G*, x), as was first proved by
Riordan (see equation (22) on page 179 of [7]). Taking G=Km.m+~ in 3.3 also yields
the well-known fact that the generalized Laguerre polynomials L~,,(x) (m=0, 1, ...)
are orthogonal on the non-negative reals with respect to the weight function x~e -*.
Using arguments analogous to those employed in the proof of 2.3, we also
obtain:
3.4. Corollary. Let G be a subgraph of K,..... +~. Then
?11
• v-
,.(c*, x) = Z p ( C , m - l ) ; (/(,.;+~, x). |
i=0
References