# Five Proofs of the Irrationality of Root 5

Recently I’ve had the pleasure of teaching a series of Math and Dinner workshops for the New York Math Circle. The series was on the unique factorization of the integers, aka “the fundamental theorem of arithmetic.” I opened the first session with a problem set intended to get the participants (mostly math teachers) to see how heavily their knowledge about numbers depends on this theorem. One of the problems was to prove the irrationality of root 5. The problem served its purpose during the workshop; participants came up with one proof dependent on unique factorization, and I showed them another as well. But to my surprise, when we went to dinner after the workshop was over, participants showed me three more proofs. Two of them were totally independent of unique factorization. The third involved it, but not in any way I would have expected.

The experience was just a mathematical delight – and I’ll share the proofs in a moment – but it got me thinking about teaching too (doesn’t everything?). I’ve repeatedly made the case (along, I suppose, with NCTM and everyone else) that proof needs to be a much more central part of math education than it is, at every level. This is just an elaboration on that theme. How powerful and illuminating it is to see, and consider simultaneously, multiple proofs of the same result; how each proof shines light on the result from a different angle; how different proofs of the same result may generalize differently and show that several large principles might be at play in one tiny case. How in school I’ve rarely given students two different arguments for a major result, and never asked them to compare the arguments to each other. What a missed opportunity that is.

The closest I came was that when I used to teach Algebra I, I would make three different cases that $a^0$ should be defined as 1: to fit the pattern of multiplication and division; to fit the equations we derived for exponential growth; and because an empty product ought to be the identity since multiplication by it ought to have no effect. However, I never asked kids to entertain the three arguments simultaneously, or to ask if they shed different light on the conclusion, or if they generalized in different ways.

Proof number one: the Euclid-esque one

This is the proof given by a participant in answer to the problem I posed.

If root 5 were rational it could be written as a fraction $a/b$ in lowest terms, i.e. in which $a$ and $b$ are integers and do not have a common factor other than 1. Then it would be so that

$\left(\frac{a}{b}\right)^2 = 5$
and thus that

$\frac{a^2}{b^2} = 5$

i.e.

$a^2 = 5b^2$

This would imply that $a^2$ is a multiple of 5. Since 5 is prime, this implies $a$ is a multiple of 5. Thus $a = 5c$ for some integer $c$, and

$5b^2 = a^2 = 25c^2$

Dividing by 5, this means

$b^2 = 5c^2$

So $b^2$ is a multiple of 5, and, just as it did for $a$, this means $b$ is a multiple of 5. But $a$ and $b$ were presumed to lack a common factor other than 1, so this is a contradiction, and the fraction $a/b$ for $\sqrt{5}$ must fail to exist.

The covert reliance on unique prime factorization came out when I pushed the participants to justify the step “if $a^2$ is a multiple of 5, so is $a$” and they told me it was because $a^2$‘s prime factors are exactly $a$‘s duplicated; thus if 5 is not among $a$‘s prime factors it cannot be among $a^2$‘s. This reliance can be removed from the proof by finding another way to argue this point, but this is how the participants did it.

Proof number two: straight from unique factorization

Once we saw the secret reliance on unique factorization in the above proof, I offered this simpler proof (lifted more or less verbatim from Hardy and Wright’s compendiously awesome An Introduction to the Theory of Numbers):

if $a/b$ is the square root of 5, then $a^2/b^2$ is 5. If $a$ and $b$ are integers, then you can prime factorize the numerator and denominator of this fraction. The whole denominator needs to cancel because the quotient is an integer. Thus all $b^2$‘s prime factors are found among $a^2$‘s. But prime factorizations for $a^2$ and $b^2$ contain exactly the same primes as the prime factorizations of $a$ and $b$ (only twice as many of each prime). So all $b$‘s prime factors are found among $a$‘s, and $a/b$ is an integer. This is a contradiction since 5 is not the square of an integer. This proof generalizes in a natural way to show that it is not possible for any integer that is not a square to have a rational square root.

That’s as much as happened during the workshop. Everything worked perfectly in terms of my pedagogical intention to have the participants recognize how much they needed unique factorization to know what they know about numbers. This turns out to have been sheer luck. At dinner afterwards…

Proof number three: less than

This one was shown to me by Japheth Wood, a math professor at Bard College, who helped to organize the series.

Suppose $a/b$ is the positive square root of 5 and as in proof 1 suppose $a$ and $b$ are positive integers and the fraction is in lowest terms. This means $b$ is the smallest possible denominator for a fraction equal to root 5.

Now, 5 is between 4 and 9 which means that $a/b$ is between 2 and 3. Multiplying by $b$ we find that $a$ is between $2b$ and $3b$, and subtracting $2b$ we find that $a-2b$ is between 0 and $b$. In other words, $a-2b$ is a positive integer less than b.

