Revisiting irrational numbers

Every student meets 2\sqrt{2} early and is simply told it is irrational. Class 10 asks for more: a rigorous proof, built from a single fact about primes that follows from the Fundamental Theorem of Arithmetic — every prime that divides a square number must already divide its square root. This one fact, used inside a proof by contradiction, cracks open 2\sqrt{2}, 3\sqrt{3}, 5\sqrt{5}, and any number of the form p+qp+\sqrt{q}. This chapter sits inside Real Numbers, right after prime factorisation, HCF and LCM, and it is one of the few places in the whole Class 10 syllabus where a complete formal proof — not just a formula — is examinable. Board papers expect the proof reproduced without a missing step, and the same contradiction machinery reused on new numbers.

The core insight

If n\sqrt{n} (n prime) were rational as ab\frac{a}{b} in lowest terms, then nn would divide both aa and bb, contradicting that they are coprime — so n\sqrt{n} must be irrational, and the same trick shows p+qp+\sqrt{q} is irrational too.

The core idea

A rational number can be written pq\dfrac{p}{q} with p,qp, q integers, q≠0q \ne 0, and p,qp, q sharing no common factor other than 11 — the fraction is in lowest terms. An irrational number cannot be written this way; its decimal expansion never terminates and never repeats. Deciding which camp a number falls into is exactly what these proofs settle. The whole method rests on one lemma drawn from the Fundamental Theorem of Arithmetic, which says every integer greater than 11 has a unique prime factorisation:

If p is prime and p∣a2, then p∣a.(1)\text{If } p \text{ is prime and } p \mid a^2, \text{ then } p \mid a. \qquad (1)

where: pp is a prime number, aa is a positive integer, and p∣a2p \mid a^2 means "pp divides a2a^2." This holds because the prime factorisation of a2a^2 is just that of aa with every exponent doubled — so if pp shows up in a2a^2, it was already sitting inside aa's own factorisation.

Why proof by contradiction fits here. There is no direct formula that outputs "irrational" — you cannot compute your way to it. So the strategy is to assume the opposite (that the number is rational, hence expressible as a fraction in lowest terms), then force that assumption to violate its own setup. The contradiction that appears is always the same shape: a prime that was supposed to be absent from both numerator and denominator turns out to divide both.

Figure
A flow diagram of the proof by contradiction strategy for square root of n irrational
Proof by contradiction — the shape every step follows Assume root n is rational a over b Square: a squared equals n b squared n divides a squared, so n divides a Substitute back, n divides b too Contradiction: n divides both a and b, but a and b were assumed coprime so root n is irrational

Extending to p+qp+\sqrt{q}. Once q\sqrt{q} is known to be irrational, a number like p+qp+\sqrt{q} (with pp rational and qq a positive integer that is not a perfect square) follows the same shape from the other direction: assume p+qp+\sqrt{q} is rational, rearrange to isolate q\sqrt{q}, and notice that a difference of two rationals is rational — forcing q\sqrt{q} to be rational too, which contradicts what was already proved.

Derivation AProving root n is irrational for a prime n

The goal is to show, for any prime number nn, that n\sqrt{n} cannot be written as a ratio of two coprime integers, using only the lemma that a prime dividing a square must divide the root, so that the same five-line argument later reproduces the standard board-exam proofs for 2\sqrt{2}, 3\sqrt{3} and 5\sqrt{5} without change beyond swapping the prime.

Step 1. Assume, for contradiction, that n\sqrt{n} is rational. Then it can be written n=ab\sqrt{n} = \dfrac{a}{b} where a,ba, b are coprime integers (no common factor other than 11) and b≠0b \ne 0. Stating coprimality explicitly here is essential — the whole contradiction later depends on it.

Step 2. Square both sides: n=a2b2n = \dfrac{a^2}{b^2}, so a2=nb2a^2 = nb^2. This means nn divides a2a^2. Since nn is prime, the lemma in equation (1) applies directly: nn divides aa.

Step 3. Because n∣an \mid a, write a=nca = nc for some integer cc. Substitute into a2=nb2a^2 = nb^2: (nc)2=nb2(nc)^2 = nb^2, so n2c2=nb2n^2c^2 = nb^2, giving b2=nc2b^2 = nc^2. This means nn divides b2b^2, and since nn is prime, nn divides bb as well.

Step 4. Now nn divides both aa and bb — but aa and bb were assumed coprime in Step 1. This is a direct contradiction, so the original assumption was false, and n\sqrt{n} is irrational for every prime nn. Check: setting n=2n=2 reproduces the familiar 2\sqrt{2} proof; setting n=5n=5 gives the worked example below — the argument never changes shape, only the prime being substituted.

