Chapter 4 ยท Rational and irrational numbers

Rational or Irrational? Approximating Square Roots

Decide which square roots are rational or irrational, then trap irrational roots between rational numbers and tighten the trap to improve the approximation.

20 min read

You know that 9=3\sqrt{9} = 3, because 32=93^2 = 9. But what number is 10\sqrt{10}? It is a real length: a square with an area of 1010 square centimeters has sides exactly 10\sqrt{10} centimeters long. Yet no whole number (0,1,2,3,โ€ฆ0, 1, 2, 3, \dots) works: 32=93^2 = 9 is too small and 42=164^2 = 16 is too big.

In this lesson you will:

  • decide which square roots can be written exactly as a fraction and which cannot,
  • trap the ones that cannot between two numbers that you can write exactly,
  • explain how to make that trap as tight as you need.

A rational number is a number you can write as a fraction pq\frac{p}{q}, where pp and qq are integers and qโ‰ 0q \ne 0. As a decimal, a rational number either terminates (stops), like 0.750.75, or repeats a block of digits forever, like 13=0.3โ€พ\frac{1}{3} = 0.\overline{3}, where the bar marks the digit that repeats.

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

So for nโ‰ฅ0n \ge 0, asking whether n\sqrt{n} is rational is really asking: is there a rational number whose square is nn?

When nn is a whole number, there is a quick test. A perfect square is the square of a whole number, such as 49=7249 = 7^2.

  • If nn is a perfect square, n\sqrt{n} is a whole number, so it is rational: 49=7=71\sqrt{49} = 7 = \frac{7}{1}.
  • If nn is not a perfect square, n\sqrt{n} is irrational.

Why? A positive fraction in lowest terms has a numerator and a denominator with no common factor greater than 11. Squaring it squares both parts, as in (72)2=494\left(\frac{7}{2}\right)^2 = \frac{49}{4}. Squaring repeats the prime factors each part already has and adds no new ones, so the square is in lowest terms too. If the denominator was greater than 11, it still is, so the square is not a whole number. The only positive rational numbers whose squares are whole numbers are therefore the whole numbers themselves. Take n=50n = 50: no whole number has square 5050, since 72=497^2 = 49 and 82=648^2 = 64 skip over it. So no rational number has square 5050, and 50\sqrt{50} is irrational.

Rational or irrational? Check each square root
Square rootCheckType
36\sqrt{36}
36=6236 = 6^2 is a perfect square, so 36=6\sqrt{36} = 6
Rational
40\sqrt{40}
62=366^2 = 36 and 72=497^2 = 49 skip over 4040, so 4040 is not a perfect square
Irrational
0\sqrt{0}
0=020 = 0^2 is a perfect square, so 0=0\sqrt{0} = 0
Rational
49\sqrt{\frac{4}{9}}
49\frac{4}{9} is in lowest terms; 4=224 = 2^2 and 9=329 = 3^2, so the root is 23=0.6โ€พ\frac{2}{3} = 0.\overline{6}
Rational
12\sqrt{\frac{1}{2}}
12\frac{1}{2} is in lowest terms, but 22 is not a perfect square
Irrational
818\sqrt{\frac{8}{18}}
Write it in lowest terms first: 818=49\frac{8}{18} = \frac{4}{9}, so the root is 23\frac{2}{3}
Rational

Worked example

Sorting three square roots

Decide whether each number is rational or irrational: 196\sqrt{196}, 200\sqrt{200} and 0.49\sqrt{0.49}.

  1. Start with 196. It is a whole number, so use the perfect-square test: look for a whole number whose square is 196. Since 14 times 14 is 196, the principal root is the whole number 14, which is the fraction 14 over 1.

    196=14=141\sqrt{196} = 14 = \tfrac{14}{1}
  2. Next test 200, also a whole number. The squares of 14 and 15 are 196 and 225, and 200 lies strictly between them. No whole number lies between 14 and 15, so 200 is not a perfect square.

    142=196<200<225=15214^2 = 196 < 200 < 225 = 15^2
  3. A whole number that is not a perfect square has an irrational square root, because the square of a fraction that is not a whole number is never a whole number.

    200ย isย irrational\sqrt{200} \text{ is irrational}
  4. The number 0.49 is not a whole number, so write it as a fraction in lowest terms. The numbers 49 and 100 share no factor greater than 1, and both are perfect squares.

    0.49=49100=721020.49 = \tfrac{49}{100} = \tfrac{7^2}{10^2}
  5. Take the principal root, the one that is not negative. Seven tenths is a fraction of integers and a terminating decimal, so this root is rational.

    0.49=710=0.7\sqrt{0.49} = \tfrac{7}{10} = 0.7

Answer

196=14\sqrt{196} = 14 and 0.49=0.7\sqrt{0.49} = 0.7 are rational, and 200\sqrt{200} is irrational.

