Skip to content

Lesson 1: Decimal Expansions of Rational Numbers

Gas prices showing decimals.

Image courtesy of Wikimedia Commons

By Michael Avidon, math editor

For Students: Performance Expectations (CCSS)

This lesson addresses the following Common Core State Standard (CCSS) for Grade 8:

  • 8.NS.A.1: Know that numbers that are not rational are called irrational. Understand informally that every number has a decimal expansion; for rational numbers show that the decimal expansion repeats eventually, and convert a decimal expansion that repeats eventually into a rational number.

You learned previously that any number that can be written as the quotient of two integers is called a rational number. In this lesson, you are going to study the relationship between rational numbers and their decimal expansions.

More in this series
At-home math lessons: Rational and irrational numbers

At-home math lesson: irrationality
of the square root of 2

Summary and Vocabulary
of Rational and Irrational Numbers

Lesson 2: Approximation of Irrational Numbers

At-home math lesson: Approximation of pi

At-home lessons: the golden ratio

At-home math lesson: doubling and dividing

Terminating decimal expansions

Some decimals, such as 0.57, are terminating. This means that they have a finite number of digits. A terminating decimal can be written as the quotient of two integers.

0.57 = 57

This demonstrates that 0.57 is a rational number.

Example 1

Show that –1.375 is a rational number.

Solution:

The decimal goes to the thousandths place, so you can use the denominator 1000.
-1.375 = -13751000

This is the quotient of two _____________, so it is rational.

Note that in the last example, the fraction can be reduced to -118. (This is not needed for the demonstration that the number is rational.) It is important to understand that the preceding numbers are all rational regardless of the form in which they are written. They were rewritten in fraction form merely to verify this property.

You can convert a fraction, such as 740, to a decimal (0.175) by doing long division.

Not all fractions result in terminating decimals. As seen on the previous page, a terminating decimal can be written as a fraction whose denominator is a power of 10. That fraction may or may not reduce. In any case, the reduced form of the fraction has a denominator that is a divisor of a power of 10. Another way to say this is that the only prime divisors of the denominator of this reduced fraction are 2 and 5 (the only prime factors of 10). In the examples shown thus far, the denominators of the reduced fractions were 100 = 22, 8 = 23, and 40 = 2 x 5.

Conversely, if you start with a fraction whose prime divisors are only 2 and 5, you can multiply the numerator and denominator by a power of 2 or 5 to get equal powers (if you start with 23 x 5, say, you can multiply by 52). This yields a denominator that is a power of 10, and you can rewrite this fraction as a terminating decimal.

In summary, we have the following: A fraction written in reduced form will have a terminating decimal if and only if the prime factors of the denominator are 2 and 5.

Note: This does not apply to a fraction that is not in reduced form. For example, you could rewrite 740 as 280 . This fraction’s denominator has a prime factor of 7 and has a terminating decimal.

PRINTABLE VERSION: To help follow along easier, print this lesson

Repeating decimal expansions

If you convert a reduced fraction whose denominator has a prime factor other than 2 or 5, you will get a non-terminating decimal.

Let us do this with 511 to come out with an answer of 0.454 with a remainder of 6.

Notice that after the second subtraction there was a remainder of 5, leading to the same division as in the first step. Naturally, this led to the same remainder of 6 obtained after the first subtraction. So the fourth division will be the same as the second division. Then the fifth division will be the same as the __________, and so on. This means that the digits 4 and 5 in the decimal form of the quotient will just keep repeating.
511 = 0.4545454545….
The ellipsis (the series of dots) is used to mean that the pattern continues as shown. There is a more precise notation to indicate this, however. Whenever digits in a decimal form a repeating pattern, an overbar can be drawn above the digits that form one whole pattern to indicate the repetition. For this example, we have:

511 = 0.45

Example 2

What is written in decimal form?

Solution:

Long division will at first yield a quotient of 0.027 with a remainder of ___, and then the pattern will repeat. So the quotient can be written as 0.027027027… or 0.027.

