3.2 Workshop 2 (Reading)
3.2.1 Preparatory Exercises (1 hour)
Proving two sets are equal
Task 3.11.
Read the following proof.
-
1.
Highlight:
-
(a)
The key features of the proof (e.g. the assumptions, the conclusions, the proof technique used).
-
(b)
Any parts of the proof you don’t understand or are not entirely convinced by.
-
(a)
-
2.
In this proof, Section A and Section B are written in different styles. Which section do you find easiest to follow? What are the pros and cons of each style?
-
3.
Try to rewrite Section A in the style of Section B and vice versa.
Theorem (De Morgan’s Laws - Part 1).
If and are sets, then
Proof.
(The lines of this proof are numbered to aid your discussion in the workshop.)
-
1.
To prove , we first show that and then .
-
2.
SECTION A:
-
3.
Let then, by definition of the complement, .
-
4.
As is not an element of or , then we must have that and .
-
5.
Equivalently, and so belongs to an intersection of two sets: .
-
6.
We’ve shown that any element is also an element of so .
-
7.
SECTION B:
-
8.
To show , consider an element .
-
9.
Then
(3.1) by definition of intersection (3.2) by definition of complement (3.3) by definition of union (3.4) (3.5) -
10.
We have therefore shown that .
-
11.
As we have also seen that , then we must have .
Proof by Induction
Part of Block 2 is dedicated to another type of proof technique: Proof by Induction.
Definition (The Principle of Mathematical Induction).
Given a list of statements , we may conclude that is true for every integer provided that
-
•
we know that is true (the base case)
-
•
and we can prove that for any integer (the induction step).
A full written proof by induction has the following four parts clearly separated.
-
1.
A clear and explicit statement of the induction hypothesis and a stated intention to prove that is true for all by induction.
-
2.
The base case. Typically we prove a single statement .
-
3.
The induction step. This normally involves assuming is true and then reasoning that must also be true.
-
4.
A conclusion that steps (2) and (3) mean that is true for all natural numbers by the principle of mathematical induction.
Task 3.12.
-
1.
Read Section 4.7 in the Companion Notes.
-
2.
Read the following proof and identify the key features of the proof (e.g. the assumptions, the conclusions) and the 4 key parts of a proof by induction.
-
3.
Highlight any parts of the proof you don’t understand or are not entirely convinced by.
Theorem (Generalised De Morgan’s Laws - Part 1).
Let be sets where . Then
Proof.
(The lines of this proof are numbered to aid your discussion in the workshop.)
-
1.
We proceed via induction on .
-
2.
Let be the statement .
-
3.
For the base case, first consider .
-
4.
The union or intersection of one set is the set itself so the left hand side of this equation is while the right hand side is .
-
5.
The brackets make no difference here so we have proven the base case to be true.
-
6.
For the induction step, to prove implies , we suppose that holds for some .
-
7.
Let . Then,
by definition of union (3.6) by de Morgan’s Laws (3.7) by definition of (3.8) by inductive assumption (3.9) by definition of intersection. (3.10) -
8.
This shows that holds if holds so, by the principle of mathematical induction, we have shown holds for all .
3.2.2 B2 Reading Workshop Supplementary Material
For Task B2.2.1:
Consider the following sets
Claim.
.
3.1.
If is even then there is some such that . Moreover, is also even and . This means is divisible by 4 so and, more generally, .
3.2.
Overall, we have shown both and so can conclude that .
3.3.
If , then for some and we can write this as a difference of two squares: . Therefore .
3.4.
Let be any element of .
3.5.
In either case, meaning .
3.6.
In either case, meaning .
3.7.
If is odd, then for some , and . The product of two odd numbers is itself odd so we have and .
3.8.
We show .
3.9.
Let be an arbitrary element of so for some .
3.10.
If , then is a multiple of 4 so for some . Consider . As we can write as the difference of two squares, then we again have .
3.11.
We prove the inclusion .
For Task B2.2.2:
Claim.
For every , the sum of the first positive odd integers equals .
Proof.
We prove by induction on . Let be the statement “”. The sum of the first odd number, , equals …so that and so is true. Assume that is true for some . Then
Hence is also true. Since holds and , it follows that is true for all by the principal of mathematical induction.
For Task B2.2.3:
Theorem.
Every integer can be written as a product of primes .
Proof.
Let be the statement where are all prime numbers.
First consider the base case which immediately holds as a prime number can be considered to be a product of one number.
For the induction step, suppose the theorem holds for all positive integers .
If is prime, then, as in the base case, holds immediately.
Otherwise, if is not prime, then for some positive integers and greater than and smaller than . Both and can be decomposed by the inductive hypothesis, thus so can .
Therefore, we have shown both the base case and the inductive step hold so we can conclude that holds for all .
For Task B2.2.4:
Faulty Proof 1: Let be the statement that “”.
Assume holds for some , then
| by assumption | ||||
| by rearranging | ||||
| by definition of |
Therefore, we can conclude holds for all .
Faulty Proof 2: Define to be the statement “For any collection of lines in the plane, if no two are parallel then all lines intersect at one point”.
The base case holds immediately.
Assume for some so that any collection of lines (no two of which are parallel) intersect at a single point. Then consider having lines, where no two are parallel. The first lines must intersect at a single point by the inductive hypothesis. Moreover, the last lines also intersect at a single point . Two non-parallel lines intersect at a single point so .
Therefore holds for all .
Faulty Proof 3: Let be the statement “ for every non-zero ”.
As , is true.
Assume holds. Then
Hence is true.
Therefore, holds for all values .
3.2.3 Workshop Tasks
Task 3.13 (10 mins).
[Warm Up]
-
1.
The next questions refer to the first proof in your preparatory exercises (De Morgan’s Laws - Part 1):
-
(a)
In your groups, discuss this proof. Do you agree on its key features? Which parts did you not understand? Can you unpick them as a group?
-
(b)
We prove that and . Why does this prove that the two sets are equal?
-
(c)
Which style of proof (Section A or Section B) did you prefer and why? Discuss this with your group.
-
(a)
Task 3.14 (15 mins).
[B2.2.1 - Proving two sets are equal]
-
1.
In your supplementary material for this workshop, you have been given a claim that sets and are equal. But the proof has been cut up into pieces and arranged in the wrong order.
-
(a)
As a group, arrange the blocks into a correct logical order. Is there more than one valid order they can be in?
-
(b)
Identify categories that you can sort the blocks into based on the role that they serve in the proof. Sort the blocks into your categories.
-
(c)
Are there some blocks that only have one possible correct position in the proof? Are there other blocks that can hold a variety of positions in the proof?
-
(d)
Are there any parts in the complete proof which you don’t find fully convincing or are unsure about? Can you resolve them with your group?
-
(a)
-
2.
EXTENSION: Split the proofs from the preparatory exercises into the categories you’ve identified. Are there any blocks in those proofs that can be reordered?
Consider the following sets
Claim: .
3.12.
If is even then there is some such that . Moreover, is also even and . This means is divisible by 4 so and, more generally, .
3.13.
Overall, we have shown both and so can conclude that .
3.14.
If , then for some and we can write this as a difference of two squares: . Therefore .
3.15.
Let be any element of .
3.16.
In either case, meaning .
3.17.
In either case, meaning .
3.18.
If is odd, then for some , and . The product of two odd numbers is itself odd so we have and .
3.19.
We show .
3.20.
Let be an arbitrary element of so for some .
3.21.
If , then is a multiple of 4 so for some . Consider . As we can write as the difference of two squares, then we again have .
3.22.
We prove the inclusion .
Task 3.15 (5 mins).
[Induction Warm Up] The next questions refer to the second proof in your preparatory exercises (Generalised De Morgan’s Laws - Part 1):
-
1.
In your groups, discuss this proof. Do you agree on its key features? Which parts did you not understand? Can you unpick them as a group?
-
2.
This is a proof by induction. What kind of statements have you seen before that were proved by induction, if any?
-
3.
When we prove a claim, we know we shouldn’t assume what we’re trying to prove. So why is it valid in the induction step for us to assume that holds?
Definition (The Principle of Mathematical Induction).
Given a list of statements , we may conclude that is true for every integer provided that
-
•
we know that is true (the base case)
-
•
and we can prove that for any integer (the induction step).
A full written proof by induction has the following four parts clearly separated.
-
1.
A clear and explicit statement of the induction hypothesis and a stated intention to prove that is true for all by induction.
-
2.
The base case. Typically we prove a single statement .
-
3.
The induction step. This normally involves assuming is true and then reasoning that must also be true.
-
4.
A conclusion that steps (2) and (3) mean that is true for all natural numbers by the principle of mathematical induction.
Task 3.16 (10 mins).
[B2.2.2] In your supplementary material, you have been given an induction proof that the sum of the first positive odd integers equals but the proof has gaps.
-
1.
Identify the 4 key steps of proof by induction in this proof.
-
2.
Work together to fill in the gaps.
-
3.
EXTENSION: Can you think of any diagrams that would illustrate this proof? Do they help your understanding of the argument?
Claim: For every , the sum of the first positive odd integers equals .
Proof: We prove by induction on . Let be the statement “”. The sum of the first odd number, , equals …so that and so is true. Assume that is true for some . Then
Hence is also true. Since holds and , it follows that is true for all by the principal of mathematical induction.
Task 3.17 (15 mins).
[B2.2.3] In your supplementary material, you have a different proof that every integer can be written as a product of primes.
-
1.
Read the proof. Are there any parts that you are unconvinced of? Try and resolve these with your group.
-
2.
What is different about the structure here compared to a standard induction proof? Why is it important in this case?
-
3.
Try to re-write this proof using a standard induction argument. Where does it go wrong?
Theorem.
Every integer can be written as a product of primes .
Proof.
Let be the statement where are all prime numbers.
First consider the base case which immediately holds as a prime number can be consider to be a product of one number.
For the induction step, suppose the theorem holds for all positive integers .
If is prime, then, as in the base case, holds immediately.
Otherwise, if is not prime, then for some positive integers and greater than and smaller than . Both and can be decomposed by the inductive hypothesis, thus so can .
Therefore, we have shown both the base case and the inductive step hold so we can conclude that holds for all .
Task 3.18 (15 mins).
[B2.2.4] In your supplementary material for this workshop, you have been given 3 faulty induction proofs.
-
1.
Try to identify the statement that each argument is attempting to prove.
-
2.
Identify what is wrong with each proof.
-
3.
‘Fix’ the statements that these arguments are trying to prove, either by changing the conclusion or assumptions.
-
4.
EXTENSION: Prove your fixed statements.
Faulty Proof 1: Let be the statement that “”.
Assume holds for some , then
| by assumption | ||||
| by rearranging | ||||
| by definition of |
Therefore, we can conclude holds for all .
Faulty Proof 2: Define to be the statement “For any collection of lines in the plane, if no two are parallel then all lines intersect at one point”.
The base case holds immediately.
Assume for some so that any collection of lines (no two of which are parallel) intersect at a single point. Then consider having lines, where no two are parallel. The first lines must intersect at a single point by the inductive hypothesis. Moreover, the last lines also intersect at a single point . Two non-parallel lines intersect at a single point so .
Therefore holds for all .
Faulty Proof 3: Let be the statement “ for every non-zero ”.
As , is true.
Assume holds. Then
Hence is true.
Therefore, holds for all values .