A graph \(G\) consists of a vertex set \(V\) and a collection \(E\) of \(2\)-element subsets of \(V\text{.}\) Elements of \(E\) are called edges. In our course, we will (almost always) use the convention that \(V=\{1,2,3,\dots,n\}\) for some positive integer \(n\text{.}\) With this convention, graphs can be described precisely with a text file:
The first line of the file contains a single integer \(n\text{,}\) the number of vertices in the graph.
Much of the notation and terminology for graphs is quite natural. See if you can make sense out of the following statements which apply to the graph \(G\) defined above:
Suppose we gave the class a text data file for a graph on \(1500\) vertices and asked whether the graph contains a cycle of length at least \(500\text{.}\) Raoul says yes and Carla says no. How do we decide who is right?
Suppose instead we asked whether the graph has a clique of size \(500\text{.}\) Helene says that she doesn’t think so, but isn’t certain. Is it reasonable that her classmates insist that she make up her mind, one way or the other? Is determining whether this graph has a clique of size \(500\) harder, easier or more or less the same as determining whether it has a cycle of size \(500\text{.}\)
In Figure 1.6, we show the location of some radio stations in the plane, together with a scale indicating a distance of \(200\) miles. Radio stations that are closer than \(200\) miles apart must broadcast on different frequencies to avoid interference.
Can you find \(4\) stations each of which is within \(200\) miles of the other \(3\text{?}\) Can you find \(8\) stations each of is more than \(200\) miles away from the other \(7\text{?}\) Is there a natural way to define a graph associated with this problem?
How big must an applied combinatorics class be so that there are either (a) six students with each pair having taken at least one other class together, or (b) six students with each pair together in a class for the first time. Is this really a hard problem or can we figure it out in just a few minutes, scribbling on a napkin?