In this example, the digit 0 had to be under the overbar, as that digit is part of the repeating pattern. If you wrote instead, that would represent the fraction 3110 .

When you divide any whole number by any nonzero whole number, you will get a repeating decimal expansion (the “repeating” part may just be zeros, in which case you do not write them and you have a terminating decimal), as shown in the examples above.

Why does this happen?

Look back at the long division by 11. The remainders after each step were 6, 5, and then 6 again. Once a remainder repeats, you will then repeat the same divisions and get the same quotients (digits in the decimal expansion). So you have a repeating pattern.

Why do the remainders have to repeat?

When you divide by 11, for example, there are only ____ different possible remainders. So if you performed long division, once you get to the 12th division, you have 12 remainders but they can be at most ____ different possible numbers. So at least two of the remainders must be the same. (In that example, it took only 3 divisions to get a repeat.)

Likewise, when you divide by n, there are n possible remainders, and this implies that a remainder must repeat by the n+1st division (if not sooner).

Now suppose that you have a repeating decimal. How do you convert it to a fraction?

You cannot do what you did for terminating decimals: count the number of places to find the correct power of 10 to be the denominator, because there are an infinite number of decimal places.

You can convert 0.1234 to fraction form using some algebra. Call this number x.

Decimals

You can have a repeating decimal that starts with a non-repeating part.

Example 3

Convert into fraction form.

Solution:

Let x = 0.215. To obtain just the repeating part to the right of the decimal point, you can multiply this by 10 and by 1000, and then subtract:

Decimals

Irrational numbers

It follows from all of the preceding explanations that any rational number either has a terminating or a repeating decimal expansion. The converse is also true: any number that has either a terminating or repeating decimal expansion is a rational number.

There are many numbers that cannot be written as the quotient of two integers, such as √2 and π. These are known as irrational numbers. (The enrichment material has a proof that √2 is irrational. The proof that √2 is irrational would be covered in a college-level mathematics course; its irrationality is assumed without proof here.) It follows from the preceding paragraph that the decimal expansions of irrational numbers must be non-terminating and non-repeating. The converse is also true: any non-terminating and non-repeating decimal must be irrational.

There are infinitely many irrational numbers. But unlike rational numbers, which can be written in the manner shown in this lesson, irrational numbers by definition cannot be written in this form. So they need to be described indirectly. You have been given definitions for √2 and π, so you know what these symbols mean, but it takes some work to arrive at the (approximate) decimal representations 1.414… and 3.1415… The ellipses do not tell you what the rest of the digits are.

Exercises for lesson 1

Write the decimals as fractions to show that they are rational.

  1. 0.42
  2. 0.967
  3. 1.0523

A reduced fraction has the given number as a denominator.

Will the fraction be terminating or non-terminating?

  1. 250
  2. 30
  3. 88

Write the fractions as decimals. Use an overbar, if necessary.

  1. 29
  2. 116
  3. 833
  4. 1125
  5. 31303
  6. 5033330

Write the decimals as fractions.

  1. 0.7
  2. 0.61
  3. 0.940
  4. 0.382
  1. Which fractions with denominator 60 have a terminating decimal?
  2. For a simple repeating decimal expansion (one without a non-repeating part at the start), provide a simple description of how to immediately write it in fraction form, without using algebra.
  3. Suppose a decimal expansion starts with 0.12345678910… This shows the whole numbers from 0 to 10 in order. It continues by placing every whole number in order without terminating. Is this number rational or irrational? Explain.
  4. Suppose a decimal expansion starts with 0.814259668314795… After this it is non-terminating, but you don’t know the rest of the digits. Can you determine if this number is rational or irrational? Explain.
  5. Explain why 1.5 + √2 must be irrational.

Challenge Problem:

Prove that the sum of any two rational numbers is rational. Hint: Let ab and cd represent the two numbers, where a, b, c, and d are integers with b ≠ 0 and d ≠ 0.

NEXT LESSON: At-home math lesson: irrationality of the square root of 2

Scroll To Top