Graphs
local graph
Chapter 2 — Graphs
Section titled “Chapter 2 — Graphs”2. GRAPHS
Section titled “2. GRAPHS”Introduction
Section titled “Introduction”The things in Figure 1 are called “graphs”, and are typical of what we will be playing with. Despite the name, they are unrelated to the pictures of equations drawn in high school algebra courses. To quickly convince you of this, I mention that we will consider graphs a), b), and c) to be identical (the word we will use is “isomorphic”), though if drawn in cartesian coordinates they would depict three different equations. In order to define “graph” more precisely, we must first discuss “sets”.
Definition 1. A set is a collection of distinct objects, none of which is the set itself.
If you’ve encountered sets before you may find the last part of the definition a bit puzzling. We’ll return to it in the next section, but for now suffice it to say that we intend to exclude collections like A = {1, 2, 3, A}.
The words “collection” and “object” are left undefined. Strictly speaking, therefore, we don’t know what we’re talking about. That’s the way it is with pure mathematics. But there is implied an interpretation of “set” as being a bunch of things, an aggregate of entities, etc., and if your intuition feels more comfortable with something to hold onto (mine does), feel free to think of a set as being just what it sounds like. But be careful, for the words “collection” and “object” are used in a slightly unconventional fashion. We are allowing “collections” of infinitely many things, or just one thing, or even no things. And an “object” need not be something we can smell or trip over; to a mathematician an “object” is anything conceivable, including numbers, unicorns, and Peter Pan. The only things left out are the inconceivable, for instance a figure which simultaneously has all the geometric properties of both a triangle and a circle. Everything else is acceptable.
A set is usually denoted by listing the names of the objects, separated by commas, within a pair of braces. So
{12,q,$,Empire State Building,9,King Arthur} is a set. Notice that the objects, which are called the elements of the set, need not have anything in common; mathematical sets are not like sets of luggage. Usually we give sets names to avoid a lot of writing when we subsequently refer to them. Thus one might say,“Let A={12, q, $,Empire State Building,9,King Arthur}.” This is the beginning of mathematical notation, something which, like any other shorthand, can be more confusing than helpful if not learned gradually as it comes along. Definitions are just another version of the same thing. I recommend that you memorize(yes!) the meanings of all new terms and symbols when they first appear.
Definition 2. A set containing no elements is called a null set or an empty set.
An empty set plays the same role in set theory that 0 plays in arithmetic, but you must be careful not to confuse the two. An empty set is a set; 0 is a number. They are of completely different species.Think of it this way: 0 is a number that tells you how many objects there are in an empty set.
Definition 3. A set A is said to be a subset of a set B, denoted“A C B”, if every element of A is also an element of B.
Example. If and , then , , and . Notice that every set is a subset of itself.
Convention. We agree to consider an empty set to be a subset of every set.
This“convention” can in fact be proved, but only by a logical contortion that seems inappropriate at the present. Thus it is a“convention” instead of a“theorem”.
Example. If J is an empty set and A and B are the sets of the previous example, then , and .
Definition 4. A set A is said to be equal to a set B, denoted“A=B”, if A C B and B C A.
Thus A= B if A and B consist of exactly the same objects. It follows that the order in which the elements of a set appear is irrelevant.For example,{1,2,3}={2,1,3} since{1,2,3}C{2,1,3} and{2,1,3}C{1,2,3}.
Theorem 1. There is only one empty set.
Proof. Let J and K be empty sets. Then by the Convention, and , so by Definition 4. Thus all empty sets are equal;that is, there is really only one empty set.
Notation. The empty set(we had to say“an empty set” before, but now we can say“the empty set”) shall be denoted by“0” or“{}”.
Use either notation at your whim, but be careful not to combine them.“{0}” would be interpreted by a mathematician as signifying a set containing one element, that element being the symbol .
In view of the word“distinct” in Definition 1, collections like{1,3,3,&,407}, in which an object is listed more than once, are not sets. The definition was designed to exclude this sort of thing because
“{1,3,3,&,407}” is a redundancy. We are being told twice that the collection contains the number 3.
All the set theory we’ll need to talk about graphs has now been developed. But before going on I want to take time out and explain why in pure mathematics we are so excruciatingly careful about definitions and proofs(something you may have already noticed).In the process I’ll explain the reason for that last clause in Definition 1. You may find parts of the next section a little involved, but I think my point is important and I encourage you to persist.
Paradox
Section titled “Paradox”The story begins in the sixth century B.C. with the Pythagoreanans, a community of men and women founded by Pythagoras at Crotona in southern Italy. The Pythagoreanans shared quasi-religious rituals, dietary laws, and devotion to mathematics as the key to understanding nature. It is they who first discovered that intuition and logic can disagree.
The Pythagorean Paradox. It happened like this. Let AB and CD be two finite straight lines. We will say that a finite straight line X is a“common measure” of AB and CD if there are whole numbers m and n so that XY laid down m times is the same length as AB and XY laid down n times is the same length as CD. For example, if AB were a yard long and CD 10 inches, a line segment XY of 2 inches would be a common measure with m= 18 and n= 5;for laying down XY eighteen times would produce a length of 36 inches, the same as AB, and laying down XY five times would produce a length of 10 inches, the same as CD. XY= 1/4 inch would be another common measure, this time with m= 144 and n= 40. It was intuitively evident to the Pythagoreanans, and as I write it is intuitively evident to me, that a common measure can be found for any pair of finite straight lines-though of course it may be necessary to take XY quite small in order to measure both AB and CD exactly.Since AB/CD= m(XY)/n(XY)= m/n, a“rational” number(that is, a quotient of whole numbers), what my intuition predicts is that the quotient of two lengths is always a rational number.
Now take a square with side equal to 1 and draw a diagonal. By the Pythagorean Theorem the length of the diagonal is2 and so the quotient of the length of the diagonal and the length of one of the sides is also2. If the Pythagoreanans’ intuition and mine are correct in asserting that the quotient of two lengths is always a rational number,2 must be a rational number. But one of the later Pythagoreans(probably Hippasus of the fifth century B.C.) discovered, by an argument not based primarily on intuition, that2 cannot be a rational number.
The proof went something like this. Any rational number can be reduced to“lowest terms”, that is, expressed as a quotient of whole numbers that have no factors(other than 1) in common; for example 60/75=24/5,and 24 and 5 have no common factor. Therefore,
2 were a rational number, it would be possible to express2 s2=p/q where p and q are whole numbers with no common factor. Squaring both sides gives 2= p2/q2, and multiplying both sides by q2 gives 2q2=p2.This means that p2 must be even, because it is twice another whole number, q2.The Pythagoreans had previously proved that the square of an odd number is odd, so the fact that p2 is even implies that p is even also(if p were odd, p2 would be odd). So p is even; that is, p is the double of some other whole number; in symbols, p= 2r for some whole number r. Substituting p= 2r into the equation 2q2=p2 gives 2q2=(2r)2 or 2q2=4r2.Dividing both sides by 2 gives q2=2r2, so q2, being twice the whole number r2, is even, and for the same reason as before q is even too.But if p and q are both even, as we have shown, then they have a common factor of 2, which contradicts our earlier statement that p and q have no common factor. Hence the assumption that2 is rational leads to a contradiction and so is logically untenable.
At this point the Pythagoreans were at an impasse, what mathemati-cians call a“paradox”. They were sure, on intuitive grounds, that2, being a quotient of two lengths, is a rational number. On the other hand they were equally sure, on grounds of logic and computation. Had they decided to accept intuition as more reliable than logic, the future of mathematics would have been quite different; but of course they decided in favor of logic, and mathematicians ever since have been taught to mistrust intuition.(I think this has something to do with the stereotype that mathemati-cians are“cold” people.)
To say that mathematicians consider intuition unreliable, however, does not mean that they have banished it from mathematics. On the contrary, the basic assumptions from which any branch of pure mathematics proceeds-the axioms-are unsusceptible to proof, and are accepted primarily because of intuitive appeal. And intuition plays a big role in the discovery of theorems as well, or mathematicians would be spending most of their time trying to prove false theorems.
It’s just that intuitive evidence is not accepted as conclusive.Definitions and axioms are carefully framed with an eye to hidden assumptions. Time and again in the history of mathematics, paradoxes have arisen because fundamental notions were not divorced from their origins in the physical world.(The Pythagorean paradox is a good example: any carpenter can tell you that given two sticks AB and CD, it is always possible to cut a stick XY that will be a common measure; but mathematical straight lines aren’t sticks.) Similarly, theorems are stated as precisely as possible; and though they are discovered by intuition, they are demonstrated by logic alone. This habit of mind is called by mathematicians“rigor”. It is characteristic of pure mathematics.
In recent years pure mathematics has become“rigorous” beyond the Greeks’ wildest dreams. One reason for this is an insidious paradox that surfaced around the turn of the century.
Russell’s Paradox. During the last half of the nineteenth century several branches of pure mathematics were being simultaneously rebuilt because of paradoxes that had arisen a few decades earlier. This rebuilding was based on the notion of“set”, which was defined as follows:
Old Definition. A set is a collection of distinct objects.
The set concept seemed like a good foundation because it was simple and obviously free of logical difficulty. Mathematicians were confident that with it they could build a logical edifice so solid as to never again be shaken by a paradox.
Then, in 1902, Bertrand Russell presented his famous paradox. He observed that if we define a set to be merely a collection of distinct objects, we have to include self-referent collections like A={1,2,3,A}, in which the set is one of its own elements. Of course, the sets mathematicians would normally have occasion to discuss are not of this type, so he called these new sets“extraordinary”. Standard sets like B={3,17,&,#, Massachusetts}, in which the name of the set does not appear on the list of elements, he called“ordinary”.So an extraordinary set is a set that is an element of itself, and an ordinary set is a set that is not an element of itself.
Don’t confuse“being an element of” and“being a subset of”. Every set is a subset of itself, but only a strange set like A={1,2,3,A}is an element of itself.
The paradox unfolds by letting S be the collection of all ordinary sets and nothing else. I claim that S is a set. We are using the old definition that says a set is merely a collection of distinct objects, an“object” being anything conceivable. Ordinary sets are certainly conceivable(I am holding the concept in my mind as I write), so they are objects; S is a collection of such objects, so S is a set.
Every set is either ordinary or extraordinary, so S must be either ordinary or extraordinary. The rub is that S is neither. Recall what we know about S: it is a set, it contains every ordinary set, and it contains nothing else. If S itself were an ordinary set, it would be n element of itself and therefore extraordinary. On the other hand, f S were an extraordinary set, it would not be an element of itself as it contains only ordinary sets), and therefore S would be ordinary.So S can be neither ordinary nor extraordinary, though being a set it must be one or the other. We are caught in a bewildering paradox.
One way out would be to abandon the so-called“Law of Excluded Middle”, a rule of logic that says“any meaningful statement is either true or false and there is no other possibility.” We used the Law of Excluded Middle in the above argument when we insisted that every set is either ordinary or not ordinary(i.e., extraordinary). If there were a“middle” possibility, the argument that S is neither ordinary nor extraordinary would lose its devastating effect. You may feel that the Law of Excluded Middle is so basic to reason that rejecting it is unthinkable, but there is a minority school of mathematicians, the Intuitionists, who do precisely that.The majority of mathematicians, however, have confidence in this part of Aristotle’s logic, so when the paradox was announced they searched for another way out.
In 1910 Russell resolved his own paradox with what he called the“theory of types”, which essentially says that we can avoid the paradox if we tack an extra clause onto the definition of“set” excluding collections that are elements of themselves. Definition 1. Under this new definition there are no such things as”extraordinary” sets; all sets are ordinary, so S becomes the collection of all sets. Further, S itself is no longer a set, for if S were a set it would be an element of itself. S is in some sense”too big” to be a set. For collections like S we can invent a new name, say”class”.to indicate that they are qualitatively different from sets. So the paradox is gone, leaving the following debris: S is not an extraordinary set because extraordinary sets don’t exist; neither is S an ordinary set because S is not a set at all; S is a class.
The subtlety of Russell’s paradox can be seen in the fact that mathematicians all over the world had worked with the theory of sets for more than twenty years before anyone noticed the big loophole in the very definition of”set”. Standards of”rigor” have been at an all-time high ever since. Statements of all kinds(definitions, axioms, theorems) are scrutinized for the tiniest hidden assumptions, and proofs are made to adhere to the strictest logic. If it all seems a trifle paranoid.think about this: if so simple a concept as”set” has turned out to contain the seed of a paradox, what of most other mathematical concepts, like”number” and”function”, that are considerably more complex?
Graphs
Section titled “Graphs”Definition 5. A graph is an object consisting of two sets called its vertex set and its edge set. The vertex set is a finite nonempty set.The edge set may be empty, but otherwise its elements are two-element subsets of the vertex set.
Examples. 1) The sets{P,Q,R,S,T,U} and{P,Q},{P,R},{Q,R},{S,U}} constitute a graph, which we can call”G” for short.
2){1,2,3,4,5} and 0 constitute a second graph,“H”.
3)“J” is a graph having vertex set{1,2,3,4,5} and edge set{{1,2},{1,3},{1,4},{1,5},{2,3},{2,4},{2,5},{3,4},{3,5},{4,5}}.
I realize that G,H, and J don’t look much like the things in Figure 1, but they will when we start to draw diagrams of graphs.
Definition 6. The elements of the vertex set of a graph are called vertices(singular: vertex) and the elements of the edge set are called edges. We shall denote the number of vertices by”v” and the number of edges by”e”.
Examples. 1) The vertices of the above graph G are P, Q, R, S, T, and U. Its edges are {P,Q}, {P,R}, {Q,R}, and {S,U}. G has v= 6 and e = 4.
-
The vertices of H are 1, 2, 3, 4, and 5. If has no edges. For H, v = 5 and e = 0.
-
/ has v = 5 and e = 10
Definition 7. If {X,Y} is an edge of a graph, we say that {X,Y} joins or connects the vertices X and Y, and that X and Y are adjacent to one another. The edge {X,Y} is incident to each of X and Y, and each of X and Y is incident to {X,Y}. Two edges incident to the same vertex are called adjacent edges. A vertex incident to no edges at all is isolated.
Examples. In the graph G of previous examples, {P,Q} joins P and Q; P and Q are adjacent; P and S are not adjacent, {P,Q} is incident to Q, {P,Q} is not incident to R; P is incident to {P,R}; P is not incident to {Q,R}; {P,R} and {Q,R} are adjacent, {P,R} and {S,U} are not adjacent, and T is isolated.
Graph Diagrams
Section titled “Graph Diagrams”It is customary to represent graphs by drawings, much as it is customary for geometers to represent geometric objects by drawings. For example, Figure 3 is a representation of the graph G we discussed in the last section. The vertices have been represented by heavy dots, and vertex adjacency has been represented by connecting the corresponding dots. Representing graphs by such diagrams makes their structure easier to grasp, but you must be careful not to read too much into the diagram. Diagrams have properties over and above those consequent to their being graph representations. For example, the edges in the picture below each have a certain length, and a specific shape, and they form measurable angles where they meet; and the vertices have specific positions on the page relative to one
-
Though the second part of the definition isn’t surprising either on an intellectual level, it is interesting visually. By it the two diagrams in Figure 5 are equal. In fact, they and Figures 3 and 4 are all equal as they all represent G; they have vertices P, Q, R, S, T, U and no others, and edges {P,Q}, {P,R}, {Q,R}, {S,U} and no others. Apparent differences are irrelevant.
-
The diagrams of Figure 6 are equal. They represent the graph H mentioned in the last section.
-
The diagrams of Figure 7 are equal. They represent J from the last section.
I want to emphasize that to verify that two graph diagrams are equal, it’s not necessary to write down their vertex sets and edge sets. All you have to do is check that they have the same number of vertices, that the vertices have the same names, and that the graphs have the same adjacency structure. For example, without writing anything down I can verify that the diagrams of Figure 5 are equal, by saying to myself: “Both graphs have six vertices labeled P, Q, R, S, T, and U. In both graphs P is adjacent to Q and R and to nothing else, Q is adjacent to P and R and to nothing else, R is adjacent to P and Q and to nothing else, S and U are adjacent only to each other, and T is isolated.”
a) 1 2 3 4 5 3 2 1
b)
-
It so happens that pencil and paper, blackboard and chalk are handy, so graphs are usually represented by flat drawings. But three-dimensional models made of sticks and wads of chewing-gum would do as well. The plane surface is just another incidental feature of a diagram. In a later chapter we will draw graphs on doughnuts!
-
The object in Figure 8 is not a graph. This is because an edge is by definition a set of two vertices, hence cannot exist without a vertex at each end. We have already seen that a graph can have a vertex without incident edges(an isolated vertex); note now that edges, on the other hand, must always have two incident vertices.
-
The graph of Figure 9 is not equal to the graph of Figure 5a, because in Figure 9 there is no edge connecting P to R. Vertex adjacency is not like electric current: it is not transmitted through the intermediary vertex Q.
-
The graphs in Figure 7 have a number of edge-crossings. An edge-crossing is not a vertex, but yet another incidental feature of a diagram. Edge-crossings can always be avoided in three-dimensional models, so they are certainly not essential properties of a graph. But even when, as often happens, they cannot be avoided in our standard two-dimensional diagrams, they should not be taken for vertices. To prevent ambiguity we’ve been using heavy dots for vertices.
-
Sharp corners on edges aren’t vertices either; for example in Figure 5b the only vertices are P, Q, R, S, T, and U.
-
The definition of graph precludes “loops” (vertices joined to themselves) and “skeins” (several edges joining the same pair of vertices). This is because a loop would translate abstractly as an “edge” of the form {A,A}, which is impossible as {A,A} is not a set (see p. 14 and Definition 5); and a skein would imply the multiple inclusion of an element {A,B} in the edge collection, which would prevent the collection of edges from being a set as required. Were we to allow skeins but not loops we would have something called a “multigraph”; the result of allowing both is called a “pseudograph”. We will discuss multigraphs in Chapter 8, but we will not discuss pseudographs. See Figure 10.
-
The edges of a graph are undirected; that is, any impression that the notation {A,B} may give of an edge “going from A toward B” is unintentional. Remember that {A,B} = {B,A}. A graph-like thing in which the edges have direction is called a “digraph”. We will not discuss digraphs in this book. See Figure 11.
Common graphs
Section titled “Common graphs”Some graphs have acquired more or less standard names because they turn up so frequently.
Definition 9. If v is an integer greater than or equal to 3, the cyclic graph on v vertices, denoted “Cv”, is the graph having vertex set{1,2,3,…,v} and edge set{(1,2),(2,3),(3,4),…,{(v-1),v},{v,1)}.
Don’t let the notation throw you. What we have defined is a family of infinitely many graphs called “cyclic graphs”. There is one cyclic graph for each integer, beginning with 3. To find out what a particular member of the family looks like, say , you simply replace all occurrences of “v” by 5 in the definition.
Example. has vertex set {1,2,3,4,5} and edge set {{1,2},{2,3},{3,4},{4,5},{5,1}}. You can draw yourself.
Three more cyclic graphs have been drawn in Figure 12.
Figure 12
Definition 10. If v is a positive integer, the null graph on v vertices, denoted “Nv”, is the graph having vertex set {1,2,3,…,v} and no edges.
There are infinitely many null graphs, one for each positive integer.The first three have been drawn in Figure 13. Notice that the graph H of two sections ago has now been given a new name, . All graphs have at least one vertex since Definition 5 requires that a vertex set be nonempty. Thus is the smallest possible graph, and the only one(essentially) for which v= 1.
The next family of graphs is in a sense“opposite” to the null graphs.
Definition 11. If v is a positive integer, the complete graph on v vertices, denoted “Kv”, is the graph having vertex set {1,2,3,…,v} and all possible edges.
Example. Figure 14 shows three complete graphs. Note that the graph
J of two sections ago has just been renamed and are equal, as are and
Definition 12. The utility graph, denoted“UG”, is the graph having vertex set{A,B,C,X,Y,Z} and edge set{{A,X},{A,Y},{A,Z},
Unlike the terms“cyclic graph”,“null graph”, and“complete graph”,that refer to infinite families of graphs, there is only one“utility graph”, drawn in Figure 15. The utility graph gets its name from a puzzle in which three houses(A,B, and C) and three utility companies(X, Y, and Z) are represented by dots on a sheet of paper, the task being to connect each house to each utility without crossing any lines.It cannot be done, as we shall see.
Discovery
Section titled “Discovery”Figure 16 is a picture of As you can see, the number of edges of a complete graph goes up pretty fast. Given a relatively complicated complete graph, say , it would be helpful if we could determine
Figure 16
how many edges it has without having to draw it and count them one by one. In this section I will develop a simple formula that does this, and I offer it as an example of how theorems are discovered in the theory of graphs.
On a piece of paper I draw the first few complete graphs. Next, I count their edges and list the totals:
| v | e |
|---|---|
| 1 | 0 |
| 2 | 1 |
| 3 | 3 |
| 4 | 6 |
| 5 | 10 |
6 15
7 21
Now I look for a pattern to the numbers in the e column.
I notice one. The e’s go up by consecutive integers. From 0 to 1 the jump is 1, from 1 to 3 it is 2, from 3 to 6 it is 3, from 6 to 10 it is 4, etc.
Now I notice that these jumps are the numbers in the first column, so the pattern I’ve found amounts to this: each e is the sum of the two numbers in the row above it. The 1 in the e column is 1+ 0,the sum of the row above; similarly the 3 is 2+1, the 6 is 3+3,the 10 is 4+6, etc.
I make a conjecture that my pattern is genuine, that is, that it will continue no matter how far the table is extended.I express my conjecture as an equation.
Conjecture. For any v,
Of course, the number of vertices of is v, so I can rewrite my conjecture as follows:
Conjecture. For any v,
To test this I’ll try it on , which would have been the next row of the table.
According to my conjecture,(no. edges ) +21=28.
Now I draw and count edges.
does have 28 edges. I feel pretty confident that my conjecture is right.
But while the conjecture looks good, it’s really not what I want.For example, all it tells me about is that(no. edges ) (no. edges ), and I don’t know the number of edges of .Of course(no. edges ) ), but I don’t know the number of edges of either. I can keep going right down to the beginning, but that doesn’t seem any easier than drawing and counting directly. What I need is a pattern that doesn’t involve any previous e’s.
So I look for such a pattern. After some searching, I find one.
Each e is half the product of its v and the previous v. For example 1=(1/2)(2·1), 3=(1/2)(3·2), 6=(1/2)(4·3), 10=(1/2)(5·4), etc.This gives me a new conjecture.
Second conjecture. For any v,
I check if this squares with the first conjecture. The first conjecture said that(no. edges By the second conjec-ture(no. edges and(no. edges v-1); substituting these values into the first conjecture I get
The last equation is true, so I conclude that my two conjectures are compatible. They are both true or both false. I don’t know for a fact that either one is true, but if I’m wrong I have to be doubly wrong.
Furthermore, I notice that the second conjecture, if true, is exactly the sort of thing I want. With it there’s no problem to finding the number of edges of : no. edges .(999,000)= 499,500. So the second conjecture really seems to be it.
Of course now I have to prove it, if I can.
I try to think of a reason why the second conjecture would have to be true for any complete graph.
I get it by noticing that the number of edges in a graph is half the number of edge-ends. Let me write this up for you formally. My second conjecture is now a theorem.
Theorem 2. The number of edges in a complete graph is given by the formula
Proof. We will count the number of edge-ends in has v vertices.Each vertex is joined to the other v-1 vertices, so at each vertex there are v-1 edge-ends. Therefore the total number of edge-ends in is Every edge has two ends, so the number of edges in is half the number of edge-ends, or
Complements and subgraphs
Section titled “Complements and subgraphs”Heretofore the letters “G”, “H”, and “J” have been used only in reference to three specific graphs introduced a few sections ago. But from now on we will use them as convenient names for whatever graphs are under discussion, much as an algebraist would use “x”, “y”, and “z” to denote whatever unknown quantities he or she was considering at the moment.
Definition 13. If G is a graph then the complement of G, denoted “G”, is a graph having the same vertex set; the edge set of G consists of all two-element subsets of the vertex set which have not already been included in the edge set of G.
Thus G has the same vertices as G but the edges are in the “opposite”places. If two vertices are connected in G, they are not connected in G; and if two vertices are not connected in G, then they are connected in G.
Examples. 1) The complements of the first three cyclic graphs are shown in Figure 17a, b), and c).
-
Null graphs and complete graphs are complementary. That is for every positive integer v, Nv is equal to Kv and Kv is equal to .
-
Figure 17d, e),and f) are all .
to Graph Theory
Note that for any graph G, the complement G is also a graph, so we may take its complement G; and that when this is done the result is the original graph G.
Definition 14. A graph H is a subgraph of a graph G if the vertex set of H is a subset of the vertex set of G and the edge set of H is a subset of the edge set of G.
Examples. 1) In Figure 18 the first five graphs are all subgraphs of the sixth.
-
is a subgraph of . For that matter, so are ,, , and . And there are scores of others that we haven’t given names to.
-
is a subgraph of , which in turn is a subgraph of .
A subgraph is a graph contained in another graph. Note that since every set is a subset of itself, every graph is a subgraph of itself.Intuitively a subgraph is the result of attacking a graph with an eraser, with two qualifications: you needn’t erase anything, since every graph is a subgraph of itself; and though you may erase edges as much as you want, you must not erase a vertex without also erasing all edges incident to it, or the result will not be a graph(see item 2 in the“Cautions” section).
Isomorphism
Section titled “Isomorphism”Something peculiar is going on in Figure 19. The first two graphs are equal, the last two graphs are equal, but the middle two aren’t.That hardly seems right, because the only difference between b) and c) lies in how the vertices have been labeled. As we have defined the term“equal”, however(see Definition 8), there’s no doubt that b) and c) are not equal, for their vertex sets{P,Q,R,S,T,U} and{1,2,3,4,5,6} are unequal sets and their edge sets are unequal also.
We obviously need a new concept, one that will make our mathemat-ics sensitive to the kind of“sameness” we intuitively attribute to graphs b) and c). Such a concept exists; it is called“isomorphism”,from Greek roots meaning“same structure”. The notion of isomorphism is fundamental to the theory of graphs, so I plan to discuss it at some length, beginning with a precise definition. But first a preliminary definition.
[figure outside: Figure 19]
Definition 15. If A and B are sets, then a one-to-one correspondence between A and B is an association of elements of A with elements of B in such a way that
(1) to each element of A there has been associated a single element of B, and
(2) to each element of B there has been associated a single element of A.
Thus the presence of a one-to-one correspondence between two finite sets means that they at least have the same number of elements. But there is something more. Each element of each set has been made to correspond with a particular element of the other set. So if q is an element of A, one may speak of“the element of B corresponding to q.” A simple way of displaying a one-to-one correspondence is to draw arrows between corresponding elements.
Examples. If and B=\{\&,+,!,?,\%,\#,\div,\}$, then
(1)
is a one-to-one correspondence between A and B, and
(2)
is another one.
One-to-one correspondence is the principle behind counting. To count the playing cards in a pack a person removes the first card and says-at least thinks-”one”; then removes the second and says
1↔&
2↔+
3↔!
4↔?
5↔%
6↔#
7↔÷
8↔$
“two”; and so on. The person is associating a number to each card.If the number associated with the last card is, say,“fifty”, the person concludes that the pack contains fifty cards. A one-to-one corre-spondence has been established between the cards and the set{1,2,3,…,50}.
Definition 16. Two graphs are said to be isomorphic if there exists between their vertex sets a one-to-one correspondence having the property that whenever two vertices are adjacent in either graph, the corresponding two vertices are adjacent in the other graph. Such a one-to-one correspondence is called an isomorphism. If G and H are isomorphic graphs we denote this by writing”G H”.
An isomorphism is a special one-to-one correspondence in that it not only associates vertices with vertices but also, in a sense, edges with edges. That is, given an isomorphism between the vertex sets of two graphs under which vertices A and B correspond to vertices X and Y, I am guaranteed that if{A,B} is in the edge set of the first graph, then{X,Y} is in the edge set of the second; and that if{A,B} is not in the edge set of the first graph, then{X,Y} is not in the edge set of the second.The isomorphism leaves the edge structure undisturbed: the adjacency or nonadjacency of a pair of vertices implies, respectively, the adjacency or nonadjacency of the corresponding vertices. Mathematicians describe this property by saying that an isomorphism is a one-to-one correspondence between vertex sets that“preserves vertex adjacency.”
The definition calls two graphs”isomorphic” if”there exists” an isomorphism; so to prove that two graphs are isomorphic, all you have to do is find an isomorphism and present it.
Example. The graphs of Figure 20 are isomorphic, and here is an isomorphism:
To check that this one-to-one correspondence is an isomorphism, I only have to verify that it preserves vertex adjacency as the definition requires. In the first graph B is adjacent to C; B and C correspond to 1 and 2; and in the second graph 1 is adjacent to 2. In the first graph A is adjacent to C; A and C correspond to 3 and 2; and in the second graph 3 is adjacent to 2. In the first graph A is adjacent to D; A and D correspond to 3 and 4; and in the second graph 3 is adjacent to 4. There are no more adjacencies in either graph, so we have shown that whenever two vertices are adjacent in either one of the graphs, the corresponding two vertices are adjacent in the other graph.
[figure outside: Figure 20]
Often there exist several isomorphisms between a pair of isomorphic graphs, though of course the definition requires only that there be one.
Figure 20
Example. Here is another isomorphism between the graphs of Figure 20:
You can check for yourself that this one-to-one correspondence pre-serves vertex adjacency and so is an isomorphism as claimed.
Here’s another way of displaying an isomorphism, one that I find a lot simpler. Pick one of the two graphs and put a pair of parentheses next to each vertex. Then fill each pair of parentheses with the name of the corresponding vertex from the other graph.
Examples. 1) The graphs of Figure 21 are isomorphic, and I have indicated an isomorphism by adding parenthetical labels to the second graph; that is, 3 corresponds to D, 2 to C, 4 to A, and 1 to B. To verify that this one-to-one correspondence between the vertex sets is an isomorphism, all I have to do is check that the adjacency of the parenthetical labels in the second graph is the same as their adjacency in the first graph. For instance in the second graph, A is adjacent only to D and C; and in the first graph, A is adjacent only to D and C. So A checks; A’s structural involvement is the same in both graphs.
[figure outside: Figure 20] [figure outside: Figure 21]
Figure 21
Now I’ll do the same for B, C, and D. In the second graph, B is adjacent only to C; and in the first graph, B is adjacent only to C.Check.
In the second graph, C is adjacent to all the other vertices; and in the first graph, C is adjacent to all the other vertices. Check.
In the second graph, D is adjacent only to A and C; and in the first graph, D is adjacent only to A and C. Check.
Everything checks, so the correspondence indicated by the labels in parentheses is an isomorphism, and the graphs of Figure 21 are isomorphic.
- The graphs of Figure 22 are isomorphic, and I have displayed an isomorphism by the labels added parenthetically to the second graph. It is an isomorphism because, in both graphs:
1 is adjacent only to 3 and 6,
2 is adjacent only to 4 and 7,
3 is adjacent only to 1 and 5,
4 is adjacent only to 2,5,and 6,
5 is adjacent only to 3,4,6,and 7,
6 is adjacent only to 1,4,and 5,and
7 is adjacent only to 2 and 5.
Therefore, whenever two vertices are adjacent in either graph, the corresponding two vertices are adjacent in the other graph, and we have an isomorphism.
[figure outside: Figure 21] [figure outside: Figure 22]
Figure 22
Looking at the second graph in Figure 22, we can think of the labels in parentheses as being new labels that we are about to substitute in order to transform the second graph into a graph equal to the first graph. This suggests an alternate way of defining isomorphism: two graphs are isomorphic if either
- they are equal, or
- they could be made equal by changing the way one of them is labeled.
By the way, graphs don’t become isomorphic when you discover an isomorphism. They are of themselves isomorphic, or not, whether or not anyone discovers the fact, or proves it.
Example. The graphs of Figure 23 are isomorphic as they stand, even though under the actual labeling they are not equal (because the edge sets are not equal), and I offer no alternate labeling under which they would be equal. They are isomorphic because they have the potential to be labeled so that edges appear in corresponding places.
This apparent independence of mathematical facts from what people do, this sense that mathematics is discovered rather than created, has caused a number of mathematicians (for instance Hardy in A Mathematician’s Apology) to ascribe to mathematical objects a separate existence on another level of reality, akin to Plato’s “world of Ideas”. Someone taking this view to its extreme would maintain that the graphs of Figure 23 have been isomorphic since before the formation of the solar system.
[figure outside: Figure 22] [figure outside: Figure 23]
Figure 23
Recognizing isomorphic graphs
Section titled “Recognizing isomorphic graphs”In doing graph theory, it’s important not only to understand what it means when someone tells you two graphs are isomorphic, but also to develop some degree of skill at recognizing isomorphic graphs on your own. Often you’ll need to decide whether or not two unfamiliar graphs are isomorphic, and then be able to prove that your choice is correct. Unfortunately, recognizing isomorphic graphs, finding specific isomorphisms, and proving graphs to be nonisomorphic are skills that can’t really be taught; they come mostly with practice.Nevertheless in this section I will present some general guidelines that I hope will be of help.
Steel balls and rubber bands. This first suggestion is intended primarily for people with a good intuitive grasp of spatial relationships.Think of a graph as a network of steel balls(vertices) and rubber bands(edges). We assume the balls will remain in whatever position we place them and that the rubber bands will never break. Under this interpretation, isomorphic graphs are graphs that can be rearranged to look like one another.
Example. The graphs of Figure 24 are isomorphic. The first can be rearranged to look like the second, as shown in Figures 25 and 26.Start(Figure 25) by pulling triangle 1-5-3 down and away from triangle 6-2-4. This inverts edge{1,4} and stretches edges{5,2} and{6,3}.Now with edge{1,4} as an axis(Figure 26), flip triangle 1-5-3 over so that vertices 5 and 3 exchange places. This twists edge{1,4} and untangles edges{5,2} and{6,3}. The result looks like the second graph in Figure 24, so we can conclude that the graphs in Figure 24 are isomorphic. Moreover, we have discovered a specific isomorphism between the original graphs, which I have indicated by parenthetical labels in Figure 27. I obtained it by associating the labels of the second graph in Figure 26 to those of the second graph in Figure 24.
[figure outside: Figures 23, 24, 25, 26]
Figure 24
Figure 25
Figure 26
[figure outside: Figures 24, 25, 26]
Figure 27
Properties preserved by isomorphism. This is for everyone. We have seen that isomorphism preserves vertex adjacency; it preserves a number of simpler properties as well, of which we will consider four.
i) The number of vertices. An isomorphism is a one-to-one correspondence between vertex sets and vertex sets are finite(see Definition 5), so isomorphic graphs must have the same number of vertices.
ii) The number of edges. An isomorphism induces a one-to-one correspondence between edge sets and edge sets are finite too(because the vertex sets are finite), so isomorphic graphs must have the same number of edges.
Before considering the next two properties preserved under isomorphism, we need a definition.
Definition 17. The degree of a vertex is the number of edges incident to it.
Examples. 1) The graph of Figure 28 has two vertices(H and I) of degree 0, two vertices(E and G) of degree 1, three vertices(A, D,and F) of degree 2, and two vertices(B and C) of degree 3.
- Each vertex of has degree 152.
iii) The distribution of degrees. In isomorphic graphs corresponding vertices have the same degree, because isomorphism preserves vertex adjacency. Consequently if a graph has, say, one vertex of degree 1, five vertices of degree 3, and two vertices of degree 4, then any graph isomorphic to it will have one vertex of degree 1, five vertices of degree 3, and two vertices of degree 4.
[figure outside: Figures 24, 26, 27, 28]
Figure 28
v) The number of “pieces” of a graph. I want to defer a precise definition until later(p.113), but I think you’ll get my meaning if tell you that the two graphs of Figure 27 are each “in one piece”nd the graph of Figure 28 is “in four pieces”. At first glance theaph of Figure 17f might appear to be “in one piece”, but it’s really in two pieces” as it is equal to the graph of Figure 17e. Since isomorphism preserves vertex adjacency it preserves the number of pieces of a graph, that is, isomorphic graphs must be composed of the same number of pieces.
These properties are useful in two ways. First, they can be used to prove that graphs are not isomorphic. Since all four properties are preserved by isomorphisms, a pair of graphs differing in any one of those four respects cannot possibly be isomorphic.
Examples. 1) If the graphs of Figure 29 were isomorphic, they would have the same number of vertices. The first has v= 6 and the second has v=5, so they are not isomorphic. One reason is enough, but here are two more: their degree distributions are different, for example the first has two vertices of degree 1 and the second has only one vertex of degree 1; and they have different numbers of pieces, the first being in two pieces while the second is in one piece.
-
The graphs of Figure 30 are not isomorphic because they have different numbers of edges: the first has e=6 and the second has e=5. Also, the first has a vertex of degree 4 and the second has no vertex of degree 4. They have the same number of vertices, and are both in one piece.
-
The graphs of Figure 31 are not isomorphic because they have
[figure outside: Figures 27, 28, 29, 30, 31]
different degree distributions: the first has one vertex of degree 4, two of degree 5, and four of degree 6, whereas the second has no vertices of degree 4, four of degree 5, and three of degree 6. They share the other three properties: they have the same v’s and e’s and they are both in one piece.
- The graphs of Figure 32 have the same number of vertices (6), the same number of edges (6), and the same distribution of degrees (all vertices have degree 2). Yet they are not isomorphic because the first is in one piece and the second is in two pieces.
The second use to which the four properties can be put is that they can provide the basis for a conjecture that two graphs are isomorphic. Even if a pair of graphs share all four properties, they are not necessarily isomorphic; but having checked that they do not differ in these four obvious ways, it is at least less of a gamble to invest some time searching for an isomorphism.
[figure outside: Figure 32]
Figure 31
Figure 32
Example. The two graphs in Figure 33 each have v = 8 and e = 12; they have the same distribution of degrees, namely two vertices of degree 1, three of degree 3, two of degree 4, and one of degree 5; and they are both in two pieces. This covers the more obvious possible differences, so I’ll conjecture that they are isomorphic and try to construct an isomorphism. (If I fail I’ll come back and search for differences that are less obvious.) Clearly vertices 4 and 5 of the first graph would have to correspond to vertices 2 and 3 of the second; I’ve indicated this by adding parenthetical labels to the second graph in Figure 33. And the vertex of degree 5 in the first graph would have to correspond to the vertex of degree 5 in the second, so after the label “4” in the second graph I’ll put “(3)”. The two vertices of degree 4 in the first graph have to correspond to the two vertices of degree 4 in the second, but in what order? Should I associate
[figure outside: Figures 31, 32, 33]
2 with 7 and 8 with 8, or should it be 2 with 8 and 8 with 7? It might make a difference. I’ll try 2 with 7 and 8 with 8; if it doesn’t work out I’ll return to this point and try it the other way. So after labels“7” and“8” in the second graph I’ll put“(2)” and“(8)”. Now all I have left is to associate the vertices of degree 3. I’ll start with vertex 1 in the first graph. I won’t match it with the“1” in the second graph, because the two“1”s are involved differently in the structures of their graphs: in the first graph vertex 1 is adjacent to vertices of degrees 3,4, and 5, but in the second graph vertex 1 is adjacent to vertices of degrees 4,4, and 5. Instead I’ll match the“1” of the first graph with vertex 5 of the second graph, because in the second graph vertex 5 is adjacent to vertices of degrees 3,4,and 5, a structural involvement like that of vertex 1 in the first graph. So next to the label“5” in the second graph I’ll write“(1)”. Finally I’ll associate vertex 6 of the first graph with vertex 1 of the second, as they are both adjacent to vertices of degrees 4,4, and 5; this leaves vertex 7 of the first graph associated with vertex 6 of the second graph, as they are the only vertices left. I have displayed all this in Figure 34, and you can verify for yourself that the correspondence does turn out to be an isomorphism. All you have to do is check that the numbers in parentheses in the second graph are connected to one another in exactly the same way as the numbers in the first graph.
The sort of thing we’ve just done is very often possible. Two graphs sharing all four properties are frequently isomorphic, and if they are an isomorphism can always be found by a careful search. Unfortunately, things don’t always turn out so nicely. Graphs sharing the four properties can still be nonisomorphic, making the most patient search for an isomorphism a complete waste of time. This uncertainty puts a little zip into the graph game.
[figure outside: Figure 34]
Figure 34
Example. The graphs of Figure 35 are not isomorphic, even though they share the four properties: in each v = 8 and e = 10; each has four vertices of degree 2 and four of degree 3; and they are both in one piece. The structural difference is that the vertices of degree 2 are not related in the same way in the two graphs. In the first graph the vertices of degree 2 come in adjacent pairs: B is adjacent to H and D is adjacent to F. But in the second graph they are completely separated from one another by vertices of degree 3: no vertex of degree 2 is adjacent to any other vertex of degree 2. To see how this prevents the graphs from being isomorphic, we shall systematically try to construct an isomorphism in all possible ways. We begin by noticing that B, being of degree 2, would have to correspond to 1, 3, 6, or 8.
First case: B corresponds to 1.
Then H, being adjacent to B, would have to correspond to 2 or
Figure 35 [figure outside: Figures 34, 35]
- But H must correspond to a vertex having the same degree, so H cannot correspond to either 2 or 7. Therefore no isomorphism is possible if B is made to correspond with 1.
Second case: B corresponds to 3.
Then H, being adjacent to B, would have to correspond to either 4 or 5. But H must correspond to a vertex having the same degree, so H cannot correspond to either 4 or 5. Therefore no isomorphism is possible if B is made to correspond to 3.
Third Case: B corresponds to 6.
Then H, being adjacent to B, would have to correspond to either 4 or 5, which is impossible as we noted in the second case. Therefore no isomorphism is possible if B is made to correspond to 6.
Fourth case: B corresponds to 8.
Then H, being adjacent to B, would have to correspond to either 2 or 7, which is impossible as we noted in the first case. Therefore no isomorphism is possible if B is made to correspond to 8.
We have seen that no isomorphism is possible if B is made to correspond to any of 1,3,6, or 8. But under any isomorphism, would have to correspond to 1,3,6, or 8. Therefore no isomorphism is possible, and the graphs of Figure 35 are not isomorphic.
Semantics
Section titled “Semantics”In graph theory there are two concepts of“sameness” whereby graphs are judged to be“the same”, namely equality and isomorphism. Of these isomorphism is the more fundamental, and the one with which we will be chiefly concerned from now on. It’s true that we may care to know, occasionally, whether or not two graphs are equal, but I introduced the notion of equality mostly as a stepping-stone to the more abstract notion of isomorphism.
An indication of the pervasive role isomorphism has in graph theory is the fact that isomorphism has virtually captured the word“is”.In most contexts graph theorists use“is” not to mean“is equal to”,as you would naturally think, but to mean“is isomorphic to”. This is a departure from the usage of school mathematics, and you may find it takes some getting used to. For example a graph theorist would say“the graph of Figure 36 is the utility graph”, by which he or she would mean that it is isomorphic to the utility graph, though by standard usage the graph of Figure 36 most certainly“is not”
[figure outside: Figures 35, 36]
the utility graph(it is not equal to the utility graph) because its vertex set{1,2,3,4,5,6} is different from the vertex set of the utility graph, which(see Definition 12) is{A,B,C,X,Y,Z}.
Figure 36
Henceforth we will adopt this semantic convention and use“is”to mean“is isomorphic to”. It may seem that by so doing we are blurring an important distinction, but that’s really not the case. In the rest of this book we will discuss only those properties of a graph that are shared by all the graphs isomorphic to it, whether or not they are also equal to it. We still have the distinction between equality and isomorphism to fall back on should it ever be important to maintain, but in the meantime letting“is” mean“is isomorphic to” will emphasize isomorphism as the primary sense in which we will consider graphs to be“the same”.
Accordingly, from now on whenever we say“this graph is that graph” without qualification, it will mean“this graph is isomorphic to that graph; we don’t care if they are equal as well”.
Examples. 1) I say,“the first graph in Figure 37 is the complement of UG.” It is not equal to the complement of UG(the second graph in Figure 37), because its vertex set{G,H,I,J,K,L} is different from the vertex set of the complement of UG, which(by Definitions 12 and 13) is{A,B,C,X,Y,Z}. However, the two graphs in Figure 37 are isomorphic, which is what I meant.
- I say,“UG is a subgraph of .” It is not equal to a subgraph of , because its vertex set{A,B,C,X,Y,Z} is not a subset of
[figure outside: Figure 36] [figure outside: Figure 37]
the vertex set of , which is (See Definitions 11 and 14.) However, UG is isomorphic to a subgraph of , for instance the one drawn in Figure 36, and this is what I meant. You can check for yourself that the graph of Figure 36 is equal to a subgraph of by drawing and then erasing edges and
Figure 38
One final thing. Since isomorphism emancipates us from specific labelings, we may as well, whenever convenient, do away with labels altogether. Consequently we will often represent graphs by unlabeled diagrams.
Example. We will speak of the graphs in Figure 39 as respectively , and because they are respectively isomorphic to ,and as originally defined.
[figure outside: Figures 36, 38, 39]
Figure 39
The number of graphs having a given v
Section titled “The number of graphs having a given v”I want to tell you something of what’s known about the size of the”ballpark” in which we are playing our game.
If equality were the criterion for judging graphs to be”the same”,and therefore the criterion for judging them to be”different”, we would have to say that there”are” an infinite number of graphs with, say, v=2 and e=1, as such a graph can be labeled in infinitely many ways(Figure 40). To a mathematician, who by training and inclination probes for basic structure, this would be a ridiculous situation. Labels are ephemeral; they tell you about as much about the structure of a graph as the list of colors tells you about the structure of a painting.
Isomorphism is the criterion instead, because it is in accord with the mathematician’s perception that, for graphs with two vertices and one edge, there is only one basic design. Every graph with v=2 and e=1 is isomorphic to (the first graph in Figure 39); we will express this by saying”up to isomorphism, is the only graph with v=2 and e=1”, or more simply” is the only graph with v=2 and e=1”, it being understood that we judge graphs to be”different” only if they are not isomorphic.
Similarly, as every graph with two vertices and no edges is isomorphic to , is the only graph with v= 2 and e= 0. So in all there are two graphs having v= 2.
[figure outside: Figure 39] [figure outside: Figure 40]
Of course all graphs with v= 1 are isomorphic to (also named ), so there is only one graph with v= 1.
You can check for yourself that no two of the graphs in Figure 41 are isomorphic, and that every graph with three vertices is isomorphic to one of them. Therefore those four are the only graphs having v= 3.
a)
b)
c)
d)
Figure 41
Let’s determine how many graphs there are with v= 4. The situation is more complicated than v= 1, v= 2, or v= 3, so I’ll proceed systematically.
On a piece of paper I arrange seven columns headed by“e= 0”,“e= 1”,“e= 2”, and so on, up to“e= 6”. A graph with four vertices can have no more than six edges, as complete graphs have all possible edges and has e= 6 by Theorem 2.
In the“e= 0” column I draw . Obviously any other graph with v=4 and e=0 will be isomorphic to , so that’s all for that column.
[figure outside: Figure 41]
Now I jump to the“e= 6” column and draw , which is the complement of . I do the chart by complements because it has occurred to me(think about this) that isomorphic graphs must have isomorphic complements, and nonisomorphic graphs must have non-isomorphic complements.
Back to the“e= 1” column. It’s clear to me that this column will contain only one graph.(If you’re not convinced, draw lots of graphs with v=4 and e=1 and then prove they’re all isomorphic.)
Now I’ll put the complement of the“e= 1” graph under“e=5”.m confident there is no other graph with e= 5, reasoning as follows:
there were two nonisomorphic graphs with e= 5, then their complements would be nonisomorphic graphs with e= 1; but I’m satisfied there’s only one graph with e= 1.
A graph with v= 4 and e= 2 can be constructed in two ways, with the edges separate or joined. So under“e= 2” I draw the two graphs of Figure 42. They are not isomorphic, and every graph with v=4 and e=2 is isomorphic to one of them.
Now in the column headed“e= 4” I draw the complements of the graphs in Figure 42.
The“e= 3” column is the only one left. This column isn’t paired with a complementary column because there are an odd number of columns; if a graph has v=4 and e= 3, then its complement also has v=4 and e= 3. I start with the first graph of Figure 42, and add an edge in all possible ways(Figure 43). These four graphs are all isomorphic, so they amount to only one graph for the“e= 3”column. Next I take the second graph of Figure 42, and add an edge in all possible ways(Figure 44). Of these four graphs the first and last are nothing new, as they are isomorphic to one another and to the graphs of Figure 43. But the middle two are new: they are not isomorphic to each other or to the graph of Figure 43. I conclude that there are three patterns for a graph with v= 4 and e= 3.
[figure outside: Figures 42, 43, 44]
Figure 43
My chart is finished. I have reproduced it in Figure 45. There are eleven graphs with v= 4.
If you’re wondering where the“square” is, it’s the first graph in the“e= 4” column. It’s twisted because of the particular drawing I made of its complement, which is the first graph under“e= 2”.If not having a recognizable square bothers you, you can redo the first graph under“e= 2” to look like an X.
By the way, some people get the impression that the graphs we’ve given specific names to are the only graphs there are. If you are one of these people, please notice that of the graphs in Figure 45 only three have been named-, , and .
[figure outside: Figures 43, 45]
Figure 44
You may wonder how many graphs there are with v = 5, v = 6, etc. The totals get large very fast:
| v | number of graphs |
|---|---|
| 1 | 1 |
| 2 | 2 |
| 3 | 4 |
| 4 | 11 |
| 5 | 34 |
| 6 | 156 |
| 7 | 1,044 |
| 8 | 12,346 |
| 9 | 308,708 |
These numbers are computed using something called the “Polya Enumeration Theorem”, which is too difficult to take up in this book.
[figure outside: Figure 44]
Figure 45 [figure outside: Figure 45]
There is no simple way of determining the number of graphs having a given v.
Exercises
Section titled “Exercises”-
List all subsets of the set{1,2,3}. There are eight of them.
-
It follows from the Law of Excluded Middle(page 18) that to prove a mathematical statement true, it suffices to show that it cannot be false. Letting A be a set and J an empty set, show that the statement“J is a subset of A” cannot be false and so is true. This proves that an empty set is a subset of every set and promotes the Convention on page 14 to Theorem.
-
This is another version of Russell’s Paradox. The village barber shaves those and only those men who live in the village and do not shave themselves. The village barber is a man and heives in the village.
Consider the question“Who shaves the barber?” Then explain how this situation is equivalent to Russell’s Paradox.
et“S” be the collection of all sets that can be described in n English sentence of twenty-five words or less. Is S a set? Why r why not?
“v is an integer greater than or equal to 2, the path graph on v vertices, denoted“P”, is the graph having vertex set{1,2,3,…,v} and edge set
Draw the first five path graphs. Then find and prove a formula analogous to Theorem 2 for the number of edges of .
-
If v is an integer greater than or equal to 4, the wheel graph on v vertices, denoted“W”, is the graph having vertex set{1,2,3,…,v} and edge set{{1,2},{1,3},…,{1,v},{2,3},{3,4},…,{v-1,v},{v,2}}. Draw the first five wheel graphs. Then find and prove a formula analogous to Theorem 2 for the number of edges of .
-
Use Theorem 2 to prove that
for any integer v greater than or equal to 2. Do not use any arithmetic or algebra.
-
Let G be a graph with v vertices and e edges. In terms of v and e, how many edges has G?
-
Prove: if a graph G has v= 6 then G or G(possibly both) has a subgraph isomorphic to .
-
Use Exercise 9 to prove that in any gathering of six people there are either three people who are mutually acquainted or three people who are mutually unacquainted, possibly both.
-
Prove: the sum of the degrees of the vertices of a graph is 2e.
-
Use Exercise 11 to answer these questions:
a) If a graph has v= 9, 4 vertices of degree 3, 2 vertices of degree 5, 2 of degree 6 and 1 of degree 8, how many edges has the graph?
b) UG has v= 6 and every vertex has degree 3; prove that there are however no graphs with v= 7 in which every vertex has degree 3.
-
Prove that Then prove that no other cyclic graph is isomorphic to its complement.
-
Prove: If then v or v- 1 is a multiple of 4.(You might use Theorem 2 and the fact that isomorphic graphs have the sam number of edges.)
-
If is called a“self-complementary” graph. Exerc 13 says that is self-complementary and is the only cyclic graph that is. Find two other self-complementary graphs.(You might use Exercise 14 to narrow your search.)
-
Find a self-complementary graph with v= 8. Of the 12,346 graphs with v= 8 only four are self-complementary.
-
Since there are an odd number of graphs having v= 4(drawn in Figure 45), one of them must be self-complementary. Which one?
-
How many different one-to-one correspondences are there between{a, b,c, d,e, f,g, h,i, j} and{1,2,3,4,5,6,7,8,9,10}?(Two one-to-one correspondences are“different” if there is at least one element that they associate with different elements.)
-
We said in the text that the existence of a one-to-one correspondence between two finite sets implies that they contain the same number of elements. The situation for infinite sets is somewhat different.The set of positive integers{1,2,3,…} in some sense contains“twice as many” elements as the set of even positive integers{2,4,6,…}, yet it is possible to put the two sets into a one-to-one correspondence. Do so.
-
Besides the four properties mentioned in the text, another property preserved by isomorphism is the distribution of subgraphs. That
[figure outside: Figure 45]
Figure 46
Figure 47
a) Figure 48
b) Figure 48
c) Figure 48 [figure outside: Figures 46, 47, 48]
is, if two graphs are isomorphic and you select a subgraph at random from either one, then the other will necessarily have an isomorphic subgraph. Hence you can prove that two graphs are not isomorphic by finding a subgraph of one that is not a subgraph of the other. Use this fact to devise a proof, shorter than the one in the text, that the graphs of Figure 35 are not isomorphic.
-
(with its vertices labeled) has 17 unequal subgraphs. Draw them.
-
The number of nonisomorphic subgraphs of is only 7. Draw them.
-
The graphs of Figure 46 are not isomorphic. Prove this by finding a subgraph of one that is not a subgraph of the other.
-
Satisfy yourself that isomorphic graphs have isomorphic comple-ments and that consequently nonisomorphic graphs have noniso-morphic complements.Then use this fact to devise a proof, different from the one in the text, that the graphs of Figure 31 are not isomorphic.
-
Use the technique of Exercise 24 to prove that the graphs of Figure 46 are not isomorphic.
-
Draw all graphs having v= 5. There are 34 of them.(Imit the procedure I used in the text to find all graphs with v= 4
-
In the table on page 54, the numbers in the second column mostly even. If we ignore the first row on the ground that v 1 is such a trivial situation that its uniqueness is unremarkable that leaves v= 4 as the only number of vertices listed for which there are an odd number of graphs. Do you think this is due to chance, or can you think of some reason why v= 4 should be unique? If the table were continued, do you think more odd numbers would turn up in the second column?
-
Prove that the graphs of Figure 47 are isomorphic.
-
Prove that the graphs of Figure 48 are all isomorphic to the utility graph.
30-37. In each of Figures 49-56, decide whether or not the two graphs are isomorphic. If you decide they are isomorphic, prove it by finding a labeling under which they would be equal. If you decide they are not isomorphic, prove it by finding a property which is preserved by isomorphism but in terms of which the two graphs differ.(We now have six such properties:the four mentioned in the text, and two more introduced in Exercises 20 and 24.)
- A chess tournament consists of twenty-five players, each of whom
[figure outside: Figures 31, 35, 46, 47, 48]
Figure 49
Figure 50
Figure 51 [figure outside: Figures 49, 50, 51]
Figure 52
Figure 53
Figure 54
plays one game with every other player. How many games are played during the tournament?
- When I said on page 56 “There is no simple way of determining the number of graphs having a given v,” I meant of course that there is no simple way of determining the number of nonisomorphic graphs having a given v. Prove that there are exactly
[figure outside: Figures 52, 53, 54]
Figure 55 a) b)
Figure 56 a) b)
Figure 56A
unequal graphs whose v vertices have been labeled with the inte-gers from 1 to v. 40. The utility puzzle mentioned on page 27 was invented by Henry Ernest Dudeney (1857-1930), a self-taught mathematician who was
[figure outside: Figures 55, 56]
the foremost puzzlemaker of his time. Here is another of Dudeney’s puzzles, one which, unlike the utility puzzle, has a solution. In figure 56A connect a to A,b to B,c to C, and d to D by edges which are inside the rectangle and don’t cross one another.
Suggested reading
Section titled “Suggested reading”On Sets
Section titled “On Sets”*One, Two, Three… Infinity: Facts and Speculations of Science by George Gamow(Viking, 1961), chapter 1.
- Stories About Sets by N. Ya. Vilenkin(Academic Press, 1968), chapters 1-3.
On Paradoxes
Section titled “On Paradoxes”*“Paradox Lost and Paradox Regained” by Edward Kasner and Jame R. Newman, reprinted in volume 3 of The World of Mathematic edited by James R. Newman(Simon and Schuster, 1956).
*“Paradox” by W. V. Quine in the April, 1962 issue of Scientific American;reprinted as chapter 28 of Mathematics in the Modern World Readings from Scientific American with introductions by Morris Kline(W.H. Freeman, 1968).
On Bertrand Russell
Section titled “On Bertrand Russell”“Bertrand Russell 1872-1970” in the February 16, 1970 issue of Newsweek. A zippy obituary.
On Logic
Section titled “On Logic”*“What the Tortoise Said to Achilles” by Lewis Carroll, reprinted in volume 4 of The World of Mathematics, edited by James R. Newman(Simon and Schuster, 1956).
On Mathematical Discovery
Section titled “On Mathematical Discovery”*How to Solve It: A New Aspect of Mathematical Method by G. Polya(Princeton University Press, 1957). Handy when you’re stuck.