top of page

1.2 Proof by Contradiction

OCR A-level Maths Year 2 · H240 · Chapter 1: Proof and Mathematical Communication

What is in the full lesson (18 activities)

Every item below opens free in the course.

A free OCR A-level Maths Year 2 lesson for OCR A Level Mathematics A (H240) from OBA School: assume the opposite, reason carefully, and reach something impossible (OCR H240: 1.01d). Watch the video, read the explanation and worked examples, then try the revision questions. You can work through the full lesson, with more videos, an interactive lesson, a practice quiz and printable worksheets, in our free online course.

What you will learn

  • Set out a proof by contradiction, starting from a correct negation
  • Use odd, even and divisibility arguments to reach a contradiction
  • Prove that √2 is irrational and adapt the proof to other surds
  • Prove that there are infinitely many prime numbers
  • Tackle unfamiliar statements, including ones about irrational numbers and logarithms

Key words

  • Negation: The statement that is true exactly when the original is false. The negation of "x > 3 and y > 3" is "x ≤ 3 or y ≤ 3".
  • Contradiction: Two facts that cannot both be true at once.
  • Rational number: A number that can be written as p/q, with p and q integers and q ≠ 0.
  • Irrational number: A real number that is not rational, such as √5 or π.
  • Lowest terms: A fraction p/q where p and q have no common factor other than 1.
  • Prime number: An integer greater than 1 whose only positive factors are 1 and itself.

The method and writing negations

A proof by contradiction is useful when a statement says something can never happen, that there is no number of some kind, or that a number is irrational. Instead of proving it directly, suppose it is false and follow the consequences.

  • There is no largest even number.; Negation (your first line) There is a largest even number.
  • √10 is irrational.; Negation (your first line) √10 is rational.
  • Every multiple of 4 is even.; Negation (your first line) There is a multiple of 4 that is odd.
  • a ≤ 8 or b ≤ 8.; Negation (your first line) a > 8 and b > 8.
  • If 3n + 2 is odd, then n is odd.; Negation (your first line) 3n + 2 is odd and n is even.

Worked example: an "or" statement

Prove that if a and b are positive real numbers with ab = 100, then a ≤ 10 or b ≤ 10.
Assume the opposite: a > 10 and b > 10.
Multiplying two positive inequalities: ab > 10 × 10 = 100.
This contradicts ab = 100.

Answer: So a ≤ 10 or b ≤ 10.

Parity and divisibility arguments

Many contradictions come from odd and even numbers (2k and 2k + 1) or from a common factor that cannot divide the other side.

Worked example: an odd expression

Prove that if 3n + 2 is odd, then n is odd.
Assume 3n + 2 is odd but n is even, so n = 2k for an integer k.
Then 3n + 2 = 6k + 2 = 2(3k + 1), which is even.
This contradicts 3n + 2 being odd.

Answer: If 3n + 2 is odd, then n is odd.

Worked example: no integer solutions

Prove that there are no integers a and b with 8a + 12b = 2.
Assume there are. Then 4(2a + 3b) = 2, so 2a + 3b = 1/2.
But a and b are integers, so 2a + 3b is an integer. Contradiction.

Answer: No integers satisfy 8a + 12b = 2.

Key fact: If n² is even, then n is even. (If n were odd, n = 2k + 1, then n² = 2(2k² + 2k) + 1 would be odd.) In the same way, if n² is a multiple of a prime p, then n is a multiple of p.

The square root of 2 is irrational

This proof is named in the specification, so learn its structure. The fraction must start in its lowest terms: that is the fact you will contradict.

Worked example: proving √2 is irrational

Assume √2 is rational: √2 = p/q, where p and q are integers with no common factor other than 1.
Squaring: p² = 2q². So p² is even, and therefore p is even. Write p = 2r.
Then 4r² = 2q², so q² = 2r². So q² is even, and therefore q is even.
Now p and q share the factor 2, which contradicts the fraction being in lowest terms.

