Decimal Expansions of Real Numbers
Every real number has a decimal expansion. Some look polite , , end of story. Others wander forever but with a pattern, like . A third kind wanders forever with no pattern at all, like or . 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. .
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:
A decimal is non-terminating non-recurring if it goes on forever with no eventually repeating block. Example: , 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 in lowest terms terminates if and only if the denominator has no prime factors other than and . Examples:
- , terminates.
- , terminates.
- , does not terminate (denominator has a ).
- , does not terminate (denominator has a ).
Why s and s? A terminating decimal with digits after the point can be written as an integer over . So in lowest terms the denominator can only use primes and .
Recurring fraction. There is a beautiful trick to convert any recurring decimal to a fraction. Let the decimal be , multiply by a power of that shifts the repeat once to the left, subtract, and solve for .
For : , so , .
For : , so , .
For mixed cases like : first shift past the non-repeating part. and , so , giving .
A famous oddity. . Apply the same trick: let . Then , so and . This is not a paradox , it tells you that some real numbers have two decimal names. The other name of is ; the other name of is .
Irrational decimals. You cannot multiply an irrational decimal by a clean power of 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 terminate.
Factor denominators: (only s; terminates); (has ; non-terminating); (has ; non-terminating); (only s and s; terminates).
Example 2. Express as a fraction.
Let . Then , so , .
Example 3. Express as a fraction.
Let . Then and , so , giving .
Example 4. Find the decimal expansion of , at least the first digits, and explain why the expansion must repeat.
Long division gives , a -digit cycle. The expansion must eventually repeat because at each step of long division the remainder lies between and . With only possible non-zero remainders, a remainder must recur within steps, and once it does the digits repeat.
Example 5. Write three numbers whose decimal expansions are non-terminating non-recurring.
Choices: , (Champernowne-style), and . Each fails to repeat eventually, so each is irrational.
Try it yourself
- Without dividing, decide whether each terminates: .
- Convert each recurring decimal to a fraction: .
- Find the decimal expansion of and identify the repeating block.
- Find one non-terminating non-recurring decimal between and .
- Why is guaranteed to have a repeating block of length at most ?
- Show that using a fraction argument.
- Without using a calculator, decide whether terminates.
- The decimal equals which rational?
- Is rational or irrational? Justify.
- If the decimal expansion of (lowest terms) terminates, what can you say about the prime factors of ?
Pitfalls / Insight
- Lowest terms matters. looks bad but equals , which terminates.
- Bars cover only the repeating block. means , not .
- "Pattern" is not the same as "recurring". 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.