The number 1010 is not a perfect square, so 10\sqrt{10} is irrational: you cannot write it exactly as a fraction, or as a decimal that ends or repeats. But you can trap it between two rational numbers, one below it and one above it. The ends of the trap, called its lower and upper bounds, are rational approximations of the root: rational numbers that are close to it but never equal to it.

You build the trap by comparing squares. Among numbers that are not negative, the larger number has the larger square. Here is why: take numbers aa and bb with 0โ‰คa<b0 \le a < b. Multiplying a<ba < b by aa (not negative) gives a2โ‰คaba^2 \le ab, and multiplying it by bb (positive) gives ab<b2ab < b^2, so a2<b2a^2 < b^2. It works backwards too: the larger square must come from the larger number, because an equal or smaller number would give an equal or smaller square.

So from 9<10<169 < 10 < 16 you can conclude 3<10<43 < \sqrt{10} < 4.

The condition matters. With negative numbers the order can flip: โˆ’4<3-4 < 3, but (โˆ’4)2=16(-4)^2 = 16 is greater than 32=93^2 = 9. That is why both ends of a trap must be 00 or greater.

Key concept

Trap an irrational root between rational numbers

Let nโ‰ฅ0n \ge 0, and let aa and bb be rational numbers that are not negative. If nn lies between a2a^2 and b2b^2, then n\sqrt{n} lies between aa and bb. When n\sqrt{n} is irrational, it never equals aa or bb, so they are approximations: write โ‰ˆ\approx (is approximately equal to), never ==. The closer together aa and bb are, the smaller the possible error, and you can always find a closer pair.

a2<n<b2โ€…โ€ŠโŸนโ€…โ€Ša<n<b(aโ‰ฅ0,โ€…โ€Šbโ‰ฅ0)a^2 < n < b^2 \;\Longrightarrow\; a < \sqrt{n} < b \quad (a \ge 0,\; b \ge 0)

Often you want the nearest whole number or the nearest tenth. Suppose the ends of your trap are neighbors, such as the whole numbers 66 and 77 or the tenths 6.46.4 and 6.56.5. The midpoint of the trap is the number exactly halfway between its ends. It is the dividing line: inside the trap, a number below the midpoint is closer to the lower end, and a number above it is closer to the upper end.

So square the midpoint mm and compare nn with m2m^2:

  • if n<m2n < m^2, then n<m\sqrt{n} < m, so round to the lower end;
  • if n>m2n > m^2, then n>m\sqrt{n} > m, so round to the upper end.

This is the same rule about squares, and it applies because mm and n\sqrt{n} are not negative. When n\sqrt{n} is irrational, nn can never equal m2m^2, because that would make n\sqrt{n} equal to the rational number mm.

Worked example

Trapping a root between whole numbers

Which two neighboring whole numbers trap 42\sqrt{42}? Then round 42\sqrt{42} to the nearest whole number.

  1. Find the perfect squares on each side of 42. The square of 6 is 36, which is less than 42, and the square of 7 is 49, which is greater.

    62=36<42<49=726^2 = 36 < 42 < 49 = 7^2
  2. The numbers 6 and 7 are not negative, so the order of the squares is the order of the numbers. Because 42 lies strictly between the squares of two neighboring whole numbers, it is not a perfect square. Its root is irrational and equals neither end.

    6<42<76 < \sqrt{42} < 7
  3. To round, find the midpoint of the trap, which is 6.5, and square it.

    6.52=42.256.5^2 = 42.25
  4. Compare 42 with the square of the midpoint. 42 is less than 42.25, and neither the root nor 6.5 is negative, so the root is less than 6.5. That puts it closer to 6 than to 7.

    42<42.25โ€…โ€ŠโŸนโ€…โ€Š42<6.542 < 42.25 \;\Longrightarrow\; \sqrt{42} < 6.5

Answer

42\sqrt{42} lies between 66 and 77, and to the nearest whole number 42โ‰ˆ6\sqrt{42} \approx 6.

Knowing 3<10<43 < \sqrt{10} < 4 leaves a trap that is 11 wide. The width of a trap is its upper end minus its lower end. Because 10\sqrt{10} is inside the trap, each end is less than one width away from it. So the narrower the trap, the smaller the possible error.

To improve an approximation, narrow the trap:

  1. Cut the trap into ten equal parts. Between 33 and 44 the cut points are 3.1,3.2,โ€ฆ,3.93.1, 3.2, \dots, 3.9.
  2. Square the cut points in order until a square passes 1010: 3.12=9.613.1^2 = 9.61 is below 1010, and 3.22=10.243.2^2 = 10.24 is above it.
  3. Keep those two neighbors as the new trap: 3.1<10<3.23.1 < \sqrt{10} < 3.2.

