Degenerate matchings and edge colorings Julien Baste, Dieter Rautenbach
To cite this version:
Julien Baste, Dieter Rautenbach. Degenerate matchings and edge colorings. Discrete Applied Math- ematics, Elsevier, 2018, 239, pp.38-44. 10.1016/j.dam.2018.01.002. hal-01777928
HAL Id: hal-01777928 https://hal.sorbonne-universite.fr/hal-01777928 Submitted on 25 Apr 2018
HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. 1 Degenerate Matchings and Edge Colorings
1 2 2 Julien Baste and Dieter Rautenbach
1 3 LIRMM, Universit´ede Montpellier, Montpellier, France, [email protected]
2 4 Institute of Optimization and Operations Research, Ulm University, Ulm, Germany,
6 Abstract
7 A matching M in a graph G is r-degenerate if the subgraph of G induced by the set of ver-
8 tices incident with an edge in M is r-degenerate. Goddard, Hedetniemi, Hedetniemi, and Laskar
9 (Generalized subgraph-restricted matchings in graphs, Discrete Mathematics 293 (2005) 129-138)
10 introduced the notion of acyclic matchings, which coincide with 1-degenerate matchings. Solving
11 a problem they posed, we describe an efficient algorithm to determining [determine] the maximum
12 size of an r-degenerate matching of a given chordal graph. Furthermore, we study the r-chromatic
13 index of a graph defined as the minimum number of r-degnerate matchings into which its edge set
14 can be partitioned, obtaining upper bounds and discussing extremal graphs.
Keywords: Matching; edge coloring; induced matching; acyclic matching; uniquely restricted 15 matching
16 1 Introduction
17 Matchings in graphs are a central topic of graph theory and combinatorial optimization [24]. While
18 classical matchings are tractable, several well known types of more restricted matchings, such as
19 induced matchings [8, 31] or uniquely restricted matchings [16], lead to hard problems. Goddard,
20 Hedetniemi, Hedetniemi, and Laskar [15] proposed to study so-called subgraph-restricted matchings
21 in general. In particular, they introduce the notion of acyclic matchings. By a simple yet elegant
22 argument (cf. Theorem 4 in [15]) they show that finding a maximum acyclic matching in a given
23 graph is hard in general, and they explicitly pose the problem to describe a fast algorithm for the
24 acyclic matching number in interval graphs. In the present paper, we solve this problem for the more
25 general chordal graphs. Furthermore, we study the edge coloring notion corresponding to acyclic
26 matchings. Before we give exact definitions and discuss our results as well as related research, we introduce some terminology. We consider finite, simple, and undirected graphs, and use standard notation. A matching in a graph G is a subset M of the edge set E(G) of G such that no two edges in M are adjacent. Let V (M) be the set of vertices incident with an edge in M. M is induced [8] if the subgraph G[V (M)] of G induced by the set V (M) is 1-regular, that is, M is the edge set of G[V (M)]. Induced matching are also known as strong matchings. M is uniquely restricted [16] if there is no other matching M 0 in G distinct from M that satisfies V (M) = V (M 0). It is easy to see that M is uniquely restricted if and only if there is no M-alternating cycle in G, which is a cycle in G every second edge
of which belongs to M [16]. Finally, M is acyclic [15] if G[V (M)] is a forest. Let ν(G), νs(G), νur(G),
1 and ν1(G) be the maximum sizes of a matching, an induced matching, a uniquely restricted matching, and an acyclic matching in G, respectively. Since every induced matching is acyclic, and every acyclic matching is uniquely restricted, we have
νs(G) ≤ ν1(G) ≤ νur(G) ≤ ν(G).
27 We chose the notation “ν1(G)” rather than something like “νac(G)”, because we consider some further
28 natural generalization.
29 For a non-negative integer r, a graph G is r-degenerate if every subgraph of G of order at least
30 one has a vertex of degree at most r. Note that a graph is a forest if and only if it is 1-degenerate.
31 An r-degenerate order of a graph G is a linear order u1, . . . , un of its vertices such that, for every i in
32 [n], the vertex vi has degree at most r in G[{vi, . . . , vn}], where [n] is the set of the positive integers
33 at most n. Clearly, a graph is r-degenerate if and only if it has an r-degenerate order.
34 Now, let a matching M in a graph G be r-degenerate if the induced subgraph G[V (M)] is r-
35 degenerate, and let νr(G) denote the maximum size of an r-degenerate matching in G. For every type of matching, there is a corresponding edge coloring notion. An edge coloring of a graph G is a partition of its edge set into matchings. An edge coloring is induced (strong), uniquely restricted, and r-degenerate if each matching in the partition has this property, respectively. Let χ0(G), 0 0 0 χs(G), χur(G), and χr(G) be the minimum numbers of colors needed for the corresponding colorings, respectively. Clearly, 0 0 0 0 χs(G) ≥ χ1(G) ≥ χur(G) ≥ χ (G).
36 In view of the hardness of the restricted matching notions, lower bounds on the matching numbers
37 [17–20], upper bounds on the chromatic indices [3, 4], efficient algorithms for restricted graph classes
38 [9–11, 13, 25], and approximation algorithms have been studied [4, 30]. There is only few research
39 concerning acyclic matchings; Panda and Pradhan [28] describe efficient algorithms for chain graphs
40 and bipartite permutation graphs. 0 41 Vizing’s [32] famous theorem says that the chromatic index χ (G) of G is either ∆(G) or ∆(G) + 1,
42 where ∆(G) is the maximum degree of G. Induced edge colorings have attracted much attention 0 5 2 43 because of the conjecture χs(G) ≤ 4 ∆(G) posed by Erd˝osand Neˇsetˇril(cf. [12]). Building on earlier 0 2 44 work of Molloy and Reed [27], Bruhn and Joos [7] showed χs(G) ≤ 1.93∆(G) provided that ∆(G) 0 2 45 is sufficiently large. In [4] we showed χur(G) ≤ ∆(G) with equality if and only if G is the complete
46 bipartite graph K∆(G),∆(G).
0 47 Our results are upper bounds on χr(G) with the discussion of extremal graphs, and an efficient 48 algorithm for νr(G) in chordal graphs, solving the problem posed in [15].
49 2 Bounds on the r-degenerate chromatic index
50 Since, for every two positive integers r and ∆, every r-degenerate matching of the complete bipartite 0 ∆2 51 graph K∆,∆ of order 2∆ has size at most r, we obtain χr(K∆,∆) ≥ r . 52 Our first result gives an upper bound in terms of r and ∆. {theorem1}
53 Theorem 1 If r is a positive integer and G is a graph of maximum degree at most ∆, then
2(∆ − 1)2 χ0 (G) ≤ + 2(∆ − 1) + 1. (1) {e1} r r + 1
2 j 2(∆−1)2 k 54 Proof: Let K = r+1 + 2(∆ − 1) + 1 . The proof is based on a inductive coloring argument. We 55 may assume that all but exactly one edge uv of G are colored using colors in [K] such that, for every
56 color α in [K], the edges of G colored with α form an r-degenerate matching. We consider the colors
57 in [K] that are forbidden by colors of the edges close to uv. In order to complete the proof, we need
58 to argue that there is always still some available color for uv in [K].
59 We introduce some notation illustrated in Figure 1. Let Nu = NG(u)\NG[v], Nv = NG(v)\NG[u],
60 and Nu,v = NG(u) ∩ NG(v). Let nu = |Nu|, nv = |Nv|, and nu,v = |Nu,v|. Clearly, nu + nu,v =
61 dG(u) − 1 ≤ ∆ − 1 and nv + nu,v = dG(v) − 1 ≤ ∆ − 1. Let Eu be the set of edges between u and Nu,
62 Ev be the set of edges between v and Nv, Eu,v be the set of edges between {u, v} and Nu,v, and, for
63 every vertex w ∈ Nu ∪ Nv ∪ Nu,v, let Ew be the set of edges incident with w but not incident with u
64 or v. Clearly, |Eu| + |Ev| + |Eu,v| = (dG(u) − 1) + (dG(v) − 1) ≤ 2(∆ − 1) and |Ew| ≤ ∆ − 1 for every
65 vertex w ∈ Nu ∪ Nv ∪ Nu,v.
HH Ew HH HH ¨¨ ¨ Eu Ev ¨¨ wu e % u ¨ e % eu v% N e % N u %AQ ¡e v Q Ev0 % uA Q Eu,v ¡ u e ¨ Nu0 Q ¨ u0 %% A Q ¡ ee v0 ¨ A Q ¡ ¨ ¨¨ E 00 A Q ¡ HH u Q HH H u00 A Q¡ H HH u u H H Nu,v HH ¨ ¨¨ u u ¨ u ¨ ¨
00 Figure 1: Vertices and edges close to uv. The indicated objects Nu0 , u , and Eu00 will be introduced and discussed in the proof of Theorem 2. Note that the set Nu ∪Nv ∪Nu,v is not required to be independent, 0 that is, the sets Ew and Ew0 may intersect for distinct vertices w and w in Nu ∪ Nv ∪ Nu,v. {fig1}
Let F1 be the colors that appear on edges in Eu ∪ Ev ∪ Eu,v. Clearly, every color in F1 is forbidden
for uv, because each color class must be a matching. Let F2 be the colors α in [K] that do not belong
to F1 such that α α α du + 2du,v + dv ≥ r + 1,
α α 66 where du is the number of vertices in Nu incident with an edge colored α, dv is the number of vertices α 67 in Nv incident with an edge colored α, and du,v is the number of vertices in Nu,v incident with an edge α α α 68 colored α. Note that, since F1 and F2 are disjoint, none of the edges contributing to du + 2du,v + dv
69 is incident with u or v.
70 If there is some α in [K] \ (F1 ∪ F2), then neither u nor v is incident with an edge of color α, and α α α α α α α α α α α 71 du +2du,v+dv ≤ r. This implies min{dv +du,v, dv +du,v} ≤ br/2c ≤ r−1 and max{dv +du,v, dv +du,v} ≤
72 r. Hence, coloring uv with color α, the edges of G colored α form an r-degenerate matching. As
73 explained above this would complete the proof. Therefore, we may assume that F1 ∪ F2 = [K].
74 Note that
|F1| ≤ |Eu ∪ Ev ∪ Eu,v| (2) {e3a}
3 = (dG(u) − 1) + (dG(v) − 1) ≤ 2(∆ − 1) (3) {e3b}
75 with equality if and only if
76 (a) all edges in Eu ∪ Ev ∪ Eu,v are colored differently (equality in (2)), and
77 (b) u and v have degree ∆ (equality in (3)).
78 Furthermore,
X α α α (r + 1)|F2| ≤ du + 2du,v + dv (4) {e2a} α∈F2 X X X ≤ |Ew| + 2 |Ew| + |Ew| (5) {e2b}
w∈Nu w∈Nu,v w∈Nv
≤ (∆ − 1)nu + 2(∆ − 2)nu,v + (∆ − 1)nv (6) {e2c}
≤ (∆ − 1)(dG(u) − 1) + (∆ − 1)(dG(v) − 1) (7) {e2d} ≤ 2(∆ − 1)2. (8) {e2e}
2 79 Note that (r + 1)|F2| = 2(∆ − 1) if and only if equality holds in (4) to (8), which implies that
α α α 80 (c) du + 2du,v + dv = r + 1 for every color α in F2 (equality in (4)), S 81 (d) all edges in Ew have a color from F2 (equality in (5)), w∈Nu∪Nu,v∪Nw
82 (e) all vertices in Nu ∪ Nu,v ∪ Nv have degree ∆ (equality in (6)),
83 (f) nu,v = 0, that is, u and v have no common neighbor (equality in (7)), and
84 (g) u and v have degree ∆ (equality in (8)).
85 Altogether, we obtain
2(∆ − 1)2 |K| = |F ∪ F | = |F | + |F | ≤ 2(∆ − 1) + , 1 2 1 2 α + 1
86 contradicting the choice of K. This completes the proof. 2
2 87 For r = 1, the bound from Theorem 1 simplifies to ∆ . In view of K∆,∆, Theorem 1 is tight in this
88 case, and, as we show next, K∆,∆ is the only extremal graph. {theorem2} 0 2 89 Theorem 2 If G is a graph of maximum degree at most ∆, then χ1(G) = ∆ if and only if G is 90 K∆,∆.
0 2 0 2 0 2 91 Proof: By Theorem 1, we have χ1(G) ≤ ∆ . Since χ1(K∆,∆) = ∆ , it suffices to show that χ1(G) = ∆ 2 92 implies that G is K∆,∆. Therefore, we consider a 1-degenerate edge coloring of G using colors in [∆ ] 2 2 93 such that the number of edges colored ∆ is as small as possible. Let uv be an edge colored ∆ .
94 We use the notation and observations from the proof of Theorem 1. Recall that |F1| ≤ 2(∆ − 1) 2 2 95 and 2|F2| ≤ 2(∆ − 1) , which implies |F1 ∪ F2| ≤ ∆ − 1. Furthermore, recall that uv can be colored 2 96 with any color in [∆ − 1] \ (F1 ∪ F2). By the choice of the coloring, these observations imply that 2 2 97 F1 ∪ F2 = [∆ − 1], |F1| = 2(∆ − 1), and 2|F2| = 2(∆ − 1) . The latter two equalities imply that the
4 α α 98 properties (a) to (g) hold. In particular, by (c), for every color α in F2, we have du + dv = 2, that is, 99 exactly two vertices in Nu ∪ Nv are incident with an edge colored α.
0 0 100 Let u ∈ Nu and let α be the color of the edge uu . We introduce some more notation already illustrated 0 101 in Figure 1. Let Nu0 = NG(u ) \{u}. For every vertex w in Nu0 , let Ew be the set of edges incident 0 2 S 102 with w but not incident with u . Let Eu0 = Ew. w∈Nu0 2 103 For every color β in [∆ − 1], let kβ be the number of vertices w in {v} ∪ Nv such that Ew contains 0 0 104 an edge colored β, and, similarly, let kβ be the number of vertices w in {u } ∪ Nu0 such that Ew 105 contains an edge colored β. Since the color classes are matchings, for every such color β, each of 0 106 the sets Ew [, w ∈ {u , v} ∪ Nv ∪ Nu0 ,] contains at most one edge colored β. By (a), (c), and (d), S 107 all edges in Ev have a different color from F1, all edges in Ew have colors from F2, kβ ∈ {0, 1} w∈Nv 108 for every color β in F1, and kβ ∈ {0, 1, 2} for every color β in F2. By (b), (e), and (f), we have P P 109 kβ = |Ev| + |Ew| = ∆(∆ − 1). β∈[∆2−1] w∈Nv 110 First, let β in F1 be such that kβ = 1. Since F1 and F2 are disjoint by definition, (d) implies that 0 2 111 no edge in Eu0 has color β. If kβ = 0, that is, no edge in Eu0 has color β, then changing the color of 0 2 112 uv to α and the color of uu to β yields a 1-degenerate edge coloring with less edges colored ∆ , which 0 113 is a contradiction. Hence, kβ ≥ 1. 0 2 114 Next, let β be a color in F2 with kβ = 1. If kβ = 0, that is, no edge in Eu0 ∪ Eu0 has color β, then 0 115 changing the color of uv to α and the color of uu to β yields a 1-degenerate edge coloring with less 2 0 116 edges colored ∆ , which is a contradiction. Hence, kβ ≥ 1. 0 117 Finally, let β be a color in F2 with kβ = 2. By (c), no edge in Eu0 has color β. If kβ ≤ 1, that 118 is, there is at most one vertex in Nu0 that is incident with an edge colored β, then changing the color 0 2 119 of uv to α and the color of uu to β yields a 1-degenerate edge coloring with less edges colored ∆ , 0 120 which is a contradiction. Hence, kβ ≥ 2. 0 2 121 Altogether, it follows that kβ ≥ kβ for every β ∈ [∆ − 1], and, we obtain
X X 0 X X ∆(∆ − 1) = kβ ≤ kβ ≤ |Eu0 | + |Ew| ≤ (∆ − 1) + (∆ − 1) ≤ ∆(∆ − 1). 2 2 β∈[∆ −1] β∈[∆ −1] w∈Nu0 w∈Nu0
0 2 122 Equality throughout this inequality sequence implies that kβ = kβ for every β ∈ [∆ − 1], all edges 2 2 123 from Eu0 ∪ Eu0 have a color from [∆ − 1], and all vertices in Nu0 have degree ∆. 0 0 0 124 Now, let v ∈ Nv. Note that symmetric observations apply to the vertex v as to the vertex u . Let 0 00 00 000 125 the edge vv have color β. There is exactly one vertex u in Nu0 such that some edge in Eu00 , say u u , 0 126 has color β. Defining Nv0 and Ew for w ∈ Nv0 similarly as above, it follows, by symmetry between u 0 00 00 000 127 and v , that there is exactly one vertex v in Nv0 such that some edge in Ev00 , say v v , has color α. 00 000 0 128 If the edge u u is distinct from the edge vv , then changing the color of uv to β and the color 0 2 129 of vv to α yields a 1-degenerate edge coloring with less edges colored ∆ , which is a contradiction. 00 000 0 2 00 130 Hence, the edge u u equals vv . Since v is incident with an edge colored ∆ but u is not, we obtain 00 0 0 0 131 that u equal v , that is, u and v are adjacent.
0 0 132 Since u and v were arbitrary vertices in Nu and Nv, respectively, it follows, by symmetry, that every
133 vertex in Nu is adjacent to every vertex in Nv, that is, G is K∆,∆. 2
134 We believe that, for large values of r, the bound from Theorem 1 is far from being tight. Our next
135 result vaguely supports this. {proposition1}
5 136 Proposition 3 If r is an integer at least 2, then no graph G of maximum degree at most ∆ satisfies 0 2(∆−1)2 137 χr(G) = r+1 + 2(∆ − 1) + 1.
0 138 Proof: For contradiction, suppose that G is a graph of maximum degree ∆ that satisfies χr(G) = K, 2(∆−1)2 139 where K = r+1 +2(∆−1)+1. Similarly as in the proof of Theorem 2, we consider an r-degenerate 140 edge coloring of G using colors in [K] such that the number of edges colored K is as small as possible.
141 Let uv be an edge colored K. Again using the same notation as in the proof of Theorem 1 and arguing 2 142 as in the proof of Theorem 2, we obtain that F1 ∪F2 = [K −1], |F1| = 2(∆−1), (r+1)|F2| = 2(∆−1) ,
143 and that the properties (a) to (g) hold. α α 144 Suppose that there is some color α in F2 such that du and dv are both positive. In this case, (c) α α α α 145 and r ≥ 2 imply that min{du, dv } ≤ r − 1 and max{du, dv } ≤ r, and changing the color of uv to α
146 yields an r-degenerate edge coloring with less edges colored K, which is a contradiction. Hence, for α α 147 every color α in F2, we obtain, again using (c), that (du, dv ) ∈ {(0, r + 1), (r + 1, 0)}. 0 0 148 Let u ∈ Nu and let uu have color α. Arguing as in the Theorem 2 and using the same notation as
149 there, it follows that every color β in F1 that appears on some edge in Ev appears on at least one edge 2 150 in Eu0 . 151 Now, let β be a color in F2 such that some vertex in Nv is incident with an edge colored β. Since β β β 152 dv > 0 implies du = 0 and dv = r + 1, there are exactly r + 1 such vertices. If at most r vertices 0 153 in Nu0 are incident with an edge colored β, then changing the color of uv to α and the color of uu
154 to β yields an r-degenerate edge coloring with less edges colored K, which is a contradiction. Hence,
155 for every such color β, at least r + 1 vertices in Nu0 are incident with an edge colored β, and, since β 2 156 du = 0, all these edges belong to Eu0 . 157 Altogether, we obtain the contradiction
2 X X (∆ − 1) ≥ |Ew| ≥ |Ev| + |Ew| = ∆(∆ − 1),
w∈Nu0 w∈Nv
158 which completes the proof. 2
159 3 Efficient algorithm for chordal graphs
160 Let G be a chordal graph. It is well known that G has a tree decomposition (T, (Xt)t∈V (T )) such that 161 each bag Xt is a clique in G. By applying standard manipulations [6], we may furthermore assume
162 that
163 • T is a rooted binary tree,
164 • if t is the root or a leaf of T , then Xt = ∅,
0 00 165 • if some node t of T has two children t and t , then Xt = Xt0 = Xt00 (t is a “join node”),
0 166 • if some node t of T has only one child t , then
167 either |Xt \ Xt0 | = 1 and |Xt0 \ Xt| = 0 (t is an “introduce node”)
168 or |Xt \ Xt0 | = 0 and |Xt0 \ Xt| = 1 (t is a “forget node”), and
169 • given G, the decomposition (T, (Xt)t∈V (T )) can be constructed in polynomial time, in particular,
170 n(T ) is polynomially bounded in terms of n(G).
6 171 For every note t of T , let Tt denote the subtree of T rooted in t that contains t and all its descendants. S 172 Let Gt be the subgraph of G induced by Xs. s∈V (Tt) 173 We design a dynamic programming procedure calculating νr(G) for a fixed positive integer r.
174 Therefore, for every node t of T , let Rt be the set of all triples (S, N, k) such that
175 (i) N ⊆ S ⊆ Xt and