Interactive · 3 questions
Most people are familiar with the concept of terminating () and repeating () decimals. Technically, can be written as , but for purposes of classification we consider repeating zeros to be terminating.
Which of the following fractions have a repeating decimal expansion? (Select all that apply.)
How did you determine that? One way is to carry out the division. However, that's laborious, especially with larger numbers. A better method is to look at the denominator of the simplified fraction. From here on, we will only be working with simplified fractions of the form , where and . A well known fact is that if a prime where , then the fraction is repeating. Think about why this is.
Here's a quick proof. If some fraction has a terminating decimal representation, then there exists a positive integer such that , where is a positive integer. Let be a prime factor of , and rewrite this as . Then , but since , , so (ie: or ).
We will now proceed to the main part of this lesson: repeating decimals. We will define the period of a decimal to be the least positive integer such that for some integer , for all . For example, the period of is because for all , . Similarly, has a period of because for all . An intuitive way of thinking about period is that it is the number of digits in the repetend when written optimally. ("Written optimally" informally means that you should write instead of .)
What is the period for ?
Note that .
The period of a number exhibits many interesting properties. As with the previous question, we can carry out the division to determine the period. Is there a better way? Take a moment now and explore the periods for various denominators. (Using a calculator or computer is recommended over doing division by hand.)
For a fraction , if , then the period is (See here for more information about multiplicative order). For example, the order of modulo is , because , but , and observe that the period of is also . The proof of this comes directly from the definition of order. The reader is encouraged to try to prove this on their own!
Are you ready to continue?
Let , so that is the least positive integer such that . We may then write for some positive integer , which rearranges to . Note that when written as an infinite geometric series. Hence we have Observe that this is a repeating decimal with period , and is the repetend (the repeating block). This representation works because , so there are no "carrying over errors."
For example, with , we have and (think of this as , which is the repetend). This has many implications. This shows that for all , the repetend of starts at the first digit. Compare this to , where the repetend starts at the second digit.
There are some quick extensions to this that the reader is encouraged to explore and/or prove on their own. For the majority of this lesson, we have been dealing with unit fractions (numerator was ). It turns out that the numerator does not affect the period as long as it is relatively prime to the denominator. If , meaning that the denominator has factors of and/or , then if we write , where , the period of is equivalent to that of . In particular, powers of and in the denominator only contribute to the non-repeating portion of the decimal, and will cause the repetend to not start at the first digit.
For a bigger extension, the reader is encouraged to explore decimal expansions in other bases.