The new trap is 0.10.1 wide, ten times narrower. Repeat the steps with hundredths, then thousandths, as the table shows. Each round fixes one more decimal digit of 10\sqrt{10}.

Tightening the trap around the square root of 10
RoundSquares on each side of 10TrapWidth
Start: whole numbers
32=9<10<16=423^2 = 9 < 10 < 16 = 4^2
3<10<43 < \sqrt{10} < 4
11
Round 1: tenths
3.12=9.61<10<10.24=3.223.1^2 = 9.61 < 10 < 10.24 = 3.2^2
3.1<10<3.23.1 < \sqrt{10} < 3.2
0.10.1
Round 2: hundredths
3.162=9.9856<10<10.0489=3.1723.16^2 = 9.9856 < 10 < 10.0489 = 3.17^2
3.16<10<3.173.16 < \sqrt{10} < 3.17
0.010.01
Round 3: thousandths
3.1622=9.998244<10<10.004569=3.16323.162^2 = 9.998244 < 10 < 10.004569 = 3.163^2
3.162<10<3.1633.162 < \sqrt{10} < 3.163
0.0010.001

Worked example

Rounding a root to the nearest tenth

Approximate 70\sqrt{70} to the nearest tenth.

  1. Trap the root between whole numbers first. 70 lies strictly between the neighboring perfect squares 64 and 81, so its root is irrational. Because 8 and 9 are not negative, the root lies between 8 and 9.

    82=64<70<81=92โ€…โ€ŠโŸนโ€…โ€Š8<70<98^2 = 64 < 70 < 81 = 9^2 \;\Longrightarrow\; 8 < \sqrt{70} < 9
  2. Cut the trap into tenths and square the cut points in order until a square passes 70. The squares of 8.1, 8.2 and 8.3 are 65.61, 67.24 and 68.89, all below 70. The square of 8.4 is the first one above 70.

    8.32=68.89<70<70.56=8.428.3^2 = 68.89 < 70 < 70.56 = 8.4^2
  3. Keep these two neighbors as the new trap. Neither is negative, so the order of the squares gives the order of the numbers.

    8.3<70<8.48.3 < \sqrt{70} < 8.4
  4. Square the midpoint of the new trap, 8.35, and compare 70 with the result.

    8.352=69.7225<708.35^2 = 69.7225 < 70
  5. 70 is greater than the square of the midpoint, so the root is greater than 8.35. It is closer to 8.4 than to 8.3.

    70>8.35\sqrt{70} > 8.35

Answer

To the nearest tenth, 70โ‰ˆ8.4\sqrt{70} \approx 8.4.

Worked example

Improving an approximation and saying why

You know that 8.3<70<8.48.3 < \sqrt{70} < 8.4 and that 70โ‰ˆ8.4\sqrt{70} \approx 8.4. Explain how to get a better rational approximation of 70\sqrt{70}, and find one.

  1. The trap from 8.3 to 8.4 is 0.1 wide. To improve the approximation, cut this trap into ten equal parts. The cut points are the hundredths 8.31, 8.32 and so on up to 8.39.

  2. Square cut points to find two neighbors with 70 between their squares. The square of the middle cut point, 8.35, is 69.7225, below 70, so move up. The square of 8.36 is still below 70, and the square of 8.37 is above it.

    8.362=69.8896<70<70.0569=8.3728.36^2 = 69.8896 < 70 < 70.0569 = 8.37^2
  3. Neither 8.36 nor 8.37 is negative, so the root is trapped between them. This trap is 0.01 wide, ten times narrower than before.

    8.36<70<8.378.36 < \sqrt{70} < 8.37
  4. Pick the nearer end by squaring the midpoint, 8.365. Its square is below 70, so the root is above 8.365 and closer to 8.37.

    8.3652=69.973225<70โ€…โ€ŠโŸนโ€…โ€Š70>8.3658.365^2 = 69.973225 < 70 \;\Longrightarrow\; \sqrt{70} > 8.365
  5. Say why this is better. The root is below 8.37, and 8.37 is below 8.4, so 8.37 is closer to the root than 8.4 is. In fact 8.37 is less than 0.01 away from the root, because both lie inside a trap only 0.01 wide. Cutting into thousandths would narrow the trap ten times again.

Answer

Cutting the trap into hundredths gives 8.36<70<8.378.36 < \sqrt{70} < 8.37, so 70โ‰ˆ8.37\sqrt{70} \approx 8.37 is a better rational approximation than 8.48.4.

Takeaway. The square root of a whole number is rational only when that number is a perfect square. Otherwise it is irrational: you cannot write it exactly as a fraction, and its decimal never ends or repeats. But you can trap it between two rational numbers that are not negative by comparing squares, round it by checking the square of the midpoint, and cut the trap into ten parts again and again to get as close as you need. Next, you will use these traps to locate irrational numbers on a number line.