Proof Strategies


Proof Strategies

Michael
Welcome to the first part of our discussion on proof strategies. The main goal is to learn several ways to prove mathematical statements, especially statements that have the form “if P, then Q.” We will cover direct proofs, proof by contrapositive, vacuous proofs, and proof by contradiction.

Maria
And many of these statements are universally quantified, even when the word “all” is not written explicitly. For example, “if n is an odd integer, then n squared is odd” really means: for every integer n, if n has the first property, then its square has the second property.

Michael
Exactly. We cannot test every possible integer individually, because there are infinitely many integers. Instead, we choose an arbitrary element from the domain—say an arbitrary integer c—and prove that P(c) implies Q(c). Since c has no special property beyond belonging to the domain, universal generalization lets us conclude that the implication is true for every element in the domain.

Maria
So the general problem reduces to proving an implication between two propositions. Once we understand how to prove P implies Q for an arbitrary element, we can establish the universally quantified statement.

Michael
Let us begin with the direct proof method. In a direct proof, we assume that the premise P is true and then logically derive the conclusion Q. The reasoning moves directly from the given assumption to the result.

Maria
A standard example is the statement: if n is an odd integer, then n squared is odd. We choose an arbitrary integer n and assume that n is odd. By the definition of an odd integer, we can write n as 2k plus 1 for some integer k.

Michael
Now square n: n squared equals (2k plus 1) squared, which is 4k squared plus 4k plus 1. Rearranging gives 2 times the integer quantity 2k squared plus 2k, plus 1. If we call that integer quantity k-prime, then n squared has the form 2k-prime plus 1. Therefore n squared is odd.

Maria
That is direct because we started by assuming the premise—n is odd—and directly reached the conclusion—n squared is odd. But direct proofs are not always the most convenient approach.

Michael
Consider the true statement: for every integer n, if 3n plus 2 is odd, then n is odd. If we try to prove this directly, we can write 3n plus 2 as 2k plus 1, because it is odd. However, it may not be clear how to manipulate that equation efficiently to show that n is odd. This is where indirect methods can help.

Maria
The first indirect method is proof by contrapositive. Instead of proving P implies Q directly, we prove not-Q implies not-P. This works because P implies Q is logically equivalent to not-Q implies not-P; the two statements always have the same truth value.

Michael
For the example, P is “3n plus 2 is odd,” and Q is “n is odd.” The negation of Q is “n is even,” and the negation of P is “3n plus 2 is even.” So we prove: if n is even, then 3n plus 2 is even.

Maria
Choose an arbitrary even integer n. Since n is even, n equals 2k for some integer k. Substituting gives 3n plus 2 equals 3 times 2k plus 2, or 6k plus 2. This is 2 times the integer 3k plus 1, so 3n plus 2 is even. Therefore the contrapositive is true, and the original statement is true as well.

Michael
Notice that universal generalization is still being used. We did not check individual even integers; we selected an arbitrary even integer and proved the implication for it.

Maria
Another indirect method is the vacuous proof. An implication P implies Q is true whenever P is false, regardless of whether Q is true or false. This follows from the truth definition of implication: a false premise makes the entire implication true.

Michael
For example, define P(n) to be the statement: if n is greater than 1, then n squared is greater than n. To examine P(0), substitute zero for n. We get: if 0 is greater than 1, then 0 squared is greater than 0.

Maria
The premise, “0 is greater than 1,” is false. The conclusion, “0 squared is greater than 0,” is also false, but that does not matter. False implies false is true, so P(0) is vacuously true because its premise is false.

Michael
The next method is proof by contradiction for an implication. The logical equivalence behind it is P implies Q is equivalent to the statement that P and not-Q imply false. In practice, we assume the premise P and also assume that the conclusion Q is false, then derive an impossible result.

Maria
Use the same example again. We assume that 3n plus 2 is odd, and because we are assuming the conclusion “n is odd” is false, we assume n is even. Since n is even, n equals 2k for some integer k, and therefore 3n plus 2 is even.

Michael
But our first assumption said that 3n plus 2 is odd. We have derived that the same number is both odd and even, which is impossible. Therefore the assumption that n is even must be incorrect, so n is odd. This proves the original implication by contradiction.

Maria
Proof by contradiction can also establish a single proposition, not just an implication. To prove a statement P, we assume its negation, not-P, and then show that this assumption leads to a contradiction—specifically, that both some statement R and its negation not-R follow.

Michael
The logical idea is that not-P implies false can be true only if not-P is false. If not-P were true, then true implies false would not be true. Therefore, showing that the negation of P leads to false establishes that P itself is true.

Maria
A classic example is proving that the square root of 2 is irrational. We begin by assuming the opposite: suppose the square root of 2 is rational. Then it can be written as a over b, where a and b are integers and the greatest common divisor of a and b is 1.

Michael
Squaring both sides gives 2 equals a squared over b squared, so a squared equals 2b squared. Therefore a squared is even. Using the fact that if the square of an integer is even, then the integer itself is even, we conclude that a is even. Write a as 2c.

Maria
Substituting a equals 2c into a squared equals 2b squared gives 4c squared equals 2b squared, and therefore b squared equals 2c squared. Thus b squared is even, which means b is even as well.

Michael
Now both a and b are even, so 2 divides both of them. Their greatest common divisor cannot be 1, contradicting our original choice of a and b. We have derived both the statement that the greatest common divisor is 1 and its negation, that it is not 1.

Maria
That contradiction shows that the assumption that the square root of 2 is rational is impossible. Therefore the square root of 2 is irrational.

Michael
Let us summarize the strategies. For a direct proof, assume P and derive Q. For a contrapositive proof, prove not-Q implies not-P. For a vacuous proof, observe that the premise is false, which automatically makes the implication true.

Maria
And for proof by contradiction, assume P together with not-Q when proving an implication, or assume not-P when proving a single proposition. Then derive a false or impossible situation. All of these methods are tools for proving the universally quantified implications that arise throughout mathematics.

Ask anything
We've read this whole study set, so questions about it get the best answers.