You are on page 1of 53

Graphs, Algorithms, and Optimization,

Second Edition William Kocay


Visit to download the full and correct content document:
https://textbookfull.com/product/graphs-algorithms-and-optimization-second-edition-wi
lliam-kocay/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

Graphs, Algorithms, and Optimization, Second Edition


William Kocay

https://textbookfull.com/product/graphs-algorithms-and-
optimization-second-edition-william-kocay/

Graphs, Algorithms, and Optimization, Second Edition


Kocay

https://textbookfull.com/product/graphs-algorithms-and-
optimization-second-edition-kocay/

Optimization Algorithms for Networks and Graphs, Second


Edition, James Evans

https://textbookfull.com/product/optimization-algorithms-for-
networks-and-graphs-second-edition-james-evans/

Probability on graphs random processes on graphs and


lattices Second Edition Grimmett

https://textbookfull.com/product/probability-on-graphs-random-
processes-on-graphs-and-lattices-second-edition-grimmett/
Cohesive Subgraph Computation over Large Sparse Graphs
Algorithms Data Structures and Programming Techniques
Lijun Chang

https://textbookfull.com/product/cohesive-subgraph-computation-
over-large-sparse-graphs-algorithms-data-structures-and-
programming-techniques-lijun-chang/

Glowworm Swarm Optimization Theory Algorithms and


Applications 1st Edition Krishnanand N. Kaipa

https://textbookfull.com/product/glowworm-swarm-optimization-
theory-algorithms-and-applications-1st-edition-krishnanand-n-
kaipa/

Nature-Inspired Algorithms and Applied Optimization 1st


Edition Xin-She Yang (Eds.)

https://textbookfull.com/product/nature-inspired-algorithms-and-
applied-optimization-1st-edition-xin-she-yang-eds/

Bio-Inspired Algorithms in PID Controller Optimization


First Edition Ashour

https://textbookfull.com/product/bio-inspired-algorithms-in-pid-
controller-optimization-first-edition-ashour/

Optimization Using Evolutionary Algorithms and


Metaheuristics: Applications in Engineering 1st Edition
Kaushik Kumar

https://textbookfull.com/product/optimization-using-evolutionary-
algorithms-and-metaheuristics-applications-in-engineering-1st-
edition-kaushik-kumar/
GRAPHS,
ALGORITHMS,
AND OPTIMIZATION
Second edition
DISCRETE
MATHEMATICS
ITS APPLICATIONS
R. B. J. T. Allenby and Alan Slomson, How to Count: An Introduction to Combinatorics,
Third Edition
Craig P. Bauer, Secret History: The Story of Cryptology
Jürgen Bierbrauer, Introduction to Coding Theory, Second Edition
Katalin Bimbó, Combinatory Logic: Pure, Applied and Typed
Katalin Bimbó, Proof Theory: Sequent Calculi and Related Formalisms
Donald Bindner and Martin Erickson, A Student’s Guide to the Study, Practice, and Tools of
Modern Mathematics
Francine Blanchet-Sadri, Algorithmic Combinatorics on Partial Words
Miklós Bóna, Combinatorics of Permutations, Second Edition
Miklós Bóna, Handbook of Enumerative Combinatorics
Miklós Bóna, Introduction to Enumerative and Analytic Combinatorics, Second Edition
Jason I. Brown, Discrete Structures and Their Interactions
Richard A. Brualdi and Dragos̆ Cvetković, A Combinatorial Approach to Matrix Theory and Its
Applications
Kun-Mao Chao and Bang Ye Wu, Spanning Trees and Optimization Problems
Charalambos A. Charalambides, Enumerative Combinatorics
Gary Chartrand and Ping Zhang, Chromatic Graph Theory
Henri Cohen, Gerhard Frey, et al., Handbook of Elliptic and Hyperelliptic Curve Cryptography
Charles J. Colbourn and Jeffrey H. Dinitz, Handbook of Combinatorial Designs, Second Edition
Abhijit Das, Computational Number Theory
Matthias Dehmer and Frank Emmert-Streib, Quantitative Graph Theory:
Mathematical Foundations and Applications
Martin Erickson, Pearls of Discrete Mathematics
Martin Erickson and Anthony Vazzana, Introduction to Number Theory
Titles (continued)

Steven Furino, Ying Miao, and Jianxing Yin, Frames and Resolvable Designs: Uses,
Constructions, and Existence
Mark S. Gockenbach, Finite-Dimensional Linear Algebra
Randy Goldberg and Lance Riek, A Practical Handbook of Speech Coders
Jacob E. Goodman and Joseph O’Rourke, Handbook of Discrete and Computational Geometry,
Second Edition
Jonathan L. Gross, Combinatorial Methods with Computer Applications
Jonathan L. Gross and Jay Yellen, Graph Theory and Its Applications, Second Edition
Jonathan L. Gross, Jay Yellen, and Ping Zhang Handbook of Graph Theory, Second Edition
David S. Gunderson, Handbook of Mathematical Induction: Theory and Applications
Richard Hammack, Wilfried Imrich, and Sandi Klavžar, Handbook of Product Graphs,
Second Edition
Darrel R. Hankerson, Greg A. Harris, and Peter D. Johnson, Introduction to Information Theory
and Data Compression, Second Edition
Darel W. Hardy, Fred Richman, and Carol L. Walker, Applied Algebra: Codes, Ciphers, and
Discrete Algorithms, Second Edition
Daryl D. Harms, Miroslav Kraetzl, Charles J. Colbourn, and John S. Devitt, Network Reliability:
Experiments with a Symbolic Algebra Environment
Silvia Heubach and Toufik Mansour, Combinatorics of Compositions and Words
Leslie Hogben, Handbook of Linear Algebra, Second Edition
Derek F. Holt with Bettina Eick and Eamonn A. O’Brien, Handbook of Computational Group Theory
David M. Jackson and Terry I. Visentin, An Atlas of Smaller Maps in Orientable and
Nonorientable Surfaces
Richard E. Klima, Neil P. Sigmon, and Ernest L. Stitzinger, Applications of Abstract Algebra
with Maple™ and MATLAB®, Second Edition
Richard E. Klima and Neil P. Sigmon, Cryptology: Classical and Modern with Maplets
Patrick Knupp and Kambiz Salari, Verification of Computer Codes in Computational Science
and Engineering
William L. Kocay and Donald L. Kreher, Graphs, Algorithms, and Optimization, Second Edition
Donald L. Kreher and Douglas R. Stinson, Combinatorial Algorithms: Generation Enumeration
and Search
Hang T. Lau, A Java Library of Graph Algorithms and Optimization
C. C. Lindner and C. A. Rodger, Design Theory, Second Edition
San Ling, Huaxiong Wang, and Chaoping Xing, Algebraic Curves in Cryptography
Nicholas A. Loehr, Bijective Combinatorics
Toufik Mansour, Combinatorics of Set Partitions
Titles (continued)

Toufik Mansour and Matthias Schork, Commutation Relations, Normal Ordering, and Stirling
Numbers
Alasdair McAndrew, Introduction to Cryptography with Open-Source Software
Elliott Mendelson, Introduction to Mathematical Logic, Fifth Edition
Alfred J. Menezes, Paul C. van Oorschot, and Scott A. Vanstone, Handbook of Applied
Cryptography
Stig F. Mjølsnes, A Multidisciplinary Introduction to Information Security
Jason J. Molitierno, Applications of Combinatorial Matrix Theory to Laplacian Matrices of Graphs
Richard A. Mollin, Advanced Number Theory with Applications
Richard A. Mollin, Algebraic Number Theory, Second Edition
Richard A. Mollin, Codes: The Guide to Secrecy from Ancient to Modern Times
Richard A. Mollin, Fundamental Number Theory with Applications, Second Edition
Richard A. Mollin, An Introduction to Cryptography, Second Edition
Richard A. Mollin, Quadratics
Richard A. Mollin, RSA and Public-Key Cryptography
Carlos J. Moreno and Samuel S. Wagstaff, Jr., Sums of Squares of Integers
Gary L. Mullen and Daniel Panario, Handbook of Finite Fields
Goutam Paul and Subhamoy Maitra, RC4 Stream Cipher and Its Variants
Dingyi Pei, Authentication Codes and Combinatorial Designs
Kenneth H. Rosen, Handbook of Discrete and Combinatorial Mathematics
Yongtang Shi, Matthias Dehmer, Xueliang Li, and Ivan Gutman, Graph Polynomials
Douglas R. Shier and K.T. Wallenius, Applied Mathematical Modeling: A Multidisciplinary
Approach
Alexander Stanoyevitch, Introduction to Cryptography with Mathematical Foundations and
Computer Implementations
Jörn Steuding, Diophantine Analysis
Douglas R. Stinson, Cryptography: Theory and Practice, Third Edition
Roberto Tamassia, Handbook of Graph Drawing and Visualization
Roberto Togneri and Christopher J. deSilva, Fundamentals of Information Theory and Coding
Design
W. D. Wallis, Introduction to Combinatorial Designs, Second Edition
W. D. Wallis and J. C. George, Introduction to Combinatorics
Jiacun Wang, Handbook of Finite State Based Models and Applications
Lawrence C. Washington, Elliptic Curves: Number Theory and Cryptography, Second Edition
DISCRETE MATHEMATICS AND ITS APPLICATIONS

GRAPHS,
ALGORITHMS,
AND OPTIMIZATION
Second edition

William l. Kocay
University of Manitoba
Winnipeg, Canada

DonalD l. Kreher
Michigan Technological University
Houghton, USA
CRC Press
Taylor & Francis Group
6000 Broken Sound Parkway NW, Suite 300
Boca Raton, FL 33487-2742
© 2017 by Taylor & Francis Group, LLC
CRC Press is an imprint of Taylor & Francis Group, an Informa business

No claim to original U.S. Government works

Printed on acid-free paper


Version Date: 20160727

International Standard Book Number-13: 978-1-4822-5116-6 (Hardback)

