Proof by contradiction: method and examples
Proof by contradiction establishes a statement by assuming that it is false and showing that this assumption leads inevitably to an impossibility. Since the assumption cannot be true, the original statement must be true.
The logical shape is:
Here is the statement to be proved and means “not ”. The contradiction might be a false numerical claim such as , incompatible conclusions such as “the integer is both even and odd”, or a direct conflict with a given assumption.
Prerequisites
Section titled “Prerequisites”You should be able to:
- use the definitions of even, odd, rational, irrational and prime numbers
- manipulate fractions and surds
- use algebra to form a chain of deductions
- distinguish a proof from evidence provided by examples
Review proof and reasoning if mathematical implications or universal statements are unfamiliar.
The method
Section titled “The method”To prove a statement by contradiction:
- Assume the opposite. State clearly that is false.
- Translate the assumption into mathematics. Use exact definitions.
- Deduce consequences. Every step must follow from the assumption, the givens or an established fact.
- Identify the contradiction. Say exactly which two claims are incompatible.
- Conclude. Reject the assumption and state that is therefore true.
The hardest step is often the first. The opposite must be the logical negation, not merely a different statement.
| Statement | Correct negation |
|---|---|
| is even | is odd, when is an integer |
| Every integer has property | At least one integer does not have property |
| There exists an integer with property | No integer has property |
For example, the negation of is , not . Forgetting the boundary value leaves a logical gap.
Example 1: no greatest integer
Section titled “Example 1: no greatest integer”Prove that there is no greatest integer.
Assume, for contradiction, that there is a greatest integer. Call it .
Since is an integer, is also an integer. But
This contradicts the assumption that is the greatest integer. Therefore there is no greatest integer.
Notice that the contradiction is not merely that is large. It is that an integer greater than the supposed greatest integer has been constructed.
Example 2: irrationality of
Section titled “Example 2: irrationality of 2\sqrt{2}2”Prove that is irrational.
Assume, for contradiction, that is rational. Then it can be written in lowest terms as
where , , and and have no common factor greater than .
Square both sides:
Therefore is even. If were odd, for some integer , giving
which is odd. Hence must be even. Write .
Substitute this into :
The same reasoning shows that is even. Thus and are both divisible by , contradicting the statement that was in lowest terms. Therefore is irrational.
Why “lowest terms” matters
Section titled “Why “lowest terms” matters”Finding that and are both even is not impossible by itself. For example, is a valid fraction. The contradiction occurs because was specifically chosen in lowest terms. Any rational number can be expressed in lowest terms, so this choice loses no generality.
Example 3: rational plus irrational
Section titled “Example 3: rational plus irrational”Let be rational and let be irrational. Prove that is irrational.
Assume, for contradiction, that is rational. Let
where is rational. Rearranging gives
The difference of two rational numbers is rational: if and , then
which is a ratio of integers with non-zero denominator. Hence is rational. This contradicts the given fact that is irrational. Therefore is irrational.
This proof illustrates a useful strategy: when the statement involves an irrational number, assume the result is rational and rearrange to force the original irrational number to be rational.
Example 4: divisibility
Section titled “Example 4: divisibility”Prove that if is divisible by , then is divisible by , where is an integer.
Assume that is divisible by , but that is not divisible by . An integer not divisible by has the form
for some integer .
In the first case,
In the second case,
In both cases leaves remainder when divided by , so it is not divisible by . This contradicts the given information. Therefore is divisible by .
Here the assumption must include the given condition and the negation of the conclusion. This is the standard approach to proving an implication by contradiction: assume and .
Example 5: infinitely many primes
Section titled “Example 5: infinitely many primes”Prove that there are infinitely many prime numbers.
Assume, for contradiction, that there are only finitely many primes. List all of them:
Form the integer
For each listed prime , division gives
Therefore leaves remainder when divided by every prime on the list. Since , it is either prime or has a prime factor. In either case, there is a prime not on the supposedly complete list. This is a contradiction. Therefore there are infinitely many primes.
It is not necessary to claim that itself is prime. For the list , the product plus is . What matters is that none of its prime factors is on the original list.
Choosing contradiction
Section titled “Choosing contradiction”Proof by contradiction is especially effective when:
- the negation gives a concrete algebraic form, such as writing a rational number as
- the claim says that something does not exist
- assuming a finite list lets you construct an object outside that list
- the desired conclusion is awkward to reach directly, but its negation strongly restricts the possibilities
It is not automatically the best method. If a short direct chain establishes the result, proof by deduction is usually clearer.
Common misconceptions
Section titled “Common misconceptions”Checking examples is not a contradiction proof
Section titled “Checking examples is not a contradiction proof”Testing may suggest a pattern, but it says nothing about every later integer. A proof needs a general argument using an arbitrary integer.
A surprising result is not necessarily impossible
Section titled “A surprising result is not necessarily impossible”A contradiction must violate a definition, a given condition or an established fact. Reaching a negative value, a fraction or an irrational number is not contradictory unless the context forbids it.
Do not assume what you are trying to prove
Section titled “Do not assume what you are trying to prove”To prove that is irrational, begin by assuming it is rational. Starting with “let be irrational” is circular and proves nothing.
Name the contradiction
Section titled “Name the contradiction”Do not end with only “contradiction”. State the conflict, such as “both and are even, contradicting that is in lowest terms”.
Self-check
Section titled “Self-check”- Write the negation of “for every real , ”.
- Prove by contradiction that there is no smallest positive real number.
- Let be irrational and be a non-zero rational number. Prove that is irrational.
- A student trying to prove that there are infinitely many primes says that must be prime. Explain the error and repair the argument.
Answers
Section titled “Answers”- There exists a real such that .
- Suppose is the smallest positive real number. Then is positive and , contradicting the supposed minimality of . Hence no smallest positive real number exists.
- Suppose is rational, say . Since , . The quotient of rational numbers with non-zero denominator is rational, contradicting that is irrational. Therefore is irrational.
- The constructed number need not be prime. However, it is greater than , so it has a prime factor. No listed prime divides it because division by each leaves remainder . Its prime factor is therefore absent from the allegedly complete list, which gives the required contradiction.
Next steps
Section titled “Next steps”Practise deciding when a direct argument is more natural in proof by deduction and exhaustion. Then learn how one carefully chosen case can disprove a universal claim in disproof by counterexample. For more exact-number arguments, revisit surds.