MathemagiciansLibraryExplorationsDeep Dives
← Mathematics · Lower Secondary
MathematicsLower Secondary

Dividing decimals — and converting to fractions

L1.4 — DecimalsLecture 3 of 3~2910 words

Two divisions that break two habits

Three friends share a bill of $7.50 equally. Each pays $2.50. Nothing surprising there: sharing something makes each part smaller.

Now a juice seller has 7.5 litres of juice. She pours it into cups that hold 0.3 litres each. How many cups does she fill? The answer is 25. That is . The division gave an answer bigger than the number she started with.

Here is a second surprise. On a calculator, . The division stops. But , and the same six digits come back again and again, as far as the screen can show.

So two habits from whole numbers break here. The first habit says that dividing makes a number smaller. The second says that a division always ends. The last lecture promised to ask what happens when you divide by a decimal. This lecture answers that question. Then it explains why some divisions never stop, and how to turn any decimal back into a fraction.

Dividing a decimal by a whole number

Start with the easy case: the bill. means sharing 7 ones, 5 tenths and 0 hundredths between 3 people.

Ones: 7 shared by 3 is 2 each, with 1 one left over. That leftover one cannot be shared as a one. So exchange it for 10 tenths, exactly as in subtraction, because ten tenths make one. Now there are 10 + 5 = 15 tenths. Tenths: 15 shared by 3 is 5 each, with nothing left. Hundredths: 0 shared by 3 is 0. So each friend pays 2 ones, 5 tenths and 0 hundredths, which is $2.50.

Notice where the point went. You shared ones as ones and tenths as tenths. So the point in the answer sits directly above the point in the number you are dividing.

Sometimes you run out of digits while there is still a remainder. Then write zeros at the end after the point. In the lecture on ordering decimals, 3 = 3.0 = 3.00, so the zeros change nothing. They only give you smaller pieces to exchange into. For : 3 ones cannot be shared by 4, so the answer has 0 ones. Exchange the 3 ones for 30 tenths: 30 ÷ 4 = 7, remainder 2. Exchange the 2 tenths for 20 hundredths: 20 ÷ 4 = 5. So .

Dividing by a decimal: count in the same pieces

Now the juice. Before reading on, commit to a guess about a similar division.

Predict — what is 7.2 ÷ 0.4?

Do not calculate yet. Choose the statement you believe. Then read the explanation and look at the picture.

The picture shows how many jumps of 0.4 fit into 7.2 on a number line.

01234567.218 jumps of 0.47.2 ÷ 0.4 = 18
Each jump is 0.4. Two and a half jumps make 1, so about 7 × 2.5 jumps fit into 7. In fact exactly 18 jumps reach 7.2. So 7.2 ÷ 0.4 = 18, which is bigger than 7.2.

What should you have seen? In the lecture on dividing fractions, division asked a question: how many of these fit into that? Ask it here. How many 0.4s fit into 7.2? Because 0.4 is less than 1, more than one of them fits into every whole. So the answer is bigger than 7.2.

Dividing by a number less than 1 makes a number bigger. It is the mirror of the last lecture, where multiplying by a number less than 1 made a number smaller.

Now, how do you find the exact answer? Use the idea that ran through the last two lectures: count everything in the same small pieces. 7.5 litres is 75 tenths of a litre. A cup holds 0.3 litres, which is 3 tenths. So the question becomes: how many lots of 3 tenths fit into 75 tenths? That is the same as asking how many 3 cm lengths fit into 75 cm. The answer is .

That is it. That is the whole idea. Once both numbers are counted in the same size of piece, the decimal points disappear, and you are left with a whole-number division.

There is a second way to see the same thing. A division can be written as a fraction. In the lecture on equivalent fractions, multiplying the top and the bottom by the same number did not change the fraction, because every piece was cut into equal smaller pieces. So:

Multiplying both numbers by 10 is counting both of them in tenths. It is the same move, written as a fraction.

Dividing by a decimal

1. Multiply both numbers by the same power of 10 (10, 100 or 1000), so that the number you divide by becomes a whole number.

2. Divide as before, with the point in the answer above the point in the number you divide.

