Appearance
Induction
Exercise 3
Exercise
Prove the Generalized De Morgan's Laws, that is, ,
and
Proof
Note that the cases and are straightforward. The case we know it as (normal) De Morgan's Laws. Let's assume the propositions are for , and we need to prove them for
And analogously,
Exercise 4.b
Exercise
Let be the statement that . This is a guided exercise to prove
- What is ?
- Prove
- What is the inductive hypothesis?
- What do you need to prove in the inductive step?
- Complete the inductive step
- Explain why these steps show that this inequality is
Answer
- is the proposition , it corresponds to the basis step
- is since
- The inductive hypothesis is
- In the inductive step one needs to prove that
- Let and assume , then we compute
- Because we have proven the basis step and inductive step of a proof by induction 😊
Exercise 5.a
Exercise
Consider the following proposition:
What is wrong with this “proof” by strong induction?
- Basis Step:
- Inductive Step: Assume . Write , where and are natural numbers less than . By the inductive hypothesis,
Answer
The basis step is valid. However, the inductive step only works when can be written as where both and are natural numbers less than . This is not possible when (i.e., it is not possible to write as the sum of two natural numbers less than )
Exercise 3.a
Exercise
Let be positive real numbers. The arithmetic mean of these numbers is
and the geometric mean of these numbers is
Prove that
Proof
We prove this by Cauchy Induction, that is,
- Prove : Suppose, for the sake of contradiction that . Squaring, multiplying by and subtracting by , we obtain . Expanding the square we obtain . Finally, factoring the square we get . This is a contradiction since the square of any real number (in this case ) is non-negative
- Prove : Let , then we need to prove that
We start by separating the sum
- Prove : Let . Then,
Rewriting the inequality we obtain
Taking the power of and dividing by we obtain
Finally, taking the power of and rewriting we get
Exercise 4.a
Exercise
Prove that every positive integer can be written as a sum of distinct powers of two
Proof
By (strong) induction
- Basis step: can be written as
- Inductive step:
- Case 1: is even, then is a positive integer and by inductive hypothesis can be written as a sum of distinct powers of two, that is,
where , and therefore
with
- Case 2: is odd, thus is even and by inductive hypothesis
where . Moreover, , since otherwise would be odd (do you see why? 😃), and thus