0% found this document useful (0 votes)
21 views13 pages

Computing The Degree of Some Matchings in A Graph: American Journal of Combinatorics

This research article presents formulas for computing the degree of matchings in connected graphs, particularly those with cycles. It builds on previous studies focused on matchings in trees and introduces new methods for calculating degrees of matchings with one or two edges, as well as those with more than two edges under certain constraints. The paper also discusses the skeleton of the matching polytope and provides examples to illustrate the concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views13 pages

Computing The Degree of Some Matchings in A Graph: American Journal of Combinatorics

This research article presents formulas for computing the degree of matchings in connected graphs, particularly those with cycles. It builds on previous studies focused on matchings in trees and introduces new methods for calculating degrees of matchings with one or two edges, as well as those with more than two edges under certain constraints. The paper also discusses the skeleton of the matching polytope and provides examples to illustrate the concepts.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

American Journal of Combinatorics Research Article

Volume 3 (2024), Pages 22–34

Computing the degree of some matchings in a graph


Rosário Fernandes
(Communicated by Renata Del-Vecchio)

Abstract
Let G be a connected graph. A matching M in G is a set of edges of G without two of
them adjacent (having a common vertex). The graph whose vertices are the matchings
in G and two matchings M and N are adjacent if and only if (M \ N ) ∪ (N \ M ) is
the edge set of a path or a cycle, is denoted by G(M(G)) and called the skeleton of
the matching polytope of G. The degree of a matching M in G is the degree of the
vertex M in G(M(G)). In the literature some authors have studied the degree of some
matchings, in particular when G is a tree. In this paper we continue this study and we
present some formulas to compute the degree of a matching M in a graph with cycles.
More explicitly, we focus on the matchings having 1 or 2 edges and on the matchings
of more than two edges with some constraints.

1 Introduction
Let G = (V (G), E(G)) be a simple and connected graph with vertex set V (G) = {v1 , v2 , . . . , vn }
and edge set E(G) = {e1 , e2 , . . . , em }. For each k, with 1 ≤ k ≤ m, the edge ek = {vi , vj },
edge incident to vertices vi and vj of G, is simply denoted by vi vj . The degree of the vertex
v ∈ V (G) in the graph G is denoted by dG (v) and the set of neighbors of v in G (vertices
adjacent to v) is denoted by NG (v). A path with n ≥ 2 vertices, denoted by Pn , is a tree
with n − 2 vertices having degree 2 and the others having degree 1. A cycle with n ≥ 3
vertices, denoted by Cn , is a connected graph with all vertices of degree 2. Thus, a cycle
Cn is obtained from the path Pn by adding the edge incident to the vertices of degree 1
in Pn . We denote a path by its sequence of edges, ei1 , ei2 , . . . , eij , where eip is adjacent
to eip+1 , for 1 ≤ p ≤ j − 1, and a cycle obtained from this path is denoted by its edges,
ei1 , ei2 , . . . , eij , eij+1 , where eij+1 is adjacent to ei1 and eij . We say that Pn has length n − 1
and Cn has length n. A vertex v ∈ V (G) is a pendant vertex of G if dG (v) = 1 and an edge
e ∈ E(G) is a pendant edge of G if it is incident to a pendant vertex of G. A matching in G
is a subset M ⊆ E(G) without two edges adjacent in G, that is, having a common vertex.
MSC2020: 05C07, 05C70; Keywords: Matching, Degree of a vertex, Skeleton, Polytope

©
Received Jun 23, 2024; Revised Oct 3, 2024; Accepted Oct 4, 2024; Published Oct 6, 2024
The author(s). Released under the CC BY 4.0 International License

22
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

Let M be a matching in G. A vertex v of G is M -saturated if there is an edge of M


incident to v. Otherwise, v is an M -unsaturated S vertex. As usual, S(M ) is the set of M -
saturated vertices. The set NG (S(M )) is the set v∈S(M ) NG (v). A path P in G (respectively,
a cycle C in G) where edges alternate between being in M and in E(G) \ M is called an M -
alternating path (respectively, cycle). Let M and N be two matchings in G, the symmetric
difference of M and N is the set M ∆N = (M \ N ) ∪ (N \ M ). Note that, if M ∆N is an
M -alternating path (respectively, cycle), then it is also an N -alternating path (respectively,
cycle). Moreover, if it is an M -alternating cycle, then the cycle has even length. For more
basic definitions and notations of graphs, see [3, 5] and, of matchings, see [8].
Let us fix an order on the elements of E(G) and let RE(G) be the vector space of functions
from E(G) into R. For F ⊆ E(G) the incidence vector of F is

