Proofs of irrationality

Every rational number can be written as a fraction pq\dfrac{p}{q} in lowest terms. So how do we ever prove that a number like 2\sqrt2 can never be written that way — not just that nobody has found the fraction yet, but that no such fraction can possibly exist? Checking decimals is hopeless: 2=1.41421356…\sqrt2 = 1.41421356\ldots never seems to repeat, but no amount of checking digits proves it never will. The way around this is proof by contradiction: assume 2\sqrt2 is rational, follow the logic wherever it leads, and show it collides with something impossible. This article works through the full contradiction proofs for 2\sqrt2, 3\sqrt3 and 5\sqrt5, the three cases prescribed for ICSE Class 9, and the one prime-factor fact that powers all three.

The core insight

Assuming k\sqrt{k} (for prime kk) is a fraction p/qp/q in lowest terms forces both pp and qq to share the factor kk, contradicting "lowest terms" and proving k\sqrt{k} is irrational.

The core idea

Proof by contradiction assumes the opposite of the statement you want to prove, then shows that assumption leads to something logically impossible. Since the assumption cannot be true, the original statement must be true instead. Here the statement is "2\sqrt2 is irrational," so we assume "2\sqrt2 is rational" and hunt for a contradiction. A rational number can always be written as pq\dfrac{p}{q} in lowest terms — meaning pp and qq share no common factor other than 11 (they are coprime). Any fraction can be reduced to lowest terms by cancelling common factors, so assuming lowest terms costs nothing and is always available to us.

k=pq,gcd⁡(p,q)=1\sqrt{k} = \frac{p}{q}, \qquad \gcd(p, q) = 1

where: kk is the prime whose square root we are testing (22, 33, or 55 here), pp and qq are integers with q≠0q \neq 0, and gcd⁡(p,q)=1\gcd(p, q) = 1 records that they share no common factor. The entire argument then rests on one algebraic fact about primes:

if a prime k divides n2, then k divides n.\text{if a prime } k \text{ divides } n^2, \text{ then } k \text{ divides } n.

where: nn stands for whichever integer (pp or qq) we are testing at that step. This holds because the prime factors of n2n^2 are exactly the prime factors of nn, each repeated twice. If kk divides n2n^2, kk must be one of those repeated primes, so it already divides nn itself — it cannot appear in n2n^2 "by accident" from unrelated factors.

Figure
A flow diagram showing the contradiction proof structure assume p over q in lowest terms leads to p squared equals k q squared leads to k divides p leads to substitute p equals k m leads to k divides q too leads to contradiction since p and q were coprime
The shape of the contradiction assume sqrt k = p/q gcd(p,q) = 1 square: p squared = k q squared k divides p squared so k divides p write p = k m, substitute back k also divides q so p, q share factor k contradicts gcd(p,q) = 1 so sqrt k is irrational

Derivation

Derivation AProving that the square root of 2 is irrational using proof by contradiction and the coprimality of p and q

The goal is to show, using only the definition of a rational number and one fact about primes, that 2\sqrt2 cannot be written as any fraction pq\dfrac{p}{q} of integers, however large — starting from the assumption that it can be, and squeezing that assumption until it breaks.

Step 1. Assume the opposite of what we want to prove: that 2\sqrt2 is rational. Then it can be written as 2=pq\sqrt2 = \dfrac{p}{q}, where pp and qq are integers with no common factor other than 11 (lowest terms) and q≠0q \neq 0. This coprimality is the whole engine of the proof — without it there is nothing to contradict later.

Step 2. Square both sides to clear the root: 2=p2q22 = \dfrac{p^2}{q^2}, so p2=2q2p^2 = 2q^2. Call this equation (1). The right-hand side is 22 times an integer, so p2p^2 is even.

Step 3. Since p2p^2 is even, pp itself must be even (an odd number squared is always odd, so an even square forces an even root). Write p=2mp = 2m for some integer mm. Substitute into equation (1): (2m)2=2q2(2m)^2 = 2q^2, so 4m2=2q24m^2 = 2q^2, which simplifies to q2=2m2q^2 = 2m^2. Call this equation (2).

Step 4. Equation (2) shows q2q^2 is even, so by the same reasoning qq must also be even. But now both pp and qq are even, so they share the common factor 22 — directly contradicting the lowest-terms assumption in Step 1 that pp and qq have no common factor other than 11.

