Section 4.1 Direct Proof and Counterexample
Before starting proof techniques, we introduce a few mathematical definitons. Keep in mind, mathematical definitions are constructed to provide a common language for proofs. They are intended to provide rigor and precision. They are not intended to provide conceptual understanding. You need to develop conceptual understanding of the terms apart from the definition. However, we need to rely on definitions to provide structure for our proofs.
Definition 4.1.2.
You are probably familiar, generally, with even numbers such as 2, 4, 6, 8, and odd numbers such as 3, 5, 7, 9. But the next example uses the definitions to look at more examples.
Example 4.1.3. Even or Odd.
Is -5 even or odd?
Answer 1.
Is 0 even or odd?
Answer 2.
Let Is even or odd?
Answer 3.
Let Is even or odd?
Answer 4.
Activity 4.1.1.
Let be integers. Determine if each of the following are always even, always odd, or sometimes even/ sometimes odd.
(a)
(b)
(c)
(d)
(e)
We’ve now seen several examples of even/ odd integers. Are there integers which are both even and odd? Can an integer be neither even nor odd? The answer to both questions is no. However, proving that every integer is even or odd (and not both), is pretty challenging, and we won’t try to do it, yet. We will use this fact, though, so if we know an integer is not even, then it must be odd, and vice versa.
Definition 4.1.4.
Definition 4.1.5.
Example 4.1.6. Prime or Composite.
Is 1 prime?
Answer 1.
Is 1 composite?
Answer 2.
Is 121 prime?
Answer 3.
Let Is composite?
Answer 4.
Activity 4.1.2.
Consider the statement “for all positive integers and if then or ” from the definition for a prime number.
(a)
Write the statement symbolically using quantifiers and connectives.
(b)
Write the negation of the statement symbolically.
(c)
How is the negation related to the definition of a composite number? Is every integer either prime or composite?
We state our first proof technique.
Proving Existential Statements.
To prove
- Find
making, true. Note, this step may happen as scratchwork, not part of your proof. - For your proof, state
- Show
and is true.
This type of proof is called a constructive proof of existence
Example 4.1.7. Existential Proof.
Prove such that
Proof.
Let Then and
Example 4.1.8. Another Existential Proof.
Let Prove such that
Proof.
Let Then since and
Activity 4.1.3.
There are other ways to prove existence. One common way is a proof by contradiction, which we will see later in Section 4.5. There are several examples of existence proofs in calculus where it can be shown that something exists without constructing a specific value. For example, take a look at a proof of Rolle’s Theorem, the Mean Value Theorem, the Extreme Value Theorem, or the Taylor Remainder Theorem (Calc II).
Since the negation of a universal statement is an existential statement, we disprove a universal statements with a counterexample.
Counterexamples.
To disprove the statement
- Find the negation of the statement:
- Find
making, true and false. Note, this step may happen as scratchwork, not part of your counterexample. - For your counterexample, state
- Show
is true and is false.
A counterexample is really just an existence proof of the negation. But since we are showing the original statement is false, we usually just call it a counterexample to the (original) statement.
Example 4.1.9. Counterexample.
Disprove the statement: Every prime number, is odd.
Let Then is prime and is not odd.
Activity 4.1.4.
One of the most common mathematical statements is the universal conditional. We will see several techniques for proving The first method, method of exhaustion, is very limited, but worth mentioning.
Method of Exhaustion.
Example 4.1.10. Method of Exaustion.
Prove for all if is even and then can be written as the sum of prime numbers.
Proof.
We can find all the integers that are even and This is the set For each of these numbers we can demonstrate a way to write them as the sum of primes:
The method of exhaustion only works if we can show the statement for every But if is infinite, we need to use a more general method.
Method of Direct Proof.
To prove
- Let
(make sure this is a variable, or generic, not a specific value). - Assume
is true. - Show
is true.
Example 4.1.11. Direct Proof.
Prove for all if is even, then is odd.
Proof.
Let be even. Then by definition, for some Then where Which means is odd.
Example 4.1.12. Sum of Even Numbers.
Prove the sum of two even integers is even.
Note, this statement is not obviously in the form of an if...then. We often have to translate statements into a more formal statement before proving them. Translation:
Prove for all if and are even, then is even.
Proof.
Let be even. Then by definition, for some and for some (Note, we cannot use for both and as they likely are two different numbers.) Then where Which means is even.
Some proof writing advice:
- Make the proof self-contained. Try not to reference many other mathematical facts. Many proofs in this course will rely entirely on definitions.
- Use complete sentences. Even equations have a sentence structure. Your proof should be able to be read in sentences.
- Give reasons. Connect your statements together.
- Include words. Often using a word is better that using a symbol. Many proofs have no symbols in them at all.
- The audience for your proofs is not the instructor. Think of the audience as being your peers in the course or even yourself in a few weeks (or months) when you might have forgotten the specific content. Write so you will know what you meant later.
- The goal of a proof is to write a clear, easy to follow, argument--not to just get to the end. The “answer” is the proof itself. Use space, start a new line, set equations on their own line.
- Never feel that you have to be able to know what the end of the proof will look like before you can start. Write proofs one step at a time. Start with what you know. See if you can do one thing. See if you can do another thing. Look at where you want to go. Do not try to see the whole picture at once. This is also good advice for reading a proof.
Some common proof-writing errors:
- Using an example for a proof. If you need to prove a statement for all
it is not nough to show it for an example. - Using the same variable to represent two different things.
- Jumping to conclusions. Giving inadequate reasons. This often occur if you rely on additional mathematical ideas or don’t connect your ideas to each other.
- Assuming what you need to prove. This is a big one. This most often occurs when there is confusion about conditional statements. Be careful about identifying the “if” and the “then” in a statement.
Often in math we need to identify whether a statement is true or false, so that we know whether we need to prove the true statement or disprove the false one.
Example 4.1.13. Prove or Disprove.
Prove or disprove there exists a positive integer such that is prime.
Since we need to try to decide if the statement is true or false, first try some examples.
Answer 1.
After trying several examples, we might guess that it is false. If we want to disprove the statement then we need to prove the negation. Find the negation of the statement.
Answer 2.
For all positive integers is not prime (is composite).
So we need to show that for a general we can always write as a product of with
We can try to factor the expression:
Let We need to show that Since and Thus Therefore, is not prime.
Activity 4.1.5.
Prove or disprove the following statements.
(a)
(b)
(c)
Reading Questions Check Your Understanding
1.
True.
False.
True or false: is odd.
2.
True.
False.
True or false: is even.
3.
True.
False.
True or false: is odd.
4.
True.
False.
True or false: is even.
5.
True.
False.
6.
True.
False.
True or false: 99 is composite.
7.
True.
False.
True or false: -99 is composite.
8.
True.
False.
True or false: is prime.
Exercises Exercises
1.
Use the definitions of even, odd, prime, and composite to justify your answer to each of the following questions. Let and be integers.
- Is
even? - Is
odd? - If
is composite?
2.
3.
4.
5.
6.
Find the mistakes in the following “proof.”
7.
Find the mistakes in the following “proof.”
Theorem: The difference between any odd integer and any even integer is odd.
“Proof”: Suppose is an odd integer, and is an even integer. By definition of odd, where is an integer, and by definition of even where is an integer. Then
Since 1 is odd the difference between an odd integer and and even integer is odd.
8.
Prove the difference of any even integer minus any odd integer is odd.
9.
Prove the sum of any two odd integers is even.
10.
11.
For the following problems determine if they are true of false. Prove the true statements and provide counterexamples for the false statements.
- The product of any even integer and any integer is even.
- For all integers
if is prime then - For all integers
is a prime number.
You have attempted 1 of 9 activities on this page.