1, if u ∈ F
χF (u) =
0, otherwise.

In general, we identify each subset of edges of G with its respective incidence vector. The
matching polytope of G, M(G), is the convex hull of the incidence vectors of the matchings
in G. For more definitions and notations of polytopes, see [7].
In [4], the authors studied the polytope M(G) when G is a tree. However, the definition
of a graph obtained from this polytope, called the skeleton, and the notion of degree of a
matching appeared in [1]. It is worth mentioning that this definition was connected only
with trees. In [6] we have an algorithm to compute the degree of a matching when the graph
is a tree. Lately, in [2], the authors started the generalization of the study of the degree of a
vertex, that is a matching in a graph, in the mentioned graph called skeleton. In this paper,
we continue this study.
The skeleton of M(G) is the graph G(M(G)) whose vertices and edges are, respectively,
vertices and edges of M(G). Consequently, the vertex set of G(M(G)) is the set of matchings
in G. The next result characterizes when two distinct matchings in G are adjacent in
G(M(G)).

Theorem 1.1. [9] Let G be a graph. Two distinct matchings M and N in G are adjacent
in the matching polytope M(G) if and only if M ∆N is a path or a cycle in G.

Note that the path (respectively, cycle) mentioned in Theorem 1.1 is an M -alternating
path (respectively, cycle).
Using the last result we get that the empty matching in a graph is adjacent to matchings
with a single edge. Moreover, if a matching has more than one edge, then it is not adjacent to
the empty matching. Therefore, the degree of the empty matching in a graph is the number
of edges of the graph. This result appears in [1] when the graph G is a tree and in [2] for
any graph G.
In the next example we see the skeleton of the matching polytope of a graph with a cycle.

Example 1.2. Let G be the following graph.

23
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

v1 v2
u u

u u
v3 v4

The matchings in G are M1 = ∅, M2 = {v1 v2 }, M3 = {v1 v4 }, M4 = {v1 v3 }, M5 = {v3 v4 }


and M6 = {v1 v2 , v3 v4 }. So, the skeleton of M(G) is the graph G(M(G)).

Mu1 Mu3 Mu6


H
@H @ 
@HH
H@


@ H@
u
 @u HH @u
M2 M4 M5

Note that the matching M2 is not adjacent to the matching M5 because M2 ∆M5 =
{v1 v2 , v3 v4 } is not a path nor a cycle.

We denote by degG (M ) the degree of the matching M in the graph G(M(G)). The focus
of [1, 6] was the degree of a matching in the graph G(M(T )), where T was a tree. In [6], we
have an algorithm to compute this degree. In [2], the authors characterized the matchings
having minimum degree in G(M(G)), for any graph G. In this paper we obtain formulas to
compute the degree of some matching in graphs having cycles.
In Section 2 we present some results obtained previously about the degree of a matching.
In Section 3 we remove some vertices of the initial graph to divide the calculation of the
degree of a matching M in a sum of degree of submatchings of M . In this section we introduce
the operation of elimination on a graph with a matching. The Section 4 is dedicated to the
degree of a matching with a single edge and in Section 5 we continue this study but in a
matching with two edges. In Section 5 we describe another operation on the graph with a
matching, the withdraw/choose. A formula to compute the degree of a matching with more
than two edges and some constraints is the objective of Section 6. We conclude this paper
with some final remarks and open questions in Section 7.

2 Preliminaries
Let G be a graph and M be a matching in G. We say that an M -alternating path, P, is
an M -good path if each vertex of P of degree 1 in P is in V (G) \ S(M ) or the edge of P
incident to it belongs to M .

Remark 2.1. Let M and N be two distinct matchings in G such that N is adjacent to M
in G(M(G)). Then M ∆N is an M -good path or an M -alternating cycle. Consequently, all
vertices of M ∆N belong to NG (S(M )).

In [2], the M -good paths, P , are divided in three groups:

24
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

(1) P is an oo-M -path if its pendant edges belong to M .

(2) P is a cc-M -path if its pendant vertices are M -unsaturated.