Step 5. Since assuming 2\sqrt2 is rational leads to a logical impossibility, the assumption must be false. Therefore 2\sqrt2 cannot be written as pq\dfrac{p}{q} for any integers p,qp, q: 2\sqrt2 is irrational. ■\blacksquare

Worked example

Prove that 5\sqrt5 is irrational, then extend the same pattern to 3\sqrt3.

Step 1. Assume, to the contrary, that 5\sqrt5 is rational, so 5=pq\sqrt5 = \dfrac{p}{q} where p,qp, q are integers with no common factor other than 11, and q≠0q \neq 0.

Step 2. Squaring both sides gives 5=p2q25 = \dfrac{p^2}{q^2}, so p2=5q2p^2 = 5q^2 ...(1). Since 55 divides the right side, 55 divides p2p^2, and because 55 is prime, 55 must also divide pp. Write p=5mp = 5m.

Step 3. Substituting into (1): (5m)2=5q2(5m)^2 = 5q^2, so 25m2=5q225m^2 = 5q^2, which gives q2=5m2q^2 = 5m^2 ...(2). So 55 divides q2q^2, and hence 55 divides qq as well.

Step 4. Now both pp and qq are divisible by 55, contradicting the lowest-terms assumption. So the assumption is false, and 5\sqrt5 is irrational. ■\blacksquare

Competitive stretch

The proof for 3\sqrt3 is the identical pattern with k=3k = 3: assume 3=pq\sqrt3 = \dfrac{p}{q} in lowest terms, square to get p2=3q2p^2 = 3q^2, use "33 prime divides p2p^2 so 33 divides pp" to write p=3mp = 3m, substitute to get q2=3m2q^2 = 3m^2, conclude 33 divides qq too — and the shared factor 33 contradicts coprimality. Any prime kk works by this template; composite numbers like 44 or 99 do not need the argument at all, since 4=2\sqrt4 = 2 and 9=3\sqrt9 = 3 are already rational.

Common traps

  • Skipping the opening line "let p,qp, q have no common factor other than 11" — without stating coprimality up front, there is nothing left to contradict at the end, and the proof loses its logical structure.
  • Asserting "p2p^2 is even, so pp is even" without justification — this relies on the fact that an odd number squared is always odd, and examiners expect that reasoning stated, not assumed.
  • Losing track of which variable is shown divisible at each stage — always substitute the newly found factor back into the first squared equation to derive the matching conclusion for the other variable.
  • Trying to "prove" irrationality by checking a few decimal digits of 2\sqrt2 or 5\sqrt5 — no amount of decimal-checking can ever prove a number never repeats; only the algebraic contradiction argument does.

Ask the tutor: If you want to see the full step-by-step contradiction proof written out for 7\sqrt7 or 11\sqrt{11} using this same template, ask your AI tutor to work through it with you line by line.

Why does the proof assume p and q are coprime instead of just any two integers?

Any rational number, however it is first written, can be reduced to lowest terms by cancelling common factors — so assuming coprimality loses no generality at all; it just picks the simplest representative fraction. The whole point of the proof is to show that this simplest possible fraction still cannot exist. If we skipped coprimality, the algebra would still show pp and qq are both even (or both divisible by 55 or 33), but that alone would not be a contradiction of anything we had assumed, so the proof would go nowhere.

Does this method prove that every square root is irrational?

No — only square roots of numbers that are not perfect squares. If kk itself is a perfect square, like 44, 99, or 2525, then k\sqrt{k} is a whole number and therefore rational, so there is nothing to prove. The proof by contradiction specifically needs kk to be prime (or, more generally, not a perfect square) so that the divisibility argument "kk divides n2n^2 implies kk divides nn" bites cleanly. For ICSE Class 9, only 2\sqrt2, 3\sqrt3 and 5\sqrt5 are examined, but the same template extends to any prime, such as 7\sqrt7 or 11\sqrt{11}.

Is there a shorter way to write this proof in an exam, or must every step be shown?

Every step should be shown — this is a reasoning proof, and examiners award marks for each logical link, not just the final conclusion. The minimum expected structure is: state the assumption with coprimality, square to get p2=kq2p^2 = kq^2, argue kk divides pp, substitute p=kmp = km and simplify, argue kk divides qq, and state the contradiction with coprimality explicitly. Skipping the "why pp must be even/divisible by kk" justification, even though it feels obvious, is the single most common way marks are lost.

Before this

Where this leads