Skip to main content

Subsection 8.3.6 Proving an Implication Using Contradiction

Suppose that we want to prove a claim of the form: pq

Sometimes the easiest way to do that is by contradiction. We assume its negation (¬(pq)) and derive a contradiction.

The form ¬(pq) isn’t very easy to work with. Let’s massage it a bit:

[1] ¬(pq)

[2] ¬(¬pq) Disjunctive Syllogism [1]

[3] ¬¬p ∧ ¬q De Morgan [2]

[4] p ∧ ¬q Double Negation [3]

Now it’s clearer what we should do: Assume both p and ¬q. Derive a contradiction. Of course, we could resolve that contradiction by giving up p. But we won’t. We’ll stick to p. That means that q must be true. In other words pq.

In this example, we’ll assume the axioms of plane geometry, including that, through any two distinct points, there is exactly one straight line.

Prove that, if two distinct straight lines intersect, then they do so at only one point.

The proof is by contradiction. Assume that two lines L1 and L2 are distinct and that they intersect at two or more different points. Call two of those points p and r. Then those two points are on both L1 and L2. But there is exactly one straight line through those two points. This contradicts the hypothesis that L1 and L2 are distinct.

Exercises Exercises

Exercise Group.

1. Definition: A perfect number is a positive integer that is the sum of all of its proper divisors (i.e., all its divisors, including 1, except itself). (Example: the proper divisors of 15 are 1, 3, and 5.)

Which of the following numbers as/are perfect: 6, 12, 17?

Part 2.

12

Answer.

Not perfect

Solution.

Explanation: 12 \(\neq\) 1 + 2 + 3 + 4 + 6

Part 3.

17

Answer.

Not perfect

Solution.

Explanation: Since 17 is prime, its only proper divisor is 1. And 17 \(\neq\) 1.

2.

Recall that a perfect number is an integer that is the sum of all of its proper divisors (i.e., all its divisors, including 1, except itself). Prove that no perfect number is prime.

Let’s check, before we start, to make sure that we know exactly what it is that we are trying to prove. Answer this question. Then write out your proof. (Hint: You can start with any logical expression that is equivalent to the claim that we are trying to prove.)

Consider the following logical expressions:

  1. \(\forall\) x (Prime(x) → \(\neg\)Perfect(x))

  2. \(\forall\) x (\(\neg\) Prime(x) → Perfect(x))

  3. \(\forall\) x (Perfect(x) → \(\neg\) Prime(x))

Which of them is/are equivalent to our claim?

  1. Just I.

  2. Just II.

  3. Just III.

  4. Just I and II.

  5. Just I and III

Answer.

Correct answer is E.

Solution.

Explanation: III is perhaps the most natural way to state the claim. If a number is perfect, it isn’t prime. I is the contrapositive of III, so it’s equivalent to it. II, however, is the converse of I. It makes a different (and untrue) claim.

The proof: We will prove III: Perfect(x) → Prime(x)

For an arbitrary x, assume, to the contrary, Perfect(x) and Prime(x). Since x is prime, its only proper divisor is 1. Then, if x is perfect, it is the sum of its proper divisors. So x must equal 1. But 1 isn’t prime and x is, so x cannot be 1. Thus we’ve proved that, if x is perfect, it cannot also be prime.