(3) P is an oc-M -path if one of its pendant edges belongs to M and one of its pendant
vertices is M -unsaturated.

In [1, 6, 2], the definition of M -good path and its subdivisions was important to prove
which matchings are adjacent to a given matching, see Theorem 1.1. However, when the
graph G has cycles, by Theorem 1.1, the symmetric difference of the two adjacent matchings
can be a cycle. In this case, we obtain an M -alternating cycle with all vertices M -saturated.
The next result shows us a way to obtain matchings not adjacent to a given matching.

Proposition 2.2. [2] Let M and N be matchings in a graph G. If M is adjacent to N in


G(M(G)), then ||M | − |N || ∈ {0, 1}.

Throughout this paper, if the matching is a matching in a tree, we use the algorithm
described in [6] to compute its degree.

3 Elimination
The first operation on G with respect to the matching M , called the elimination, consists
of the elimination of the vertices of V (G) \ NG (S(M )) from G. In some cases, with this
operation on G we obtain subgraphs of G where the matching restriction of M to each one
of these subgraphs has fewer edges than the matching M .

Proposition 3.1. Let G be a connected graph and M be a matching in G. Let G(1) , . . . , G(r)
be the connected components of the subgraph of G induced by the vertex set NG (S(M )) and
M (i) = M ∩ E(G(i) ), for 1 ≤ i ≤ r. Let H = (V (H), E(H)) be the subgraph of G induced
by the vertex set V (G) \ NG (S(M )). Then
r
X
degG (M ) = degG(i) (M (i) ) + |E(H)|.
i=1

Proof. Let N be a matching in G adjacent to M in the graph G(M(G)). By Theorem 1.1


we conclude that M ∆N is a path or a cycle in G. Since V (H) ∩ NG (S(M )) = ∅ and N is a
matching, by Remark 2.1 we have |N ∩ E(H)| = 0 or |N ∩ E(H)| = 1.
If |N ∩ E(H)| = 1, then by Proposition 2.2 and Theorem 1.1 we get

M = N ∩ (E(G) \ E(H)).

Therefore, there are |E(H)| matchings


Sr of these kind.
If |N ∩ E(H)| = 0, then N ⊆ i=1 E(G ). Consequently, N is a matching in ri=1 G(i) .
(i)
S
Using Theorem 1.1 and the fact that N is different from M , we conclude that there is an i,
with 1 ≤ i ≤ r, such that M ∆N is a nontrivial M (i) -good path or an M -alternating cycle

25
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

in G(i) . Moreover, if j ̸= i and 1 ≤ j ≤ r, then M (j) ⊂ N and N ∩ E(G(i) ) is a matching in


G(i) adjacent to M (i) .
Conversely, for each edge e ∈ E(H) we have the matching M ∪ {e} adjacent to M
Sr G(M(G)).
in For each matching R(i) in G(i) adjacent to M (i) we have the matching
(j)
j=1, j̸=i M ∪ R(i) adjacent to M in G(M(G)). So, the result follows.
Example 3.2. Let M = {v2 v3 , v7 v8 } (edges of M in dark) the following matching in G:
v1 v2 v3 v4 v5 v6 v7 v8
u
PP u u u u u u u
PP @
PP @
PP
PP @
PPu u @u
v9 v10 v11
As NG (S(M )) = {v1 , v2 , v3 , v4 , v6 , v7 , v8 , v11 }, we get V (G) \ NG (S(M )) = {v9 , v10 , v5 }.
So, the subgraph H of G induced by the vertex set V (G) \ NG (S(M )) has edge set E(H) =
{v9 v10 }. Moreover, the connected components of the subgraph of G induced by the vertex
set NG (S(M )) are

G(1) G(2)
v1 v2 v3 v4 v6 v7 v8
u u u u u u u
@
@
@
@u
v11
So, by Proposition 3.1
degG (M ) = degG(1) (M (1) ) + degG(2) (M (2) ) + |E(H)|
= degG(1) (M (1) ) + degG(2) (M (2) ) + 1,
where M (1) = M ∩ E(G(1) ) = {v2 v3 } and M (2) = M ∩ E(G(2) ) = {v7 v8 }.
As G(1) is a tree, using the algorithm described in [6] we get
degG(1) (M (1) ) = 4.
So,
degG (M ) = 4 + degG(2) (M (2) ) + 1 = degG(2) (M (2) ) + 5.
Note that, in the last example, we started with a matching having two edges and with the
operation elimination on the graph, described in this section, we finished with a matching
having only one edge (see Remark 2.1).

