GRAPHS WITH SMALL ADDITIVE STRETCH NUMBER
Dieter Rautenbach
Forschungsinstitut f¨ur Discrete Mathematik Lenn´estr. 2, D–53113 Bonn, Germany
e-mail: rauten@or.uni-bonn.de
Abstract
The additive stretch number s
add(G) of a graph G is the maximum difference of the lengths of a longest induced path and a shortest in- duced path between two vertices of G that lie in the same component of G.
We prove some properties of minimal forbidden configurations for the induced-hereditary classes of graphs G with s
add(G) ≤ k for some k ∈ N
0= {0, 1, 2, . . .}. Furthermore, we derive characterizations of these classes for k = 1 and k = 2.
Keywords: stretch number, distance hereditary graph, forbidden induced subgraph.
2000 Mathematics Subject Classification: 05C12, 05C75.
1. Introduction
Let G = (V, E) be a finite and simple graph. A path P : x
0x
1x
2. . . x
lin G is called induced, if for 0 ≤ i < j ≤ l we have x
ix
j∈ E if and only if j − i = 1. For vertices x and y in G that lie in the same component of G let P
G(x, y) and p
G(x, y) denote a longest and a shortest induced path in G from x to y, respectively. Let D
G(x, y) and d
G(x, y) denote the lengths of P
G(x, y) and p
G(x, y), respectively.
In [3] Cicerone, D’Ermiliis and Di Stefano define the additive stretch
number s
add(G) of G as the maximum of D
G(x, y) − d
G(x, y) over all pairs
of vertices x and y of G that lie in the same component of G. A multiplicative
version of this parameter was introduced and studied in [2], [4] (cf. also [6]).
Note that s
add(G) = 0 holds for a graph G, if and only if G is distance hereditary [1, 5].
It is obvious from the definitions that the class of graphs G with s
add(G) ≤ k for some k ∈ N
0= {0, 1, 2, . . .} is induced-hereditary, i.e., it is closed under forming induced subgraphs and can therefore be charac- terized in terms of minimal forbidden induced subgraphs. The final result of [3] is such a characterization of the class of graphs G with s
add(G) ≤ 1.
Since Cicerone et al. derive this result from the main result of [4], their proof is long and indirect.
The purpose of the present paper is to provide a direct approach, a simpler proof of their result and an extension of it. In the next section we collect some properties of ‘forbidden configurations’. In Section 3, we derive char- acterizations of the induced-hereditary classes of graphs G with s
add(G) ≤ k for k ∈ {1, 2}.
For plenty of references to related work and motivating comments on this concept we refer the reader to [2], [3] and [4].
2. Forbidden Configurations
Throughout this section let G = (V, E) be a graph such that s
add(G) > k for some k ∈ N
0. Let x, y ∈ V be such that
(i) D
G(x, y) − d
G(x, y) > k,
(ii) d
G(x, y) is minimum subject to (i) and (iii) D
G(x, y) is minimum subject to (i) and (ii).
Clearly, d
G(x, y) ≥ 2 and thus D
G(x, y) + d
G(x, y) > 2d
G(x, y) + k ≥ 4 + k.
Let P
G(x, y) : x = u
0u
1u
2. . . u
D−1u
D= y be a longest induced path from x to y and let p
G(x, y) : x = v
0v
1v
2. . . v
d−1v
d= y be a shortest induced path from x to y.
Since the paths are induced, u
iu
j6∈ E for 0 ≤ i, j ≤ D with j − i ≥ 2 and v
iv
j6∈ E for 0 ≤ i, j ≤ d with j − i ≥ 2. By Condition (ii) of the choice of x and y, we have v
1, v
d−16∈ {u
1, u
2, . . . , u
D−1} and u
1, u
D−16∈
{v
1, v
2, . . . , v
d−1}.
If for some 1 ≤ j ≤ d − 1 the vertex v
jhas a neighbour in {u
1, u
2, . . . , u
D−1}, then we define
l
j= min{j
0| 1 ≤ j
0≤ D − 1 and v
ju
j0∈ E}
and
r
j= max{j
0| 1 ≤ j
0≤ D − 1 and v
ju
j0∈ E}
and say that r
jand l
jare defined. Note that if v
j∈ {u
1, u
2, . . . , u
D−1} for some 1 ≤ j ≤ d − 1, then 2 ≤ j ≤ d − 2, v
jhas a neighbour in {u
1, u
2, . . . , u
D−1} and r
jand l
jare defined. Furthermore, by Condition (ii), if d
G(x, y) ≥ 3, then the indices r
1, l
1, r
d−1and l
d−1are defined. We collect some properties of P
G(x, y) and p
G(x, y).
Lemma 1.
(i) If r
jis defined for some 1 ≤ j ≤ d − 1, then r
j≤ k + j + 1.
(ii) If r
jis defined for some 1 ≤ j ≤ d − 2, then r
j≥ (D − d − k) + j + 1.
(iii) r
d−1≥ D − k − 2.
(iv) If r
jis defined for some 1 ≤ j ≤ d − 2 − d
k2e, then at least one of r
j+1, r
j+2, . . . , r
j+dk2e
is defined.
P roof. (i) For contradiction we assume that r
j> j +k+1 for some 1 ≤ j ≤ d − 1. xu
1u
2. . . u
rjis an induced path from x to u
rjand xv
1v
2. . . v
ju
rjis a path from x to u
rj. Note that the existence of a path of length l between two vertices always implies the existence of an induced path of length at most l between these vertices.
Hence D
G(x, u
rj) − d
G(x, u
rj) ≥ r
j− (j + 1) > k. Since either d
G(x, u
rj)
< d or d
G(x, u
rj) = d and D
G(x, u
rj) < D, we obtain a contradiction to the choice of x and y. This implies (i).
(ii) For contradiction we assume that r
j≤ (D − d − k) + j for some 1 ≤ j ≤ d − 2.
v
ju
rju
rj+1. . . u
D−1y is an induced path from v
jto y and v
jv
j+1. . . v
d−1y is an induced path from v
jto y. Hence D
G(v
j, y) − d
G(v
j, y) ≥ (D − r
j+ 1)
−(d − j) > k. Since d
G(v
j, y) < d, we obtain a contradiction to the choice of x and y. This implies (ii).
(iii) For contradiction we assume that r
d−1≤ D − k − 3.
u
rd−1u
rd−1+1. . . u
D−1y is an induced path from u
rd−1to y and u
rd−1v
d−1y is an induced path from u
rd−1to y. Hence D
G(u
rd−1, y) − d
G(u
rd−1, y) ≥ (D − r
d−1) − 2 > k. Since either d
G(u
rd−1, y) < d or d
G(u
rd−1, y) = d and D
G(u
rd−1, y) < D, we obtain a contradiction to the choice of x and y. This implies (iii).
(iv) For contradiction we assume that r
jis defined and that r
j+1, r
j+2, . . . , r
j+dk2e
are not defined for some 1 ≤ j ≤ d − 2 − d
k2e.
v
j+dk 2ev
j+dk2e−1
. . . v
ju
rju
rj+1. . . u
D−1y is an induced path from v
j+dk 2eto y and v
j+dk 2ev
j+dk2e+1
. . . v
d−1y is an induced path from v
j+dk2e
to y.
Hence, by (i),
D
G(v
j+dk2e
, y) − d
G(v
j+dk2e
, y) ≥ µ
D − r
j+
» k 2
¼ + 1
¶
− µ
d − j −
» k 2
¼¶
≥ D − d − r
j+ k + j + 1
≥ D − d > k.
Since d
G(v
j+dk2e
, y) < d, we obtain a contradiction to the choice of x and y.
This implies (iv) and the proof is complete.
By symmetry, we obtain.
Corollary 2.
(i) If l
jis defined for some 1 ≤ j ≤ d − 1, then l
j≥ (D − d − k) + j − 1.
(ii) If l
jis defined for some 2 ≤ j ≤ d − 1, then l
j≤ k + j − 1.
(iii) l
1≤ k + 2.
(iv) If l
jis defined for some 2 + d
k2e ≤ j ≤ d − 1, then at least one of l
j−1, l
j−2, . . . , l
j−dk2e
is defined.
Using Lemma 1, we can bound D
G(x, y) − d
G(x, y).
Corollary 3. If d
G(x, y) = 2 and r
1is defined, then k + 1 ≤ D
G(x, y) − d
G(x, y) ≤ 2k +2 and if d
G(x, y) ≥ 3, then k +1 ≤ D
G(x, y)−d
G(x, y) ≤ 2k.
P roof. If d
G(x, y) = 2 and r
1is defined, then (i) and (iii) of Lemma 1 imply D − k − 2 ≤ r
d−1= r
1≤ k + 1 + 1 and hence k + 1 ≤ D
G(x, y) − d
G(x, y) = D − 2 ≤ 2k + 2.
If d
G(x, y) ≥ 3, then r
1is defined and 1 < d − 1. Now (i) and (ii) of Lemma 1 imply (D − d − k) + 1 + 1 ≤ r
1≤ k + 1 + 1 and hence k + 1 ≤ D − d ≤ 2k.
The next lemma analyses the situation when the two paths P
G(x, y) and
p
G(x, y) ‘meet in reverse order’.
Lemma 4. There are no k
1, k
2∈ N = {1, 2, . . .} with k
1+ k
2≥ k and u
j1= v
j2+k2and u
j1+k1= v
j2for some 1 ≤ j
1≤ D − 1 − k
1and some 1 ≤ j
2≤ d − 1 − k
2(cf. Figure 1 for an illustration).
r r
r r
r r r
r r
r r r r r
¡ ¡
x v
1v
d−1u
1u
D−1v
j2y
u
j1+k1v
j2+k2u
j1-
¾
¡ ¡
@ @
@ @
Figure 1. Parts of P
G(x, y) and p
G(x, y)
P roof. For contradiction, we assume that k
1, k
2, j
1and j
2exist as in the statement.
If j
1= 1, then xv
j2+k2∈ E with j
2+ k
2≥ 2 which is a contradiction.
This implies j
1≥ 2. By symmetry, we obtain 2 ≤ j
1≤ (D − 1 − k
1) − 1 and 2 ≤ j
2≤ (d − 1 − k
2) − 1.
We assume that j
1− j
2< (D − d − k) + k
2. u
j1u
j1+1. . . u
D−1y is an induced path from u
j1= v
j2+k2to y and v
j2+k2v
j2+k2+1. . . v
d−1y is an induced path from u
j1= v
j2+k2to y. Hence D
G(u
j1, y) − d
G(u
j1, y) ≥ (D − j
1) − (d − j
2− k
2) > k. Since d
G(u
j1, y) < d, we obtain a contradiction to the choice of x and y. Hence j
1− j
2≥ (D − d − k) + k
2.
xu
1u
2. . . u
j1+k1is an induced path from x to u
j1+k1= v
j2and xv
1v
2. . . v
j2is an induced path from x to u
j1+k1= v
j2. Hence D
G(x, v
j2) − d
G(x, v
j2) ≥ (k
1+ j
1) − j
2≥ D − d − k + k
1+ k
2≥ D − d > k. Since d
G(x, v
j2) < d, we obtain a contradiction to the choice of x and y and the proof is complete.
3. {G | s add (G) ≤ k} for k ∈ {1, 2}
Let G = (V, E) be a graph. If ˜ V ⊆ V , then G[ ˜ V ] denotes the subgraph of G induced by ˜ V . A chord of a cycle C of G is an edge of G that joins two non-consecutive vertices of C. The chord distance cd(C) of a cycle C of G is the minimum number of consecutive vertices of C such that each chord of C is incident with one of these vertices.
In order to facilitate the statement of our main result we introduce some
more notation. For some ν ≥ 2 let n
1, n
2, . . . , n
ν≥ 5, c
1, c
2, . . . , c
ν≥ 1 and
m
1, m
2, . . . , m
ν−1≥ 1 be integers. For 1 ≤ i ≤ ν let G
i: x
1,ix
2,i. . . x
ni,ix
1,ibe a cycle of order n
isuch that all chords of G
iare incident with a vertex in {x
1,i, x
2,i, . . . , x
ci,i}, i.e., G
ihas chord distance at most c
i. For 1 ≤ i ≤ ν − 1 let H
i: y
1,iy
2,i. . . y
mi,ibe an induced path of order m
i. Let the graph
G((n
1, c
1), m
1, (n
2, c
2), m
2, . . . , (n
ν−1, c
ν−1), m
ν−1, (n
ν, c
ν))
arise by identifying the two vertices x
ci+1,iand y
1,iand the two vertices x
ni+1,i+1and y
mi,ifor 1 ≤ i ≤ ν − 1. (Note that if m
i= 1 for some 1 ≤ i ≤ ν − 1, then y
1,i= y
mi,iand the three vertices x
ci+1,i, y
1,iand x
ni+1,i+1are identified.) See Figure 2 for an illustration of two examples.
G((8, 2), 3, (5, 1))
x
1,1x
2,1x
7,1x
4,1s s s s
x
3,1y
1,1x
5,2y
3,1s x
1,2s s
s s s
s
s s s
G((6, 1), 3, (5, 1), 4, (5, 1))
s s s
x
2,1s y
1,1s s x
5,2y
3,1s s x
2,2y
1,2s s s
x
5,3y
4,2s s
s s
s s s s
Figure 2. G((8, 2), 3, (5, 1)) and G((6, 1), 3, (5, 1), 4, (5, 1))
We proceed to our main result of this section.
Theorem 5. Let k ∈ {1, 2}. A graph G = (V, E) satisfies s
add(G) ≤ k if and only if
(a) (cf. [3]) for k = 1 the graph G does not contain one of the following graphs as an induced subgraph.
(i) A chordless cycle C of length l ≥ 6.
(ii) A cycle C of length l ∈ {6, 7, 8} and chord distance cd(C) = 1.
(iii) A cycle C of length 8 and chord distance cd(C) = 2.
(iv) The graph G((5, 1), m
1, (5, 1)) for some m
1≥ 1.
(b) for k = 2 the graph G does not contain one of the following graphs as an induced subgraph.
(i) A chordless cycle C of length l ≥ 7.
(ii) A cycle C of length l ∈ {7, 8, 9, 10} and chord distance cd(C) = 1.
(iii) A cycle C of length 9 or 10 and chord distance cd(C) = 2.
(iv) A cycle C of length 11 and chord distance cd(C) = 3.
(v) The graph that arises from G((5, 1), 1, (6, 1)) by adding the edge x
1,1x
5,2(cf. Figure 3).
t t
x
1,1t x
1,2t t t x
6,2t t
x
2,1y
1,1x
5,2t t
¡ ¡ ¡
©© ©© © H H H H H
Figure 3
(vi) The graph G((6, 1), m
1, (5, 1)) for some m
1≥ 1.
(vii) The graph G((8, 2), m
1, (5, 1)) for some m
1≥ 1.
(viii) The graph G((6, 1), m
1, (6, 1)) for some m
1≥ 1.
(ix) The graph G((5, 1), m
1, (5, 1), m
2, (5, 1)) for some m
1, m
2≥ 1.
P roof. The ‘only if ’-part can easily be checked by calculating s
addfor the described graphs and we leave this task to the reader. For the ‘if’-part, we assume that s
add(G) > k and prove that G has an induced subgraph as described in (a) or (b), respectively.
Let x, y, P
G(x, y) : x = u
0u
1. . . u
D−1u
D= y, p
G(x, y) : x = v
0v
1. . . v
d−1v
d= y, r
jand l
jbe exactly as in Section 2, i.e., the Conditions (i) to (iii) are satisfied.
If d = d
G(x, y) = 2, then C : xv
1yu
D−1. . . u
1x is a cycle of length D + d ≥ 2d + k + 1 = 5 + k in G. If C has no chords, then C is as in (i) of (a) and (b), respectively. If C has chords, then all chords of C are incident with v
1and Corollary 3 implies that C is as in (ii) of (a) and (b), respectively.
We can assume now that d ≥ 3. Since r
1and l
1are defined and since d
k2e = 1, (iv) of Lemma 1 and Corollary 2 imply that r
jand l
jare defined for all 1 ≤ j ≤ d − 1. Furthermore, the estimations given in Lemma 1, Corollary 2 and Corollary 3 hold. (Note that in what follows we often use these estimations without explicit reference.)
If d = 3, then C : xv
1v
2yu
D−1. . . u
1x is a cycle of G. By the above properties, C is as in (iii) of (a) and (b), respectively.
From now on we assume that d ≥ 4.
If k = 1, then r
1= 3 and l
d−1= d − 1 and the graph G[{x, y, v
1, v
d−1, u
1, u
2, . . . , u
d+1}] is as in (iv) of (a). (Note that the proof for the case k = 1 is already complete at this point.)
From now on we assume that k = 2.
Case 1. r
1= 4 or l
d−1= D − 4.
If D ≥ 8 or (D, r
1) = (7, 3) or (D, l
d−1) = (7, D − 3), then the graph G[{x, y, v
1, v
d−1, u
1, u
2, . . . , u
D−1}] is as in (vi) or (viii) of (b). Hence we assume d = 4, D = 7, r
1= 4 and l
3= 3. Since v
1u
5, v
3u
26∈ E, we have v
26∈ {u
1, u
2, u
5, u
6}. If v
26∈ {u
3, u
4}, then the graph G[{x, y, v
1, v
2, v
3, u
1, u
2, . . . , u
6}] is as in (iv) of (b). If v
2∈ {u
3, u
4}, then, by symmetry, we can assume that v
2= u
3and the graph G[{x, y, v
1, v
3, u
1, u
2, . . . , u
6}] is as in (v) of (b). This completes the case.
From now on we assume that r
1= 3 and l
d−1= D − 3. By (ii) of Lemma 1, we obtain (D − d − 2) + 1 + 1 ≤ r
1= 3. As D − d ≥ 3, this implies D = d + 3 and thus l
d−1= d.
Case 2. d = 4.
Since v
1u
4, v
1u
5, v
3u
2, v
3u
36∈ E, we have v
26∈ {u
1, u
2, u
3, u
4, u
5, u
6}. The graph G[{x, y, v
1, v
2, v
3, u
1, u
2, . . . , u
6}] is as in (iv) of (b). This completes the case.
From now on we assume that d ≥ 5.
Case 3. r
2= 5.
Since v
1u
46∈ E, we have v
26∈ {u
1, u
2, . . . , u
d+2}. The graph G[{x, y} ∪ {v
1, v
2, v
d−1} ∪ {u
1, u
2, . . . , u
d+2}] is as in (vii) of (b). This completes the case.
From now on we assume that r
2= 4 and, by symmetry, l
d−2= d − 1.
Case 4. l
3= 3.
Note that Lemma 1 implies that j + 2 ≤ r
j≤ j + 3 for 2 ≤ j ≤ d − 2.
First, we assume that there is an index j with 2 ≤ j ≤ d − 3 such that r
j= j + 2 and r
j+1= j + 4. Let j be minimal with these properties. Since v
ju
j+3, v
ju
j+46∈ E, we have |{v
j, v
j+1, u
j+2, u
j+3, u
j+4}| = 5.
If j = 2 and d = 5, then the graph G[{x, y}∪{v
1, v
3, v
4}∪{u
1, u
2, . . . , u
7}]
is as in (vii) of (b). If j = 2 and d ≥ 6, then the graph G[{x, y} ∪
{v
1, v
3, v
d−1} ∪ {u
1, u
2, . . . , u
d+2}] is as in (ix) of (b). If 3 ≤ j ≤ d − 4, then the graph
G[{x, y} ∪ {v
1, v
3, v
d−1} ∪ {u
1, u
2, u
3} ∪ {v
4, v
5, . . . , v
j, v
j+1}
∪{u
j+2, u
j+3, . . . , u
d+2}]
is as in (ix) of (b). If 3 ≤ j = d − 3, then the graph
G[{x, y} ∪ {v
1, v
3} ∪ {u
1, u
2, u
3} ∪ {v
4, v
5, . . . , v
d−1} ∪ {u
d−1, u
d, . . . , u
d+2}]
is as in (vii) of (b). Hence we can assume that no such index exists. Since r
2= 4, this implies, by an inductive argument, that r
j= j + 2 for 2 ≤ j ≤ d − 2 and thus r
d−2= d. Now the graph
G[{x, y} ∪ {v
1} ∪ {v
3, v
4, . . . , v
d−1} ∪ {u
1, u
2, u
3} ∪ {u
d, u
d+1, u
d+2}]
is as in (vi) of (b). This completes the case.
From now on we assume that l
3= 4 and, by symmetry, r
d−3= d − 1.
Case 5. l
2= 3.
Since r
2= 4, we have v
26∈ {u
1, u
2, . . . , u
d+2}. The graph
G[{x, y} ∪ {v
1, v
2, v
3, v
d−1} ∪ {u
1, u
2, u
3} ∪ {u
r3, u
r3+1, . . . , u
d+2}]
is as in (vi) of (b). This completes the case.
From now on we assume that l
2= 2 and, by symmetry, r
d−2= d + 1.
Case 6. r
3= 6.
Since v
2v
3∈ E, l
2= 2 and l
3= 4, we have v
2, v
36∈ {u
1, u
2, . . . , u
d+2}. If d = 5, then the graph G[{x, y, v
1, v
2, v
3, v
4, u
1, u
2, u
3, u
4, u
6, u
7}] is as in (vii) of (b). If d ≥ 6, then the graph
G[{x, y} ∪ {v
1, v
2, v
3, v
d−1} ∪ {u
1, u
2} ∪ {u
4, u
5, . . . , u
d+2}]
is as in (ix) of (b). This completes the case.
From now on we assume that r
3= 5 and, by symmetry, l
d−3= d − 2.
Case 7. There is an index j with 3 ≤ j ≤ d − 3 such that r
j= j + 2 and r
j+1= j + 4.
Let j be minimal with these properties. As in Case 4, we obtain
|{v
j, v
j+1, u
j+2, u
j+3, u
j+4}| = 5. The graph G[{x, y}∪{u
1, u
2}∪{v
1, v
2, . . . , v
j, v
j+1} ∪ {v
d−1} ∪ {u
j+2, u
j+3, . . . , u
d+2}] is as in (vii) or (ix) of (b). This completes the case.
From now on we assume that no such index exists. Since r
3= 5, this implies, by an inductive argument, that r
j= j+2 for 3 ≤ j ≤ d−2 and thus r
d−2= d.
Now the graph G[{x, y} ∪ {u
1, u
2} ∪ {v
1, v
2, . . . , v
d−1} ∪ {u
d, u
d+1, u
d+2}] is as in (vi) of (b). This completes the proof.
4. Concluding Remarks
Using Theorem 5 it is now a simple but tedious task to determine an explicit list of all minimal forbidden induced subgraphs for the class of graphs G with s
add(G) ≤ 2.
In [3] it was shown that the recognition of graphs G with s
add(G) ≤ k is a co-NP-complete problem, if k is part of the input. At the end of [3] a polynomial time recognition algorithm for the class of graphs G with s
add(G) ≤ 1 was described. It is obvious how to extend the ‘brute force’- approach of this algorithm to obtain a polynomial time recognition algorithm for the class of graphs G with s
add(G) ≤ 2.
It is easy to see that for k ≥ 1 the graphs G((n
1, c
1), m
1, (n
2, c
2), m
2, . . . , m
ν−1, (n
ν, c
ν)) such that c
i≥ 1 for 1 ≤ i ≤ ν, n
i≥ 2c
i+ 3 for 1 ≤ i ≤ ν and P
νi=1