In our school, we learned that proving using induction has three steps:
Prove it for the smallest number of n. (Usually, n=1)
Think it is true for n.
Prove it is true for n+1.
But recently, when I was watching Olympiad video series, it told me that it is not a right way and you should follow this way:
Prove it for the smallest n.
Think it is true for n+1.
Prove it is true for n.
You proved it is true for n. Now from that, prove it for n+1.
Now I am really confused that how to use induction? Can you tell me what is the best way to use introduction, and give me a guarantee that it always works?
Answer
The second method used in the video was probably this. When one is struggling with proving the inductive step Pn⇒Pn+1, it is often convenient to look not only at things that are implied by Pn, but also at what things are equivalent to Pn+1. For example, we might prove Pn⇒A⇒A′ and also Pn+1⟺B⟺B′⟺A′, so connecting the arrows
Pn⇒A⇒A′⇒B′⇒ B⇒Pn+1
we obtain a complete proof of the inductive step. To do this we can assume that Pn+1 is true and then deduce the chain of equivalent statements B(k) by using only reversible steps, e.g. applying an invertible operation such as adding or subtracting some value to both sides of an equation (e.g. see this recent question). Note in particular that it does not suffice to deduce the wrong-direction unidirectional inferences Pn+1⇒B⇒B′⇒⋯ since they do not allow us to connect the inferences to obtain the sought complete inference displayed above.
For an example of such deductions see this answer, where I deduce that the inductive step is equivalent to the truth of a recurrence gn+1−gn=fn+1 when analyzing inductive proofs equivalent to telescopic sums (it will prove instructive to write out that equivalence in more detail to examine how the inferences reverse using addition and subtraction).
Such proof methods exploiting simultaneous forward and backward deduction is sometimes called (forward and) backward chaining, or more generally, (inductive) analysis and synthesis.
No comments:
Post a Comment