| |||||||||||||||||||||||||
For n = 2, a solution is easy, one direct flight between the two cities. For n = 3 and 4 no network exists satisfying the required conditions. For n = 5, the graph below is one solution. ![]() Let k denote the number of flights to and from a city. Here k = 2. For any one city, there are direct flights to and from exactly 2 cities, and between any two cities, there is exactly one flight with at most one stopover: a direct flight or a one-stopover flight, not both. There are no such networks for n = 6, 7, 8, and 9 cities, as we shall show. However, for n = 10 there is a solution which is realized by the so-called Petersen graph. ![]() Again, you can check that all the conditions are satisfied. This graph has a high degree of symmetry (120 symmetries). It suffices to check the conditions for any one of the cities because of this symmetry. (To recognize the many symmetries of this graph, note that the same graph arises by taking as vertices all 2-element subsets of {1,2,3,4,5} and joining two such subsets by an edge if and only if they are disjoint) With matrix theory we will show that there are only a small number of values for n for which there exists a network of flights between n cities satisfying the given conditions. Let A be the incidence matrix for the relationship "there is a direct flight between", with the rows and columns of A labelled by the cities. There is a 1 in a row labelled c and column labelled d if and only if there is a direct flight between c and d, zeros elsewhere. Then A is an n by n matrix of ones and zeros with the property that each row and column of A contains exactly k ones. The integer powers of a square incidence matrix have a nice property in the context of networks. The entry in the i-th row, j-th column of Ad is the number of paths of length d from city i to city j. I haven't defined path in a network, but let's look at the solution for n = 5 cities. ![]() A path is what you'd expect a path to be, the path followed by an airplane in this network. The length of the path is the number of stops. For example, the entry in row 1, column 1 of A2 is a 2, meaning that there are exactly two paths from city 2 to itself stopping somewhere else and finally stopping at city 2. These are 1 to 2 then 2 to 1 and 1 to 5 then 5 to 1. The entry in row 2, column 1 of A3 is 3, meaning that there are three paths from city 2 to city 1, namely, 2 to 1, 1 to 2, 2 to 1; 2 to 1, 1 to 5, 5 to 1; and 2 to 3, 3 to 2, 2 to 1. You may notice that it is easier to count these paths by multiplying matrices than counting the number of paths directly. Now let's look at A2 in the general case of n cities, assuming the network exists for n cities. The condition that there are direct flights to exactly k other cities implies that the main diagonal entries of A2 are all equal to k. The condition that between any two cities there is exactly one flight with at most one stopover means that the off-diagonal entries of A2 are either 0 because there is a direct flight between the two cities, or 1 because there is a one-stopover flight between the two cities (look at the example A2 above for n = 5). The entries of matrix A hold the number of paths of length 1 between two cities. Hence the off-diagonal entries of A have a 1 where A2 has a zero and vice versa (again, look at the example above). Further, the main diagonal entries of A are all zero. Thus we can write where I is the n by n identity matrix and J is the matrix of all ones. Now we can take advantage of the concept of eigenvalues and eigenvectors of a square matrix. A nonzero vector v is an eigenvector of a square matrix M if Mv = Thus, Since v is not the zero vector, it follows that n = k2 + 1, the number of cities has to be one more than a perfect square. That explains why n cannot be 3, 4, 6, 7, 8, or 9. Now let u be any eigenvector of A with corresponding eigenvalue Thus u is an eigenvector of J with eigenvalue We're almost there. The sum of all the eigenvalues of A must equal the sum of the diagonal entries of A, which sum is 0. Hence
Separate between two cases: s = t and s If s References
Copyright © 1996-2008 Alexander Bogomolny
|
| ||||||||||||||||||||||||