This book contains information obtained from authentic and highly regarded sources. Reasonable
efforts have been made to publish reliable data and information, but the author and publisher cannot
assume responsibility for the validity of all materials or the consequences of their use. The authors and
publishers have attempted to trace the copyright holders of all material reproduced in this publication
and apologize to copyright holders if permission to publish in this form has not been obtained. If any
copyright material has not been acknowledged please write and let us know so we may rectify in any
future reprint.

Except as permitted under U.S. Copyright Law, no part of this book may be reprinted, reproduced,
transmitted, or utilized in any form by any electronic, mechanical, or other means, now known or
hereafter invented, including photocopying, microfilming, and recording, or in any information stor-
age or retrieval system, without written permission from the publishers.

For permission to photocopy or use material electronically from this work, please access www.copy-
right.com (http://www.copyright.com/) or contact the Copyright Clearance Center, Inc. (CCC), 222
Rosewood Drive, Danvers, MA 01923, 978-750-8400. CCC is a not-for-profit organization that pro-
vides licenses and registration for a variety of users. For organizations that have been granted a photo-
copy license by the CCC, a separate system of payment has been arranged.

Trademark Notice: Product or corporate names may be trademarks or registered trademarks, and are
used only for identification and explanation without intent to infringe.
Visit the Taylor & Francis Web site at
http://www.taylorandfrancis.com
and the CRC Press Web site at
http://www.crcpress.com
The authors would like to take this opportunity to express their appreciation and
gratitude to the following people who have had a very significant effect on their
mathematical development:
Adrian Bondy, Earl Kramer, Spyros Magliveras, Ron Read, and Ralph Stanton.

This book is dedicated to the memory of


William T. Tutte, (1917–2002)
“ the greatest of the graphmen ”
Contents

Preface xvii

1 Graphs and Their Complements 1


1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Degree sequences . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2.1 Havel-Hakimi theorem . . . . . . . . . . . . . . . . . 14
1.2.2 Erdös-Gallai theorem . . . . . . . . . . . . . . . . . . 15
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.3 Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.4 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

2 Paths and Walks 23


2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2.2 Complexity . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
2.3 Walks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.4 The shortest-path problem . . . . . . . . . . . . . . . . . . . 29
2.5 Weighted graphs and Dijkstra’s algorithm . . . . . . . . . . . 33
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.6 Data structures . . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.7 Floyd’s algorithm . . . . . . . . . . . . . . . . . . . . . . . . 41
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.8 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

3 Subgraphs 45
3.1 Counting subgraphs . . . . . . . . . . . . . . . . . . . . . . . 45
3.1.1 Möbius inversion . . . . . . . . . . . . . . . . . . . . 46
3.1.2 Counting triangles . . . . . . . . . . . . . . . . . . . 49
3.2 Multiplying subgraph counts . . . . . . . . . . . . . . . . . . 50
3.3 Mixed subgraphs . . . . . . . . . . . . . . . . . . . . . . . . 52
3.4 Graph reconstruction . . . . . . . . . . . . . . . . . . . . . . 53
3.4.1 Nash-Williams’ lemma . . . . . . . . . . . . . . . . . 54
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

ix
x Contents

3.5 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

4 Some Special Classes of Graphs 57


4.1 Bipartite graphs . . . . . . . . . . . . . . . . . . . . . . . . . 57
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4.2 Line graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
4.3 Moore graphs . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
4.4 Euler tours . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
4.4.1 An Euler tour algorithm . . . . . . . . . . . . . . . . . 68
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4.5 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

5 Trees and Cycles 73


5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.2 Fundamental cycles . . . . . . . . . . . . . . . . . . . . . . . 74
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.3 Co-trees and bonds . . . . . . . . . . . . . . . . . . . . . . . 76
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.4 Spanning tree algorithms . . . . . . . . . . . . . . . . . . . . 80
5.4.1 Prim’s algorithm . . . . . . . . . . . . . . . . . . . . 81
5.4.1.1 Data structures . . . . . . . . . . . . . . . . 83
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5.4.2 Kruskal’s algorithm . . . . . . . . . . . . . . . . . . . 85
5.4.2.1 Data structures and complexity . . . . . . . 85
5.4.3 The Cheriton-Tarjan algorithm . . . . . . . . . . . . . 86
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.4.4 Leftist binary trees . . . . . . . . . . . . . . . . . . . 88
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
5.5 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94

6 The Structure of Trees 97


6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6.2 Non-rooted trees . . . . . . . . . . . . . . . . . . . . . . . . . 98
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.3 Read’s tree encoding algorithm . . . . . . . . . . . . . . . . . 100
6.3.1 The decoding algorithm . . . . . . . . . . . . . . . . . 103
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
6.4 Generating rooted trees . . . . . . . . . . . . . . . . . . . . . 105
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
6.5 Generating non-rooted trees . . . . . . . . . . . . . . . . . . . 113
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
6.6 Prüfer sequences . . . . . . . . . . . . . . . . . . . . . . . . 114
6.7 Spanning trees . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Contents xi

6.8 The matrix-tree theorem . . . . . . . . . . . . . . . . . . . . . 118


Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
6.9 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124

7 Connectivity 125
7.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
7.2 Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
7.3 Finding the blocks of a graph . . . . . . . . . . . . . . . . . . 131
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
7.4 The depth-first search . . . . . . . . . . . . . . . . . . . . . . 134
7.4.1 Complexity . . . . . . . . . . . . . . . . . . . . . . . 140
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
7.5 Sections and modules . . . . . . . . . . . . . . . . . . . . . . 141
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
7.6 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144

8 Graphs and Symmetry 147


8.1 Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
8.2 Cayley graphs . . . . . . . . . . . . . . . . . . . . . . . . . . 150
8.3 Coset diagrams . . . . . . . . . . . . . . . . . . . . . . . . . 152
8.3.1 Double cosets . . . . . . . . . . . . . . . . . . . . . . 154
8.4 Conjugation, Sylow subgroups . . . . . . . . . . . . . . . . . 156
8.5 Homomorphisms . . . . . . . . . . . . . . . . . . . . . . . . 158
8.6 Primitivity and block systems . . . . . . . . . . . . . . . . . . 159
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
8.7 Self-complementary graphs . . . . . . . . . . . . . . . . . . . 161
8.8 Pseudo-similar vertices . . . . . . . . . . . . . . . . . . . . . 163
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
8.9 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166

9 Alternating Paths and Matchings 169


9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
9.2 The Hungarian algorithm . . . . . . . . . . . . . . . . . . . . 173
9.2.1 Complexity . . . . . . . . . . . . . . . . . . . . . . . 176
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
9.3 Edmonds’ algorithm, blossoms . . . . . . . . . . . . . . . . . 177
9.3.1 Complexity . . . . . . . . . . . . . . . . . . . . . . . 182
9.4 Perfect matchings and 1-factorizations . . . . . . . . . . . . . 182
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
9.5 The subgraph problem . . . . . . . . . . . . . . . . . . . . . 185
9.6 Coverings in bipartite graphs . . . . . . . . . . . . . . . . . . 187
9.7 Tutte’s theorem . . . . . . . . . . . . . . . . . . . . . . . . . 188
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
9.8 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
xii Contents

10 Network Flows 193


10.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
10.2 The Ford-Fulkerson algorithm . . . . . . . . . . . . . . . . . 197
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
10.3 Matchings and flows . . . . . . . . . . . . . . . . . . . . . . 206
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
10.4 Menger’s theorems . . . . . . . . . . . . . . . . . . . . . . . 208
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
10.5 Disjoint paths and separating sets . . . . . . . . . . . . . . . . 210
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
10.6 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215

11 Hamilton Cycles 217


11.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
11.2 The crossover algorithm . . . . . . . . . . . . . . . . . . . . . 220
11.2.1 Complexity . . . . . . . . . . . . . . . . . . . . . . . 223
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
11.3 The Hamilton closure . . . . . . . . . . . . . . . . . . . . . . 226
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
11.4 The extended multi-path algorithm . . . . . . . . . . . . . . . 229
11.4.1 Data structures for the segments . . . . . . . . . . . . 232
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
11.5 Decision problems, NP-completeness . . . . . . . . . . . . . 233
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
11.6 The traveling salesman problem . . . . . . . . . . . . . . . . 242
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
11.7 The ∆TSP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
11.8 Christofides’ algorithm . . . . . . . . . . . . . . . . . . . . . 246
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
11.9 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249

12 Digraphs 251
12.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
12.2 Activity graphs, critical paths . . . . . . . . . . . . . . . . . . 251
12.3 Topological order . . . . . . . . . . . . . . . . . . . . . . . . 253
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
12.4 Strong components . . . . . . . . . . . . . . . . . . . . . . . 256
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257
12.4.1 An application to fabrics . . . . . . . . . . . . . . . . 262
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
12.5 Tournaments . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
12.5.1 Modules . . . . . . . . . . . . . . . . . . . . . . . . . 265
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
12.6 2-Satisfiability . . . . . . . . . . . . . . . . . . . . . . . . . . 266
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
Contents xiii

12.7 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269

13 Graph Colorings 271


13.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
13.1.1 Intersecting lines in the plane . . . . . . . . . . . . . . 273
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
13.2 Cliques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
13.3 Mycielski’s construction . . . . . . . . . . . . . . . . . . . . 278
13.4 Critical graphs . . . . . . . . . . . . . . . . . . . . . . . . . . 279
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
13.5 Chromatic polynomials . . . . . . . . . . . . . . . . . . . . . 281
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
13.6 Edge colorings . . . . . . . . . . . . . . . . . . . . . . . . . . 283
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
13.7 Graph homomorphisms . . . . . . . . . . . . . . . . . . . . . 291
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
13.8 NP-completeness . . . . . . . . . . . . . . . . . . . . . . . . 297
13.9 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304

14 Planar Graphs 305


14.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
14.2 Jordan curves . . . . . . . . . . . . . . . . . . . . . . . . . . 306
14.3 Graph minors, subdivisions . . . . . . . . . . . . . . . . . . . 307
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
14.4 Euler’s formula . . . . . . . . . . . . . . . . . . . . . . . . . 311
14.5 Rotation systems . . . . . . . . . . . . . . . . . . . . . . . . 313
14.6 Dual graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
14.7 Platonic solids, polyhedra . . . . . . . . . . . . . . . . . . . . 319
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320
14.8 Triangulations . . . . . . . . . . . . . . . . . . . . . . . . . . 321
14.9 The sphere . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
14.10 Whitney’s theorem . . . . . . . . . . . . . . . . . . . . . . . 325
14.11 Medial digraphs . . . . . . . . . . . . . . . . . . . . . . . . . 329
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
14.12 The 4-color problem . . . . . . . . . . . . . . . . . . . . . . 332
14.13 Nowhere-zero flows . . . . . . . . . . . . . . . . . . . . . . 335
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
14.14 Straight-line drawings . . . . . . . . . . . . . . . . . . . . . 337
14.15 Coordinate averaging . . . . . . . . . . . . . . . . . . . . . . 340
14.16 Kuratowski’s theorem . . . . . . . . . . . . . . . . . . . . . 342
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
14.17 The Hopcroft-Tarjan algorithm . . . . . . . . . . . . . . . . . 346
14.17.1 Bundles . . . . . . . . . . . . . . . . . . . . . . . . . 349
14.17.2 Switching bundles . . . . . . . . . . . . . . . . . . . . 350
14.17.3 The general Hopcroft-Tarjan algorithm . . . . . . . . . 353
xiv Contents

14.18 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356

15 Graphs and Surfaces 359


15.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
15.2 Surfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
15.2.1 Handles and crosscaps . . . . . . . . . . . . . . . . . 367
15.2.2 The Euler characteristic and genus of a surface . . . . 368
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
15.3 Isometries of surfaces . . . . . . . . . . . . . . . . . . . . . . 372
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
15.4 Graph embeddings, obstructions . . . . . . . . . . . . . . . . 376
15.5 Graphs on the torus . . . . . . . . . . . . . . . . . . . . . . . 377
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
15.5.1 Platonic maps on the torus . . . . . . . . . . . . . . . 387
15.5.2 Drawing torus maps, triangulations . . . . . . . . . . . 389
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
15.6 Coordinate averaging . . . . . . . . . . . . . . . . . . . . . . 394
15.7 Graphs on the projective plane . . . . . . . . . . . . . . . . . 395
15.7.1 The facewidth . . . . . . . . . . . . . . . . . . . . . . 402
15.7.2 Double covers . . . . . . . . . . . . . . . . . . . . . . 405
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
15.8 Embedding algorithms . . . . . . . . . . . . . . . . . . . . . 412
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421
15.9 Heawood’s map coloring theorem . . . . . . . . . . . . . . . 421
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
15.10 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424

16 The Klein Bottle and the Double Torus 425


16.1 The Klein bottle . . . . . . . . . . . . . . . . . . . . . . . . . 425
16.1.1 Rotation systems . . . . . . . . . . . . . . . . . . . . 426
16.1.2 The double cover . . . . . . . . . . . . . . . . . . . . 435
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436
16.2 The double torus . . . . . . . . . . . . . . . . . . . . . . . . . 437
16.2.1 Isometries of the hyperbolic plane . . . . . . . . . . . 440
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441
16.2.2 The double torus as an octagon . . . . . . . . . . . . . 441
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 447
16.3 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 448

17 Linear Programming 451


17.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
17.1.1 A simple example . . . . . . . . . . . . . . . . . . . . 451
17.1.2 Simple graphical example . . . . . . . . . . . . . . . 452
17.1.3 Slack and surplus variables . . . . . . . . . . . . . . . 455
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
17.2 The simplex algorithm . . . . . . . . . . . . . . . . . . . . . 458
Contents xv

17.2.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . 458


17.2.2 Some notation . . . . . . . . . . . . . . . . . . . . . . 458
17.2.3 Phase 0: finding a basis solution . . . . . . . . . . . . 459
17.2.4 Obtaining a basis feasible solution . . . . . . . . . . . 460
17.2.5 The tableau . . . . . . . . . . . . . . . . . . . . . . . 461
17.2.6 Phase 2: improving a basis feasible solution . . . . . . 462
17.2.7 Unbounded solutions . . . . . . . . . . . . . . . . . . 466
17.2.8 Conditions for optimality . . . . . . . . . . . . . . . . 467
17.2.9 Phase 1: initial basis feasible solution . . . . . . . . . 469
17.2.10 An example . . . . . . . . . . . . . . . . . . . . . . . 472
17.3 Cycling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
17.4 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476

18 The Primal-Dual Algorithm 479


18.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 479
18.2 Alternate form of the primal and its dual . . . . . . . . . . . . 484
18.3 Geometric interpretation . . . . . . . . . . . . . . . . . . . . 485
18.3.1 Example . . . . . . . . . . . . . . . . . . . . . . . . . 486
18.4 Complementary slackness . . . . . . . . . . . . . . . . . . . . 490
18.5 The dual of the shortest-path problem . . . . . . . . . . . . . 491
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
18.6 The primal-dual algorithm . . . . . . . . . . . . . . . . . . . 494
18.6.1 Initial feasible solution . . . . . . . . . . . . . . . . . 498
18.6.2 The shortest-path problem . . . . . . . . . . . . . . . 500
18.6.3 Maximum flow . . . . . . . . . . . . . . . . . . . . . 503
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 505
18.7 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506

19 Discrete Linear Programming 507


19.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
19.2 Backtracking . . . . . . . . . . . . . . . . . . . . . . . . . . 508
19.3 Branch and bound . . . . . . . . . . . . . . . . . . . . . . . . 511
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 521
19.4 Totally unimodular matrices . . . . . . . . . . . . . . . . . . 523
Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
19.5 Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525

Bibliography 527

Index 539
Preface

Our objective in writing this book is to present the theory of graphs from an al-
gorithmic viewpoint. We present the graph theory in a rigorous, but informal style
and cover most of the main areas of graph theory. The ideas of surface topology are
presented from an intuitive point of view. We have also included a discussion on lin-
ear programming that emphasizes problems in graph theory. The text is suitable for
students in computer science or mathematics programs.
Graph theory is a rich source of problems and techniques for programming and
data structure development, as well as for the theory of computing, including NP-
completeness and polynomial reduction.
This book could be used a textbook for a third or fourth year course on graph
algorithms which contains a programming content, or for a more advanced course
at the fourth year or graduate level. It could be used in a course in which the pro-
gramming language is any major programming language (e.g., C, C++, Java). The
algorithms are presented in a generic style and are not dependent on any particular
programming language.
The text could also be used for a sequence of courses like “Graph Algorithms I”
and “Graph Algorithms II”. The courses offered would depend on the selection of
chapters included. A typical course will begin with Chapters 1, 2, 4, and 5. At this
point, a number of options are available.
A possible first course would consist of Chapters 1, 2, 4, 5, 7, 10, 11, 12, 13,
and 14, and a first course stressing optimization would consist of Chapters 1, 2, 3,
5, 10, 11, 12, 17, 18, and 19. Experience indicates that the students consider these
substantial courses. One or two chapters could be omitted for a lighter course.
We would like to thank the many people who provided encouragement while
we wrote this book, pointed out typos and errors, and gave useful suggestions. In
particular, we would like to convey our thanks to Ben Li and John van Rees of the
University of Manitoba for proofreading some chapters.

William Kocay
Donald L. Kreher
August, 2004

xvii
xviii Graphs, Algorithms, and Optimization

Preface to the second edition


The second edition of Graphs, Algorithms, and Optimization contains three com-
pletely new chapters. New material has also been added to previously existing chap-
ters. There is a new chapter on subgraph counting containing identities connecting
various kinds of subgraphs in a graph. The graph reconstruction problem is intro-
duced in this chapter. There is a chapter on graphs and symmetries, where the relation
of permutation groups to graphs is considered. This chapter contains the basic theory
of permutation groups. In particular, groups are used to construct symmetric graphs,
and to understand self-complementary graphs and graphs with pseudo-similar ver-
tices. A chapter on graph embeddings on the Klein bottle and double torus has also
been added.
Some of the new material added to previously existing chapters is :
• A proof of the Erdös-Gallai theorem has been included;
• Sections on isometries of surfaces have been added, according to their applica-
tion to graph embeddings in the plane and torus;
• The treatment of the double cover of graphs on the projective plane has been
expanded;
• Automorphism groups of graph embeddings have been included;
• The proof of the NP-completeness of 3-coloring a graph has been corrected;
• The algorithm using Vizing’s technique for edge-coloring a graph has been im-
proved;
• A section on modules in graphs and digraphs has been added;
• Edmonds’ matching algorithm using blossoms now has a section;
• Nowhere-zero flows are introduced;
• The use of coordinate averaging to produce nice drawings of graphs on surfaces
is introduced;
• The basics of graph homomorphisms are now presented.
Also all the diagrams in the text have been redrawn and enhanced. We convey our
thanks and gratitude to Andrei Gagarin for his help in the proof-reading of this second
edition.

William Kocay
Donald L. Kreher
August, 2016
Preface xix

William Kocay obtained his Ph.D. in Combinatorics and Optimization from the
University of Waterloo in 1979. He is currently a member of the Computer Sci-
ence Department, and an adjunct member of the Mathematics Department, at the
University of Manitoba, and a member of St. Paul’s College, a college affiliated
with the University of Manitoba. He has published numerous research papers,
mostly in graph theory and algorithms for graphs. He was managing editor of the
mathematics journal Ars Combinatoria from 1988 to 1997. He is currently on
the editorial board of that journal. He has had extensive experience developing
software for graph theory and related mathematical structures.
Donald L. Kreher obtained his Ph.D. from the University of Nebraska in 1984.
He has held academic positions at Rochester Institute of Technology and the
University of Wyoming. He is currently a University Professor of Mathematical
Sciences at Michigan Technological University, where he teaches and conducts
research in combinatorics and combinatorial algorithms. He has published nu-
merous research papers and is a co-author of the internationally acclaimed text
“Combinatorial Algorithms: Generation Enumeration and Search”, CRC Press,
1999. He serves on the editorial boards of two journals.

Professor Kreher is the sole recipient of the 1995 Marshall Hall Medal, awarded
by the Institute of Combinatorics and its Applications.
1
Graphs and Their Complements

1.1 Introduction
The diagram in Figure 1.1 illustrates a graph. It is called the graph of the cube. The
edges of the geometric cube correspond to the line segments connecting the nodes in
the graph, and the nodes correspond to the corners of the cube where the edges meet.
They are the vertices of the cube.

2 6
3 7

0 4
1 5

FIGURE 1.1
The graph of a cube

This diagram is drawn so as to resemble a cube, but if we were to rearrange it,


as in Figure 1.2, it would still be the graph of the cube, although it would no longer
look like a cube. Thus, a graph is a graphical representation of a relation in which
edges connect pairs of vertices.

5 7
1 3

0 2
4 6

FIGURE 1.2
The graph of the cube

1
2 Graphs, Algorithms, and Optimization

DEFINITION 1.1: A simple graph G consists of a vertex set V (G) and an edge
set E(G), where each edge is a pair {u, v} of vertices u, v ∈ V (G).
 
We denote the set of all pairs of a set V by V2 . Then E(G) ⊆ V (G) 2 . In the
example of the cube, V (G) = {0, 1, 2, 3, 4, 5, 6, 7}, and E(G) = {01, 13, 23, 02, 45,
57, 67, 46, 15, 37, 26, 04}, where we have used the shorthand notation uv to stand
for the pair {u, v}. If u, v ∈ V (G), then u −→ v means that u is joined to v by
an edge. We say that u and v are adjacent. We use this notation to remind us of the
linked list data structure that we will use to store a graph in the computer. Similarly,
u 6−→ v means that u is not joined to v. We can also express these relations by
writing uv ∈ E(G) or uv 6∈ E(G), respectively. Note that in a simple graph if
u −→ v, then v −→ u. If u is adjacent to each of u1 , u2 , . . . , uk , then we write
u −→ {u1 , u2 , . . . , uk }.
These graphs are called simple graphs because each pair u, v of vertices is joined
by at most one edge. Sometimes we need to allow several edges to join the same pair
of vertices. Such a graph is also called a multigraph. An edge can then no longer be
defined as a pair of vertices, (or the multiple edges would not be distinct), but to each
edge there still corresponds a pair {u, v}. We can express this formally by saying that
a graph G consists of a vertex set V (G), an edge set E(G), and a correspondence

ψ : E(G) → V (G) 2 . Given an edge e ∈ E(G), ψ(e) is a pair {u, v} which are
the endpoints of e. Different edges can then have the same endpoints. We shall use
simple graphs most of the time, which is why we prefer the simpler definition, but
many of the theorems and techniques will apply to multigraphs as well.
This definition can be further extended to graphs with loops as well. A loop is an
edge in which both endpoints are equal. We can include  this in the general definition
of a graph by making the mapping ψ : E(G) → V (G) 2 ∪ V (G). An edge e ∈ E(G)
for which ψ(e) = u ∈ V (G) defines a loop. Figure 1.3(a) shows a graph with
multiple edges and loops. However, we shall use simple graphs most of the time, so
that an edge will be considered to be a pair of vertices.

(a) (b)

FIGURE 1.3
A multigraph (a) and a digraph (b)
Graphs and Their Complements 3

A directed graph or digraph has edges which are ordered pairs (u, v) rather than
unordered pairs {u, v}. In this case an edge is also called an arc. The direction of an
edge is indicated by an arrow in diagrams, as in Figure 1.3(b).
The number of vertices of a graph G is denoted |G|. It is called the order of G.

The number of edges is ε(G). If G is simple, then obviously ε(G) ≤ |G| 2 , because

E(G) ⊆ V (G) 2 . We shall often use node or point as synonyms for vertex.
Many graphs havespecial names. The complete graph Kn is a simple graph with
|Kn | = n and ε = n2 . The empty graph K n is a graph with |K n | = n and ε = 0.
K n is the complement of Kn .

FIGURE 1.4
The complete graph K5

DEFINITION 1.2: Let G be a simple


 graph. The complement of G is G, where
V (G) = V (G) and E(G) = V (G)
2 \ E(G).
E(G) consists of all those pairs uv which are not edges of G. Thus, uv ∈ E(G)
if and only if uv 6∈ E(G). Figure 1.5 shows a graph and its complement.

1 2 1 2

G= G=

4 3 4 3

FIGURE 1.5
A graph and its complement

Figure 1.6 shows another graph and its complement. Notice that in this case,
when G is redrawn, it looks identical to G.
In a certain sense, this G and G are the same graph. They are not equal, because
E(G) 6= E(G), but it is clear that they have the same structure. If two graphs have
the same structure, then they can only differ in the names of the vertices. Therefore,
we can rename the vertices of one to make it exactly equal to the other graph. In the
4 Graphs, Algorithms, and Optimization

1 1 1

5 2 5 2 4 3
−→

4 3 4 3 2 5
G G G

FIGURE 1.6
Another graph and its complement

Figure 1.6 example, we can rename the vertices of G by the mapping θ given by

k: 1 2 3 4 5
,
θ(k) : 1 3 5 2 4

then θ(G) would equal G. This kind of equivalence of graphs is known as isomor-
phism. Observe that a one-to-one mapping θ of the vertices of a graph G can be
extended to a mapping of the edges of G by defining θ({u, v}) = {θ(u), θ(v)}.
DEFINITION 1.3: Let G and H be simple graphs. G and H are isomorphic if
there is a one-to-one correspondence θ : V (G) → V (H) such that θ(E(G)) =
E(H), where θ(E(G)) = {θ(uv) : uv ∈ E(G)}.
We write G ∼ = H to denote isomorphism. If G ∼ = H, then uv ∈ E(G) if and
only if θ(uv) ∈ E(H). One way to determine whether G ∼ = H is to try and redraw
G so as to make it look identical to H. We can then read off the mapping θ from the
diagram. However, this is limited to small graphs. For example, the two graphs G and
H shown in Figure 1.7 are isomorphic, because the drawing of G can be transformed
into H by first moving vertex 2 to the bottom of the diagram, and then moving vertex
5 to the top. Comparing the two diagrams then gives the mapping

k: 1 2 3 4 5 6
θ(k) : 6 4 2 5 1 3

as an isomorphism.
It is usually more difficult to determine when two graphs G and H are not iso-
morphic than to find an isomorphism when they are isomorphic. One way is to find
a portion of G that cannot be part of H. For example, the graph H of Figure 1.7 is
not isomorphic to the graph of the prism, which is illustrated in Figure 1.8, because
the prism contains a triangle, whereas H has no triangle. A subgraph of a graph G is
a graph K such that V (K) ⊆ V (G) and E(K) ⊆ E(G). If θ : G → H is a possible
isomorphism, then θ(K) will be a subgraph of H which is isomorphic to K.
A subgraph K is an induced subgraph if for every u, v ∈ V (K) ⊆ V (G), uv ∈
E(K) if and only if uv ∈ E(G). That is, we choose a subset U ⊆ V (G) and all
Graphs and Their Complements 5

1
1 2 3
6 2

G= H=

5 3
4 5 6
4

FIGURE 1.7
Two isomorphic graphs

edges uv with both endpoints in U . We can also form an edge subgraph or partial
subgraph by choosing a subset of E(G) as the edges of a subgraph K. Then V (K)
will be all vertices which are an endpoint of some edge of K.

FIGURE 1.8
The graph of the prism

The degree of a vertex u ∈ V (G) is D EG(u), the number of edges which con-
tain u. If k = D EG(u) and u −→ {u1 , u2 , . . . , uk }, then θ(u) −→ {θ(u1 ), θ(u2 ),
. . . , θ(uk )}, so that D EG(u) = D EG(θ(u)). Therefore a necessary condition for G
and H to be isomorphic is that they have the same set of degrees. The examples of
Figures 1.7 and 1.8 show that this is not a sufficient condition.
In Figure 1.6, we saw an example of a graph G that is isomorphic to its comple-
ment. There are many such graphs.
DEFINITION 1.4: A simple graph G is self-complementary if G ∼
= G.

Lemma 1.1. If G is a self-complementary graph, then |G| ≡ 0 or 1 (mod 4).



Proof. If G ∼
= G, then ε(G) = ε(G). But E(G) = V (G) 2 \ E(G), so that ε(G) =
|G|
 1 |G|

2 − ε(G) = ε(G), so ε(G) = 2 2 = |G|(|G| − 1)/4. Now |G| and |G| − 1
6 Graphs, Algorithms, and Optimization

TABLE 1.1
Graphs up to 10 vertices
n No. graphs
1 1
2 2
3 4
4 11
5 34
6 156
7 1,044
8 12,346
9 247,688
10 12,005,188

are consecutive integers, so that one of them is odd. Therefore |G| ≡ 0 (mod 4) or
|G| ≡ 1 (mod 4).
So possible orders for self-complementary graphs are 4, 5, 8, 9, 12, 13, . . ., 4k,
4k + 1, etc.

Exercises
1.1.1 The four graphs on three vertices in Figure 1.9 have 0, 1, 2, and 3 edges,
respectively. Every graph on three vertices is isomorphic to one of these
four. Thus, there are exactly four different isomorphism types of graphs
on three vertices.

G1 G2 G3 G4

FIGURE 1.9
Four graphs on three vertices

Find all the different isomorphism types of graph on 4 vertices (there are
11 of them). Hint: Adding an edge to a graph with ε = m, gives a graph
with ε = m + 1. Every graph with ε = m + 1 can be obtained in this
way. Table 1.1 shows the number of isomorphism types of graphs up to
10 vertices.
1.1.2 Determine whether the two graphs shown in Figure 1.10 are isomorphic
to each other or not. If they are isomorphic, find an explicit isomorphism.
Graphs and Their Complements 7

FIGURE 1.10
Two graphs on eight vertices

1.1.3 Determine whether the three graphs shown in Figure 1.11 are isomorphic
to each other or not. If they are isomorphic, find explicit isomorphisms.

FIGURE 1.11
Three graphs on 10 vertices

1.1.4 Find a self-complementary graph on four vertices.


1.1.5 Figure 1.6 illustrates a self-complementary graph, the pentagon, with five
vertices. Find another self-complementary graph on five vertices.
1.1.6 We have seen that the pentagon is a self-complementary graph. Let G
be the pentagon shown in Figure 1.6, with V (G) = {u1 , u2 , u3 , u4 , u5 }.
Notice that θ = (u1 )(u2 , u3 , u5 , u4 ) is a permutation which maps G to
G; that is, θ(G) = G, and θ(G) = G. θ is called a complementing permu-
tation. Because u2 u3 ∈ E(G), it follows that θ(u2 u3 ) = u3 u5 ∈ E(G).
Consequently, θ(u3 u5 ) = u5 u4 ∈ E(G) again. Applying θ twice more
gives θ(u5 u4 ) = u4 u2 ∈ E(G) and θ(u4 u2 ) = u2 u3 , which is where
we started. Thus, if we choose any edge ui uj and successively apply θ
to it, we alternately get edges of G and G. It follows that the number
of edges in the sequence so-obtained must be even. Use the permutation
(1,2,3,4)(5,6,7,8) to construct a self-complementary graph on eight ver-
tices.
1.1.7 Can the permutation (1,2,3,4,5)(6,7,8) be used as a complementing per-
mutation? Can (1,2,3,4,5,6)(7,8) be? Prove that the only requirement is
that every sequence of edges obtained by successively applying θ be of
even length.
8 Graphs, Algorithms, and Optimization

1.1.8 If θ is any permutation of {1, 2, . . . , n}, then it depends only on the cycle
structure of θ whether it can be used as a complementing permutation.
Discover what condition this cycle structure must satisfy, and prove it
both necessary and sufficient for θ to be a complementing permutation.

1.2 Degree sequences


Theorem 1.2. For any simple graph G we have
X
D EG(u) = 2ε(G).
u∈V (G)

Proof. An edge uv has two endpoints. Therefore each edge will be counted twice in
the summation, once for u and once for v.
We use δ(G) to denote the minimum degree of G; that is, δ(G) = MIN{D EG(u) |
u ∈ V (G)}. ∆(G) denotes the maximum degree of G. By Theorem 1.2, the average
degree equals 2ε/|G|, so that δ ≤ 2ε/|G| ≤ ∆.
Corollary 1.3. The number of vertices of odd degree is even.
Proof. Divide V (G) into VP odd = {u | D EG (u) P is odd }, and Veven = {u |
deg(u)
P is even }. Then 2ε = u∈Vodd D EG (u) + u∈Veven D EG (u). Clearly 2ε and
P
u∈Veven D EG (u) are both even. Therefore, so is u∈Vodd D EG(u), which means
that |Vodd | is even.

DEFINITION 1.5: A graph G is a regular graph if all vertices have the same
degree. G is k-regular if it is regular, of degree k.
For example, the graph of the cube (Figure 1.1) is 3-regular.
Lemma 1.4. If G is simple and |G| ≥ 2, then there are always two vertices of the
same degree.
Proof. In a simple graph, the maximum degree ∆ ≤ |G| − 1. If all degrees were
different, then they would be 0, 1, 2, . . . , |G| − 1. But degree 0 and degree |G| − 1
are mutually exclusive. Therefore there must be two vertices of the same degree.
Let V (G) = {u1 , u2 , . . . , un }. The degree sequence of G is

DEG(G) = (D EG (u1 ), D EG(u2 ), . . . , D EG(un ))

where the vertices are ordered so that

D EG(u1 ) ≥ D EG(u2 ) ≥ · · · ≥ D EG(un ).


Another random document with
no related content on Scribd:
Mais, cela même, il se le dit assez vaguement, pour ne pas
s’effrayer. Il avait coutume, quand il s’agissait de prendre une grande
résolution, de se boucher un des yeux, comme on fait à un cheval de
picador.
Le jour du départ venu, il s’appliqua, pour ne pas donner l’éveil à
son père et à sa mère, à ne pas les embrasser avec trop d’effusions.
Il avait projeté de se rendre d’abord à Saint-Jacut de la mer,
entre Saint-Lunaire et Saint-Cast, non loin de Dinard. C’est là qu’un
de ses cousins, le peintre Isidore Gormas, l’artiste de la famille, avait
une résidence d’été.
Certainement, Isidore était un homme d’esprit libre… Aux yeux
des Nordement et de la plupart des Gormas, il passait pour un
garçon excentrique, qui ne faisait jamais rien comme tout le monde.
Quand il venait dîner en famille, il parlait aux parents de Robert
sur un ton de continuelle ironie.
Le jeune homme comptait bien sur cet être indépendant, en
marge de la société, pour se fortifier dans son rude dessein.
Il arriva chez le peintre à midi, par la diligence qui faisait le
service du Guildo, la petite station de chemin de fer qui desservait
Saint-Jacut. Isidore n’était pas chez lui. Mais il était prévenu de la
visite de Robert. Le jeune homme fut reçu par Julie, la concubine de
son cousin. Julie était un ancien modèle très déformé, et qui n’avait
plus à offrir qu’un morceau de cuisse présentable aux appétits d’art
de son compagnon : depuis plusieurs années, d’ailleurs, il se
spécialisait dans les marines.
Julie, après s’être fait connaître de Robert, lui servit du pain et du
fromage…
— Quand il part sur la grève, on ne sait jamais quand il lui plaira
de rentrer déjeuner…
Cette irrégularité dans les heures de repas, si différente des
habitudes réglées de la famille, parut à Robert un excellent indice de
l’indépendance d’idées de son cousin, et pour lui-même un bon
prélude à sa vie de grandes aventures.
Ce jour-là, Isidore ne s’attarda pas trop. Vers deux heures, il
s’encadra, avec un temps d’arrêt peut-être voulu, sur le seuil de la
maison rustique.
C’était un quinquagénaire trapu, à la barbe soigneusement
inculte, et le seul homme de cette localité campagnarde qui fût
encore habillé en paysan.
On mangea de l’omelette au lard et de petites côtelettes
carbonisées, le tout arrosé d’un liquide pâle, que le peintre
proclamait « du vrai cidre ». Il se faisait servir par Julie, qu’il appelait
« femme de l’Écriture », ce qui sembla fort pittoresque à Robert, au
moins les trois ou quatre premières fois.
Après le déjeuner, le fils Nordement déclina l’offre de prêt,
pourtant bien cordiale, d’une bonne vieille pipe usagée. Il préféra
aller chercher des cigarettes dans sa valise. Puis Isidore l’emmena à
travers ce village maritime, dont il se considérait visiblement comme
le maître, à sa façon large de marcher, d’interpeller les habitants, et
de projeter à droite et à gauche des crachats de pipe, à des
distances considérables.
Le moment était venu pour Robert de raconter toute l’histoire, ce
projet bourgeois et monstrueux de l’unir à Mlle Ourson.
Mais l’indignation révoltée du peintre ne se manifestait pas.
Il posa à son cousin mille questions sur la fortune des parents de
la jeune Irma.
— D’ailleurs, ajouta-t-il, ton père a certainement pris des
renseignements. Le père Nordement ne s’embarque pas sans
biscuit. Je ne t’apprendrai rien en te disant que c’est un homme des
plus forts que je connaisse. Quant à la maman, c’est une femme de
tête et qui sait bien ce qu’elle veut. Chaque fois que j’ai une petite
affaire en vue, un placement de fonds, quelque bout de terrain à
vendre dans mon pays là-bas, je suis allé demander des conseils à
ton père, et je les ai toujours suivis aveuglément.
Robert parla de la fadeur incurable de Mlle Ourson.
— Oh ! elle se fera, dit Isidore… Une personne jeune, avec tout
ce qu’il faut pour s’acheter de jolies toilettes…
Robert était un peu chancelant dans sa rébellion. Mais Isidore
diminua l’autorité de sa parole, en se proposant trop vite pour la
décoration d’une splendide villa, que Robert ne manquerait pas
d’édifier, aussitôt son mariage accompli.
— Le terrain est là, dit-il, à trois quarts de lieue sur la côte. On
peindrait sur les murs intérieurs des paysages marins…
Tandis qu’il décrivait, avec d’amples gestes, cette magnifique
demeure, Robert se demandait s’il lui serait possible de quitter, le
soir même, Saint-Jacut, Isidore et Julie. L’omelette au lard ne lui
avait pas paru d’une fraîcheur absolue, et le vrai cidre commençait à
lui donner d’authentiques crampes d’estomac.
Il pensait que la soirée serait insoutenable entre l’ancien modèle
et ce peintre, si superficiellement indépendant.
Alors il inventa une histoire de rendez-vous à Dinard. Il irait, dit-il
à Isidore, passer un jour ou deux là-bas, puis reviendrait ensuite à
Saint-Jacut, où il pourrait séjourner quelque temps.
Le peintre, heureusement, n’était pas homme à se cramponner à
un invité. Peut-être n’était-il pas maître chez lui autant qu’il en
donnait l’impression, et qui sait si la chute du jour ne voyait pas la
« femme de l’Écriture » se départir de son attitude de soumission
biblique ? Toujours est-il qu’Isidore s’occupa avec une vigilance
extraordinaire de trouver un tacot qui pût transporter, séance
tenante, le jeune homme à Dinard. Il semblait subitement considérer
le rendez-vous allégué par Robert comme une obligation
sentimentale quasi sacrée, dont personne n’avait le droit de gêner
l’accomplissement. Quant au principe consolateur du retour à Saint-
Jacut, il fut sauvegardé au moment du départ par un « A bientôt… Je
compte sur toi » tout à fait vague.
Robert, sur son auto de louage, partit donc dans le crépuscule
vers l’inconnu. A la nuit, il arriva à Dinard. La saison s’avançait, et la
ville commençait à se dépeupler. Robert trouva facilement une
chambre dans l’hôtel le plus en vue. Il dîna hâtivement au
restaurant, puis endossa son smoking. Il se rendit au Casino. Il
n’avait, pour ainsi dire, jamais joué au baccara. Mais l’idée lui était
venue tout à coup d’y risquer trois ou quatre cents francs, afin de
ramasser une petite fortune, qui lui donnerait plus de solidité pour
tenir son rôle d’enfant prodigue.
Il gagna cent francs, puis deux cents francs qu’il reperdit, et il
quitta le Casino vers minuit, ayant perdu trois fois la somme qu’il
s’était assignée comme rigoureuse limite. Il eut assez de force
d’âme ou de manque d’estomac pour garder les quinze louis qui lui
restaient sur l’allocation du voyage.
Décidément, le Destin voulait faciliter la séparation de Robert et
de sa famille. Car il était radicalement impossible d’annoncer cette
première mésaventure à M. Nordement, l’homme le plus austère du
monde sur la question des jeux de hasard.
Il restait à Robert de quoi se défrayer à l’hôtel pendant trois ou
quatre jours.
Sa vie difficile commençait.
Son âme fut partagée par parties inégales entre un âpre orgueil
et une assez vive appréhension.
Il était rentré dans sa chambre.
Longtemps il demeura accoudé à sa fenêtre, comme Rolla, le
héros romantique, dans la gravure qui illustre le poème de Musset.
Il se sentait plein d’un grand courage, qu’il ne savait à quoi
employer.
Le temps était passé où les enfants prodigues, exilés du foyer
paternel, n’avaient qu’un tour à faire dans la campagne pour trouver
une place de gardeur de pourceaux.
Pour se présenter dans une ferme, il eût fallu se procurer une
mise spéciale et remplacer ces vêtements de fils de famille par des
effets de toile, de préférence un peu usagés.
Il était trop grand pour se proposer comme mousse dans un
navire en partance. On aurait peut-être pu l’engager comme
steward, pour servir les passagers. Mais c’était encore un emploi
auquel il se sentait mal préparé. Et, par surcroît, il avait grand’peur
du mal de mer.
Se placer comme chauffeur ? Il savait conduire une auto, c’est-à-
dire qu’il avait passé son brevet. Mais il ignorait tout du mécanisme
des voitures. Les mots de « bougie », de « magnéto » l’effrayaient
comme des noms de maladie. Il ne voulait pas s’exposer, en pleine
route déserte, à avouer brusquement son incompétence à des
patrons suffoqués.
La nuit précédente s’était passée en chemin de fer. Le grand air
de la promenade en auto, la séance du casino l’avaient un peu
aplati. Il se jeta sur son lit et remit au lendemain la recherche d’une
position sociale.
IV

Or, une affiche manuscrite était apposée depuis huit jours dans le
hall de l’hôtel. Elle demandait un professeur de français pour être
attaché à une famille aisée.
C’était le seul emploi que Robert fût capable de remplir ; c’était le
seul auquel il n’eût pas songé.
Il aperçut la pancarte le lendemain matin, en descendant pour
son petit déjeuner, qu’il avait décidé de prendre, non à l’hôtel, mais
dans un petit café du pays ; car il fallait ménager ses ressources.
On demande un professeur de français pour famille aisée.
S’adresser au portier de l’hôtel.
Il fallut à Robert un certain effort pour surmonter sa gêne et pour
demander au portier quelle était la famille aisée en question. C’était
abdiquer un peu la dignité de voyageur indépendant et fastueux.
La nationalité exacte de M. et Mme Orega échappait à l’historien,
comme le lieu de naissance du divin Homère. Seul, un diagnostic un
peu aventuré d’ethnographe parvenait à situer approximativement
leur origine dans les régions équatoriales du nouveau continent.
De même, les âges plausibles de ce petit homme rasé
s’échelonnaient sur un long espace, entre trente et cinquante ans.
M. Orega connaissait un certain nombre de phrases françaises
qu’il débitait sans trop d’accent, en vous faisant brusquement la
surprise d’une faute invraisemblable, comme de dire : un table, ou :
une chapeau.
Mme Orega était une sorte de Fatma de deuxième fraîcheur, à qui
son apathie conférait une sorte de majesté. Elle ne semblait plus
très ferme, comme si, au cours de son existence, elle eût été
plusieurs fois gonflée et dégonflée.
« Le Paradis sur terre, a dit à peu près Victor Hugo, ce serait les
parents toujours jeunes, et les enfants toujours petits. » La jeunesse
des parents Orega était compromise, mais leur fils unique Esteban,
qui n’avait que quatorze ans, était resté petit et puéril comme un tout
jeune garçon.
C’était d’ailleurs un être charmant, à la fois attardé et précoce.
Tantôt, secouant ses cheveux bouclés, il avait des colères
enfantines. Et d’autres fois, il étonnait Robert par sa gravité mûrie,
par son langage éclatant d’images imprévues. Il semblait que la
nature ne l’eût laissé si petit que pour lui garder plus longtemps un
aspect d’enfant sublime.
Robert, qui avait été ébloui dès leur premier entretien, fut
stupéfait de voir qu’Esteban, la plume à la main, formait
grossièrement ses lettres, et qu’il avait une orthographe de cuisinière
peau-rouge.
Dès la présentation, c’est-à-dire le lendemain de son arrivée à
Dinard, il avait été agréé comme précepteur. Il prit tout de suite ses
repas à la table des Orega, non dans la salle du restaurant, mais
dans un petit salon à part. Il n’en fut pas fâché, car il pouvait
rencontrer à Dinard des personnes de connaissance, qui risquaient
ainsi d’être mises au courant de son nouvel emploi.
Les Orega, d’ailleurs, avaient des raisons à eux pour ne pas se
faire servir en public. Robert s’aperçut, dès la première minute, que
le repas de famille n’était qu’une occasion de disputes furieuses
entre M. et Mme Orega.
Il comprenait mal l’espagnol ; mais, si l’objet même de la
discussion lui échappait, il pouvait suivre du moins toutes les phases
de la lutte sur le visage étincelant des matcheurs. Parfois, c’était une
sèche imputation de son mari qui marquait le visage fatigué de la
belle Fatma d’une douleur extra-humaine. D’autres fois, sur une
réplique de la compagne de sa vie, on voyait M. Orega tout près de
défaillir, et le bronze de son visage passer du rouge marron à un
vert-de-gris superbe.
Robert avait été engagé sans discussion à mille francs par mois,
logé et nourri. Il avait demandé ce prix sur les indications du gérant.
Et, comme M. Orega « n’avait pas pipé », il considéra d’abord son
patron comme un homme fort généreux. Mais il ne fut pas long à
s’apercevoir que cette apparente largesse était faite d’une timidité
d’étranger, ignorant des usages. Dès que M. Orega était renseigné
sur le prix d’un objet, il discutait férocement pour soixante-quinze
centimes. Il payait à l’hôtel six à sept cents francs par jour pour lui et
sa suite, et quand le jeune Esteban demandait un peu d’argent de
poche, papa se faisait prier pour sortir un billet de quarante sous.
Robert était depuis trois jours au service de la famille Orega. Il
avait déjà écrit deux mots à ses parents. Il leur écrirait jusqu’à
nouvel ordre de courtes lettres, où il leur dirait simplement, comme
chaque fois d’ailleurs qu’il s’absentait, que sa santé était bonne. Et il
terminait en leur envoyant mille baisers, pas un de plus, pas un de
moins. Ces communications, rédigées de cette façon uniforme,
succinctes comme un chèque d’affection, il les leur enverrait jusqu’à
nouvel ordre. Car il n’était encore un enfant prodigue que pour lui-
même, et se rupture avec sa famille n’était consommée qu’en son
for intérieur.
Son état d’âme était au fond plus que satisfaisant. Il était installé
d’une façon confortable, mangeait bien, et ses fonctions ne lui
déplaisaient pas ; il commençait à s’attacher à ce petit Esteban, en
qui il retrouvait l’ardeur généreuse de son pauvre ami Francis
Picard, et il avait cette fois cette satisfaction supplémentaire d’être
l’aîné, l’éducateur d’âme. La grâce native de son élève lui donnait du
goût pour ce métier de directeur d’esprit, et il s’enorgueillissait à
l’idée de développer, d’épanouir les qualités certaines de ce jeune
aiglon de la famille Orega.
Le troisième jour de son entrée en fonctions, Robert avait
déjeuné, comme à son ordinaire, avec ses patrons et son élève. Le
choc avait été particulièrement rude entre les époux. Ils étaient
arrivés à table l’un et l’autre dans une parfaite condition de combat.
Comme des boulets et des pots d’huile bouillante, des griefs
réciproques, remontant à plus de vingt années, s’étaient croisés
sans répit par-dessus les plats… Vers le dessert, les lutteurs
reprenaient haleine, mais on sentait que l’empoignade
recommencerait aux liqueurs.
Le petit Esteban, un peu blasé sur ces émotions sportives, qui
avaient fini par le laisser indifférent, proposa à Robert d’aller faire un
tour sur la plage. Le précepteur accepta avec empressement. Il
s’arrêta au bureau de l’hôtel pour écrire à ses parents les deux
lignes protocolaires, pendant qu’Esteban allait chercher un
pardessus au premier étage, dons l’appartement qu’il occupait avec
ses parents.
Sa lettre écrite depuis quelques minutes, Robert s’étonna de ne
pas voir redescendre son élève. Il prit le parti d’aller voir ce qui se
passait…
Comme il débouchait sur le palier du premier, il vit Esteban se
glisser hors d’une chambre, qui ne dépendait pas de l’appartement
de sa famille, et regarder autour de lui avec précautions dans le
couloir désert.
Le jeune garçon aperçut Robert, eut soudain l’air gêné, et fit à
son précepteur un signe de silence.
Tous deux, sans rien dire, descendirent l’escalier. Dans la rue,
Esteban n’avait toujours pas ouvert la bouche.
— Hé bien, qu’est-ce que tout cela signifie ? se décida à
demander Robert.
Esteban répondit évasivement.
— Ce n’est rien… une farce… Je vous dirai plus tard…
Après tout, il n’y avait peut-être là qu’une gaminerie. Robert n’en
était pas sûr, mais il détestait les enquêtes, quand elles menaçaient
de le conduire à une découverte désagréable.
Il ne put cependant s’empêcher de remarquer qu’Esteban, après
s’être tu, s’était mis maintenant à parler, avec une volubilité
extraordinaire, de sujets sans grand intérêt… Il y avait un effort
visible dans ce flux de paroles, comme un besoin de changer les
idées de son compagnon et de l’attirer n’importe où, mais loin de ses
soupçons.
— Dites-moi des vers, demanda-t-il à Robert, dès qu’ils se furent
assis sur la plage.
Robert, nourri de poésie, résistait difficilement à une invitation de
ce genre, d’autant plus qu’il trouvait chez le petit Esteban un
auditeur frénétiquement sensible, qui écoutait les poèmes avec des
yeux insatiables.
Cette séance de lyrisme dura jusqu’à l’heure du goûter. Ils se
rendirent au Casino. Esteban voulut à toutes forces payer les
consommations, et, au grand étonnement de son précepteur, sortit
de sa poche un billet de cent francs. Or, Esteban, au déjeuner, avait
eu besoin de grands efforts pour soutirer quarante sous au père
Orega.
Mais Robert n’était pas au bout de ses surprises.
— Papa et maman, dit le jeune garçon, sont partis en auto sur la
côte. Ils ne rentreront pas avant le dîner… Voulez-vous me faire un
grand plaisir ?
— Voyons cela, fit Robert.
— C’est de jouer à la boule pour moi. Comme je suis trop jeune,
les employés ne me laisseraient pas jouer… Soyez gentil, dites ?
Jouez pour moi…
L’éducateur essaya de résister. Son disciple avait pris sur lui une
telle autorité que sa résistance fut courte, et qu’il se décida à
s’approcher de la boule, pendant que le petit Orega restait près de
lui, mais en dehors de cette corde de soie, qui prétendait creuser un
abîme infranchissable entre les majeurs et les mineurs.
Le petit jeune homme jouait par louis, et passa à Robert, à la
dérobée, deux ou trois billets de cent francs, qui fondirent en
quelques minutes.
Il tirait d’autres billets de sa poche… Mais Robert se gendarma…
— Je ne veux plus que vous jouiez… C’est très mal… Voyez-
vous que vos parents viennent à l’apprendre ?
— Et c’est sur vous que cela retombera ?
— Ce n’est pas ça, dit Robert gêné… Ce n’est pas du tout pour
cette raison… Et puis, je vous ai déclaré que vous ne joueriez plus…
Vous ne jouerez plus, voilà tout.
Et, ce disant, il s’en alla d’un pas résolu vers la sortie.
Esteban le suivait docilement jusqu’à l’hôtel. Arrivé dans le hall,
Robert, machinalement, s’arrêta devant une sorte de tableau où l’on
placardait les nouvelles du jour…
Or, parmi les informations des agences et les résultats des
courses, il vit une petite affiche manuscrite. On annonçait qu’il avait
été perdu dans l’hôtel une broche « émeraude et saphir ».
Robert, sans s’en rendre compte, ne put s’empêcher de tourner
les yeux vers Esteban, mais le petit Orega regardait cette même
affiche avec une indifférence parfaite.
— Allons travailler un peu avant le dîner, fit Robert.
Ils montèrent ensemble l’escalier. Sur le palier du premier,
Esteban s’arrêta pour donner la main à une jeune fille très forte et
très brune, qui était encore habillée en petite fille, et coiffée avec des
nattes pendantes.
— Ma petite amie Concepcion, dit le jeune garçon… Mon
professeur, M. Robert Nordement…
Concepcion fit une sorte de révérence un peu gauche, sourit à
Robert de toute sa bonne figure et sourit ensuite de même à son
petit ami Esteban, qu’elle dépassait de la tête.
Ils quittèrent la jeune fille pour se diriger vers l’appartement des
Orega. Ils passèrent devant la chambre d’où Esteban était sorti avec
mystère après le déjeuner.
La porte de cette chambre était grande ouverte. Deux
domestiques de l’étage étaient en arrêt sur le seuil. Robert s’arrêta,
lui aussi, et vit que, dans la chambre, le gérant de l’hôtel était en
conférence avec deux messieurs inconnus.
Esteban n’était pas curieux : il s’éloignait, sans hâte apparente,
dans la direction de leur appartement. Robert, s’adressant à un des
domestiques, fit un signe d’interrogation…
— C’est monsieur le commissaire qui se trouve là, dit le
domestique, rapport à une broche qui s’a trouvé perdue. Voilà la
seconde fois en huit jours qu’il se perd un bijou chez ces personnes.
On commence à se dire que ce n’est guère naturel. Heureusement
que, nous autres, on est connu, et que l’on sait qui nous sommes.
Mais, tout de même, ça finit par n’être pas agréable.
— Qui est-ce qui habite ici ? demanda Robert.
— Un vieux monsieur argentin et sa demoiselle.
— Ah !… La demoiselle, n’est-ce pas cette jeune fille, avec des
nattes dans le dos, que j’ai vue tout à l’heure sur le palier ?
— Justement, monsieur. C’est à elle la broche que l’on est en
train de cercher.
… Robert, malgré lui, regarda dans la direction où Esteban était
parti. Mais il y avait beau temps que le petit garçon avait disparu.
Robert gagna l’appartement des Orega. Esteban était dans le
salon, à la table où il s’asseyait pour prendre sa leçon. Sans
attendre son précepteur, il avait pris un cahier… Il était déjà en train
d’écrire, avec une application extraordinaire.
Robert fit d’abord, de long en large, une vingtaine de pas…
— Écoutez, Esteban…
— Monsieur…
— Je veux en avoir le cœur net. Pourquoi êtes-vous sorti
mystérieusement de cette chambre il y a trois heures ? Pourquoi
cette broche a-t-elle disparu ?
Esteban s’était levé. Il s’efforçait de regarder son précepteur bien
en face…
— Je ne sais pas, murmura-t-il…
— Vous savez, dit avec autorité Robert.
Esteban était toujours debout, les lèvres serrées…
— Hé bien ? dit Robert.
Esteban le regardait un peu haletant, avec des yeux qui
semblaient craintifs…
Il vit alors dans le regard de son maître une expression dont
l’excessive dureté l’étonna. Il comprit alors de quoi on le
soupçonnait, et dit à voix basse, comme sur un ton de reproche…
— Oh non ! pas ça tout de même !
… Vous ne supposez pas que c’est moi qui ai pris cette broche ?
Et comme Robert ne répondait rien…
— Oh non ! voyons ! Vous ne me croyez pas capable d’une chose
pareille ? Je ne sais pas quelles bêtises je ferai plus tard… mais je
ne serai jamais un voleur. J’en suis sûr, ajouta-t-il avec une bonne
petite simplicité, qui, ma foi, n’était pas dénuée d’une certaine
noblesse.
Robert en fut tout impressionné.
— Oh ! cela, je pense bien… répondit-il.
Et il fut, à partir de cet instant, profondément convaincu qu’il
n’avait jamais soupçonné d’un vol ce gentil petit Esteban…
— Vous avez tout de même quelque chose à m’expliquer ?
continua-t-il avec douceur.
Pendant la première partie de l’entretien, Esteban avait parlé
comme un homme. A compter de ce moment, et sans transition, il fit
sa confession d’une voix enfantine…
— La jeune fille que vous avez vue tout à l’heure, Concepcion,
est très amoureuse de moi…
— Ah ! vraiment ! fit Robert en souriant.
— Moi, vous savez, je ne l’aime pas beaucoup. C’est à dire que
je l’aime des fois. On s’était connu, elle et moi, au Brésil, une saison
que l’on avait passée avec nos parents aux environs de Rio. C’était il
y a deux ans. Voilà que cette année on s’est retrouvé à Dinard. Elle
était devenue une grande fille. Elle a maintenant seize ans. C’est
cette année qu’elle m’a demandé de venir la voir pendant que son
papa n’y était pas. La première fois que je suis arrivé dans sa
chambre, elle a commencé à m’embrasser en me disant qu’elle
m’aimait et qu’elle voulait m’épouser. Chaque fois que je vais la voir,
elle m’embrasse tout le temps. Moi, presque jamais. Je ne peux pas
me forcer à embrasser les gens quand je ne les aime pas. Il y a des
fois, je ne dis pas, où je l’aime un peu, Concepcion. Mais c’est assez
rare.
Robert regardait Esteban, et se demandait : Est-il aussi ingénu
qu’il en a l’air ? Mais, s’il n’est pas ingénu, qu’est-ce que c’est que ce
petit démon ? Robert n’avait pas assez d’expérience de la vie pour
savoir que l’on n’est pas forcément un « roublard » quand on cesse
d’être un ingénu. La vérité, c’est que les gens sont toujours moins
ingénus et moins roublards qu’on le croit.
Mais les étonnements de Robert n’étaient pas finis encore…
— Un jour, continuait Esteban, Concepcion m’a donné de
l’argent…
Et, ce disant, jamais le visage du petit Orega n’eut un tel air
d’innocence…
— Par cent et deux cents francs, elle m’a déjà donné près de
deux mille francs. Je les ai mis de côté. Je voudrais faire jouer pour
moi au baccara, car je vois bien qu’à la boule il n’y a pas moyen de
gagner. Quand j’aurai une belle somme, je raconterai à papa que je
l’ai économisée depuis cinq ans, et je m’achèterai un side-car…
— Mais, dit Robert, comment vous donne-t-elle tout cet argent ?
Est-ce que vous lui en demandez ?
— Jamais, dit Esteban. C’est elle qui en a eu l’idée pour la
première fois. Et, je vous dirai que maintenant, quand j’ai envie
qu’elle m’en donne, je ne lui en demande pas. Mais je sais bien
prendre un air ennuyé jusqu’à ce qu’elle aille en chercher dans son
armoire…
— Oui, oui… fit Robert.
— Alors, ces derniers temps, comme il ne lui en restait plus, elle
s’est arrangée avec sa miss pour faire vendre des bijoux, qui sont
d’ailleurs à elle. Elle a vendu la semaine dernière ses boucles
d’oreilles, et elle a dit à son papa qu’elle les avait perdues. Elle vient
encore de recommencer avec sa broche.
— Ah ! très bien !… fit Robert.
— Mais je crois, dit Esteban avec un bon et franc petit rire, qu’elle
fera bien de ne pas recommencer, car j’ai idée que ça ne prendrait
plus…
La confession était terminée, et le confesseur était assez
embarrassé pour trouver les termes du commentaire sévère qu’il
aurait fallu. Pourtant, la matière à discours ne manquait pas. Avec ce
phénomène comme Esteban, pour un éducateur d’âme, il y avait,
comme on dit, de quoi faire.
Heureusement pour Robert, qui ne voyait pas tout de suite la
forme de son homélie, M. et Mme Orega rentraient de leur
promenade. Ils étaient assez calmes l’un et l’autre : ils venaient de
se promener en compagnie d’autres personnes, à qui il était décent
d’offrir l’image d’un ménage parfaitement uni. Il arriva qu’ils s’étaient
laissé prendre eux-mêmes à cette comédie. Leur hostilité était
momentanément calmée. Elle ne se rallumerait qu’après quelques
instants de tête à tête ou devant des êtres inexistants, tels que leur
fils et son précepteur.
Ce soir-là, d’ailleurs, M. Orega avait d’autres préoccupations. Ils
venaient de recevoir une dépêche d’amis à eux, qui leur proposaient
de venir les rejoindre au Havre. Ils se préparaient donc à quitter
Dinard le lendemain, car ces braves nomades n’avaient jamais de
fortes attaches avec les lieux où ils séjournaient, au cours de leur vie
de perpétuelle villégiature.
M. Orega demanda à Robert de partir le soir même pour Caen,
où ils avaient projeté de s’arrêter un jour ou deux. Le jeune
Nordement devait faire l’office de fourrier, se rendre compte de ce
qu’il y avait de plus confortable dans les hôtels, et en référer par
téléphone à M. Orega, qui n’attendait que ce signal pour quitter
Dinard en auto.
Robert arriva le lendemain matin vers dix heures dans la ville
normande, grâce à une savante combinaison de trains, que l’on
finissait par découvrir en compulsant trois ou quatre pages de
l’indicateur, après s’être reporté à des notes à peu près introuvables,
où vous renvoyaient d’invisibles minuscules, que distinguaient à la
loupe quelques rares initiés.
Pendant ses insomnies, entretenues par des changements de
trains et de froids stationnements dans des gares abandonnées de
Dieu et des hommes, Robert s’était appliqué à songer aux
remontrances qu’il ferait au petit Orega, et en avait soigneusement
ordonné le plan.
Une fois à Caen, il se fit conduire dans l’hôtel le plus en vue, où il
trouva pour ses patrons un appartement suffisamment somptueux.
Toutefois, avant de le retenir définitivement, il demanda la
communication avec Dinard, et se dit avec satisfaction qu’en
attendant le moment de l’avoir obtenue, il aurait tout le loisir de
savourer tranquillement son petit déjeuner du matin. Mais le dieu
sournois du téléphone n’aime pas que l’on veuille pénétrer ses
voies. Et Robert était à peine installé devant son chocolat, que le
portier ouvrait la porte du restaurant, et annonçait que Dinard était à
l’appareil.
— C’est M. Orega ? dit Robert dans la cabine.
— Oui, c’est moi.
— Ici M. Nordement… Je vous téléphone de Caen, de l’hôtel. J’ai
trouvé ce qu’il vous faut comme appartement.
— Oui… Hé bien… Hé bien, ne le retenez pas… Oui… Madame
et moi… nous n’avons plus le même avis… Nous demeurons encore
à Dinard…
— Ah !… Que dois-je faire alors ?
… Hésitation…
— Allô !… fit Robert.
— Je suis là, fit M. Orega… Je suis là… Écoutez, monsieur
Nordement, dites-moi à quelle adresse je puis faire parvenir une
somme… une somme de mille francs, ou un peu davantage, si vous
pensez que je vous dois plus… Madame et moi nous avons pris
cette décision… que l’enfant devait abandonner ses leçons… qu’il
valait mieux du repos pour la santé de ce petit…
Robert, étonné, resta sans répondre. Ce fut le tour de M. Orega
de faire : Allô ! allô !
— Vous êtes là, monsieur Nordement ?
— Oui, Monsieur. Mais permettez-moi de vous dire que si vous
êtes maître de faire ce que bon vous semble pour l’éducation de
votre fils… je ne puis pas, moi, me séparer de vous sur cette simple
raison. Il me faut d’autres explications que celle que vous me
donnez. Vous reconnaîtrez vous-même qu’elle n’est pas suffisante.
Silence absolu dans l’appareil.
— Allô !… fit sévèrement Robert.
— Je suis toujours là, monsieur Nordement. Alors, je dois vous
dire… je dois vous dire… le vrai… Un monsieur… que je connais…
un ami, me dit que hier, pendant que nous étions, madame et moi, à
la promenade, vous êtes allé à la boule avec l’enfant… et que là
vous avez joué… C’est votre droit, monsieur Nordement… Toutefois,
madame et moi, nous pensons que l’exemple n’est pas bon pour ce
jeune garçon…
— Ah ! ne put s’empêcher de dire Robert, ce n’est pas
exactement comme ça que ça s’est passé…
— Comment cela s’est-il passé ?
Robert, son premier mot de protestation lâché, s’était repris… Il
s’était dit qu’il ne devait pas trahir son petit élève…
D’autre part, depuis quelques secondes, il avait le désir
impérieux de rompre toutes relations avec M. Orega, pour qui il
éprouvait une haine subite et définitive. Il se borna donc à ajouter,
non sans sécheresse :
— Ça va bien, monsieur, ça va bien…
— Vous me comprenez un peu, monsieur Nordement ?
— Oui, je vous comprends, monsieur, ça va bien.
— Où dois-je vous envoyer la somme en question ?
— Nulle part, monsieur. Je n’ai pas fait votre affaire. J’estime que
vous ne me devez plus rien.
— Ah ! je ne comprends pas cela de cette façon…
— C’est ma façon à moi de le comprendre… Vous réglerez, si
vous le voulez bien, mes frais d’hôtel pour le temps que j’ai passé à
votre service. Vous m’avez remis hier deux billets de cent francs
pour mon voyage ici. Je prélèverai là-dessus les frais que j’ai eus, et,
à la première occasion, je vous rembourserai le reste. Ou plutôt je
vous le renverrai par la poste. Car il se peut bien que l’on ne se
revoie pas tout de suite…
— Pourtant, monsieur Nordement, je ne puis admettre…
— Je l’admets parfaitement, monsieur… Au revoir, monsieur…
Et il raccrocha le récepteur. Il le décrocha ensuite pour dire :
« Faites bien mes amitiés à Esteban… » Mais la communication était
déjà interrompue avec Dinard. Et la voix de M. Orega était déjà
remplacée par une voix campagnarde, qui, d’on ne savait où,
demandait : « C’est la mairie de Bayeux ?… C’est la mairie de
Bayeux ?… » et répétait cette phrase éperdue dix fois, quinze fois,
dans un silence inexorable…
V

Tout compte vérifié, avec le peu d’argent qui lui restait au


moment où il avait été engagé par M. Orega, Robert se trouvait avoir
sur lui un peu plus de trois cents francs. Il n’y avait pas là de quoi
tranquilliser un homme prévoyant.
Mais il s’était passé en lui, depuis quelques jours, un phénomène
assez curieux.
Le fait de s’être détaché de sa famille avait déjà eu ce précieux
avantage de le débarrasser d’une partie de la prévoyance un peu
lourde qu’il avait acquise au foyer paternel.
Trois jours auparavant, il avait vu, pour la première fois de sa vie,
le Destin intervenir directement dans ses affaires en le mettant sur le
chemin de la famille Orega… Cette chance avait duré ce qu’elle
avait duré : au moins avait-il été tiré d’embarras pendant trois jours.
Depuis son enfance, il s’était borné à suivre l’Étoile familiale.
Maintenant il lui semblait qu’il avait sa petite étoile à lui…
Sans situation sociale, il éprouvait une vague allégresse. Il
s’avançait gaiement vers la brume de son avenir. C’était une brume
blanche, éclairée d’une confiance juvénile.
Sa rupture avec la famille Orega le satisfaisait. Certes, il s’était
senti un petit attachement d’amitié pour le jeune Orega. Tout de
même, il ne déplorait pas qu’un brusque coup du sort l’eût séparé de
ce personnage un peu trouble.
Évidemment c’eût été une tâche intéressante que d’essayer de le
moraliser. Mais que d’aléa dans cette entreprise !
L’aventure de Concepcion, acceptée par Esteban avec tant
d’innocence, n’eût sans doute pas trouvé, une fois divulguée, des
appréciations très indulgentes dans l’opinion publique.
On aurait su que le précepteur était au courant de l’histoire…
Somme toute, il valait mieux avoir semé tous ces gens-là, et
chercher dans le vaste monde des compagnons de vie moins
compromettants.
Voilà ce qu’il se disait en mangeant son chocolat refroidi. Et son
bien-être moral eût été complet sans le petit ennui d’être obligé de
donner contre-ordre à l’hôtel, et de prévenir la gérance que
décidément il ne prenait pas pour le soir l’appartement qu’il avait à
peu près retenu. Il se crut obligé, au bureau de la réception, de faire
tout un récit, de raconter que « ses amis » n’étaient pas bien
portants, et n’avaient pu quitter Dinard comme ils avaient cru. « Il est
possible, dit-il, qu’ils m’envoient tout à l’heure une dépêche pour me
dire qu’ils vont mieux, qu’ils se ravisent et qu’ils viennent tout de
même… Mais n’immobilisez pas l’appartement… » Il partit ensuite,
sa valise à la main, la tête très haute, après avoir remis au portier un
pourboire tout à fait en disproportion avec les ressources d’un
précepteur jeté brusquement sur le pavé.
Qu’allait-il faire ?
Rester à Caen ?
Pourquoi pas, après tout ?
Il valait mieux ne pas grever son budget du prix d’un nouveau
billet pour se transporter en chemin de fer dans une autre ville, où
ses chances de trouver une position n’eussent pas été plus
nombreuses que dans « l’Athènes normande ».
Caen, avec ses cinquante mille âmes, offrait à peu près autant
de ressources que la plupart des villes de France. L’enfant prodigue
s’interdisait, bien entendu, tout séjour à Paris, où son père avait sa
maison de commerce et son domicile d’hiver.

You might also like