Math Lab
Home/Class IX/Ch 1/Decimal Expansions of Real Numbers

Decimal Expansions of Real Numbers

Every real number has a decimal expansion. Some look polite , 14=0.25\dfrac{1}{4} = 0.25, end of story. Others wander forever but with a pattern, like 17=0.142857\dfrac{1}{7} = 0.\overline{142857}. A third kind wanders forever with no pattern at all, like π\pi or 2\sqrt{2}. This lesson sorts decimals into three boxes and gives you tools to convert between fractions and decimals in either direction.

Definitions

A decimal terminates if it has a last non-zero digit, e.g. 0.5,0.375,12.60.5, 0.375, 12.6.

A decimal is non-terminating recurring if it goes on forever but, after some point, a fixed block of digits repeats. We write the repeating block under a bar: 13=0.3,17=0.142857,16=0.16.\frac{1}{3} = 0.\overline{3}, \qquad \frac{1}{7} = 0.\overline{142857}, \qquad \frac{1}{6} = 0.1\overline{6}.

A decimal is non-terminating non-recurring if it goes on forever with no eventually repeating block. Example: 0.10100100010.1010010001\ldots, where the gaps grow one zero at a time.

Three boxes, one dictionary

Fundamental dictionary.

A real number is rational if and only if its decimal expansion either terminates or is eventually recurring. A real number is irrational if and only if its decimal expansion is non-terminating and non-recurring.

This single sentence is the most useful theorem in the chapter.

Which fractions terminate? A fraction pq\dfrac{p}{q} in lowest terms terminates if and only if the denominator qq has no prime factors other than 22 and 55. Examples:

  • 78=723=0.875\dfrac{7}{8} = \dfrac{7}{2^3} = 0.875 , terminates.
  • 1740=17235=0.425\dfrac{17}{40} = \dfrac{17}{2^3 \cdot 5} = 0.425 , terminates.
  • 16=123\dfrac{1}{6} = \dfrac{1}{2 \cdot 3} , does not terminate (denominator has a 33).
  • 17\dfrac{1}{7} , does not terminate (denominator has a 77).

Why 22s and 55s? A terminating decimal with kk digits after the point can be written as an integer over 10k=2k5k10^k = 2^k \cdot 5^k. So in lowest terms the denominator can only use primes 22 and 55.

Recurring \to fraction. There is a beautiful trick to convert any recurring decimal to a fraction. Let the decimal be xx, multiply by a power of 1010 that shifts the repeat once to the left, subtract, and solve for xx.

For x=0.3x = 0.\overline{3}: 10x=3.310x = 3.\overline{3}, so 10xx=310x - x = 3, x=39=13x = \dfrac{3}{9} = \dfrac{1}{3}.

For x=0.47x = 0.\overline{47}: 100x=47.47100x = 47.\overline{47}, so 99x=4799x = 47, x=4799x = \dfrac{47}{99}.

For mixed cases like x=0.127x = 0.1\overline{27}: first shift past the non-repeating part. 10x=1.2710x = 1.\overline{27} and 1000x=127.271000x = 127.\overline{27}, so 1000x10x=1261000x - 10x = 126, giving x=126990=755x = \dfrac{126}{990} = \dfrac{7}{55}.

A famous oddity. 0.9=10.\overline{9} = 1. Apply the same trick: let x=0.9x = 0.\overline{9}. Then 10x=9.9=9+x10x = 9.\overline{9} = 9 + x, so 9x=99x = 9 and x=1x = 1. This is not a paradox , it tells you that some real numbers have two decimal names. The other name of 11 is 0.90.\overline{9}; the other name of 0.250.25 is 0.2490.24\overline{9}.

Irrational decimals. You cannot multiply an irrational decimal by a clean power of 1010 to repeat the pattern, because there is no pattern. That is the entire content of the second half of the dictionary.

Worked examples

Example 1. Without dividing, decide which of 133125,1112,29343,2350\dfrac{13}{3125}, \dfrac{11}{12}, \dfrac{29}{343}, \dfrac{23}{50} terminate.

