100 roads in a city, 1 is closed

865 Views Asked by At

In a certain country, 100 roads lead out of each city, and one can travel along those roads from any city to any other. One road is closed for repairs. Prove that one can still get from any city to any other.

2

There are 2 best solutions below

1
On

Here is a hint: Eulerian path.

Taking the hint too literally will yield a massively inefficient way of traveling between cities, but that's beside the point.

3
On

First a little observation, for every graph $G=(V,E)$ we have $$ \sum_{v \in V} \text{deg}(v)=2|E|,$$ by a simple double counting argument.

So assume we can disconnect two cities $x$ and $y$ by deleting one road. Let $G$ be the graph of the city network for the cities reachable from $x$ after the road deletion. In $G$ every vertex has degree 100, except of one node that has degree 99. Hence the degree sum is an odd number, which is a contradiction.