4 Matchings having only one edge


In [6] the formula to calculate the degree of a matching in a tree having only one edge use
an operation called the duplication by the edge of the matching. If G has cycles and the

26
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

unique edge of the matching belongs to one or more cycles, the duplication operation is not
easy because we need to duplicate vertices and edges that do not belong to the matching.
However, the next theorem shows the degree of this kind of matchings. This theorem is a
particular case of Theorem 2.6 in [2]. The proof of this is different from that given in [2].

Theorem 4.1. Let G be a connected graph and u and v be two vertices of G. Let M = {uv}
be a matching in G. Then

degG (M ) = dG (u)dG (v) − |NG (u) ∩ NG (v)| + s,

where s is the number of edges in G not adjacent to uv.

Proof. We can assume that V (G) \ NG (S(M )) = ∅. If not, first we use Proposition 3.1. Let
N be a matching in G adjacent to M , in the matching polytope M(G). By Theorem 1.1
we conclude that M ∆N is an M -good path or an M -alternating cycle in G. Since |M | = 1,
M ∆N is not a cycle. As V (G) \ NG (S(M )) = ∅, by Proposition 2.2, N is in one of the
following cases:
(i) N has two edges one of them incident to u and the other incident to v or one of them
is uv and the other is an edge not adjacent to uv.
(ii) N has only one edge which is adjacent to uv.
(iii) N is the empty matching.
So, there are (dG (u) − 1)(dG (v) − 1) − |NG (u) ∩ NG (v)| + s matchings in case (i) (note that
in N the edges do not have a common vertex), there are dG (u) − 1 + dG (v) − 1 matchings in
case (ii) and there are only one matching in case (iii). Consequently, the result follows.

Example 4.2. Consider the graph of Example 3.2. As G(2) is the cycle C4 we have

degG (M ) = degC4 (M (2) ) + 5,

where M (2) has a unique edge of C4 . As all vertices of C4 have degree 2 and there is not
cycles of length 3 in C4 , by Theorem 4.1, we get degC4 (M (2) ) = 2 × 2 − 0 + 1 (note that there
is an edge in C4 not adjacent to the edge of M (2) ). Consequently,

degG (M ) = degC4 (M (2) ) + 5 = 5 + 5 = 10.

The next result is a generalization of Theorem 4.2 in [6] when M is a matching in a tree
T having a single edge that is a pendant edge (see also Corollary 3.2 in [6]).

Corollary 4.3. Let G be a connected graph and u and v be two vertices of G such that v is
a pendant vertex. Let M = {uv} be a matching in G. Then

degG (M ) = dG (u) + s,

where s is the number of edges in G not adjacent to uv.

Proof. Since dG (v) = 1 and |NG (u) ∩ NG (v)| = 0, the result follows from Theorem 4.1.

27
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

5 Matchings having two edges


The focus of this section is the degree of a matching M in G, with two edges. If using
the elimination operation in G (see Section 3) we obtain two subgraphs each one of them
with a matching having a single edge, we use the formula described in Section 4 and we
get the degree of M . Therefore, in this section we assume that V (G) \ NG (S(M )) = ∅.
The Proposition 5.1 shows us that calculating the degree of a matching having more than
two edges is complicated. Here we use other operation on G with a matching, called
withdraw/choose. This operation consists on deleting two vertices and choosing a certain
connected component in the obtained subgraph.

Theorem 5.1. Let G be a connected graph and v1 , v2 , v3 , v4 be four vertices of G. Let M be a


matching in G such that V (G) \ NG (S(M )) = ∅ and M = {v1 v2 , v3 v4 }. Let G1 (respectively,
G2 ) be the connected component of the subgraph of G induced by the vertex set V (G)\{v3 , v4 }
where v1 v2 belongs (respectively, V (G) \ {v1 , v2 } where v3 v4 belongs) and M i = M ∩ E(Gi ),
for i = 1, 2. Then
degG (M ) = degG1 (M 1 ) + degG2 (M 2 ) − s + k+
2
X 4
X
aih [dG1 (vj )dG2 (vp ) − |NG1 (vj ) ∩ NG2 (vp )|],
i,j=1, h,p=3,
i̸=j h̸=p

