1.01d - Proof by contradiction

1.01d - Proof by contradiction

Some claims become easier when you temporarily assume their opposite. Learn to turn that assumption into a precise conflict, including the proofs that 2\sqrt{2} is irrational and that there are infinitely many primes. You will then use familiar rational-number properties to build fresh contradiction arguments.

Assume the opposite and find the conflict

Can the diagonal of a square with side length 11 equal a fraction, perhaps with an enormous denominator? Pythagoras gives its length as 2\sqrt{2}, approximately 1.4142135621.414213562. No matter how many digits you calculate, a decimal display cannot settle whether an exact fractional representation exists.

You already know

A rational number is a/ba/b for integers a,ba,b, with b≠0b\ne0. An irrational number is real but has no such representation. Pythagoras gives the square of a right-angled triangle's hypotenuse as the sum of the squares of its other sides.

The picture identifies the exact length. The proof must decide what kind of number that length is.

[DIAGRAM: asset_name: The diagonal of a unit square; asset_slug: h240_proof_square_diagonal; caption: A unit square has diagonal length square root of two; description: An equal-scale square has bottom and right side lengths 1, a sage diagonal d from bottom left to top right and a right-angle marker at bottom right. Alongside it, d squared equals 1 squared plus 1 squared equals 2, hence d equals square root of two. The question asks whether this diagonal can be a ratio of integers.]
A unit square has diagonal length square root of two

Before tackling that question, practise the logic on a simpler claim. Suppose there were a largest integer NN. Then N+1N+1 would be a larger integer, contradicting the very meaning of “largest”. The opposite assumption has defeated itself.

Proof by contradiction

A proof by contradiction assumes the negation of the required claim, derives a conflict with an established fact or the assumptions, and concludes that the temporary assumption is false. A surprising consequence is not enough: identify two statements that cannot both hold.

Negate the whole claim carefully. The opposite of “every member has a property” is “at least one member lacks it”. The opposite of “no smallest positive rational exists” is “a smallest positive rational exists”, not “every rational is smallest”.

Worked example 1: no smallest positive rational

Question. Prove by contradiction that there is no smallest positive rational number.

Plan. Assume a smallest one exists and construct a smaller positive rational.

Suppose rr is the smallest positive rational. Since r=a/b>0r=a/b>0 for integers a,ba,b,

r2=a2bstill rational, since 2b≠00<r2<rsince r>0\begin{aligned} \frac r2&=\frac a{2b} && \text{still rational, since }2b\ne0 \\ 0&<\frac r2<r && \text{since }r>0 \end{aligned}

Why this step? The competing number must remain inside the positive rational domain.

Answer. r/2r/2 contradicts the supposed minimality of rr. Therefore no smallest positive rational number exists.

Check. If a candidate were 1/1001/100, then 1/2001/200 would be a smaller positive rational.

Example 2 changes only the lower boundary from 00 to 11. Dividing the candidate by 22 could now leave the allowed domain, so use its midpoint with the boundary.

Worked example 2: rational numbers above a boundary

Question. Prove that there is no smallest rational number greater than 11.

Plan. Assume a smallest candidate and construct a rational strictly between it and 11.

Suppose r>1r>1 is the smallest such rational, and put s=(r+1)/2s=(r+1)/2. It is rational because sums and quotients by nonzero integers preserve rationality. Also,

s−1=r−12>0so s>1r−s=r−12>0so s<r\begin{aligned} s-1&=\frac{r-1}{2}>0 && \text{so }s>1 \\ r-s&=\frac{r-1}{2}>0 && \text{so }s<r \end{aligned}

Why this step? Both differences establish that the new candidate is allowed and is smaller.

Answer. 1<s<r1<s<r contradicts the minimality of rr, so no smallest rational above 11 exists.

Check. At a proposed r=3/2r=3/2, the construction gives s=5/4s=5/4, strictly between 11 and 3/23/2.

The method itself is not supplied on the formula sheet. Its conclusion must name the conflict, rather than simply append the word “contradiction”.

Watch out

Wrong: “The opposite of ‘every value works’ is ‘every value fails’.”

Right: the opposite is “at least one value fails”. Negating more than the claim allows can make an argument invalid.

Try the midpoint construction with a new boundary.

Why the square root of two is irrational

To rule out every fraction at once, suppose the exact square root has a fraction in lowest terms. The contradiction will be that this supposedly reduced fraction still has a common factor.

First justify the parity step. If an integer a=2k+1a=2k+1 is odd, then

a2=4k2+4k+1=2(2k2+2k)+1a^2=4k^2+4k+1=2(2k^2+2k)+1

is odd. Since every integer is even or odd, an even square must therefore come from an even integer.

Coprime integers

