Graph theory and complex networks an introduction 1st ed Edition Steen download pdf
Graph theory and complex networks an introduction 1st ed Edition Steen download pdf
com
https://ebookname.com/product/graph-theory-and-complex-
networks-an-introduction-1st-ed-edition-steen/
OR CLICK HERE
DOWLOAD NOW
https://ebookname.com/product/a-walk-through-combinatorics-an-
introduction-to-enumeration-and-graph-theory-2nd-edition-miklos-bona/
ebookname.com
https://ebookname.com/product/networks-an-introduction-1st-edition-
mark-newman/
ebookname.com
https://ebookname.com/product/lectures-on-complex-networks-sergey-
dorogovtsev/
ebookname.com
https://ebookname.com/product/the-handbook-of-discourse-analysis-1st-
edition-deborah-schiffrin/
ebookname.com
Standard Poor s 500 Guide 2009 PB Standard and Poor s 500
Guide 1st Edition Standard & Poor'S
https://ebookname.com/product/standard-poor-s-500-guide-2009-pb-
standard-and-poor-s-500-guide-1st-edition-standard-poors/
ebookname.com
The Quest for Just and Pure Law Rocky Mountain Workers and
American Social Democracy 1870 1924 1st Edition John P.
Enyeart
https://ebookname.com/product/the-quest-for-just-and-pure-law-rocky-
mountain-workers-and-american-social-democracy-1870-1924-1st-edition-
john-p-enyeart/
ebookname.com
https://ebookname.com/product/evangelicals-and-culture-2nd-edition-
doreen-rosman/
ebookname.com
https://ebookname.com/product/panoramic-imaging-sensor-line-cameras-
and-laser-range-finders-1st-edition-fay-huang/
ebookname.com
https://ebookname.com/product/naoki-urasawa-s-20th-century-boys-
volume-6-naoki-urasawa/
ebookname.com
The Art and Science of Vedic Astrology 2 Vol Set 1st
Edition Richard Fish
https://ebookname.com/product/the-art-and-science-of-vedic-
astrology-2-vol-set-1st-edition-richard-fish/
ebookname.com
Graph Theory
and
Complex Networks
An Introduction
All rights to text and illustrations are reserved by Maarten van Steen. This work may not be copied, reproduced,
or translated in whole or part without written permission of the publisher, except for brief excerpts in reviews
or scholarly analysis. Use with any form of information storage and retrieval, electronic adaptation or whatever,
computer software, or by similar or dissimilar methods now known or developed in the future is strictly forbidden
without written permission of the publisher.
To Mariëlle, Max, and Elke
C ONTENTS
Preface ix
1 Introduction 1
1.1 Communication networks . . . . . . . . . . . . . . . . . . . . . 4
Historical perspective . . . . . . . . . . . . . . . . . . . . . . . . 4
From telephony to the Internet . . . . . . . . . . . . . . . . . . 6
The Web and Wikis . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Social networks . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Online communities . . . . . . . . . . . . . . . . . . . . . . . . 9
Traditional social networks . . . . . . . . . . . . . . . . . . . . 10
1.3 Networks everywhere . . . . . . . . . . . . . . . . . . . . . . . 11
1.4 Organization of this book . . . . . . . . . . . . . . . . . . . . . 13
2 Foundations 17
2.1 Formalities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Graphs and vertex degrees . . . . . . . . . . . . . . . . . . . . . 18
Degree sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Subgraphs and line graphs . . . . . . . . . . . . . . . . . . . . . 28
2.2 Graph representations . . . . . . . . . . . . . . . . . . . . . . . 31
Data structures . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Graph isomorphism . . . . . . . . . . . . . . . . . . . . . . . . 33
2.3 Connectivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.4 Drawing graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Graph embeddings . . . . . . . . . . . . . . . . . . . . . . . . . 45
Planar graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3 Extensions 55
3.1 Directed graphs . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Basics of directed graphs . . . . . . . . . . . . . . . . . . . . . . 57
v
Connectivity for directed graphs . . . . . . . . . . . . . . . . . 61
3.2 Weighted graphs . . . . . . . . . . . . . . . . . . . . . . . . . . 65
3.3 Colorings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Edge colorings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Vertex colorings . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
4 Network traversal 79
4.1 Euler tours . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Constructing an Euler tour . . . . . . . . . . . . . . . . . . . . . 82
The Chinese postman problem . . . . . . . . . . . . . . . . . . 87
4.2 Hamilton cycles . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
Properties of Hamiltonian graphs . . . . . . . . . . . . . . . . . 92
Finding a Hamilton cycle . . . . . . . . . . . . . . . . . . . . . . 97
Optimal Hamilton cycles . . . . . . . . . . . . . . . . . . . . . . 100
5 Trees 105
5.1 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Trees in transportation networks . . . . . . . . . . . . . . . . . 107
Trees as data structures . . . . . . . . . . . . . . . . . . . . . . . 109
5.2 Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5.3 Spanning trees . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
5.4 Routing in communication networks . . . . . . . . . . . . . . . 119
Dijkstra’s algorithm . . . . . . . . . . . . . . . . . . . . . . . . . 120
The Bellman-Ford algorithm . . . . . . . . . . . . . . . . . . . . 123
A note on algorithmic performance . . . . . . . . . . . . . . . . 127
vi
7.3 Small worlds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
7.4 Scale-free networks . . . . . . . . . . . . . . . . . . . . . . . . . 172
Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Properties of scale-free networks . . . . . . . . . . . . . . . . . 178
Related networks . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Conclusions 261
Index 271
Bibliography 279
vii
P REFACE
When I was appointed Director of Education for the Computer Science de-
partment at VU University, I became partly responsible for revitalizing our
CS curriculum. At that point in time, mathematics was generally experi-
enced by most students as difficult, but even more important, as being ir-
relevant for successfully completing your studies. Despite numerous efforts
from my colleagues from the Mathematics department, this view on math-
ematics has never really changed. I myself obtained a masters degree in
Applied Mathematics (and in particular Combinatorics) before switching to
Computer Science and gradually moving into the field of large-scale dis-
tributed systems. My own research is by nature highly experimental, and
being forced to handle large systems, bumping into the theory and practice
of complex networks was almost inevitable. I also never quite quit enjoying
material on (combinatorial) algorithms, so I decided to run another type of
experiment.
The experiment that eventually led to this text was to teach graph the-
ory to first-year students in Computer Science and Information Science. Of
course, I needed to explain why graph theory is important, so I decided to
place graph theory in the context of what is now called network science. The
goal was to arouse curiosity in this new science of measuring the structure
of the Internet, discovering what online social communities look like, obtain
a deeper understanding of organizational networks, and so on. While doing
so, teaching graph theory was just part of the deal.
No appropriate book existed, so I started writing lecture notes. As with
most experiments that I participate in (the hard work is actually done by my
students), things got a bit out of hand and I eventually found myself writ-
ing another book. Considering that my other textbooks are really on (dis-
tributed) computer systems and barely contain any mathematical symbols
(as, in fact, is also the case for most of my research papers), this book is to
be considered as somewhat exceptional. In fact, because I do not consider
ix
myself to be a mathematician anymore, I’m not quite sure how this book
should be classified. Is it math? Is it computer science? Does it matter?
The goal is to provide a first introduction into complex networks, yet in
a more or less rigorous way. After studying this material, a student should
have a pretty good idea of what makes real-world networks complex in-
stead of complicated, and can do a lot more than just handwaving when it
comes to explaining real-world phenomena. While getting to that point, I
also hope to have achieved two other goals: successfully teaching the foun-
dations of graph theory, and even more important, lowering the threshold
for studying mathematical material.
The latter may not be obvious when skimming through the text: it is full
of mathematical symbols, theorems, and proofs. I have deliberately chosen
for this approach, feeling confident that if enough and targeted attention
is paid to the language of mathematics in the first chapters, a student will
become aware of the fact that mathematical language is sometimes only in-
timidating: mathematicians’ barks are often worse than their bites. Students
who have so far followed my classes have indeed confirmed that they were
surprised at how much easier it was to access the math once they got over
the notations. I hope that this approach will last for long, making it at least
easier for many students to not immediately pull back when encountering
mathematical language in other texts.
Intended readership
This book has been written for first- or second-year undergraduates who
have taken the usual courses in mathematics as taught in high school. How-
ever, although I claim that the material is not inherently difficult, it will cer-
tainly require serious studying by most students, and certainly those for
which math does not come natural. As mentioned, I have deliberately cho-
sen to use the language of math because it is not only precise and compre-
hensive, but above all because I believe that at the level of this book, it will
lower the threshold for other mathematical texts. It should be clear that the
lecturer using this material may need to pay some special effort to encour-
age students. For most students, the language will turn out to be the hard
part, not the content.
Supplementary material
As said, this book is part of a course on graph theory and complex net-
works. Although it can be used for self-study, I encourage students and
their instructors to visit the accompanying Web site:
http://www.distributed-systems.net/gtcn/
x
where lots of extra material can be found, including, most importantly, a
huge collection of exercises (with solutions). My goal is to expand this set
of exercises continuously. This is the most important reason not to have
included any exercises in the book: they can be readily obtained from the
site, and always up-to-date.
To make the material more accessible (and fun), but also to allow stu-
dents to do some basic analysis of larger graphs and networks, we have
been using Mathematica in combination with Combinatorica. All mate-
rial, including Mathematica notebooks and data on graphs are all avail-
able through the Web site. The site also has some extra tools for generating
graphs.
Of course, slides and handouts are available (all originating from LATEX
sources), as well as all the figures from the book. Perhaps most importantly,
an electronic version of the book itself is also available.
Acknowledgments
There are a few people who deserve to be mentioned. Spyros Voulgaris
has been responsible for creating homework assignments, preparing Math-
xi
ematica notebooks, and setting up all the exercise classes. Albana Gaba has
a gifted talent to provide very constructive feedback (next to the fact that she
has been working like a dog to process all the student assignments). Achraf
Belmokadem has done a terrific job on setting up a Web-based subsystem
for letting students self-assess their abilities for solving graph problems. Fi-
nally, I would like to thank the students who have undergone my teaching
for the past two years and who have, despite all the mistakes, continued to
claim that they enjoyed it.
xii
C HAPTER 1
I NTRODUCTION
Another Random Document on
Scribd Without Any Related Topics
Mirths and toys
To cozen time withal: for o' my troth, Sir
I can love,—I think well too,—well enough;
And think as well of women as they are,—
Pretty fantastic things, some more regardful,
And some few worth a service. I'm so honest
I wish 'em all in Heaven and you know how hard, Sir,
'Twill be to get in there with their great farthingals.
BEAUMONT and FLETCHER.
The Salic law he looked upon as in this respect the Law of Nature.
And therefore he thought it was wisely appointed in France, that the
royal Midwife should receive a fee of five hundred crowns upon the
birth of a boy and only three hundred if it were a female child. This
the famous Louise Bourgeois has stated to be the custom, who for
the edification of posterity, the advancement of her own science, and
the use of French historians published a Recit veritable de la
naissance de Messieurs et Dames les enfans de France, containing
minute details of every royal parturition at which she had officiated.
This being a favourite commentary with the Doctor upon the first
transgression, what would he have said if he had lived to read an
Apology for Eve by one of her daughters, yes, an Apology for her
and a Defence, showing that she acted meritoriously in eating the
Apple. It is a choice passage and the reader shall have it from Miss
Hatfield's Letters on the Importance of the Female Sex.
CHAPTER CCVI.
Sing of the nature of women; and then the song shall be surely full of variety, old
crotchets, and most sweet closes: it shall be humourous, grave, fantastic, amorous,
melancholy, sprightly, one in all and all in one.
MARSTON.
There are indeed certain Rabbis who affirm that Eve was not taken
out of Adam's side: but that Adam had originally been created with a
tail (herein agreeing with the well-known theory of Lord Monboddo)
and that among the various experiments and improvements which
were made in his form and organization before he was finished, the
tail was removed as an inconvenient appendage, and of the
excrescence or superfluous part which was then lopt off, the Woman
was formed.
We are not bound to believe the Rabbis in every thing, the Doctor
would say; and yet it cannot be denied that they have preserved
some valuable traditions which ought to be regarded with much
respect. And then by a gentle inclination of the head—and a peculiar
glance of the eye, he let it be understood that this was one of those
traditions which were entitled to consideration. It was not impossible
he said, but that a different reading in the original text might support
such an interpretation: the same word in Hebrew frequently signified
different things, and rib and tail might in that language be as near
each other in sound or as easily miswritten by a hasty hand, or
misread by an inaccurate eye as costa and cauda in Latin. He did
not pretend that this was the case—but that it might be so. And by a
like corruption (for to such corruptions all written and even all printed
books are liable) the text may have represented that Eve was taken
from the side of her husband instead of from that part of the back
where the tail grew. The dropping of a syllable might occasion it.
And this view of the question he said, derived strong support from
that well known and indubitable text wherein the Husband is called
the Head; for although that expression is in itself most clear and
significative in its own substantive meaning, it becomes still more
beautifully and emphatically appropriate when considered as
referring to this interpretation and tradition, and implying as a direct
and necessary converse that the Wife is the Tail.
However the Doctor admitted that on the whole the received opinion
was the more probable. And after making this admission he related
an anecdote of Lady Jekyll who was fond of puzzling herself and
others with such questions as had been common enough a
generation before her, in the days of the Athenian Oracle. She asked
William Whiston of berhymed name and eccentric memory, one day
at her husband's table to resolve a difficulty which occurred to her in
the Mosaic account of the creation. “Since it pleased God, Sir,” said
she, “to create the Woman out of the Man, why did he form her out
of the rib rather than any other part.” Whiston scratched his head
and answered. “Indeed Madam I do not know, unless it be that the
rib is the most crooked part of the body.” “There!” said her husband,
“you have it now: I hope you are satisfied!”
Mahomet too was not the only person who has supposed that
women have no souls. In this Christian and reformed country, the
question was propounded to the British Apollo whether there is now,
or will be at the resurrection any females in Heaven—since, says the
questioner, there seems to be no need of them there! The Society of
Gentlemen who, (in imitation of John Dunton, his brother-in-law the
elder Wesley, and their coadjutors,) had undertaken in this Journal to
answer all questions, returned a grave reply, that sexes being
corporeal distinctions there could be no such distinction among the
souls which are now in bliss; neither could it exist after the
resurrection, for they who partook of eternal life neither marry nor are
given in marriage.
CHAPTER CCVII.
If there sit twelve women at the table, let a dozen of them be—as they are.
TIMON OF ATHENS.
“Very well, Sir, very well! This is like you!” says the Bow-Begum.
“Was there ever such an atrocious libel upon the sex,” says the Lady
President of the Celestial Blues.
Let me see, who do I know among them. There is Mrs. Lapis Lazuli
and her daughter Miss Ultramarine,—there is Mrs. Bluestone, the
most caustic of female critics, and her friend Miss Gentian,—Heaven
protect me from the bitterness of her remarks,—there is Lady
Turquoise, Lady Celestina Sky, the widow Bluebeard, Miss
Mazarine, and that pretty creature Serena Cerulean, it does me good
to look at her, she is the blue-bell of the party. There is Miss
Sapphire, Miss Priscilla Prussian, Mrs. Indigo, and the Widow Woad.
And Heaven knows who beside. Mercy on me—it were better to be
detected at the mysteries of the Bona Dea, than be found here! Hear
them how they open in succession—
Infamous!
Shameful!
Intolerable!
He has heaped together all the slanderous and odious things that
could be collected from musty books.
Talk of his Wife and Daughter. I do not believe any one who had wife
and daughter would have composed such a Chapter as that. An old
batchelor I warrant him, and mustier than his books.
Pedant!
Satirist!
Libeller!
Wretch!
Monster!
1 MAURO.
Hear but to the end, and I promise you on the faith of a true man a
Red Letter Chapter in your praise; not a mere panegyric in the
manner of those who flatter while they despise you, but such an
honest estimate as will bear a scrutiny,—and which you will not like
the worse because it may perhaps be found profitable as well as
pleasing.
2 SHIRLEY.
CHAPTER CCVIII.
It would have pleased the Doctor when he was upon this topic if he
had known how exactly the value of women was fixed among the
Afghauns, by whose laws twelve young women are given as a
compensation for the slaughter of one man, six for cutting off a hand,
an ear, or a nose; three for breaking a tooth, and one for a wound of
the scalp.
1 BRANTÔME.
2 WILSON.
However, that women were in some respects better than men, he did
not deny. He doubted not but that Cannibals thought them so; for we
know by the testimony of such Cannibals as happen to have tried
both, that white men are considered better meat than negroes, and
Englishmen than Frenchmen, and there could be little doubt that for
the same reason, women would be preferred to men. Yet this was
not the case with animals, as was proved by buck venison, ox beef,
and wether mutton. The tallow of the female goat would not make as
good candles as that of the male. Nature takes more pains in
elaborating her nobler work; and that the male, as being the nobler,
was that which Nature finished with greatest care must be evident,
he thought, to any one who called to mind the difference between
cock and hen birds, a difference discoverable even in the egg, the
larger and finer eggs with a denser white, and a richer yolk,
containing male chicks. Other and more curious observations had
been made tending to the same conclusion, but he omitted them, as
not perhaps suited for general conversation, and not exactly capable
of the same degree of proof. It was enough to hint at them.
The great Ambrose Parey (the John Hunter and the Baron Larrey of
the sixteenth century) has brought forward many instances wherein
women have been changed into men, instances which are not
fabulous: but he observes, “you shall find in no history, men that
have degenerated into women; for nature always intends and goes
from the imperfect to the more perfect, but never basely from the
more perfect to the imperfect.” It was a rule in the Roman law, that
when husband and wife overtaken by some common calamity
perished at the same time, and it could not be ascertained which had
lived the longest, the woman should be presumed to have expired
the first, as being by nature the feeblest. And for the same reason if
it had not been noted whether brother or sister being twins came first
in the world, the legal conclusion was that the boy being the stronger
was the first born.
And from all these facts he thought the writer must be a judicious
person who published a poem entitled the Great Birth of Man, or
Excellence of his creation over Woman.
Therefore it is that the Jew at this day begins his public prayer with a
thanksgiving to his Maker, for not having made him a woman;—an
escape for which the Greek philosopher was thankful. One of the
things which shocked a Moor who visited England was to see dogs,
women, and dirty shoes permitted to enter a place of worship, the
Mahometans, as is well known, excluding all three from their
Mosques. Not that all Mahometans believe that women have no
souls. There are some who think it more probable they have, and
these more liberal Mussulmen hold that there is a separate Paradise
for them, because they say, if the women were admitted into the
Men's Paradise, it would cease to be Paradise,—there would be an
end of all peace there. It was probably the same reason which
induced Origen to advance an opinion that after the day of Judgment
women will be turned into men. The opinion has been condemned
among his heresies; but the Doctor maintained that it was a
reasonable one, and almost demonstrable upon the supposition that
we are all to be progressive in a future state. There was, however,
he said, according to the Jews a peculiar privilege and happiness
reserved for them, that is for all those of their chosen nation, during
the temporal reign of the Messiah, for every Jewish woman is then to
lie in every day!
“Sit not in the midst of women,” saith the son of Sirach in his
Wisdom, “for from garments cometh a moth, and from women
wickedness.” “Behold, this have I found, saith the Preacher, counting
one by one to find out the account; which yet my soul seeketh, but I
find not: one man among a thousand have I found; but a woman
among all those have I not found.”
“It is a bad thing,” said St. Augustine, “to look upon a woman, a
worse to speak to her, and to touch her is worst of all.” John Bunyan
admired the wisdom of God for making him shy of the sex, and
boasted that it was a rare thing to see him “carry it pleasant towards
a woman.” “The common salutation of women,” said he, “I abhor,
their company alone I cannot away with!” John, the great Tinker,
thought with the son of Sirach, that “better is the churlishness of a
man, than a courteous woman, a woman which bringeth shame and
reproach.” And Menu the law-giver of the Hindoos hath written that
“it is the nature of women in this world to cause the seduction of
men.” And John Moody in the play, says, “I ha' seen a little of them,
and I find that the best, when she's minded, won't ha' much
goodness to spare.” A wife has been called a daily calamity, and
they who thought least unfavourably of the sex have pronounced it a
necessary evil.
Southey's favorite play upon the stage was Cymbeline, and next to it, As you like it.
“Look indeed at the very name,” said the Doctor, putting on his
gravest look of provocation to the ladies.—“Look at the very name—
Woman, evidently meaning either man's woe—or abbreviated from
woe to man, because by woman was woe brought into the world.”
And when a girl is called a lass, who does not perceive how that
common word must have arisen? Who does not see that it may be
directly traced to a mournful interjection, alas! breathed sorrowfully
forth at the thought the girl, the lovely and innocent creature upon
whom the beholder has fixed his meditative eye, would in time
become a woman,—a woe to man!
There are other tongues in which the name is not less significant.
The two most notoriously obstinate things in the world are a mule
and a pig. Now there is one language in which pige means a young
woman: and another in which woman is denoted by the word mulier:
which word, whatever grammarians may pretend, is plainly a
comparative, applied exclusively and with peculiar force to denote
the only creature in nature which is more mulish than a mule.
Comment, says a Frenchman, pourroit-on aymer les Dames, puis
qu'elles se nomment ainsi du dam et dommage qu'elles apportent
aux hommes!4
4 BOUCHET.
INTERCHAPTER XXIV.
A TRUE STORY OF THE TERRIBLE KNITTERS E' DENT WHICH WILL BE READ
WITH INTEREST BY HUMANE MANUFACTURERS, AND BY MASTERS OF
SPINNING JENNIES WITH A SMILE.—BETTY YEWDALE.—THE EXCURSION—AN
EXTRACT FROM, AND AN ILLUSTRATION OF.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com