where s is the number of edges in G not adjacent to v1 v2 nor to v3 v4 , k is the number of


cycles of length 4, in G, where v1 v2 , v3 v4 belong and af g is the number of edges incident to
vf and to vg , for 1 ≤ f < g ≤ 4.

Proof. Let N be a matching in G adjacent to M in the matching polytope M(G). By


Theorem 1.1, M ∆N is an M -good path or an M -alternating cycle in G.
Since M has two edges, if M ∆N is a cycle (M -alternating cycle), then M ∆N has length
4 and contains the edges of M . Thus, there are k cycles of these kind and consequently, k
matchings adjacent to M .
Suppose that M ∆N is an M -good path. Using Proposition 2.2, |N | = 1 or |N | = 2 or
|N | = 3. Since an M -good path is an oo-M -path or a cc-M -path or an oc-M -path, we get:

1. If |N | = 1, then

(a) N = {v1 v2 } or
(b) N = {v3 v4 } or
(c) the unique edge of N is adjacent to v1 v2 and to v3 v4 .

2. If |N | = 2, then

(a) v1 v2 ∈ N and the other edge of N is adjacent to v3 v4 but not adjacent to v1 v2 or


(b) v3 v4 ∈ N and the other edge of N is adjacent to v1 v2 but not adjacent to v3 v4 or

28
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

(c) N has an edge e adjacent to v1 v2 and to v3 v4 and the other edge of N is not
adjacent to e but it is adjacent to one of the edges of M .
3. If |N | = 3, then
(a) v1 v2 ∈ N and the other two edges of N are not adjacent to each other nor v1 v2
but they are adjacent to v3 v4 or
(b) v3 v4 ∈ N and the other two edges of N are not adjacent to each other nor v3 v4
but they are adjacent to v1 v2 or
(c) {v1 v2 , v3 v4 } ⊂ N and the other edge of N is not adjacent to v1 v2 nor v3 v4 or
(d) N has an edge e adjacent to v1 v2 and to v3 v4 and the other two edges of N are
not adjacent to each other nor to e but they are adjacent to the edges of M .
So, there are
2 X
X 4
2+ aih
i=1 h=3

matchings, in case 1., there are

dG1 (v1 ) − 1 + dG1 (v2 ) − 1 + dG2 (v3 ) − 1 + dG2 (v4 ) − 1+


2
X 4
X
aih [(dG1 (vj ) − 1) + (dG2 (vp ) − 1)]
i,j=1, h,p=3,
i̸=j h̸=p

matchings, in case 2., there are

(dG2 (v3 ) − 1)(dG2 (v4 ) − 1) + (dG1 (v1 ) − 1)(dG1 (v2 ) − 1)−

|NG1 (v1 ) ∩ NG1 (v2 )| − |NG2 (v3 ) ∩ NG2 (v4 )| + s+


2
X 4
X
aih [(dG1 (vj ) − 1)(dG2 (vp ) − 1) − |NG1 (vj ) ∩ NG2 (vp )|]
i,j=1, h,p=3,
i̸=j h̸=p

matchings, in case 3.
Consequently,
2 X
X 4
degG (M ) = k + 2 + aih +
i=1 h=3

dG1 (v1 ) − 1 + dG1 (v2 ) − 1 + dG2 (v3 ) − 1 + dG2 (v4 ) − 1+


2
X 4
X
aih [(dG1 (vj ) − 1) + (dG2 (vp ) − 1)]+
i,j=1, h,p=3,
i̸=j h̸=p

29
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

(dG2 (v3 ) − 1)(dG2 (v4 ) − 1) + (dG1 (v1 ) − 1)(dG1 (v2 ) − 1)−


|NG1 (v1 ) ∩ NG1 (v2 )| − |NG2 (v3 ) ∩ NG2 (v4 )| + s+
2
X 4
X
aih [(dG1 (vj ) − 1)(dG2 (vp ) − 1) − |NG1 (vj ) ∩ NG2 (vp )|] =
i,j=1, h,p=3,
i̸=j h̸=p

dG1 (v1 )dG1 (v2 ) − |NG1 (v1 ) ∩ NG1 (v2 )| + s+


dG2 (v3 )dG2 (v4 ) − |NG2 (v3 ) ∩ NG2 (v4 )| + s − s+
2
X 4
X
k+ aih [dG1 (vj )dG2 (vp ) − |NG1 (vj ) ∩ NG2 (vp )|].
i,j=1, h,p=3,
i̸=j h̸=p

