Lesson 7 of 8 · 17 min

Rational numbers as decimals

Explain why every fraction gives a terminating or recurring decimal, predict which, and convert recurring decimals back into fractions in lowest terms.

What you will be able to do

  • Convert a fraction to a terminating or recurring decimal by division.
  • Predict whether pq\frac{p}{q} in lowest terms terminates, from the prime factors of qq.
  • Convert terminating and recurring decimals, including eventually recurring ones, to fractions in lowest terms.
  • Explain why a decimal that neither terminates nor recurs is irrational.

Divide 3 by 8 and the division stops: 38=0.375\frac{3}{8} = 0.375. Divide 1 by 3 and it never stops: 0.333…0.333\ldots. Divide 1 by 7 and you get 0.142857142857…0.142857142857\ldots, the same six digits over and over. Could a fraction ever produce a decimal that goes on forever without repeating? The answer is no, and the reason is a lovely piece of reasoning about remainders.

Definition

Terminating and recurring decimals

  • A terminating decimal stops: 0.3750.375, 2.42.4, −0.0625-0.0625.
  • A recurring decimal has a block of digits that repeats forever. Mark the block with a bar or with dots over its first and last digits: 0.142857‾=0.1˙42857˙0.\overline{142857} = 0.\dot{1}4285\dot{7} and 0.3‾=0.3˙0.\overline{3} = 0.\dot{3}.
  • It is eventually recurring if the repeat starts after some other digits: 16=0.16‾=0.16˙\frac{1}{6} = 0.1\overline{6} = 0.1\dot{6}.

Long division of 1÷71 \div 7. At each step the remainder (inside) is multiplied by 10 and divided by 7, giving a digit (outside) and a new remainder. Only the remainders 1 to 6 are possible, so a remainder must come round again, and from then on the digits repeat: 17=0.142857‾\frac{1}{7} = 0.\overline{142857}.

Key idea

Every rational number terminates or recurs

Dividing pp by qq (with q∈Z+q \in \mathbb{Z}^+), every remainder is one of 0,1,2,…,q−10, 1, 2, \ldots, q - 1. If a remainder is ever 0, the decimal terminates. If not, there are only q−1q - 1 possible remainders, so within qq steps one must repeat, and from then on the digits repeat too.

So every rational number is a terminating or recurring decimal. The block of a fraction with denominator qq is at most q−1q - 1 digits long.

Which fractions terminate? A terminating decimal is a fraction over a power of 10, such as 0.075=7510000.075 = \frac{75}{1000}, and 10n=2n×5n10^n = 2^n \times 5^n. So a fraction in lowest terms terminates exactly when its denominator has no prime factors other than 2 and 5. Then you can multiply up to a power of 10: 340=323×5=3×251000=0.075\frac{3}{40} = \frac{3}{2^3 \times 5} = \frac{3 \times 25}{1000} = 0.075.

Key idea

The terminating test

Write pq\frac{p}{q} in lowest terms. It terminates if q=2a5bq = 2^a 5^b for whole numbers a,b≥0a, b \ge 0; otherwise it recurs.

720\frac{7}{20}: 20=22×520 = 2^2 \times 5, terminates (0.350.35). 512\frac{5}{12}: 12=22×312 = 2^2 \times 3, recurs. 912=34\frac{9}{12} = \frac{3}{4}: terminates (0.750.75) once simplified.

Select every fraction whose decimal terminates.

Select all that apply.

Worked example

Writing 512\frac{5}{12} as a decimal

  • Simple familiar
  • Technology free

Without dividing, decide whether 512\frac{5}{12} is a terminating or recurring decimal. Then write it as a decimal.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Write the fraction in lowest terms.

  2. Terminates if the denominator is 2a5b2^a 5^b; otherwise recurs.

  3. Divide until a remainder repeats, then mark the repeating block.

Watch out for

  • Writing 0.416‾0.\overline{416}: only the 6 repeats.

Converting a recurring decimal to a fraction

  1. Name it

    Let xx be the decimal, for example x=0.36‾=0.363636…x = 0.\overline{36} = 0.363636\ldots

  2. Shift by the length of the block

    Multiply by 10k10^k where kk is the number of digits in the repeating block: 100x=36.363636…100x = 36.363636\ldots

  3. Subtract to cancel the repeating tail

    100x−x=36100x - x = 36, so 99x=3699x = 36. The infinite tails are identical, so they cancel exactly.

  4. Solve and simplify

    x=3699=411x = \frac{36}{99} = \frac{4}{11}.

Write 0.7‾0.\overline{7} as a fraction in lowest terms.

Reads asYour answer shows here as maths.

Eventually recurring decimals need one more step: first shift the non-repeating digits past the decimal point. For x=0.16‾x = 0.1\overline{6}: 10x=1.6‾10x = 1.\overline{6} and 100x=16.6‾100x = 16.\overline{6}. These have the same tail, so 100x−10x=15100x - 10x = 15, 90x=1590x = 15 and x=1590=16x = \frac{15}{90} = \frac{1}{6}.

Worked example

An eventually recurring decimal as a fraction

  • Complex familiar
  • Technology free

Express 0.245‾0.2\overline{45} as a fraction in lowest terms.

5 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Let xx be the decimal.

  2. Multiply by powers of 10 to get two numbers whose decimal tails are identical.

  3. Subtract, solve for xx and simplify.

Watch out for

  • Using 100x−x100x - x, which does not line up the tails: 24.5454…−0.24545…24.5454\ldots - 0.24545\ldots does not cancel.

  • Leaving the answer as 243990\frac{243}{990}.

Write 0.38‾0.3\overline{8} as a fraction in lowest terms.

Reads asYour answer shows here as maths.
Is 0.9‾0.\overline{9} really equal to 1?

Yes. Let x=0.999…x = 0.999\ldots. Then 10x=9.999…10x = 9.999\ldots, so 10x−x=910x - x = 9, 9x=99x = 9 and x=1x = 1.

Another way to see it: 13=0.333…\frac{1}{3} = 0.333\ldots, so 3×13=0.999…3 \times \frac{1}{3} = 0.999\ldots, and 3×13=13 \times \frac{1}{3} = 1. Some numbers have two decimal forms: 0.25=0.249‾0.25 = 0.24\overline{9} too.

Key idea

The converse, and irrational numbers

The subtraction method works for any terminating or recurring decimal, so every one of them is rational. Together with the remainder argument:

x∈Q  ⟺  the decimal of x terminates or recursx \in \mathbb{Q} \iff \text{the decimal of } x \text{ terminates or recurs}

So a decimal that never ends and never settles into a repeating block, such as 0.101001000100001…0.101001000100001\ldots (one more 0 each time), is irrational. Recognising 2=1.41421356…\sqrt{2} = 1.41421356\ldots as irrational from its digits is impossible, though: you only ever see finitely many. That needs a proof, which is the next lesson.

Exam tip

Show the subtraction

In a "show that" or "express as a fraction" question, write the two equations with matching tails, subtract them, solve, and simplify. Writing 0.36‾=36990.\overline{36} = \frac{36}{99} from a remembered rule, with no working, may not earn the method marks.

Summary

  • Every fraction gives a terminating or recurring decimal, because division has only finitely many possible remainders.

  • pq\frac{p}{q} in lowest terms terminates exactly when qq has no prime factors other than 2 and 5.

  • To convert a recurring decimal: let xx be the decimal, multiply by powers of 10 to line up the repeating tails, subtract, solve and simplify.

  • A number is rational if and only if its decimal terminates or recurs; 0.9‾=10.\overline{9} = 1 exactly.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 7 of 80% read

Save your progress with a free account