The answer does not change, because both numbers are now counted in the same smaller pieces.

Stop and think

Ravi works out . He says: "I cannot divide by 0.6, so I multiply it by 10 to get 6. Then ." Is he right?

Show the answer

No. He made the pieces ten times bigger for 0.6, but not for 4.8. That changed the question. Multiply both by 10: .

Multiplying back shows the problem at once. , which is right. But , which is ten times too small. Also, 0.6 is less than 1, so the answer must be bigger than 4.8. His answer, 0.8, is smaller.

Fractions into decimals: a division that may never end

A fraction is a division. means , which you found above: 0.75. That division stopped. A decimal that stops is called a terminating decimal.

Now try . Write 1 as 1.000. 1 one cannot be shared by 3, so exchange it for 10 tenths. 10 ÷ 3 = 3, remainder 1. That 1 tenth becomes 10 hundredths. 10 ÷ 3 = 3, remainder 1. And again: 10 ÷ 3 = 3, remainder 1. The same remainder keeps coming back, so the same digit keeps coming back. The answer is 0.333…, and the 3s never stop.

A decimal in which a block of digits repeats forever is called a recurring decimal. It is written with a dot over the repeating digit. When a block of several digits repeats, there is a dot over its first digit and over its last digit:

So means 0.727272…, with the block 72 repeating. And means the block 142857 repeating.

Here is a deeper question. Why does repeat? Could a division go on forever without ever repeating? Look at the remainders. When you divide by 7, every remainder is a whole number less than 7: it can only be 0, 1, 2, 3, 4, 5 or 6. If a remainder is ever 0, the division stops. If it never is, there are only six possible remainders. So within six steps, one of them must come back. And each step depends only on the remainder you bring to it. So once a remainder comes back, every step after it repeats too.

This is the hard part of the lecture. Read the last paragraph again slowly, then test it below.

Explore — the remainder machine

Choose a fraction. The machine does the long division one step at a time and lists every remainder. Watch for a remainder of 0, or for a remainder that comes back.

Top number:

Bottom number:

The tables show the long division for 1/7 and for 3/8, step by step.

1 ÷ 7: remainder× 10÷ 7 gives digitnew remainder
11013
33042
22026
66084
44055
55071 (back to the start)

The remainder 1 came back after six steps, so 1/7 = 0.142857142857…, a recurring decimal with a block of six digits.

3 ÷ 8: remainder× 10÷ 8 gives digitnew remainder
33036
66074
44050 (stop)

The remainder reached 0, so 3/8 = 0.375, a terminating decimal.

What should you have seen? Every division either reached a remainder of 0 and stopped, or met a remainder it had seen before and started to repeat. There is no third way. Dividing by 7, the repeat came within 6 steps. Dividing by 13, it also came within 6 steps, well inside the 12 allowed. So every fraction gives a decimal that either terminates or recurs.

The machine also checked something else: the bottom number of the fraction in simplest form. The next section explains why that number decides which kind of decimal you get.

Which fractions terminate? Look at the bottom number

A terminating decimal is a fraction over 10, 100, 1000 or another power of 10. For example, 0.375 = 375/1000. So a fraction terminates exactly when it can be rewritten with a power of 10 at the bottom.

Now look at the primes in those numbers. , , and . Every power of 10 is made only of 2s and 5s.

Take . Here . Multiply the top and the bottom by , and the bottom becomes . So . In the same way, , so .

Now take . Can its bottom number become a power of 10? Multiplying 3 by any whole number gives a number with 3 among its primes. In the lecture on prime numbers, every whole number had exactly one prime factorisation. A power of 10 has only 2s and 5s, so it has no 3. So no multiple of 3 is ever a power of 10, and can never terminate.

Which fractions terminate

Write the fraction in simplest form. If the bottom number has no primes other than 2 and 5, the decimal terminates. If it has any other prime, the decimal recurs.

The words "in simplest form" matter. has 6 = 2 × 3 at the bottom, so it seems to have a 3. But , which terminates. The 3 at the bottom was cancelled by the 3 at the top. Always simplify first, then look at the primes.

