• Practice
  • About 17 min
  • 5 practice questions

Decimal forms of rational numbers

Write a rational number as a terminating or a non-terminating recurring decimal, find its period, convert decimals back to p/q, and predict the type of decimal without dividing.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Turn a fraction into a decimal and say whether it terminates or recurs.
  • Find the period of a recurring decimal.
  • Convert terminating and recurring decimals into the form p/q, and use the 2ᵐ × 5ⁿ test.

When you divide 3 by 8 the division stops; when you divide 1 by 3 it never stops but the digits repeat. These two behaviours are the only possibilities for a rational number, and recognising them is the key to telling rational numbers from irrational ones in the next lesson.

Two kinds of decimal expansion

Every rational number has one of these two decimal forms
KindWhat happens in the divisionExamples
TerminatingThe remainder becomes 0 and the division stops3/8 = 0.375; 7/20 = 0.35
Non-terminating and recurringThe remainders start to repeat, so a block of digits repeats for ever1/3 = 0.333... ; 2/11 = 0.181818... ; 1/7 = 0.142857142857...

A recurring decimal is written with a bar over the repeating block, so 0.181818... is written 0.‾18 in some books; in this lesson we write the repeating block in brackets: 0.(18). The number of digits in the repeating block is the period of the decimal. 1/3 = 0.(3) has period 1, 2/11 = 0.(18) has period 2 and 1/7 = 0.(142857) has period 6.

Why must the digits repeat? When you divide by q, every remainder is one of 0, 1, 2, ..., q − 1. If 0 never appears, then within q steps some remainder must come back, and from then on the same digits come back too.

Predicting the type without dividing

Write the fraction p/q in lowest terms. If the denominator q has no prime factors other than 2 and 5, that is q = 2ᵐ × 5ⁿ for whole numbers m and n, the decimal terminates. Otherwise it is non-terminating and recurring. For example, 7/80: 80 = 2⁴ × 5, so it terminates (7/80 = 0.0875). But 5/12: 12 = 2² × 3, and the factor 3 means it recurs (5/12 = 0.41666...).

p/q in lowest terms terminates exactly when q = 2ᵐ × 5ⁿ (m, n ∈ W). Any other prime factor in q makes the decimal recur.

— Terminating decimal test

Converting decimals back into p/q

Converting a recurring decimal into p/q

  1. Call the number x Example: x = 0.(36) = 0.363636...
  2. Multiply by 10, 100, ... Use 10 to the power of the period: 100x = 36.3636...
  3. Subtract 100x − x = 36, so 99x = 36
  4. Solve and simplify x = 36/99 = 4/11

Worked example 1: a terminating decimal

Write 2.945 as a rational number. Working: 2.945 has three decimal places, so 2.945 = 2945/1000. Divide top and bottom by 5: 589/200. 589 = 19 × 31 has no factor 2 or 5, so 2.945 = 589/200 in lowest terms.

Worked example 2: a purely recurring decimal

Write 0.(7) = 0.777... as p/q. Working: let x = 0.777... Then 10x = 7.777... Subtracting, 10x − x = 7.777... − 0.777... = 7, so 9x = 7 and x = 7/9. Check: 7 ÷ 9 = 0.777...

Worked example 3: a decimal that recurs after a start

Write 1.2(3) = 1.2333... as p/q. Working: let x = 1.2333... The repeating digit starts after one decimal place. 10x = 12.333... and 100x = 123.333... Subtract: 100x − 10x = 123.333... − 12.333... = 111, so 90x = 111 and x = 111/90 = 37/30. Check: 37 ÷ 30 = 1.2333...

Worked example 4: finding the period

Find the period of 5/13. Working: long division gives 5 ÷ 13 = 0.384615384615..., so the repeating block is 384615 and the period is 6. As the test predicts, 13 is not of the form 2ᵐ × 5ⁿ, so the decimal recurs.

Key takeaways: every rational number is either a terminating decimal or a non-terminating recurring decimal; the period is the length of the repeating block; multiply by a suitable power of 10 and subtract to turn a recurring decimal into p/q; q = 2ᵐ × 5ⁿ (in lowest terms) means the decimal terminates.

Check your understanding

  1. 1. Which fraction has a terminating decimal expansion?

    1. 4/15
    2. 11/40
    3. 5/6
    4. 2/9
    Show answer

    Answer: B. 40 = 2³ × 5, so 11/40 terminates: 11/40 = 0.275. The denominators 15 = 3 × 5, 6 = 2 × 3 and 9 = 3² all contain the factor 3, so those decimals recur.

  2. 2. What is 0.(45) = 0.4545... as a fraction in lowest terms?

    1. 9/20
    2. 45/100
    3. 5/11
    4. 4/9
    Show answer

    Answer: C. Let x = 0.4545... Then 100x = 45.4545..., so 99x = 45 and x = 45/99 = 5/11. 9/20 = 0.45 exactly, which terminates.

  3. 3. What is the period of 1/7 = 0.142857142857...?

    1. 1
    2. 3
    3. 7
    4. 6
    Show answer

    Answer: D. The repeating block is 142857, which has 6 digits, so the period is 6.

  4. 4. What is 0.2(6) = 0.2666... as a fraction?

    1. 4/15
    2. 26/99
    3. 13/50
    4. 2/9
    Show answer

    Answer: A. Let x = 0.2666... Then 10x = 2.666... and 100x = 26.666... Subtract: 90x = 24, so x = 24/90 = 4/15. Check: 4 ÷ 15 = 0.2666...

  5. 5. Which decimal is the expansion of a rational number?

    1. 0.101001000100001...
    2. 3.141592653... (π)
    3. 1.414213562... (√2)
    4. 0.(142)
    Show answer

    Answer: D. 0.(142) = 0.142142142... recurs with period 3, so it is rational (it equals 142/999). The other three never terminate and never settle into a repeating block.

Privacy · Terms · Refunds · Delivery