Logic
Negating quantified statements
Negate the following statements.
Exercise.
For every , .
Solution.
There exists an such that .
Exercise.
There exists an such that .
Solution.
For every , .
Exercise.
For every , there exists such that .
Solution.
There exists an such that for every , .
Exercise.
Let be a subset of . For every open interval, , containing , there exists a point that is also in .
Solution 1.
There exists an open interval, , containing , such that the intersection of and is the empty set.
Solution 2.
There exists an open interval, , containing , such that for every in , is not an element of .
Below is the definition of continuous function.
Exercise.
Let be a fixed real number. For all , there exists a such that for all satisfying .
Solution.
There exists an such that for every there exists an such that and .
Reflect.
What happens when you negate a quantifier? What happen when you negate an and statement? What happens when you negate an implication?
Contrapositive
Find the contrapositive of the following implications.
Exercise.
If then .
Solution.
If , then .
Exercise.
If today is Tuesday, then tomorrow is Wednesday.
Solution.
If tomorrow is not Wednesday, then today is not Tuesday.
Exercise.
If is an even natural number, then is an odd natural number.
Solution.
If is an even natural number, then is an odd natural number.
Exercise.
If is differentiable at , then is continuous at .
Solution.
If is not continuous at , then is not differentiable at .
Exercise.
If is a multiple of 6, then is a multiple of 3.
Solution.
If not a multiple of 3, then is not a multiple of 6.
Reflect.
Come up with more examples of contrapositive statements from your everyday life. People mention implications all the time in the news, lectures and casual conversation.
Set theory
Weak induction
Hard problem (Rédei, 1934).
Let be a positive natural and be a relation on a set of size such that
- for all implies or , but not both.
Prove that there is a function such that
for all .
Hint.
Think of as a set of villages, and as one-way roads connecting every pair. The conclusion says that you can make a path to traverse all villages: . Make a diagram.
Solution.
I proceed by induction on . If , the statement holds vacuously. Now suppose that the statement holds for .
Hint.
Write down the precise inductive hypothesis: for every set of size , for every relation satisfying (1.), there exists a function satisfying (2.).
Suppose that is a set of size and that is a relation on such that (1.). Pick and notice that restricted to satisfies (1.). By the inductive hypothesis, there is a function such that (2.).
Hint.
Translate the proof into the language of villages and roads if you find this easier.
Consider and .
Hint.
The first and last villages of the path must be connected to somehow, and I need to figure out how to add to this plan. This will depend on the direction of the roads. If the road leads from to , the first village, then clearly I can start at and then do the path . Similarly, if leads into , I can do the path and then go to last. These two cases are made precise as follows. The overline on is just notation.
If , I define given by
satisfies (2.) and so I am done in this case.
Hint.
The responsible reader will verify these claims.
The case when is analogous letting
By (1.), if neither of the two cases above happen, then
Hint.
How do you incorporate into the path in this case? Well, you cannot add at the beginning or the end, since the roads point the wrong way. Logically, you must make a detour to somewhere in the middle of the path: you need a road from some village to , and a road from into the next village . Then, is a valid path.
I claim that there is such that .
By contradiction, suppose not. That is, assume that
I now show that by an inductive argument, contradicting (3). When , by (3) and (4), . If is such that , then by (4), . Thus, by induction, .
Hint.
Hidden inductions like these appear all the time in more elaborate proofs. The precise statement I proved is that for all , if , then . Thus, in particular (taking ), .
Therefore, the claim is true and I define
Strong induction
Very hard problem.
Let be a positive natural number. Prove that
Hint.
This question is especially challenging because if attempted by weak induction, when reducing the case from to , one would wish to show that
but this is false even for .