Knaph

Rational and irrational numbers1 of 972 min read

Every Fraction Ends or Repeats

Turn any fraction into a decimal and the digits either stop or fall into a pattern that repeats forever. Nothing else can happen.

Divide the top by the bottom

A fraction is a division: 78\dfrac{7}{8} is 7 ÷ 8. Long division gives 0.875, and then the remainder is 0, so the digits stop. A decimal that stops is a terminating decimal.

Now try 511\dfrac{5}{11}. 11 goes into 50 four times, remainder 6. It goes into 60 five times, remainder 5. That is the remainder we started with, so the digits 4 and 5 come round again and again: 0.454545... This is a repeating decimal, written 0.45‾0.\overline{45}.

The long division of 5 by 11 with the quotient 0.4545 above it. The remainders 5 and 6 are circled each time they come back, with arrows showing the same two remainders repeating.

Why there is always a pattern

Dividing by 7, every remainder is 0, 1, 2, 3, 4, 5 or 6. If 0 comes, the decimal ends. If not, only six remainders are left, so one must soon come back. From then on, the same digits repeat.

So 17\dfrac{1}{7} = 0.142857‾0.\overline{142857} repeats a block of six digits, the most that dividing by 7 allows.

Which fractions end?

Write the fraction in simplest form and look at the bottom. If its only prime factors are 2 and 5, the decimal ends: 340\dfrac{3}{40} = 0.075, because 40 = 2 × 2 × 2 × 5. Any other prime factor makes it repeat: 29\dfrac{2}{9} = 0.2‾0.\overline{2} and 16\dfrac{1}{6} = 0.1666... = 0.16‾0.1\overline{6}.

Two bins. Into the bin marked ends go 3/40 = 0.075, 7/8 = 0.875 and 9/20 = 0.45. Into the bin marked repeats go 2/9 = 0.222..., 5/11 = 0.4545... and 1/6 = 0.1666...

Rational numbers

A rational number is a number you can write as a fraction ab\dfrac{a}{b} of two integers, with b not 0. Integers count too: 5 = 51\dfrac{5}{1} = 5.0, and −38\dfrac{3}{8} = −0.375. So the decimal of every rational number ends or repeats.

Careful

The bar goes only over the digits that repeat. 0.16‾0.1\overline{6} is 0.1666..., but 0.16‾0.\overline{16} is 0.161616...

Try it at home

  1. Pick six fractions with bottoms from 3 to 20.
  2. Predict from the bottom's prime factors whether each decimal ends or repeats.
  3. Check each one by long division, and write the repeating ones with a bar.

Words in this lesson

  • terminating decimal - a decimal that stops, like 0.875.
  • repeating decimal - a decimal whose digits repeat a block forever, like 0.4545..., written with a bar over the block.
  • rational number - a number that can be written as a fraction of two integers, a/b with b not 0.

Big idea

Every fraction's decimal either ends or repeats, because a division has only so many possible remainders.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.