MathematicsGrade 6

Terminating and repeating decimals

Why does 1/4 end as a decimal but 1/3 never does? Long division gives it away as soon as a remainder repeats.

Loading simulation …

What is it about?

A fraction is a division: 38=3÷8\frac{3}{8} = 3 \div 8. In long division you write the decimal point after the whole-number part and bring down a zero to every remainder:

30÷8=3 remainder 6,60÷8=7 remainder 4,40÷8=5 remainder 030 \div 8 = 3 \text{ remainder } 6, \quad 60 \div 8 = 7 \text{ remainder } 4, \quad 40 \div 8 = 5 \text{ remainder } 0

So 38=0.375\frac{3}{8} = 0.375. Because the remainder eventually becomes 00, this is a terminating decimal.

For 37\frac{3}{7} the remainder is never 00. The remainders are 3,2,6,4,5,13, 2, 6, 4, 5, 1 – and then 33 again. From there the whole calculation repeats, and so do the digits. This gives a repeating decimal. The digits that repeat are called the period and get a bar over them:

37=0.428571428571…=0.428571‾\frac{3}{7} = 0.428571428571\ldots = 0.\overline{428571}

If the period does not start right after the decimal point, the digits before it form the pre-period: 16=0.16‾\frac{1}{6} = 0.1\overline{6}. We distinguish purely repeating decimals (0.3‾0.\overline{3}) and decimals repeating after a pre-period (0.16‾0.1\overline{6}).

Why must something repeat? When dividing by nn, every remainder is less than nn. Apart from 00 there are only the remainders 1,2,…,n−11, 2, \ldots, n-1. After at most n−1n - 1 steps a remainder must appear for the second time. That is why the period of a fraction with denominator nn has at most n−1n - 1 digits. The remainder circle shows this: each arrow leads from one remainder to the next; the path ends at 00 or runs in a cycle.

Terminating or repeating – without dividing: Reduce the fraction fully and factorise the denominator into primes.

  • If only the prime factors 2 and 5 occur, you can expand to 1010, 100100, 10001000, …; the decimal terminates: 38=3⋅1258⋅125=3751000=0.375\frac{3}{8} = \frac{3 \cdot 125}{8 \cdot 125} = \frac{375}{1000} = 0.375.
  • If neither 2 nor 5 occurs, it is purely repeating: 511=0.45‾\frac{5}{11} = 0.\overline{45}.
  • If 2 or 5 and other prime factors occur, it repeats after a pre-period: 512=0.416‾\frac{5}{12} = 0.41\overline{6}, because 12=2⋅2⋅312 = 2 \cdot 2 \cdot 3.

Important: reduce first! 36\frac{3}{6} has the denominator 6=2⋅36 = 2 \cdot 3, but it equals 12=0.5\frac{1}{2} = 0.5.

The number line zoom shows what a digit means: the first decimal place tells you in which tenth between two whole numbers the fraction lies. Magnify this tenth ten times and you read off the hundredths – and so on.

Try it

  1. Work through 3/7 step by step with “Next digit”. Write down the remainders. When do you notice that the digits repeat?
  2. Compare with 3/8. How can you see on the paper that the division ends?
  3. For 1/6 the remainder 44 repeats at once. Why is the 11 not under the bar?
  4. Look at 1/13 with all remainder arrows. Then tap remainder 22 on the circle. How many cycles are there for 1313?
  5. Compare 1/17 with 1/16. The denominators are almost the same – the results are completely different. Why?
  6. Open the number line zoom for 1/3. Why does every level look the same? Compare with the zoom for 3/8.
  7. In the table of all denominators the terminating fractions are green. Which denominators are they? Then set the numerator to 3: why do some tiles turn green?
  8. Is 22/7 equal to π=3.14159…\pi = 3.14159\ldots? From which digit on do they differ?

Tasks

Task 1: Expanding to a power of ten

Load task b

Write as a decimal without long division: a) 720\frac{7}{20} b) 316\frac{3}{16} c) 912\frac{9}{12}

Show solution

a) 720=35100=0.35\frac{7}{20} = \frac{35}{100} = 0.35. b) 16=2416 = 2^4, so expand by 54=6255^4 = 625: 316=187510000=0.1875\frac{3}{16} = \frac{1875}{10000} = 0.1875. c) Reduce first: 912=34=75100=0.75\frac{9}{12} = \frac{3}{4} = \frac{75}{100} = 0.75. Show the table

Task 2: Terminating or repeating?

Decide using only the prime factors of the denominator: 740\frac{7}{40}, 56\frac{5}{6}, 912\frac{9}{12}, 415\frac{4}{15}, 1122\frac{11}{22}, 314\frac{3}{14}. Table for numerator 3