Factor denominators: 3125=553125 = 5^5 (only 55s; terminates); 12=22312 = 2^2 \cdot 3 (has 33; non-terminating); 343=73343 = 7^3 (has 77; non-terminating); 50=25250 = 2 \cdot 5^2 (only 22s and 55s; terminates).

Example 2. Express 0.60.\overline{6} as a fraction.

Let x=0.6x = 0.\overline{6}. Then 10x=6.6=6+x10x = 6.\overline{6} = 6 + x, so 9x=69x = 6, x=23x = \dfrac{2}{3}.

Example 3. Express 0.580.5\overline{8} as a fraction.

Let x=0.58x = 0.5\overline{8}. Then 10x=5.810x = 5.\overline{8} and 100x=58.8100x = 58.\overline{8}, so 100x10x=53100x - 10x = 53, giving x=5390x = \dfrac{53}{90}.

Example 4. Find the decimal expansion of 117\dfrac{1}{17} , at least the first 1616 digits, and explain why the expansion must repeat.

Long division gives 117=0.0588235294117647\dfrac{1}{17} = 0.\overline{0588235294117647}, a 1616-digit cycle. The expansion must eventually repeat because at each step of long division the remainder lies between 11 and 1616. With only 1616 possible non-zero remainders, a remainder must recur within 1616 steps, and once it does the digits repeat.

Example 5. Write three numbers whose decimal expansions are non-terminating non-recurring.

Choices: 0.1010010001000010.101001000100001\ldots, 0.1234567891011120.123456789101112\ldots (Champernowne-style), and π3=0.14159265\pi - 3 = 0.14159265\ldots. Each fails to repeat eventually, so each is irrational.

Try it yourself

  1. Without dividing, decide whether each terminates: 8125,730,14875,916,215\dfrac{8}{125}, \dfrac{7}{30}, \dfrac{14}{875}, \dfrac{9}{16}, \dfrac{2}{15}.
  2. Convert each recurring decimal to a fraction: 0.5,0.45,0.43,0.23470.\overline{5}, 0.\overline{45}, 0.4\overline{3}, 0.23\overline{47}.
  3. Find the decimal expansion of 113\dfrac{1}{13} and identify the repeating block.
  4. Find one non-terminating non-recurring decimal between 0.40.4 and 0.410.41.
  5. Why is 117\dfrac{1}{17} guaranteed to have a repeating block of length at most 1616?
  6. Show that 0.9=10.\overline{9} = 1 using a fraction argument.
  7. Without using a calculator, decide whether 99800\dfrac{99}{800} terminates.
  8. The decimal 0.1428571428570.142857142857\ldots equals which rational?
  9. Is 0.12122122210.1212212221\ldots rational or irrational? Justify.
  10. If the decimal expansion of pq\dfrac{p}{q} (lowest terms) terminates, what can you say about the prime factors of qq?

Pitfalls / Insight

  • Lowest terms matters. 630\dfrac{6}{30} looks bad but equals 15\dfrac{1}{5}, which terminates.
  • Bars cover only the repeating block. 0.160.1\overline{6} means 0.166660.16666\ldots, not 0.1616160.161616\ldots.
  • "Pattern" is not the same as "recurring". 0.1234567891011120.123456789101112\ldots has a clear pattern but does not repeat a fixed block; it is irrational.

Insight. A long-division remainder remembers everything. If after some step the same remainder reappears, the digits from that step on must repeat , and remainders are bounded by the divisor. That is why every rational must terminate or recur.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Decimal expansions
6 questions · pick the best answer
Q1

178\dfrac{17}{8} has decimal expansion that is:

Q2

17\dfrac{1}{7} has decimal expansion:

Q3

0.450.\overline{45} as a fraction is:

Q4

Which fraction has a terminating decimal expansion?

Q5

0.90.\overline{9} equals:

Q6

Which of these is a non-terminating non-recurring decimal?