You may be able to see where this is headed. The assumption that $a/b$ is a square root of 5 is going to lead to a representation of root 5 as a fraction with $a-2b$ in the denominator, which is impossible because $a/b$ was assumed to be in lowest terms, so that $b$ was the lowest possible denominator. How this happens is just some algebraic tricksiness:

$\sqrt{5}=\frac{a}{b}=\frac{(a/b)(a/b-2)}{a/b-2}$

This last expression was gotten by multiplying $a/b$ by 1 in the form of $(a/b-2)/(a/b-2)$. But

$\frac{(a/b)(a/b-2)}{a/b-2} = \frac{(a/b)^2 - 2(a/b)}{a/b-2} = \frac{5-2(a/b)}{a/b-2}$

since $(a/b)^2$ is 5, that’s the whole point of a square root. And now we can multiply numerator and denominator by $b$ to find

$\frac{5-2(a/b)}{a/b-2} = \frac{5b-2a}{a-2b}$

and poof! All this was equal to root 5; but now we have represented root 5 as a fraction with a denominator lower than the lowest possible denominator for such a fraction. This is a contradiction so our representation as a fraction in the first place was impossible.

Proof number four: way less than

This one was passed on to me from a participant named Barry. (Don’t know the last name. Barry if you happen to read this, claim your credit!)

$\sqrt{5}-2$ is a positive real number between 0 and 1. Now, consider what happens when you raise it to powers.

On the one hand, since it is positive and less than 1, it will get arbitrarily small. (I.e. given any positive number, if you raise $\sqrt{5}-2$ to a high enough power, it will be less than that number.)

But also, it will have the form (integer) + (integer)*$\sqrt{5}$.
For example:

$\left(\sqrt{5}-2\right)^2 = 5 - 2\cdot 2\cdot\sqrt{5} + 4 = 9-4\sqrt{5}$

Or,

$\left(\sqrt{5}-2\right)^3 = \left(\sqrt{5}-2\right)\left(9-4\sqrt{5}\right)$

$= 9\sqrt{5} - 18 - 20 + 8\sqrt{5} = -38+17\sqrt{5}$

This is happening because every pair of $\sqrt{5}$‘s in the product make an integer. Thus, $\sqrt{5}-2$ to any power must have the form $m + n\sqrt{5}$, where $m$ and $n$ are integers.

All this is actually true about the square root of 5.

Now suppose root 5 could be written as a fraction $a/b$ with $a$ and $b$ integers. (This time we don’t have to assume lowest terms!) Then any power of $\sqrt{5}-2$ would have the form $m + n\frac{a}{b} = \frac{mb+na}{b}$.

The numerator of this fraction is an integer. The denominator is $b$. This means the smallest positive number it can be is $1/b$ (or, if for some crazy reason you decided to use a negative $b$, then $-1/b$). Thus $\sqrt{5}-2$ to any power would be greater than or equal to $1/b$. But we already know it is capable of getting arbitrarily small by taking a high enough power, since $\sqrt{5}-2$ is positive and less than 1. This contradiction proves that the square root of 5 can’t be a fraction.

Proof number five: unique factorization bonanza

This proof was relayed to me by Ted Diament. It’s more technical than the others; sorry about that. It’s using equipment much more powerful than is needed for the task. It is extremely cute though.

This one relies extra much on unique factorization. In fact, not only unique factorization of the integers, but unique factorization of the set of integer polynomials! Like integers, integer polynomials have factorizations into prime (irreducible) polynomials that are unique except for sign. (This fact follows from Gauss’ Lemma.) For example,

$6x^2 - 18x+12$

factors into

$(2)(3)(x-1)(x-2)$

with each factor irreducible in the sense that it can’t be factored further (except in pointless ways like $3=-1\cdot-3$). This factorization is unique in the sense that if you try to factor the original polynomial a different way, you will end up with the same set of factors, except possibly for some pairs of negative signs.

Anyway. Suppose root 5 were rational and equal to a fraction $a/b$ in lowest terms. Then $a^2$ would equal $5b^2$, and so the integer polynomial

$b^2x^2 - a^2$

would equal

$b^2x^2 - 5b^2$

Now the first of these factors into

$(bx+a)(bx-a)$

while the second one factors into

$b^2(x^2-5)$

But since they are equal, this violates the unique factorization of integer polynomials. Things would be fine if we could keep factoring both sides till they were identical (up to sign), but this isn’t possible: since $a/b$ was in lowest terms, $a$ and $b$ lack a common factor, so that $ax-b$ and $ax+b$ are irreducible. Also, $x^2 - 5$ is clearly irreducible since 5 is not an integer square. So the two factorizations are irrevocably distinct. Since integer polynomials only factor one way (up to sign), it must be that root 5 wasn’t rational after all.

