Professional Documents
Culture Documents
Definition;
Proof by induction is a way of proving that a certain statement is true for every
positive integer.
Example;
Prove that for all positive integers n, 32𝑛+2 + 8𝑛 − 9 is divisible by 8.
Solution
First define f(n) = 32𝑛+2 + 8𝑛 − 9
Step 1: Now consider the base case. Since the question says for all positive
integers, the base case must be f(1).
You can substitute n=1 into the formula to get
𝑓(1) = 32+2 + 8 − 9 = 34 − 1
81-1=80
80 is clearly divisible by 10, hence the condition is true for the base case.
Step 2: Next, state the inductive hypothesis. This assumption is that f(k) =
3(2𝑘+2) + 8𝑘 − 9 is divisible by 8.
Step 3: Now, consider f(k + 1) The Formula will be:
𝐹(𝑘 + 1) = 3 2(𝑘+1)+2 + 8(𝑘 + 1) – 9 = 3 (2𝑘+4) + 8𝑘 – 9 + 8
= 3(2𝑘+4) + 8𝑘 + 8 – 9
It may seem weird to write it like this, without simplifying the 8 – 9 to become -1.
There is a good reason to do this: you want to keep the formula as similar to the
formula of f(k) as you can since you need to transform it into this somehow.
To do this transformation, notice that the first term in f(k + 1) is the same as the
first term in f(k) but multiplied by 32 = 9 Hence, you can split this up into two
separate parts.
𝐹(𝑘 + 1) = 9 × 3(2𝑘+2) + 8𝑘 – 9 + 8
= 3(2𝑘+2) + (8 × 3(2𝑘+2) ) + 8𝑘 – 9 + 8
= (3(2𝑘+2) + 8𝑘 – 9) + (8 × 3 (2𝑘+2) + 8)
= 𝑓(𝑘) + 8 × 3(2𝑘+2) + 8 .
The first term in this is divisible by 8 because of the assumption, and the second
and third terms are multiples of 8. Thus they are divisible by 8 too.
Since this is the sum of different terms that are all divisible by 8, f(k + 1) must also
be divisible by 8 too, assuming the inductive hypothesis is true. Hence, you have
proven the inductive step.
Step 4: Finally, remember to write the conclusion. This should sound something
like:
If it is true that f(k) is divisible by 8, then it will also be true that f(k + 1) is divisible
by 8. Since it is true that f(1) is divisible by 8, it is true that f(n) is divisible by 8 for
all positive integers n.
Example #2
Let’s look at another problem.
Example #1
As you can see, it’s much easier to assume that something does equal a specific
value than trying to show that it doesn’t. This is the beauty of the proof of
contradiction. Together, we will work through countless examples of proofs by
contrapositive and contradiction, including showing that the square root of 2 is
irrational!
Example #2
❖ Proof By Implication
Definition;
An implication statement can be represented in the form “if….then”. The symbol
⇒ is used to show the implication. Suppose there are two statements, P and Q. In
this case, the statement “if P then Q” can also be written as P ⇒ Q or P → Q, and
it will be read as “P implies Q”. In this implication, the statement P is a hypothesis,
which is also known as premise and antecedent, and the statement Q is
conclusion, which is also known as the consequent.
P Q P⇒q
T T T
T F F
F T T
F F T
Ambiguity
There can be an ambiguity in the implied operator. So when we use the imply
operator (⇒), at this time, we should use the parenthesis.
For example:
In this example, we have an ambiguous statement P ⇒ Q ⇒ R. Now, we have two
ambiguous statements ((P ⇒ Q) ⇒ R) or (P ⇒ (Q ⇒ R)), and we have to show
whether these statements are similar or not.
Solution:
We will prove this with the help of a truth table, which is described as follows:
P Q R (P ⇒ Q) (Q ⇒ R) P ⇒ (Q ⇒ R) (P ⇒ Q) ⇒ R
F F F T T T F
F F T T T T T
F T F T F T F
F T T T T T T
T F F F T T T
T F T F T T T
T T F T F F F
T T T T T T T
In the above truth table, we can see that the truth table of P ⇒ (Q ⇒ R) and (P ⇒
Q) ⇒ R are not similar. Hence, they both will generate different outputs or results.