Module 07: Direct Proofs
Instantiation and Generalization
Universal Instantiation
When a property P holds for all elements in a set, it must also hold for any particular element in that set.
Example:
Universal statement: All dogs are cute.
Assumption: Ozzy is a dog.
Conclusion: Ozzy is cute.
In other words, if we know (or assume) a universally quantified statement, we know a lot: we know the statement is true for every single element of the quantifiers domain.
Universal Generalization
If x represents an arbitrary element in a set and P(x) is shown to be true, then P is true for every element in the set.
Example:
Assumption: Let x be an unspecified dog.
Proof: x is cute.
Conclusion: All dogs are cute (since x represents any dog).
Unlike knowing a universal (as with universal instantiation), proving a universal using Universal Generalization requires you not to assume much about the element you're writing the proof over. You cannot know anything about the element that isn't also true of every single element in the domain.
Existential Instantiation
If a property P is known to hold for at least one element in a set, we can refer to that element by name in our proof.
Example:
Premise: There is a dog that is cute.
Assumption: Let x be that dog.
Conclusion: x is cute.
Existential instantiation is just a convenient way to give a name the element of the domain that has a property, when we don't know which one it is. It is essentially a shorthand for the original existential statement.
Existential Generalization
This technique is used when we assume a particular object and then conclude that something exists with that property.
Example:
Assumption: Ozzy is a dog.
Proof: Ozzy is cute.
Conclusion: There is a dog that is cute.
Here we are proving an existential. Proving an existential using Existential Instantiation doesn't require much evidence; proving the property for any element we choose in the domain will work.
Direct Proof: Existential Quantifiers
A statement involving an existential quantifier: ∃x ∈ D, P(x), is true if there is at least one value of x that makes P(x) true. To prove such a statement, it suffices to provide a single example that satisfies the condition. We do not need to identify all possible values, just one is enough. This method typically uses existential generalization.
|
There is an odd integer that can be written as the sum of three prime numbers. |
|
Proof:
Choose an integer x = 15. ◼ |
|
In this proof, we only need to choose a single example of an odd number that satisfies the given properties, that is, an odd integer that can be expressed as the sum of three prime numbers. The number 15 was used in the proof, but many other valid examples exist. For instance, 13 can also be written as the sum of three primes: 13 = 5 + 5 + 3. Any such example is equally valid for demonstrating the claim. |
Direct Proof: Universal Quantifiers
A universally quantified statement ∀x ∈ D, P(x) asserts that a property P(x) holds for all x in a domain D. If D is small, we might verify the statement by checking every case. But when D is large or infinite, we rely on universal generalization. This involves letting x represent an arbitrary element of the domain and proving P(x) under that assumption. It's critical to begin by stating that x is unspecified, meaning it could be any element of the domain. This sets the stage for a general argument; therefore, statements with universal quantifiers do not rely on examples or values. From there, we build a logical sequence that demonstrates P(x) holds without using any specific properties of x.
|
For all integers n, n2 - n is even. |
|
Proof: Consider an unspecified integer n. ◼ |
|
In this proof, we start by rewriting the expression as n (n - 1), which represents the product of two consecutive integers. Now, we can use our knowledge about consecutive integers: they cannot be both odd or both even, so one of them is always even. This means their product is always even. We assume that n is even, but assuming that n-1 is even would follow the same logic, so we write that we can make this assumption without loss of generality. Using the definition of even, we can replace 2a for the value of n in our original expression to check that it will result in an integer times 2, therefore an even. Note how it is important that a and 2 are integers, because otherwise the value 4a2 - 2a may be odd; for example, if a = (1+ √5/4, then
4a2 - 2a = |
Sometimes, it's helpful to divide a proof into distinct cases, as long as the cases collectively cover the entire domain. For instance, "even" and "odd" together span all integers; "positive", "negative", and "zero" span all real numbers. Within each case, new assumptions are allowed, making proofs more manageable.
|
For all integers n, n2 + 3n + 1 is odd. |
|
Proof: Consider an unspecified integer n. Case 1: Suppose n is even. Case 2: Suppose n is odd. ◼ |
|
In this proof, our goal is to show that for all integers n, the expression n2 + 3n + 1 is always odd. Notice that we cannot assume any information about n beyond that it is an integer. Also, we cannot assume that the expression n2 + 3n + 1 is odd, because that's exactly what we are trying to prove. A good strategy in such cases is to use a proof by cases. This allows us to rely on extra information based on the possible types of integers n can be. Since we are dealing with parity (odd or even), it's natural to divide the proof into two cases: n is even and n is odd. This way, we can use the definitions of even and odd numbers to substitute for n in each case. Then, in each case, we simplify the expression n2 + 3n + 1 and try to show that the result is of the form 2c+1, where c is an integer. This form matches the definition of an odd number, so if we can reach this form in both cases, the expression is guaranteed to be odd for all integers n. This case-based approach gives us a clear path to follow and allows us to rigorously prove the statement using simple algebra. |
Mathematical statements often imply something, even if they are not written with "if ... then". For example, "All even integers are divisible by 2" means "If x is an even integer, then x is divisible by 2". To prove a universally quantified implication ∀x ∈ D, P(x) → Q(x) we only need to consider the case where P(x) is true. If P(x) is false, the implication is automatically true and doesn't require proof. So, if proving something about even integers, you start by assuming the number is even and focus only on that case.
|
The sum of any two odd integers is even. |
|
Proof:
Consider two unspecified integers, x and y. ◼ |
|
This problem includes a hidden "if...then" statement, even though it's not written that way. We can rewrite it more clearly as: "For all integers x and y, if both are odd, then their sum is even." Now that we've made the implication clear, we know what we're allowed to assume (that x and y are odd), and what we need to prove (that their sum is even). |
Direct Proof: Nested Quantifiers
Statements with multiple, mixed quantifiers require that each variable be defined according to its quantifier, in order from left to right. When assigning values, you can pick constants or expressions involving previously defined variables.
∃a ∈ ℤ, ∀b ∈ ℤ, ∃c ∈ ℤ, ∀d ∈ ℤ, ∀e ∈ ℤ, ∃f ∈ ℤ, P(a,b,c,d,e,f)
- Choose an integer value for a.
- Consider an unspecified integer b.
- Choose an integer value for c: that value can be a specific integer, such as 2, or dependent on previous values, such as 2+a or 2b+a.
- Consider an unspecified integer d.
- Consider an unspecified integer e.
- Choose an integer value for f: that value can be a specific integer, such as 2, or dependent on previous values, such as a+b+c+d+e.
Once all variables are defined and assumptions are clear, the proof proceeds as usual. Each step must be small and logically justified. Crucially, never assume the conclusion within the proof; it must only appear at the end.
|
For all integers n, there exists an integer m such that m2 = n4 + 2n2 + 1. |
|
Proof:
Consider an unspecified integer n. ◼ |
|
In cases involving nested quantifiers, it's important to pay close attention to the order in which the quantifiers appear. Often, we can choose values strategically to make the proof easier. In this case, we want to show that the square of some integer m is equal to the expression n4 + 2n2 + 1. To simplify the proof, we should try factoring this expression to see if it can be written as a square. Indeed, we find that: n4 + 2n2 + 1 = (n2 + 1)2. This tells us that the square of n2 + 1 is exactly the expression we are trying to match. So, for each integer n, we can choose m = n2 + 1. This makes the proof straightforward. Note that the process of finding this value for m is part of your scratch work or thinking process, it doesn't appear explicitly in the formal proof. Still, being able to choose a value (like we do for m here) is a powerful tool in proofs involving existential quantifiers. You have the freedom to select the value that makes the statement true, so take advantage of that and explore options until you find the one that works. Note: This would not hold if the quantifiers were reversed, i.e., if we were asked to prove there exists an m such that for all n, m2 = n4 + 2n2 + 1. That version is false because m would have to work for all n, which is not possible. |
Common Definitions
| Even | x is even, iff x = 2k for some integer k |
| Odd | x is odd, iff x = 2k+1 for some integer k |
| Divisible | a divides b, iff b = ak for some integer k |
| Rational | x is rational, iff x = a/b for some integers a and b, where b is not 0. |
| Perfect Square | x is a perfect square, iff x = k2 for some integer k |
| Non-Prime (Composite) | x is not a prime, iff x = ab for two integers a and b greater than 1, and smaller than x |
Hints
- A proof is a form of communication. Just like writing an essay, it should follow logical structure and clear grammar.
- Every step in the proof must be small and well justified. What seems obvious to you may not be obvious to someone else.
- Always evaluate the logical statement from left to right, identifying which variable is governed by which quantifier. This helps determine when to use existential generalization (choose a specific value) or use universal generalization (assume an arbitrary value).
- When dealing with implications, always assume everything on the left-hand side (the hypothesis) and prove the right-hand side (the conclusion).
- Never use examples when working with a universally quantified variable; examples only apply to existential statements.
- If you're stuck and lack assumptions to proceed, consider proof by cases. Just ensure your cases collectively cover the entire domain.
- Always clearly state the goal of your proof (the conclusion), and never assume it during your argument. The conclusion should only appear in the final step.
Read More
Epp, Susanna. Discrete Mathematics with Applications.
5th edition: 3.4, 4.1, 4.2, 4.3, 4.4, 4.5, and 4.6.
4th edition: 3.4, 4.1, 4.2, 4.3, 4.4, and 4.5.
3rd edition: 2.4, 3.1, 3.2, 3.3, 3.4, and 3.5.