Rational Numbers and Decimal Expansions
Rational Numbers and Decimal Expansions
In this lesson, you will learn how rational numbers are connected to decimals. You will see why every rational number has a decimal that either terminates (ends) or repeats in a pattern forever.
You will also learn how to turn repeating decimals back into fractions. This is an important skill because it helps show the connection between fractions, decimals, and the real number system.
1. What is a rational number?
A rational number is any number that can be written as a fraction of two integers:
$$\frac{a}{b}$$where \(a\) and \(b\) are integers and \(b \ne 0\).
Examples of rational numbers include:
- \(\frac{3}{4}\)
- \(-2 = \frac{-2}{1}\)
- \(0.6 = \frac{3}{5}\)
- \(0.272727\ldots\)
This means rational numbers include many fractions, whole numbers, integers, terminating decimals, and repeating decimals.
2. Types of decimal expansions
A decimal expansion is the decimal form of a number. Rational numbers can have two kinds of decimal expansions:
- Terminating decimals: the digits end.
- Repeating decimals: one digit or a group of digits repeats forever.
Examples of terminating decimals:
- \(\frac{1}{2} = 0.5\)
- \(\frac{3}{4} = 0.75\)
- \(\frac{7}{20} = 0.35\)
Examples of repeating decimals:
- \(\frac{1}{3} = 0.3333\ldots = 0.\overline{3}\)
- \(\frac{2}{11} = 0.181818\ldots = 0.\overline{18}\)
- \(\frac{5}{6} = 0.83333\ldots = 0.8\overline{3}\)
The bar over the digits shows the repeating part. For example, \(0.\overline{27}\) means \(0.27272727\ldots\)
3. Why do rational numbers terminate or repeat?
When you change a fraction into a decimal, you are really dividing the numerator by the denominator. In long division, there are only a limited number of possible remainders.
For example, if you divide by \(7\), the remainder must be one of:
$$0,1,2,3,4,5,6$$There cannot be any other remainder.
Two things can happen during division:
- If the remainder becomes \(0\), the decimal stops. So the decimal terminates.
- If a remainder repeats, the same division steps will repeat again and again. So the decimal repeats.
Since there are only finitely many possible remainders, one of these two things must happen. That is why every rational number has a decimal expansion that either terminates or repeats.
4. When does a decimal terminate?
A fraction in simplest form has a terminating decimal only when the denominator has no prime factors other than \(2\) and/or \(5\).
This is because decimals are based on powers of 10, and
$$10 = 2 \times 5$$So denominators that fit into a power of 10 will produce terminating decimals.
Examples:
- \(\frac{3}{8}\), since \(8 = 2^3\), terminates.
- \(\frac{7}{20}\), since \(20 = 2^2 \times 5\), terminates.
- \(\frac{2}{3}\), since \(3\) is not a factor of 10, repeats.
- \(\frac{5}{12}\), since \(12 = 2^2 \times 3\), repeats because of the factor \(3\).
Worked Example 1: Does the decimal terminate or repeat?
Decide whether \(\frac{9}{40}\) has a terminating or repeating decimal.
Step 1: Factor the denominator.
$$40 = 2^3 \times 5$$Step 2: Check the prime factors.
The denominator has only \(2\)s and \(5\)s, so the decimal terminates.
Step 3: Find the decimal.
$$\frac{9}{40} = 0.225$$So \(\frac{9}{40}\) is a rational number with a terminating decimal expansion.
5. Repeating decimals are also rational numbers
It may seem surprising, but a repeating decimal is always rational. That means it can always be written as a fraction.
We can prove this using algebra.
Worked Example 2: Convert a simple repeating decimal to a fraction
Write \(0.\overline{4}\) as a fraction.
Step 1: Let
$$x = 0.\overline{4}$$Step 2: Multiply by 10 so one repeating digit moves left of the decimal point.
$$10x = 4.\overline{4}$$Step 3: Subtract the original equation.
$$10x - x = 4.\overline{4} - 0.\overline{4}$$ $$9x = 4$$Step 4: Solve for \(x\).
$$x = \frac{4}{9}$$So,
$$0.\overline{4} = \frac{4}{9}$$6. Converting repeating decimals with more than one repeating digit
If two digits repeat, multiply by \(100\). If three digits repeat, multiply by \(1000\), and so on. The idea is to line up the repeating parts so they cancel when you subtract.
Worked Example 3: Convert a repeating decimal with two repeating digits
Write \(0.\overline{27}\) as a fraction.
Step 1: Let
$$x = 0.\overline{27}$$Step 2: Multiply by 100 because 2 digits repeat.
$$100x = 27.\overline{27}$$Step 3: Subtract the original equation.
$$100x - x = 27.\overline{27} - 0.\overline{27}$$ $$99x = 27$$Step 4: Solve.
$$x = \frac{27}{99}$$Step 5: Simplify.
$$\frac{27}{99} = \frac{3}{11}$$So,
$$0.\overline{27} = \frac{3}{11}$$7. Repeating decimals that start after some non-repeating digits
Sometimes a decimal has a part that does not repeat, and then a repeating part begins.
For example, in \(0.1\overline{6}\), the \(1\) does not repeat, but the \(6\) repeats forever:
$$0.16666\ldots$$These can also be changed into fractions using algebra.
Worked Example 4: Convert a mixed repeating decimal to a fraction
Write \(0.1\overline{6}\) as a fraction.
Step 1: Let
$$x = 0.1\overline{6}$$Step 2: Move the decimal so the repeating part starts right after the decimal point.
$$10x = 1.\overline{6}$$Step 3: Now multiply again so one repeating digit moves left of the decimal point.
$$100x = 16.\overline{6}$$Step 4: Subtract the smaller shifted equation from the larger one.
$$100x - 10x = 16.\overline{6} - 1.\overline{6}$$ $$90x = 15$$Step 5: Solve.
$$x = \frac{15}{90} = \frac{1}{6}$$So,
$$0.1\overline{6} = \frac{1}{6}$$8. A useful pattern to notice
Here are some common repeating decimals and fractions:
- \(0.\overline{1} = \frac{1}{9}\)
- \(0.\overline{2} = \frac{2}{9}\)
- \(0.\overline{3} = \frac{1}{3}\)
- \(0.\overline{7} = \frac{7}{9}\)
- \(0.\overline{09} = \frac{1}{11}\)
- \(0.\overline{18} = \frac{2}{11}\)
These patterns can help you check your work, but it is still important to know the algebraic method.
9. Important ideas to remember
- A rational number can be written as \(\frac{a}{b}\), where \(a\) and \(b\) are integers and \(b \ne 0\).
- Every rational number has a decimal expansion that either terminates or repeats.
- If a fraction in simplest form has a denominator with only factors of \(2\) and/or \(5\), the decimal terminates.
- If the denominator has any other prime factor, the decimal repeats.
- Every repeating decimal can be written as a fraction, so every repeating decimal is rational.
10. Quick check questions
- Is \(\frac{7}{25}\) terminating or repeating?
- Is \(\frac{4}{9}\) terminating or repeating?
- Write \(0.\overline{5}\) as a fraction.
- Write \(0.\overline{12}\) as a fraction.
Answers:
- Terminating, because \(25 = 5^2\).
- Repeating, because \(9 = 3^2\).
- \(\frac{5}{9}\)
- \(\frac{12}{99} = \frac{4}{33}\)
Summary
Rational numbers are numbers that can be written as fractions. When written as decimals, they always either end or repeat. Terminating decimals come from fractions whose simplified denominators have only factors of \(2\) and \(5\), and repeating decimals can always be converted back into fractions using algebra.
Put what you read to the test
You've worked through Rational Numbers and Decimal Expansions. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.