Worked example

Prove that 5\sqrt{5} is irrational, then use it to prove 3+253+2\sqrt{5} is irrational.

Step 1. Suppose, for contradiction, 5\sqrt{5} is rational, so 5=ab\sqrt{5} = \dfrac{a}{b} with a,ba, b coprime integers and b≠0b \ne 0. Squaring, 5=a2b25 = \dfrac{a^2}{b^2}, so

a2=5b2.(2)a^2 = 5b^2. \qquad (2)

Step 2. Equation (2) says 55 divides a2a^2; since 55 is prime, 55 divides aa. Write a=5ca = 5c. Substituting into (2): (5c)2=5b2  ⟹  25c2=5b2  ⟹  b2=5c2(5c)^2 = 5b^2 \implies 25c^2 = 5b^2 \implies b^2 = 5c^2, so 55 divides b2b^2, and hence 55 divides bb too.

Step 3. Now 55 divides both aa and bb, contradicting the assumption that they are coprime. So 5\sqrt{5} is irrational.

Step 4. Now suppose, for contradiction, 3+253+2\sqrt{5} is rational: 3+25=pq3+2\sqrt{5} = \dfrac{p}{q} for integers p,qp, q, q≠0q \ne 0. Rearranging: 25=pq−3=p−3qq2\sqrt{5} = \dfrac{p}{q}-3 = \dfrac{p-3q}{q}, so 5=p−3q2q\sqrt{5} = \dfrac{p-3q}{2q}, a ratio of integers with 2q≠02q \ne 0 — meaning 5\sqrt{5} would be rational. This contradicts Step 3.

Therefore 3+253+2\sqrt{5} is irrational.

Competitive stretch

Prove 2+3\sqrt{2}+\sqrt{3} is irrational, given 6\sqrt{6} is irrational. Suppose it is rational, equal to rr. Squaring: 2+3+26=r22+3+2\sqrt{6} = r^2, so 6=r2−52\sqrt{6} = \dfrac{r^2-5}{2}, a ratio of a rational number over 22 — forcing 6\sqrt{6} rational, a contradiction. So 2+3\sqrt{2}+\sqrt{3} is irrational.

Common traps

  • Forgetting to state at the start that aa and bb are coprime — without that condition, "5 divides both" is not yet a contradiction.
  • Skipping the justification "5 is prime and 5∣a25 \mid a^2, so 5∣a5 \mid a" — this step is the lemma from equation (1) and must be written out, not assumed obvious.
  • For p+qp+\sqrt{q} problems, trying to attack the sum directly instead of rearranging to isolate q\sqrt{q} and reusing the already-proved irrationality of q\sqrt{q}.
  • Believing every square root is irrational: this is false for perfect squares, since 4=2\sqrt{4}=2 is rational. The proof only applies when nn is prime, or more generally not a perfect square.

Ask the tutor: Want to try proving 3\sqrt{3} or 2−72-\sqrt{7} is irrational and have your steps checked line by line?

Why does the proof only work for prime n, not any n?

The key lemma needs nn prime: "if n∣a2n \mid a^2 then n∣an \mid a" is only guaranteed true when nn is prime, because prime factorisation is unique and a prime factor of a2a^2 must trace back to a factor of aa. For a composite nn like 44, the implication can fail — indeed 4=2\sqrt{4}=2 is rational, so the whole claim would be false anyway. The method generalises to any nn that is not a perfect square, but the clean single-prime version is what Class 10 examines.

Do I have to memorise the proof for every prime separately?

No — memorise the five-step shape once (assume rational, square, show the prime divides aa, substitute, show it divides bb, contradiction), and it applies to 2\sqrt{2}, 3\sqrt{3}, 5\sqrt{5}, or any other prime just by swapping the symbol. Examiners often ask for a specific prime, so practise writing it fully for at least two or three, but the underlying logic never changes.

What if the question asks about p times root q instead of p plus root q?

Same contradiction strategy, different rearrangement. Assume pqp\sqrt{q} is rational, equal to rs\dfrac{r}{s} with p≠0p \ne 0 rational; then q=rsp\sqrt{q} = \dfrac{r}{sp}, again a ratio of rational quantities, forcing q\sqrt{q} rational — contradicting what you already proved about q\sqrt{q}. Always isolate the irrational piece on one side before concluding.

Before this

Where this leads