Decimals back into fractions

A terminating decimal is the easier direction. The place of the last digit gives the bottom number. Then simplify by the HCF, as in the lecture on equivalent fractions. For example, 0.36 ends in the hundredths, so . The HCF of 36 and 100 is 4, so . And 0.125 ends in the thousandths, so . The HCF is 125, so . Check by dividing back: .

A recurring decimal has a problem: it has no last digit. So where does its fraction come from? Take 0.727272…. The trick is to get rid of the endless tail, and the tool is subtraction.

Multiplying by 100 moves every digit two places to the left. So 100 copies of the number are 72.727272…. Now take away one copy:

The tails are identical, so they cancel completely. The answer, 72, is exact. On the left, 100 copies minus 1 copy leaves 99 copies. So 99 copies of the number make 72, and the number is

Check: . It works.

Why 100 copies, and not 10? The shift must move the digits by a whole block, so that the tails line up digit for digit. The block 72 has two digits, so you need a shift of two places, which is 100 copies. With only 10 copies, you get 7.272727…. Take away 0.727272…, and the tails do not match: the answer is 6.545454…, which still never ends. So count the digits in the repeating block first. One digit needs 10 copies. Two digits need 100. Six digits need 1 000 000.

In the lectures on algebra, you will write this method with a letter, such as and . The letter is only a name for "the number". The idea is exactly the one you have just used.

The method also shows a pattern. One copy of the block over the same number of 9s gives the fraction: , and .

Stop and think

Use the method on . What fraction do you get? Do you believe it?

Show the answer

The block has one digit, so take 10 copies: 9.999…. Take away one copy: . So 9 copies of the number make 9, and the number is .

Many people find this hard to believe, and that is a sensible reaction. Here is a second reason. If 0.999… and 1 were different numbers, there would be a number between them. But any number less than 1 is less than 0.999… once you take enough 9s. So there is no gap. 0.999… and 1 are two names for the same number, just as and are.

Worked examples

Worked Example 1 — Dividing by a small decimal

Work out .

Make the divisor whole. 0.08 has two decimal places, so multiply both numbers by 100. That counts both in hundredths: .

Divide. 64 ÷ 8 = 8, and then 8 ÷ 8 = 1. So .

Check. Multiply back: . Also, 0.08 is much less than 1, so the answer should be much bigger than 6.48. It is.

Worked Example 2 — Splitting a bill

Three friends share a restaurant bill of $47.40 equally. How much does each pay? (The bill is invented.)

Tens and ones. 47 ÷ 3 = 15, remainder 2.

Tenths. Exchange the 2 ones for 20 tenths, and add the 4 tenths: 24 tenths. 24 ÷ 3 = 8, remainder 0.

Hundredths. 0 ÷ 3 = 0. The point sits above the point in 47.40, so each pays $15.80.

Check. . An estimate also agrees: $45 shared by 3 is $15.

Worked Example 3 — There and back

Will give a terminating decimal? If so, find it, and then turn the decimal back into a fraction.

Look at the bottom number. is in simplest form, and . It has only 2s, so the decimal terminates.

Make a power of 10. Multiply the top and the bottom by : .

Back again. 0.3125 ends in the ten-thousandths, so it is . The HCF is 625, which gives .

Check. Long division: gives remainders 2, 4, 8, 0, and the digits 3, 1, 2, 5. So 0.3125. ✓

Worked Example 4 — A recurring decimal that starts late

Write as a fraction in simplest form.

The difficulty. The 1 does not repeat. Only the 6 does. So the tail starts one place late. Choose two copies whose tails both start straight after the point.

Two copies with the same tail. 100 copies: 16.666…. 10 copies: 1.666…. Both tails are 0.666….

Subtract. . And 100 copies minus 10 copies is 90 copies. So the number is .

Check. : remainder 1, then 4, then 4 again. Digits 1, 6, 6, 6 …. So . ✓ Also, 6 = 2 × 3 has a 3, so it must recur.

Trap 1 — Moving the point in only one number

To divide by 0.6, both numbers must be multiplied by 10. If only 0.6 changes, the answer is ten times too small. Check by multiplying back every time.

