I have recently used induction in solve a problem. But I am told that the proof is wrong. Below is the problem and solution.
I don't see any issue with this proof. What are the issues with this approach?
The population of every city in US is the same
The above statement is equivalent to: “For every n, if S is any set of n cities in US, then the population of all cities from S is the same”.
Base Case: Size of S is 1. There is only one city in S. Thus population of every city in S is the same.
Inductive Hypothesis:
Let S be a set of m cities and assume that population of every city in S is the same.
Induction Step:
We will prove that if S is a set of m+ 1 cities, then the population of every city in S is the same.
Let S = {c1, c2, · · · , cm, cm+1}. Consider the following two subsets of S: S1 = {c1, · · · , cm},
S2 = {c2, · · · , cm+1}
Note that both S1 and S2 are of size m. Thus by induction hypothesis:
population(c1) = polulation(c2) = · · · = population(cm),
population(c2) = polulation(c2) = · · · = population(cm+1).Since c2 appears in both sets, we have
population(c1) = polulation(c2) = · · · = population(cm) = population(cm+1).
Thus for every set of m + 1 cities, their population is the same. By induction principle, every city in US has the same population.
Are there any rules to decide whether to use Induction or not? What are the mistakes in the above approach.