Two integers are coprime when their only common positive divisor is 11. A fraction in lowest terms has a coprime numerator and denominator. For example, 3/43/4 is reduced; 2/42/4 is not. Every rational number can be reduced to lowest terms.

The positive root 2\sqrt{2} has square 22. No further surd manipulation is needed for its proof.

Worked example 3: the irrationality of the square root of two

Question. Prove by contradiction that 2\sqrt{2} is irrational.

Plan. Assume a reduced rational representation, square it and use parity to force a common factor.

Suppose 2=a/b\sqrt{2}=a/b, where a,ba,b are coprime positive integers. Then

a2=2b2square and multiply by b2a=2k(k∈Z)an even square gives even a4k2=2b2substitute a=2kb2=2k2divide by 2\begin{aligned} a^2&=2b^2 && \text{square and multiply by }b^2 \\ a&=2k\quad(k\in\mathbb Z) && \text{an even square gives even }a \\ 4k^2&=2b^2 && \text{substitute }a=2k \\ b^2&=2k^2 && \text{divide by }2 \end{aligned}

Thus bb is even as well. Both aa and bb have the common factor 22.

Why this step? The lowest-terms assumption makes the common factor impossible, so it contradicts the starting representation.

Answer. The assumed rational representation cannot exist. Hence 2\sqrt{2} is irrational.

Check. The argument uses exact equalities and arbitrary integers; it does not rely on the number of decimal places displayed.

Example 4 changes only the multiplier of the established irrational number. You can now use the result rather than repeat the parity proof.

Worked example 4: a nonzero rational multiple

Question. Prove by contradiction that 323\sqrt{2} is irrational.

Plan. Assume the product is rational, then divide by its nonzero rational multiplier.

Suppose t=32t=3\sqrt{2} is rational. Write t=a/bt=a/b, with integers a,ba,b and b≠0b\ne0. Then

2=t3divide by nonzero 3=a3bsubstitute the rational form\begin{aligned} \sqrt{2}&=\frac t3 && \text{divide by nonzero }3 \\ &=\frac a{3b} && \text{substitute the rational form} \end{aligned}

The last expression is rational: a,3ba,3b are integers and 3b≠03b\ne0. This contradicts the irrationality just proved.

Why this step? Producing a rational representation of 2\sqrt{2} names an established fact that the assumption would violate.

Answer. 323\sqrt{2} is irrational.

Check. The coefficient must be nonzero: 02=00\sqrt{2}=0 is rational, so the same reasoning could not divide by it.

This answers the opening question: a unit square's diagonal cannot be any ratio of integers, however large the denominator. The irrationality result and parity argument are not supplied on the formula sheet.

Watch out

Both numerator and denominator being even is a contradiction only if you chose the fraction in lowest terms. The fraction 2/42/4 has two even entries without any contradiction. Also, a2a^2 divisible by 44 need not make aa divisible by 44: 22=42^2=4, but 22 is not a multiple of 44.

Change the nonzero multiplier and identify the same precise conflict.

Why a finite prime list cannot be complete

Any finite list of primes can be beaten by constructing an integer with a prime divisor outside it. The constructed integer need not itself be prime.

For a striking example,

2×3×5×7×11×13+1=30031=59×5092\times3\times5\times7\times11\times13+1=30031=59\times509

The “multiply and add one” construction does not reliably produce a prime. It reliably prevents every listed prime from dividing the new integer.

You already know

If a positive integer dd divides two integers, it divides their difference. Every integer N>1N>1 has a prime divisor: its smallest divisor greater than 11 must be prime, or a smaller proper factor would also divide NN.

Begin with a short list so the construction is visible before making the list arbitrary.

Worked example 5: escaping a particular list

Question. Use the primes 2,3,52,3,5 to construct an integer having a prime divisor outside this list.

Plan. Multiply the listed primes and add 11, then compare the new integer with the product.

P=2×3×5=30multiply the listN=P+1=31add 1N−P=1compare the two integers\begin{aligned} P&=2\times3\times5=30 && \text{multiply the list} \\ N&=P+1=31 && \text{add }1 \\ N-P&=1 && \text{compare the two integers} \end{aligned}

Each listed prime divides PP. If it also divided NN, it would divide 11, which is impossible.

Why this step? The difference excludes every listed prime, even without deciding whether NN itself is prime.

Answer. N=31>1N=31>1 has a prime divisor, and that divisor is not 2,32,3 or 55.

Check. Here 3131 is itself prime: none of 2,3,52,3,5, the primes at most 31\sqrt{31}, divides it.

Example 6 changes only the size of the list: instead of three named primes, allow an arbitrary finite list that is claimed to contain every prime.

Worked example 6: infinitely many primes

Question. Prove by contradiction that there are infinitely many primes.

Plan. Assume a complete finite list and apply the same construction to force a missing prime divisor.