Using Theorem 4.1 we get the result.

Example 5.2. Let M = {v2 v3 , v3 v4 } (edges of M in dark) the following matching in G:


vu5 vu6

vu7 v1 u uv2 vu8

u v3 u u u
v9 @ v4 v10
@
@
@u
v11

Note that NG (S(M )) = V (G).


The connected component of the subgraph of G induced by the vertex set V (G) \ {v3 , v4 }
where v1 v2 belongs (respectively, V (G) \ {v1 , v2 } where v3 v4 belongs) is G1 (respectively, G2 )
and M 1 = M ∩ E(G1 ) = {v1 v2 }, M 2 = M ∩ E(G2 ) = {v3 v4 }.
G1 vu5 vu6 vu7 G2 u
v8

vu7 v1 u uv2 vu8 u v3 u u u


v9 @ v4 v10
@
@
u @u
v9 v11

30
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

Using Theorem 5.1,

degG (M ) = degG1 (M 1 ) + degG2 (M 2 ) − s + k+


2
X 4
X
aih [dG1 (vj )dG2 (vp ) − |NG1 (vj ) ∩ NG2 (vp )|],
i,j=1, h,p=3,
i̸=j h̸=p

where s is the number of edges in G not adjacent to v1 v2 nor to v3 v4 , k is the number of


cycles of length 4, in G, where v1 v2 , v3 v4 belong and af g is the number of edges incident to
vf and to vg , for 1 ≤ f < g ≤ 4.
Consequently, s = 1 (the edge v7 v9 ) and k = 1 (the cycle v1 v2 , v2 v3 , v3 v4 , v4 v1 ). Moreover,

a13 = 1, a14 = 0, a23 = 1, a24 = 1,

dG2 (v3 ) = 3, dG2 (v4 ) = 4, dG1 (v1 ) = 3, dG1 (v2 ) = 3,


|NG1 (v1 ) ∩ NG2 (v3 )| = 0, |NG1 (v1 ) ∩ NG2 (v4 )| = 0,
|NG1 (v2 ) ∩ NG2 (v3 )| = 0, |NG1 (v2 ) ∩ NG2 (v4 )| = 1
(note that {v8 } = NG1 (v2 ) ∩ NG2 (v4 )). So, by Theorems 4.1 and 5.1,

degG (M ) =

(9 − 0 + 1) + (12 − 1 + 1) − 1 + 1 + a13 (12 − 1) + a23 (12 − 0) + a24 (9 − 0) =


10 + 12 + 11 + 12 + 9 = 54.

We finish this section with the degree of a matching with two edges in C4 .

Corollary 5.3. Let M be a matching in C4 with two edges. Then

degC4 (M ) = 5.

Proof. Let v1 , v2 , v3 , v4 be the four vertices of C4 and M = {v1 v2 , v3 v4 }. Note that C4 has a
unique cycle, the connected component of the subgraph of C4 induced by the two vertices
incident in an edge of M is P2 and the restriction of M to this subgraph has only the edge
of P2 . Moreover, all vertices of P2 has degree 1 and there are not edges in C4 not adjacent
to the both edges of M . Consequently, using Theorem 5.1 we get
2 X
X 4
1 2
degC4 (M ) = degP2 (M ) + degP2 (M ) + 1 + aih = 1 + 1 + 1 + 2 = 5.
i=1 h=3

31
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

6 Computing the degree of a matching


The goal of this section is to compute the degree of a matching with two or more edges. As
in [6] this question was solved for trees, we will consider graphs with cycles. In this section
we only use the withdraw operation on the graph with a matching.
Let G = (V (G), E(G)) be a connected graph, I ⊂ V (G) and J ⊂ E(G). We denote by
(I)
G the subgraph of G induced by the vertex set V (G) \ I. Let M be a matching in G. The
matching M gives rise to a matching M (I) = M ∩ E(G(I) ) in G(I) and to a matching M \ J
in G.

Theorem 6.1. Let G be a connected graph having at least one cycle. Let uv and zw be two
different edges of the matching M in G such that there is no path P in G contained uv and
zw with V (P ) ∩ S(M ) = V (P ). If V (G) \ NG (S(M )) = ∅, then

degG (M ) =