Answer: √2 is irrational.

For √5, use the fact that if n² is a multiple of 5 then n is a multiple of 5, and reach "both are multiples of 5". The method fails for √9, because p² = 9q² gives p = 3q and no contradiction appears: √9 = 3 really is rational.

There are infinitely many primes

Worked example: the infinity of primes

Assume there are only finitely many primes, and list all of them: p₁, p₂,..., pₙ.
Let N = p₁ × p₂ ×... × pₙ + 1. Then N > 1.
Each pᵢ divides p₁ p₂... pₙ exactly, so dividing N by pᵢ leaves remainder 1. No prime on the list divides N.
But every integer greater than 1 is prime or has a prime factor. Either way there is a prime not on the list.
This contradicts the assumption that the list contained every prime.

Answer: There are infinitely many prime numbers.

Take care: N need not be prime itself. With the primes up to 17: 2 × 3 × 5 × 7 × 11 × 13 × 17 + 1 = 510 511 = 19 × 97 × 277. The new primes 19, 97 and 277 are all missing from the list, which is all the proof needs.

Unfamiliar statements

Worked example: a sum of surds

Given that √6 is irrational, prove that √2 + √3 is irrational.
Assume √2 + √3 = r, where r is rational.
Squaring: 2 + 2√6 + 3 = r², so √6 = (r² − 5)/2.
The right-hand side is rational (rational numbers are closed under +, -, ×, ÷). This contradicts √6 being irrational.

Answer: √2 + √3 is irrational.

Worked example: a difference of squares

Prove that there are no positive integers x and y with x² − y² = 1.
Assume there are. Then (x − y)(x + y) = 1. Both factors are integers and x + y > 0, so x − y > 0 too.
Two positive integers with product 1 must both equal 1: x − y = 1 and x + y = 1.
Subtracting gives 2y = 0, so y = 0, contradicting y being positive.

Answer: There are no such positive integers.

Common mistakes

  • Negating "and" or "or" wrongly. The negation of "a ≤ 8 or b ≤ 8" is "a > 8 and b > 8".
  • Leaving out "no common factors" in a surd proof. Without it there is nothing to contradict.
  • Saying p₁ p₂... pₙ + 1 must be prime. It only needs a prime factor that is not on the list.
  • Forgetting to say what the contradiction is and what it proves. Finish with a sentence.

Revision questions

Try these, then check your answers below each one.

Question 1. What is the negation of "There is no largest odd number"? (Choose from: There is a largest odd number; There is a smallest odd number; Every odd number is large; There is no largest even number.)

Answer: There is a largest odd number

Working: Removing "no" gives the opposite statement. A proof by contradiction starts by assuming this.

Question 2. Which is the correct opening assumption for a proof by contradiction that √7 is irrational? (Choose from: √7 = a/b, where a and b are integers with no common factor other than 1; √7 is irrational; √7 = a/b, where a and b are both odd; 7 is a square number.)

Answer: √7 = a/b, where a and b are integers with no common factor other than 1

Working: "Rational" means it can be written as a/b. Choosing lowest terms gives the fact that is contradicted at the end.

Question 3. In the proof that there are infinitely many primes, suppose the only primes were 2, 3, 5, 7, 11, 13 and 17. Let N = 2 × 3 × 5 × 7 × 11 × 13 × 17 + 1 = 510 511. Find the smallest prime factor of N. You may use a calculator.

Answer: 19

Working: 510 511 = 19 × 26 869 (and 26 869 = 97 × 277). So N is not prime, but its prime factor 19 is missing from the list: that is the contradiction.

Related lessons

Continue in the full course

This lesson is section 1.2 of our free OCR A-level Maths Year 2 course. In the full course you get every video for this section, an animated interactive lesson, a self-marking practice quiz, a printable worksheet with a mark scheme, an end-of-chapter test and your progress saved.

Continue lesson 1.2 in the free course →

 

 

 

 

 

 

 

bottom of page