Okay, that's pretty cryptic, even for computer scientists. Let us review step by step.
First of all, induction is a form of inference. It has a general form of
, which says given that
and
are true, then
we can conclude that
is true. In this case,
and
are somewhat
complicated propositions themselves.
states that
. This
means that we have at least one base case, but possibly many bases
cases. The base cases must be contiguous. The truth of each base case is
usually either by definition, or
proven by techniques other than induction (such as direct proof or
proof by contradiction).
states that
. This is the induction step. This requires a little bit more explanation.
First of all,
is the condition of a
conditional proposition (although it is a conditional proposition
by itself). This proposition states that
is true for all
such
that
. The truth of this proposition is assumed for the next
step.
The difficult part is to prove that
leads
to
. In other words, assuming that
,
can we prove
?
If we can, indeed, prove that
does lead to
, and that we have base cases
, then
we can conclude that
is true for all
.
No explanation of induction is complete, or even sane, without examples.
Copyright © 2006-09-11 by Tak Auyeung