Chapter 4 ยท Rational and irrational numbers

Why the Square Root of 2 Is Irrational

Learn why no fraction of integers has a square of exactly two. The square root of two is irrational, so its decimal form neither stops nor repeats.

14 min read

You already know that the equation x2=2x^2 = 2 has two solutions, 2\sqrt{2} and โˆ’2-\sqrt{2}, because 22 is positive. The symbol 2\sqrt{2} names the positive one: the positive number whose square is exactly 22.

Some square roots are whole numbers, such as 4=2\sqrt{4} = 2. But 2\sqrt{2} is not. Among nonnegative numbers (zero and the positive numbers), a larger number has a larger square. Since 12=11^2 = 1 is less than 22 and 22=42^2 = 4 is more than 22, the number 2\sqrt{2} lies between 11 and 22.

So here is the question for this lesson: is there a fraction between 11 and 22 whose square is exactly 22?

To answer that question, you need two terms.

A rational number is a number that you can write as a fraction pq\frac{p}{q}, where pp and qq are integers (the numbers โ€ฆ,โˆ’2,โˆ’1,0,1,2,โ€ฆ\ldots, -2, -1, 0, 1, 2, \ldots) and qq is not zero. This lesson calls such a fraction a fraction of integers. In decimal form, every rational number either terminates (its digits stop) or repeats (one block of digits repeats forever).

An irrational number is a number on the number line that is not rational. No fraction of integers equals it, and its decimal form neither terminates nor repeats.

The table shows some rational numbers. Notice that 4=2=21\sqrt{4} = 2 = \frac{2}{1} is one of them.

Rational numbers. A bar marks the digits that repeat forever.
Fraction of integersDecimal formTerminates or repeats?
21\frac{2}{1}
22
Terminates
75\frac{7}{5}
1.41.4
Terminates
โˆ’52\frac{-5}{2}
โˆ’2.5-2.5
Terminates
13\frac{1}{3}
0.3โ€พ=0.333โ€ฆ0.\overline{3} = 0.333\ldots
Repeats: the 33 repeats forever
511\frac{5}{11}
0.45โ€พ=0.454545โ€ฆ0.\overline{45} = 0.454545\ldots
Repeats: the block 4545 repeats forever

Worked example

Test one fraction

Is the fraction 75\frac{7}{5} equal to 2\sqrt{2}?

  1. Decide what to check. The square root of 2 is the positive number whose square is 2. This fraction is positive, so it equals the square root of 2 exactly when its square equals 2.

    (75)2=?2\left(\frac{7}{5}\right)^2 \overset{?}{=} 2
  2. Square the fraction. To multiply two fractions, multiply the numerators together and multiply the denominators together.

    (75)2=75ร—75=7ร—75ร—5=4925\left(\frac{7}{5}\right)^2 = \frac{7}{5} \times \frac{7}{5} = \frac{7 \times 7}{5 \times 5} = \frac{49}{25}
  3. Write 2 as a fraction with the denominator 25 so that the two numbers are easy to compare. Multiplying the numerator and the denominator by the same nonzero number, 25, does not change the value.

    2=21=2ร—251ร—25=50252 = \frac{2}{1} = \frac{2 \times 25}{1 \times 25} = \frac{50}{25}
  4. Compare the numerators, because the denominators match. 49 is not 50, so the square of the fraction is not 2. It falls short of 2 by one twenty-fifth.

    4925โ‰ 5025\frac{49}{25} \neq \frac{50}{25}

Answer

No. 75\frac{7}{5} is not equal to 2\sqrt{2}, because its square is 4925\frac{49}{25}, which is 125\frac{1}{25} less than 22. The fraction is only close to 2\sqrt{2}.

Squaring worked as a test for 75\frac{7}{5}, and it works for any fraction. Let pp and qq be positive integers, and suppose pq=2\frac{p}{q} = \sqrt{2}.

  • Square both sides. Equal numbers have equal squares, squaring a fraction squares its numerator and its denominator, and (2)2=2(\sqrt{2})^2 = 2. So p2q2=2\frac{p^2}{q^2} = 2.
  • Multiply both sides by q2q^2. This keeps the two sides equal, and q2q^2 is a positive integer because qq is not zero. You get p2=2q2p^2 = 2q^2.

So pq\frac{p}{q} can equal 2\sqrt{2} only if p2=2q2p^2 = 2q^2: the square of the numerator must be exactly double the square of the denominator. Call this the integer test. For 75\frac{7}{5}, it asks whether 4949 equals 5050.

You cannot test every fraction one at a time, because there are infinitely many. You need a reason that covers them all. Even and odd numbers give you one.

An even integer is 22 times an integer, such as 12=2ร—612 = 2 \times 6. An odd integer is 11 more than an even integer, such as 17=16+117 = 16 + 1. No integer is both, so an odd number is never equal to an even number.

Here is the fact you need: an odd integer always has an odd square. To see why, multiply two odd integers and write the first one as an even number plus 11. Multiply each part of that sum by the second odd integer:

(even+1)ร—odd=(evenร—odd)+odd(\text{even} + 1) \times \text{odd} = (\text{even} \times \text{odd}) + \text{odd}.

The first part is even, because an even number times an integer is still 22 times an integer. An even number plus an odd number is odd. So an odd integer times an odd integer is odd. For example, 32=93^2 = 9, 52=255^2 = 25 and 72=497^2 = 49 are all odd.

Worked example

A fraction with an odd numerator

