Professional Documents
Culture Documents
Mathematical Induction
is a method for proving that:
Mathematical Induction
is a method for proving that:
With only 3-cent coins and 5-cent coins, can we still give changes
of n cents for any positive integer n>7?
n=8: 8 = 3+5
n=9: 9 = 3+3+3
n=10: 10=5+5
n=11: 11=3+3+5
n=12: 12=3+3+3+3
n=13: …
How do you convince/prove for any n>7?
Ideas
With only 3-cent coins and 5-cent coins, can we still give
changes of n cents for any positive integer n>7?
n=8: 8 = 3+5
n=9: 9 = 3+3+3
n=10: 10=5+5
n=11: 11=3+3+5
n=12: 12=3+3+3+3
n=13: …
any pattern?
Solution:
first identify property P(n). Here, P(n) i:
[To see that P(n) is a sentence, its subject being “the sum of
the integers from 1 to n” and its verb is “equals.”]
Thus P(k + 1) is
or, equivalently,
1 + 2 +· · ·+ (k + 1),
which equals
(1 + 2 +· · ·+ k) + (k + 1)
Thus the two sides of P(k + 1) are equal to each other, and
so the equation P(k + 1) is true.
a. Evaluate 2 + 4 + 6 +· · ·+ 500.
b. Evaluate 5 + 6 + 7 + 8 +· · ·+ 50.
Mathematical Induction
Geometric sequence: each term is obtained from the
preceding one by multiplying by a constant factor.
for example: 1, r, r 2, r 3, . . . , r n, . . . .
Solution:
In this example property P(n) is again an equation, although
in this case it contains a real variable r :
In the basis step, you must show that P(0) is true; that is,
you show the property is true for n = 0.
Example 3 – Solution cont’d
Is P(0) true?
Then you show that P(k + 1) is true; that is, you show the
property is true for n = k + 1.
Or, equivalently,
[We must show that P(k + 1) is true. That is:] We must show
that
Example 3 – Solution cont’d
[We will show that the left-hand side of P(k + 1) equals the
right-hand side.] The left-hand side of P(k + 1) is
Proving an Equality
Proving an Equality
Two different ways to show that an equation is true:
Proving an Equality
Sometimes people use a method that they believe proves
equality but that is actually invalid.
e.g., to prove basis step for Theorem 5.2.3:
Proving an Equality
Then
and so
Solution:
What is P(n)?
But
But
[We must show that P(k + 1) is true. That is:] We must show
that
But
[Since we have proved the basis step and the inductive step,
we conclude that the proposition is true.]
Example 2 – Proving an Inequality
Use mathematical induction to prove that for all integers
n ≥ 3,
Solution:
In this example the property P(n) is the inequality
Then derive the truth of P(k + 1). Or, in other words, show
that the inequality is true. But by
multiplying out and regrouping,
Hence
But
[We must show that P(k + 1) is true. That is:] We must show
that
Or, equivalently,
But
Difference
• basis step may contain proofs for several initial
values,
• inductive step: prove:
for any integer k>=a, if P(a), P(a+1) … P(k), then P(k + 1)
Solution:
inductive step?
I
a| (k + 1)
and p| a , so by transitivity of divisibility,
p| (k + 1)
[Since we have proved both the basis and the inductive step
of the strong mathematical induction, we conclude that the
given statement is true.]
Well-Ordering Principle
for the Integers
Does the set has a least element? If so, what is it? If not,
explain why the well-ordering principle is not violated.
{ 46-7k | k is an integer}
46 is an element…
Well-Ordering Principle for the Integers
Proof:
Let S be the set of all nonnegative integers of the form
where k is an integer.
Then