degG({u,v}) (M ({u,v}) ) + degG({z,w}) (M ({z,w}) ) − degG({u,v,z,w}) (M ({u,v,z,w}) ).

Proof. Let N be a matching in G adjacent to M in the matching polytope M(G). Then the
matching N verifies one of the following cases:
(i) the edge uv is in N
(ii) the edge zw is in N
(iii) neither the edge uv nor the edge zw are in N .
Then, we get

(1) N is a matching, in G, adjacent to M and verifies case (i) if and only if N \ {uv} is a
matching in G({u,v}) adjacent to M \ {uv} = M ({u,v}) ,

(2) N is a matching, in G, adjacent to M and verifies case (ii) if and only if N \ {zw} is
a matching in G({z,w}) adjacent to M \ {zw} = M ({z,w}) .

If the matching N have both edges, uv and zw, then N is a matching that verifies cases (i)
and (ii). So, if N contains both edges, uv and zw, and it is adjacent to M , then N \ {uv, zw}
is a matching in G({u,v,z,w}) adjacent to M \ {uv, zw} = M ({u,v,z,w}) . Moreover, the converse
is true.
By Theorem 1.1, M ∆N is an M -good path or an M -alternating cycle in G. If N is
a matching and verifies case (iii), then uv and zw are edges of M ∆N . This implies that
there is a path P in G contained uv and zw with V (P ) ∩ S(M ) = V (P ), contradicting the
hypothesis. Thus, there is no matching N in G adjacent to M and verifying the case (iii).
Therefore, the result follows.

Remark 6.2. The last result transforms the degree of a matching with some constraints in
a sum of degree of matchings having fewer edges than the initial one.

32
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

7 Conclusions
In this paper we consider graphs having cycles and we presented formulas to compute the
degree of a matching using some operations on the initial graph. More precisely, firstly we
focus on matchings with vertices that are not in the neighbor of the saturated vertices by the
matching. Then our goal was the matchings with one and two edges. And in Section 6 we
show a formula to obtain the degree of a matching with some constraints. We also defined
two operations on the graph with a matching, the elimination and the withdraw/choose.
An open question is how to compute the degree of a matching without the constraints
present in Theorem 6.1.

Acknowledgments
This work is funded by national funds through the FCT – Fundação para a Ciência e a
Tecnologia, I.P., under the scope of the projects UIDB/00297/2020 and UIDP/00297/2020
(https://doi.org/10.54499/UIDB/00297/2020 and https://doi.org/10.54499/UIDP/00297/2020)
(Center for Mathematics and Applications).
The author would like to thank the referees for the valuable comments that helped
improving the first version of this paper.

References
[1] N. Abreu, L. Costa, G. Dahl, E.A. Martins, The skeleton of acyclic Birkhoff polytopes
Linear Algebra Appl. 457 (2014) 29–48.

[2] N. Abreu, L. Costa, C.H. do Nascimento, L. Patuzzi, On the vertex degrees of the
skeleton of the matching polytope of a graph. Arxiv (2017).
https://arxiv.org/abs/1701.06210

[3] B. Bollobás, Modern graph theory, GTM 184, Springer (1998).

[4] L. Costa, C. M. da Fonseca, E. A. Martins, The diameter of the acyclic Birkhoff polytope,
Linear Algebra Appl. 428 (2008) 1524–1537.

[5] R. Diestel, Graph theory, Springer-Verlag, New York (2000).

[6] R. Fernandes, Computing the degree of a vertex in the skeleton of acyclic Birkhoff
polytopes, Linear Algebra Appl. 475 (2015) 119–133.

[7] B. Grunbaum, Convex polytopes, Springer-Verlag, New York (2003).

[8] L. Lovasz, M.D. Plumer, Matching theory, Ann. Discrete Math. 29, 121, North-Holland,
Amsterdam (1986).

[9] A. Schrijver, Combinatorial optimization: polyhedra and efficiency, Algorithms and


Combinatorics 24, Springer-Verlag (2003).

33
Fernandes/ American Journal of Combinatorics 3 (2024) 22–34

Contact Information
Rosário Fernandes Center for Mathematics and Applications (NOVA Math)
[email protected] and Department of Mathematics, NOVA FCT
Faculdade de Ciências e Tecnologia
2829-516 Caparica, Portugal
https://orcid.org/0000-0003-2695-9079

34

You might also like