The fraction 1712\frac{17}{12} is close to 2\sqrt{2}. Can it be exactly equal to 2\sqrt{2}?

  1. Use the integer test. The numerator 17 and the denominator 12 are positive integers, so the fraction can equal the square root of 2 only if the square of 17 is exactly double the square of 12.

    172=?2ร—12217^2 \overset{?}{=} 2 \times 12^2
  2. Look at the left side. 17 is odd, and an odd integer always has an odd square, so the left side is odd.

    172=17ร—17isย odd17^2 = 17 \times 17 \quad \text{is odd}
  3. Look at the right side. It is 2 times an integer, so it is even.

    2ร—122isย even2 \times 12^2 \quad \text{is even}
  4. Compare. An odd number is never equal to an even number, so the two sides cannot be equal. Working out both sides confirms it: one is 289 and the other is 288.

    172=289and2ร—122=2ร—144=28817^2 = 289 \quad \text{and} \quad 2 \times 12^2 = 2 \times 144 = 288

Answer

No. 1712\frac{17}{12} is not equal to 2\sqrt{2}, because 17217^2 is odd and 2ร—1222 \times 12^2 is even. The same reasoning rules out every fraction of positive integers with an odd numerator.

Worked example

An even numerator and an odd denominator

Can the fraction 107\frac{10}{7} be exactly equal to 2\sqrt{2}?

  1. Use the integer test again. The numerator 10 and the denominator 7 are positive integers, so the fraction can equal the square root of 2 only if the square of 10 is exactly double the square of 7.

    102=?2ร—7210^2 \overset{?}{=} 2 \times 7^2
  2. Look at the left side. 10 is even, so write it as 2 times 5. Multiplication can be done in any order, so put the two 2s together. The square is then 4 times an integer, and a number like that is called a multiple of 4.

    102=(2ร—5)ร—(2ร—5)=(2ร—2)ร—(5ร—5)=4ร—25=10010^2 = (2 \times 5) \times (2 \times 5) = (2 \times 2) \times (5 \times 5) = 4 \times 25 = 100
  3. Look at the right side. 7 is odd, so its square, 49, is odd. Twice an odd number is never a multiple of 4: if it were, half of it would be even, but half of it is the odd number. Dividing 98 by 4 confirms this, because it leaves a remainder of 2.

    2ร—72=2ร—49=98=4ร—24+22 \times 7^2 = 2 \times 49 = 98 = 4 \times 24 + 2
  4. Compare. A multiple of 4 is never equal to a number that is not a multiple of 4, so the two sides cannot be equal.

    100โ‰ 98100 \neq 98

Answer

No. 107\frac{10}{7} is not equal to 2\sqrt{2}, because 102=10010^2 = 100 is a multiple of 44 and 2ร—72=982 \times 7^2 = 98 is not. The same reasoning rules out every fraction of positive integers with an even numerator and an odd denominator.

Every fraction p/q of positive integers is one of these three kinds
Kind of fractionWhat you findExample
pp is odd
p2p^2 is odd, but 2q22q^2 is even. They cannot be equal.
1712\frac{17}{12}: 172=28917^2 = 289, 2ร—122=2882 \times 12^2 = 288
pp is even and qq is odd
p=2kp = 2k for an integer kk, so p2=4k2p^2 = 4k^2 is a multiple of 44. 2q22q^2 is twice an odd number, so it is not.
107\frac{10}{7}: 102=10010^2 = 100, 2ร—72=982 \times 7^2 = 98
pp and qq are both even
Divide both by 22; the value stays the same. Repeat until one is odd, then use a row above.
1410=75\frac{14}{10} = \frac{7}{5}, and 77 is odd: first row

Now put the pieces together. Take any fraction of positive integers. If the numerator and the denominator are both even, divide both by 22. Dividing both by the same nonzero number does not change the fraction's value. Repeat until at least one of them is odd. That must happen, because positive integers cannot keep getting smaller forever.

The fraction is now in the first or second row of the table, so it fails the integer test and is not equal to 2\sqrt{2}. The fraction you started with has the same value, so it is not equal to 2\sqrt{2} either.

So no fraction of positive integers equals 2\sqrt{2}. Since 2\sqrt{2} is positive, you could write any fraction of integers equal to it with a positive numerator and a positive denominator (if both were negative, multiply both by โˆ’1-1, which keeps the value). That means no fraction of integers at all equals 2\sqrt{2}.

Key concept

The square root of 2 is irrational

2\sqrt{2} is the positive number whose square is exactly 22, and it is irrational: you cannot write it as pq\frac{p}{q} for any integers pp and qq with qโ‰ 0q \neq 0. A fraction of positive integers could equal 2\sqrt{2} only if p2=2q2p^2 = 2q^2, and even-and-odd reasoning shows that this never happens.

Because 2\sqrt{2} is irrational, its decimal form neither terminates nor repeats. Any terminating decimal or fraction of integers that you write for it is an approximation (close, but not exact), so mark it with โ‰ˆ\approx. For the exact value, write 2\sqrt{2}.

2โ‰ pqforย allย integersย pย andย qย withย qโ‰ 0\sqrt{2} \neq \frac{p}{q} \quad \text{for all integers } p \text{ and } q \text{ with } q \neq 0

Takeaway. No fraction of integers has a square of exactly 22, so 2\sqrt{2} is irrational, and its decimal form neither terminates nor repeats. A value such as 1.4141.414 is only an approximation, so write 2โ‰ˆ1.414\sqrt{2} \approx 1.414, and write 2\sqrt{2} itself when you need the exact value. This is a fact about 2\sqrt{2}, not about every square root: 4=2\sqrt{4} = 2 is rational.

Next, you will estimate square roots and cube roots, and you will find and correct errors in working with roots.