Everything to learn better...

Home

Maths

Proof II

Proof by contradiction

Proof by contradiction

Select Lesson

Exam Board

Select an option

Explainer Video

Loading...
Tutor: Dylan

Summary

​Proof by contradiction

​​In a nutshell

Two statements are contradictory when assuming both to be true at the same time allows you to derive something false, such as 0=10=1. Many statements can be proved true by first assuming that they are false, and then deriving a false statement using statements you know to be true. This is known as proof by contradiction.



Contradictory statements

Suppose you are given statements PP​ and QQ, and, by assuming both to be true, you are able to derive something false. Then at least one of PP​ and QQ​ must be false; if you already know, say, that PP​ is true, you can be certain that QQ​ is false.


Negation

If you are trying to prove statement QQ​ by contradiction, begin by assuming the negation of QQ, written as ¬Q¬Q​. This is just the statement that QQ​ is false. For example, if QQ is the statement "there are infinitely many integers", then ¬Q¬Q is the statement "there are not infinitely many integers", or equivalently, "there are only finitely many integers". The negation of the negation of QQ is just QQ​ again - this is like saying "QQ​ is not not true".


Now, suppose you have a statement PP​ which you know to be true. In this example, PP could be "for every integer nn​, n+1n+1 is also an integer". If assuming PP​ and ¬Q¬Q​ at the same time allows you to derive something false - a contradiction - then ¬Q¬Q must be false, and therefore QQ​ must be true!


In this example, assume both "there are only finitely many integers" and "for every integer nn​, n+1n+1​ is also an integer" at the same time. If there are only finitely many integers, there must exist a largest integer - call it NN. You now have the statement "NN is the largest integer". The statement "for every integer nn​, n+1n+1 is an integer" allows you to derive the statement "N+1N+1​ is an integer". But this is larger than NN​, so can't be an integer because "NN is the largest integer" so you have derived a false statement!


You know that "for every integer nn​, n+1n+1 is an integer" is a true statement (as well as other statements subtly assumed in the above proof, such as "for any number nn, n+1n+1 is greater than nn​") and yet you derived a false statement - so the assumption "there are only finitely many integers" must be false. You have proved its negation, the statement "there are infinitely many integers", by contradiction!


Example 1

Prove that there are infinitely many square numbers.


Suppose for a contradiction that this is false, so there are only finitely many square numbers.


Then, there exists a largest square integer - call it NN.

NN is a square integer, so it is positive, and there are square integers greater than 11​ (such as 44) so you must have that N>1N > 1, and therefore N2>NN^2 > N.


However, you have shown that N2N^2 is a square integer greater than NN, which must be false, as NN is the largest square integer - you have derived a contradiction! Your assumption that there are only finitely many square numbers must be false, so you have proved its negation, that there are infinitely many square integers.


Therefore, there are infinitely many square integers.


Example 2

Prove by contradiction that there are no two integers xx and yy such that 15x+9y=115x + 9y = 1.


Suppose for a contradiction that there exists a pair of integers xx and yy such that 15x+9y=115x + 9y = 1.


15x15x​ is an integer multiple of 33, and so is 9y9y, so 15x+9y15x + 9y is divisible by 33​ . But 15x+9y=115x + 9y = 1, so you have that 11 is divisible by 33, a contradiction.


Therefore, there is no pair of integers xx and yy such that 15x+9y=1\underline{15x + 9y = 1}.


Example 3

Prove by contradiction that the only integers nn​ such that 1+4n41 + 4n^4 is a prime number are n=1n=1 and n=1n=-1​.


Suppose that 1+4n41 + 4n^4 is a prime, and n±1n \ne \pm 1. You have that:


 1+4n4=(12n+2n2)(1+2n+2n2)1 + 4n^4 = (1 - 2n + 2n^2)(1 + 2n + 2n^2)


For any positive integer nn, n2nn^2 \ge n, so both 12n+2n2>01 - 2n + 2n^2 > 0 and 1+2n+2n2>01 + 2n + 2n^2 > 0. These are both positive integers which divide 1+4n41 + 4n^4.


1+4n41 + 4n^4​ is prime by assumption, and therefore one of and 12n+2n21 - 2n + 2n^2 are equal to 11. If 1+2n+2n2=11 + 2n + 2n^2 = 1, then 2n(1+n)=02n(1 + n) = 0 so n=0n = 0 or n=1n = -1. However n1n \ne -1 by assumption, and if n=0n = 0 then 1+4n4=11 + 4n^4 = 1, which is not prime. So 1+2n+2n211 + 2n + 2n^2 \ne 1.


Therefore, 12n+2n2=11 - 2n + 2n^2 = 1, and so 2n(1n)=02n(1-n) = 0. However, n1n \ne 1, and you have seen that n0n \ne 0. So, this is a contradiction.


Therefore, the only integers nn such that 1+4n41 + 4n^4 is a prime are n=1\underline{n=1} and n=1\underline{n=-1}.


Create an account to read the summary

Exercises

Create an account to complete the exercises

FAQs - Frequently Asked Questions

What is proof by contradiction?

What do I assume for proof by contradiction?

What are contradictory statements?

Beta

I'm Vulpy, your AI study buddy! Let's study together.