Suppose all primes are p1,p2,…,pkp_1,p_2,\ldots,p_k. The list is nonempty because 22 is prime. Put

P=p1p2⋯pk,N=P+1>1P=p_1p_2\cdots p_k,\qquad N=P+1>1

For any listed pip_i,

pi divides Pit is a factorN−P=1definition of N\begin{aligned} p_i&\text{ divides }P && \text{it is a factor} \\ N-P&=1 && \text{definition of }N \end{aligned}

Thus pip_i cannot divide NN: otherwise it divides 11. But N>1N>1 has a prime divisor qq, so qq is absent from the supposedly complete list.

Why this step? Prime-divisor existence works whether NN is prime or composite; claiming NN prime would leave a gap.

Answer. A complete finite list would omit a prime, a contradiction. Therefore there are infinitely many primes.

Check. The earlier value 3003130031 is composite, but its prime divisors 5959 and 509509 are both outside its construction list, exactly as required.

The proof is not a formula-sheet result. Its reusable idea is to construct something the assumption says cannot exist.

Watch out

Wrong: “The product of the listed primes plus 11 is prime.”

Right: it has a prime divisor outside the list. That weaker, justified statement is enough for the contradiction.

Use a different finite list; it need not contain consecutive primes for the construction to work.

Using rational-number assumptions

A contradiction often appears after a simple rearrangement: an alleged rational value would make a known irrational number rational.

The engine is closure under subtraction. If r=a/br=a/b and t=c/dt=c/d, with integer entries and b,d≠0b,d\ne0, then

t−r=bc−adbdt-r=\frac{bc-ad}{bd}

is rational because its numerator and nonzero denominator are integers. That explanation is what “rational numbers are closed under subtraction” means.

Subtracting rational numbers

For integers a,b,c,da,b,c,d, with b,d≠0b,d\ne0,

cd−ab=bc−adbd∈Q\frac cd-\frac ab=\frac{bc-ad}{bd}\in\mathbb Q

Not in the formula sheet: learn it.

Consequently, if rr is rational and ss is irrational, their sum is irrational. If instead r+s=tr+s=t were rational, then s=t−rs=t-r would be rational, contradicting the hypothesis about ss. Here are two concrete uses of that general argument.

Worked example 7: adding a rational number

Question. Prove that 3+23+\sqrt{2} is irrational.

Plan. Assume the sum rational and isolate 2\sqrt{2} by subtracting 33.

Suppose t=3+2t=3+\sqrt{2} is rational. Then

2=t−3rearranget−3∈Qsubtract rational numbers\begin{aligned} \sqrt{2}&=t-3 && \text{rearrange} \\ t-3&\in\mathbb Q && \text{subtract rational numbers} \end{aligned}

This would make 2\sqrt{2} rational, contrary to the established result.

Why this step? Isolating the known irrational number exposes the exact conflict.

Answer. 3+23+\sqrt{2} is irrational.

Check. Reversing the rearrangement recovers t=3+2t=3+\sqrt{2}; no division or extra domain assumption was introduced.

Example 8 changes only the sign of the irrational term. Follow the rearrangement carefully rather than changing a sign by memory.

Worked example 8: subtracting an irrational number

Question. Prove that 3−23-\sqrt{2} is irrational.

Plan. Assume a rational value and move the square-root term to the other side.

Suppose t=3−2t=3-\sqrt{2} is rational. Then

2=3−trearrange3−t∈Qrational subtraction\begin{aligned} \sqrt{2}&=3-t && \text{rearrange} \\ 3-t&\in\mathbb Q && \text{rational subtraction} \end{aligned}

This contradicts the irrationality of 2\sqrt{2}.

Why this step? The rationality of a difference is independent of which rational number is written first.

Answer. 3−23-\sqrt{2} is irrational.

Check. Substituting t=3−2t=3-\sqrt{2} into 3−t3-t gives 2\sqrt{2}, confirming the sign.

The hypotheses matter: two irrational numbers can sum to a rational number, as 2+(−2)=0\sqrt{2}+(-\sqrt{2})=0 shows. You cannot use rational closure on inputs you have not established as rational.

Exam tip

Finish by naming the incompatible statements: the rearrangement makes 2\sqrt{2} rational, while its irrationality has been established. “Contradiction” alone does not explain the conflict.

Keep the sign and change the rational constant.

Quick Recap

  • Negate the claim accurately, then keep all its domain conditions.
  • The 2\sqrt{2} proof contradicts a lowest-terms fraction by forcing both entries even.
  • A product of listed primes plus 11 has a new prime divisor, even when it is composite.
  • Rational closure can turn a rearranged assumption into a precise irrationality contradiction.

The unit square's diagonal is 2\sqrt{2}, and no exact fraction represents it. The parity contradiction rules out every denominator at once.