Trap 2 — Writing a recurring decimal over 100

, but . The first stops after two places. The second goes on forever, so it is a little bigger. Powers of 10 are only for decimals that stop.

Trap 3 — The wrong number of copies

For , 10 copies give 7.2727…, whose tail does not line up with 0.7272…. Count the digits in the repeating block first. The shift must be exactly one whole block.

Try it yourself

Work each one on paper first. Open a hint only when you are stuck.

  1. Work out (a) and (b) .

    Hint 1

    (a) divides by a whole number, so keep the point where it is. (b) needs both numbers multiplied by the same power of 10 first.

    Hint 2

    (b) 0.007 has three decimal places. Multiply both by 1000: 840 ÷ 7.

    Full answer

    (a) 9 ÷ 4 = 2, remainder 1. Exchange: 13 tenths ÷ 4 = 3, remainder 1. Exchange: 16 hundredths ÷ 4 = 4. The answer is 2.34.

    (b) .

    Check: (a) 2.34 × 4 = 9.36. (b) 120 × 0.007 = 0.840. Also, 0.007 is tiny, so the answer must be much bigger than 0.84.

  2. (a) Write 0.45 as a fraction in simplest form. (b) Write as a decimal. (c) Which of , and give terminating decimals?

    Hint 1

    (a) 0.45 ends in the hundredths. (b) Make the bottom number 100. (c) Simplify first, then look at the primes of the bottom number.

    Hint 2

    (c) 40 = 2³ × 5, 12 = 2² × 3, and 9/15 = 3/5.

    Full answer

    (a) , HCF 5, so .

    (b) .

    (c) terminates: 0.175. recurs, because 12 has a 3: . terminates: 0.6. Notice that 15 has a 3, but it cancels.

    Check: 9 ÷ 20 = 0.45, and 7 ÷ 40 = 0.175.

  3. Write as fractions in simplest form: (a) (b) .

    Hint 1

    Count the digits in each repeating block. That tells you how many copies to take.

    Hint 2

    (a) 100 copies minus 1 copy is 99 copies. (b) The block 123 has three digits: 1000 copies minus 1 copy.

    Full answer

    (a) 45.4545… − 0.4545… = 45, so 99 copies make 45. The number is .

    (b) 123.123123… − 0.123123… = 123, so 999 copies make 123. The number is . The HCF is 3, so .

    Check: 5 ÷ 11 = 0.4545…. And 41 ÷ 333 = 0.123123….

  4. Which is bigger, or ? Answer in two ways: by comparing digits, and by writing both as fractions. By how much is it bigger?

    Hint 1

    Write out the first five or six digits of each. For the fractions, starts repeating late, as in Worked Example 4.

    Hint 2

    For : 1000 copies are 363.333… and 100 copies are 36.333…. Subtract.

    Full answer

    Digits. and . The first place where they differ is the fourth: 6 against 3. So is bigger.

    Fractions. . For the other, 363.333… − 36.333… = 327, and 1000 copies minus 100 copies is 900 copies. So it is .

    The difference. Use the common denominator 3300: and . So the difference is .

    Check: 1 ÷ 3300 = 0.000303…, and 0.363636… − 0.363333… = 0.000303…. ✓

The bigger idea

Whether a fraction terminates depends on the number 10. We count in tens, and 10 = 2 × 5. That is the only reason why ends and does not. It is not a fact about the fractions themselves.

The Babylonians counted in sixties, and . In a base-60 system, a third is simply 20 sixtieths, and it ends at once. Computers work in base 2, which has only the prime 2. So in a computer, even 0.1 = is a recurring "decimal", because 10 has a 5. The computer has to cut it off and store a value very slightly wrong. This is why many programming languages print 0.1 + 0.2 as 0.30000000000000004. The machine is not broken. It is meeting 's problem in a different base.

And there is one more family of numbers. Every fraction gives a decimal that terminates or recurs. So a decimal that goes on forever without any repeating block cannot be a fraction at all. is one of them. In later years these numbers get their own name: irrational numbers.

Key concepts in this lesson