Let and be integers. In a country, there are cities and between each pair of cities, there is a bus connection in both directions. Let and be two different cities. Prove that the number of ways to travel from to using exactly buses is equal to
Solution
Let be the number of ways to travel from city to city with buses. Let be the number of ways to travel from city to city with buses. If we start in city and then take buses, this can be done in ways. In of these cases, we end up in city , and in of these cases, we end up in a city other than . Therefore,
Now take . To travel from city to city with exactly buses, we take a bus from to any city (this can be done in ways); then we must travel from a city not equal to to city with buses, which can be done in ways. Thus,
We now substitute this expression for into (1). This gives us for that
and thus
We will now prove by induction on that for and ,
For , this gives , which is correct, since there is exactly one way to travel from city to city with one bus. Now let be an integer, and assume that we have proven the expression for for . Then, using (3), for we have
which is exactly the expression we wanted to prove for . This completes the induction.