I hope you enjoyed these. When they were shown to me I was just delighted by how different they all feel. I’d never seen anything except the first two, which feel very number-theory-ish to me. The last two feel much more algebraish. Proof number four even has a whiff of calculus what with all that “arbitrarily small” business. And all that is going on in the single fact of root 5’s irrationality!

Since for some reason this post continues to get a fair amount of traffic, I’ve got one more to add! This one occurred to me the other day as a purely algebraic reformulation of proof number four above (“way less than”). It’s higher-tech than any of the above, so apologies for that. I am adding this note in a hurry so I am not going to try to gloss the advanced concepts, so apologies for that too.

The ring $\mathbb{Z}[\sqrt{5}]$ is a finitely generated module over $\mathbb{Z}$. In fact, it is generated by $1$ and $\sqrt{5}$. This is just another way of saying that everything that can be produced from integers and $\sqrt{5}$ out of $+,-,\times$ has the form $a+b\sqrt{5}$ with $a,b$ integers. This is a slight generalization of what was noted above in proof 4.

Meanwhile, if $a$ is any rational number that is not an integer, the ring $\mathbb{Z}[a]$ can never be finitely generated as a $\mathbb{Z}$-module, because it contains arbitrarily large denominators since $a$ has some nontrivial denominator and $\mathbb{Z}[a]$ contains all $a$‘s powers. Again, this is essentially what was noted in proof 4. Putting these two paragraphs together, it follows that $\sqrt{5}$ can’t be rational.

Ultimately the reason $\mathbb{Z}[\sqrt{5}]$ is finitely generated as a $\mathbb{Z}$-module is that $\sqrt{5}$ is an algebraic integer; thus this argument shows that an algebraic integer can never be rational unless it is an actual ordinary integer.

## 12 thoughts on “Five Proofs of the Irrationality of Root 5”

1. >proof needs to be a much more central part of math education than it is, at every level.

Ben, can you talk about what you see that looking like with young kids? If it’s just discussions about how they know something, I’m with you. More formal proof … I don’t know.

1. More proof! Less formalism! (Sh*t, I sound exactly like NCTM. I hate doing that.)

My ideal:

From kindergarden on, nothing should ever happen without “why do you think so?” If the class isn’t satisfied that they have a convincing reason to believe something, we shouldn’t be moving on.

The flipside is that if the class is satisfied, then that needs to be good enough. The teacher should treat an engaged, authentic consensus of the class as the standard of rigor. Any necessary making-precise of the language or cleaning-up of the argument will probably be automatic in order for kids to understand and be convinced by each other. The teacher should not impose an external standard of rigor that is alien to the kids’ developmental process.

On the other hand, kids will need to be pushed to develop more rigor over time. This should not happen via the teacher simply insisting on a standard the kids haven’t yet owned. Instead, to push kids to develop more rigor, what they need is to be presented with situations and problems that throw doubt on their formerly satisfying reasoning. For example, if a class starts to treat 5 successful examples as a convincing argument for a general pattern, they need to be given problems where a pattern holds 5 times and then breaks. This is what my call for pattern-breaking problems was all about (thanks for your help with that btw): developing the need for rigor in an authentic way. In other words, the kids need to be given things to think about that unsettle them and dissatisfy them and eventually make them insist on a higher level of rigor from their classmates in order to be satisfied. Rigor needs to be needed in order to grow. It can’t just be insisted upon.

2. billcc1988 says:

3. Santiago says:

I found a proof for root(2) in another blog (also applies here), which I find very original:
If 2√ were rational, we could write it as a fraction a/b in lowest terms. Then
a^2=2b^2.
Look at the last digit of a^2. It has to be 0, 1, 4, 5, 6 or 9. Now look at the last digit of 2b^2. It has to be 0, 2 or 8. As a^2 and 2b^2 are the same number, its last digit must be 0. But that’s only possible if a ends in 0 and b ends in 0 or 5. Either way both a and b are multiples of 5 contradicting a/b being in lowest terms.

1. pj says:

That’s a nice proof. Works also for square roots of five, or seven, or three. 🙂

4. I am getting ready to do an activity in grade 7 to teach students about perfect squares and square roots by constructing various squares using blocks or cheez-its…..I want them to eventually observe the pattern of perfect squares and also estimate irrational numbers……What if a student asks for proof that root 5 is necessarily irrational? How would you approach this in grade 7?

1. If they believe unique factorization, you could use #2 above. If you want to take the time to convince them that $a^2$ can’t be a multiple of 5 without $a$ being a multiple of 5, you can try #1 above. A variant of the last-digit argument in Santiago’s comment above could also be convincing to 7th graders.