Math Core

Lesson 3.5 · Rational Number Operations

Decimal expansions of fractions

Every rational number can be written as a fraction, but calculators, price tags and measuring tools usually show decimals. In this lesson you'll use long division to turn any fraction into a decimal, and you'll discover that the decimal always does one of two things: it stops, or it repeats forever.

A fraction is a division

The fraction bar means divide: 38=3÷8\dfrac{3}{8} = 3 \div 8. To find the decimal, divide the numerator by the denominator with long division. Write 33 as 3.000…3.000\ldots so you can keep bringing down zeros.

30÷8=3 remainder 660÷8=7 remainder 440÷8=5 remainder 0\begin{aligned} 30 \div 8 &= 3 \text{ remainder } 6 \\ 60 \div 8 &= 7 \text{ remainder } 4 \\ 40 \div 8 &= 5 \text{ remainder } 0 \end{aligned}

The digits of the answer are 3,7,53, 7, 5, so 38=0.375\dfrac{3}{8} = 0.375. Once the remainder is 00, the division is finished.

Definition

Terminating and repeating decimals

A terminating decimal stops after a finite number of digits, like 0.3750.375.

A repeating decimal has a digit or block of digits that repeats forever, like 0.272727…0.272727\ldots We write it with a bar over the repeating block: 0.27‾0.\overline{27}.

When the division never ends

Try 511=5÷11\dfrac{5}{11} = 5 \div 11:

50÷11=4 remainder 660÷11=5 remainder 550÷11=4 remainder 660÷11=5 remainder 5\begin{aligned} 50 \div 11 &= 4 \text{ remainder } 6 \\ 60 \div 11 &= 5 \text{ remainder } 5 \\ 50 \div 11 &= 4 \text{ remainder } 6 \\ 60 \div 11 &= 5 \text{ remainder } 5 \end{aligned}

The remainder 55 came back, which is where we started. From here the same steps happen again and again, so the digits 4,54, 5 repeat forever: 511=0.454545…=0.45‾\dfrac{5}{11} = 0.454545\ldots = 0.\overline{45}.

Why it must stop or repeat

When you divide by 1111, every remainder is one of 0,1,2,…,100, 1, 2, \ldots, 10. If you ever get 00, the decimal terminates. If you never get 00, you only have 1010 possible remainders, so sooner or later one must come back. The moment a remainder repeats, the digits start repeating too.

Decimal expansions of rational numbers

The decimal form of every rational number either terminates or eventually repeats. You find it by dividing the numerator by the denominator.

Sometimes a few digits come before the repeating part. For 16\dfrac{1}{6}: 10÷6=110 \div 6 = 1 remainder 44, then 40÷6=640 \div 6 = 6 remainder 44, and the remainder 44 keeps coming back. So 16=0.1666…=0.16‾\dfrac{1}{6} = 0.1666\ldots = 0.1\overline{6}. The bar goes over the 66 only.

Negative numbers and mixed numbers

A negative sign just comes along for the ride: −38=−0.375-\dfrac{3}{8} = -0.375.

For a mixed number, keep the whole-number part and convert only the fraction: 249=2+0.4‾=2.4‾2\tfrac{4}{9} = 2 + 0.\overline{4} = 2.\overline{4}.

Worked example: A terminating decimal

Write 716\dfrac{7}{16} as a decimal.

Divide 7.00007.0000 by 1616:

70÷16=4 remainder 660÷16=3 remainder 12120÷16=7 remainder 880÷16=5 remainder 0\begin{aligned} 70 \div 16 &= 4 \text{ remainder } 6 \\ 60 \div 16 &= 3 \text{ remainder } 12 \\ 120 \div 16 &= 7 \text{ remainder } 8 \\ 80 \div 16 &= 5 \text{ remainder } 0 \end{aligned}

So 716=0.4375\dfrac{7}{16} = 0.4375.

Worked example: A repeating decimal

Write −23-\dfrac{2}{3} as a decimal.

First find 23\dfrac{2}{3}. 20÷3=620 \div 3 = 6 remainder 22, and the remainder 22 comes back every time. So 23=0.666…=0.6‾\dfrac{2}{3} = 0.666\ldots = 0.\overline{6}, and

−23=−0.6‾-\frac{2}{3} = -0.\overline{6}

Worked example: A longer repeating block

Write 47\dfrac{4}{7} as a decimal.

stepdigitremainder
40÷740 \div 755
50÷750 \div 771
10÷710 \div 713
30÷730 \div 742
20÷720 \div 726
60÷760 \div 784

The remainder 44 matches the numerator we started with, so the block 571428571428 repeats: 47=0.571428‾\dfrac{4}{7} = 0.\overline{571428}.

Common mistake

Put the bar over exactly the digits that repeat. 0.16‾0.1\overline{6} means 0.1666…0.1666\ldots, but 0.16‾0.\overline{16} means 0.161616…0.161616\ldots These are different numbers. And don't stop early: writing 23=0.6\dfrac{2}{3} = 0.6 or 0.670.67 is only an approximation.

Tip

You can predict the type of decimal before dividing. Write the fraction in simplest form and look at the denominator. If its only prime factors are 22s and 55s (like 88, 2020 or 2525), the decimal terminates. If it has any other prime factor (like 33, 77 or 1111), the decimal repeats.

Practice

Practice 1

Write 35\dfrac{3}{5} as a decimal.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 2

Write −58-\dfrac{5}{8} as a decimal.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 3

Which is the decimal form of 79\dfrac{7}{9}?

Practice 4

Write 37203\tfrac{7}{20} as a decimal.

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 5

Which fraction has a decimal form that repeats?

Practice 6

The decimal form of 37\dfrac{3}{7} is a repeating decimal. How many digits are in its repeating block?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

What is the 2020th digit after the decimal point in the decimal form of 57\dfrac{5}{7}?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.