Show solution
  • 740\frac{7}{40}: 40=23⋅540 = 2^3 \cdot 5 → terminating (0.1750.175).
  • 56\frac{5}{6}: 6=2⋅36 = 2 \cdot 3 → repeating after a pre-period (0.83‾0.8\overline{3}).
  • 912=34\frac{9}{12} = \frac{3}{4} → terminating (0.750.75).
  • 415\frac{4}{15}: 15=3⋅515 = 3 \cdot 5 → repeating after a pre-period (0.26‾0.2\overline{6}).
  • 1122=12\frac{11}{22} = \frac{1}{2} → terminating (0.50.5).
  • 314\frac{3}{14}: 14=2⋅714 = 2 \cdot 7 → repeating after a pre-period (0.2142857‾0.2\overline{142857}). Show

Task 3: Long division

Load task

Work out 512\frac{5}{12} by long division. Write down all remainders and give the result with a bar.

Show solution

50÷12=450 \div 12 = 4 remainder 22, 20÷12=120 \div 12 = 1 remainder 88, 80÷12=680 \div 12 = 6 remainder 88 – the remainder 88 repeats. So 512=0.416‾\frac{5}{12} = 0.41\overline{6} with the pre-period 4141. Show

Task 4: Two cycles

Work out 113\frac{1}{13} and 213\frac{2}{13}. Both periods have 66 digits. Why not 1212, although there are 1212 remainders other than 00?

Show solution

113=0.076923‾\frac{1}{13} = 0.\overline{076923} with the remainders 1,10,9,12,3,41, 10, 9, 12, 3, 4; 213=0.153846‾\frac{2}{13} = 0.\overline{153846} with the remainders 2,7,5,11,6,82, 7, 5, 11, 6, 8. The 1212 possible remainders split into two cycles of 66 remainders each. Which one you run through depends on the starting remainder. So “at most n−1n - 1” does not mean “always n−1n - 1”. Remainder circle with all arrows

Task 5: Back to a fraction

a) Write 0.350.35 and 0.1250.125 as fully reduced fractions. b) We have 19=0.1‾\frac{1}{9} = 0.\overline{1} and 199=0.01‾\frac{1}{99} = 0.\overline{01}. Use this to write 0.4‾0.\overline{4} and 0.36‾0.\overline{36} as fractions.

Show solution

a) 0.35=35100=7200.35 = \frac{35}{100} = \frac{7}{20} and 0.125=1251000=180.125 = \frac{125}{1000} = \frac{1}{8}.

b) 0.4‾=4⋅0.1‾=490.\overline{4} = 4 \cdot 0.\overline{1} = \frac{4}{9} and 0.36‾=36⋅0.01‾=3699=4110.\overline{36} = 36 \cdot 0.\overline{01} = \frac{36}{99} = \frac{4}{11}. Check

Task 6: Record (puzzle)

Which fraction with a denominator up to 5050 has the longest period? Explain why it cannot be longer.

Show solution

147\frac{1}{47} (and every other fraction z47\frac{z}{47} that cannot be reduced) has a period of 4646 digits. For 4747 it cannot be longer, because there are only 4646 remainders other than 00. A longer period would need the denominator 4848, 4949 or 5050: but fractions with the denominator 50=2⋅5250 = 2 \cdot 5^2 terminate, 148=0.02083‾\frac{1}{48} = 0.0208\overline{3} has a period of just one digit, and for 4949 the period has 4242 digits. Show 1/47

Ideas for the classroom

  • Use: About grade 6, decimals: fractions as terminating or repeating decimals, converting. Suitable for introducing the topic (step by step with show=0) and for consolidation (remainder circle, table). The prime factorisation from the simulation “Prime factorisation and divisibility” is applied here.
  • Two views: Long division (squared paper, with either the remainder circle or the number line zoom) and Which denominators? (all fractions zn\frac{z}{n} with n≤50n \leq 50 as coloured tiles, optionally with prime factors; factors that cancel are crossed out).
  • Reasoning instead of memorising: The remainder circle makes the pigeonhole principle visible: there are only finitely many remainders, so one must repeat. The tags next to the remainders show that each remainder fixes its next digit – that is why the digits repeat along with the remainder.
  • Going further: The length of the pre-period is the larger of the two exponents of 22 and 55 in the reduced denominator (12=22⋅312 = 2^2 \cdot 3 → 22 digits). Converting decimals with a pre-period back into fractions is not covered here.
  • Common stumbling blocks:
    • “The period starts as soon as a digit repeats.” – In 117=0.0588…\frac{1}{17} = 0.0588\ldots the 88 appears twice, yet the period has 1616 digits. What matters is the remainder, not the digit.
    • “0.3‾0.\overline{3} is roughly 13\frac{1}{3}.” – 0.3‾0.\overline{3} is exactly 13\frac{1}{3}; only 0.3330.333 is rounded. Calculators show rounded values such as 0.66666666670.6666666667.
    • “The denominator 66 contains a 22, so 16\frac{1}{6} terminates.” – Only 22 and 55 may occur.
    • “36\frac{3}{6} repeats because 66 has the factor 33.” – Reduce first: 36=12\frac{3}{6} = \frac{1}{2}.