Introduction

Welcome back to Mastery of Repeating Decimals! With two lessons already under our belt, we are now halfway through the course. In the first lesson, we learned to read and write bar notation fluently. In the second, we sharpened our ability to split a mixed decimal into its non-repeating prefix and repeating block. Now comes the exciting payoff: we will take a repeating decimal and convert it into an exact fraction.

This third lesson focuses on pure repeating decimals, where the cycle starts right after the decimal point with no prefix at all — decimals like 0.70.\overline{7}, 0.360.\overline{36}, and 0.1350.\overline{135}. We will learn a clean algebraic technique that works for any block length, and by the end you will be converting these decimals to simplified fractions with confidence.

Why Convert Back to Fractions?

As you may recall from the first course, we used long division to turn fractions like 13\frac{1}{3} into decimals like 0.3330.333\ldots That process moved us from a fraction to a decimal. Now we want to go in the opposite direction: start with a repeating decimal and figure out which fraction it represents.

Why does this matter in practice? Imagine three friends split a restaurant bill evenly. A calculator shows each person's share as 0.3330.333\ldots of the total — an endless string of threes. That is not very satisfying when you need an exact answer. Fractions are compact, exact, and far easier to use in further calculations. By the end of this lesson, you will be able to prove that is exactly , and handle much trickier repeating decimals the same way.

The Algebraic Elimination Method

The technique rests on one elegant idea: if we multiply a repeating decimal by the right power of ten, the repeating tail lines up perfectly with the original, and a simple subtraction cancels it out. Let's see this in action with 0.70.\overline{7}.

Step 1 — Define a variable. Let x=0.7=0.7777x = 0.\overline{7} = 0.7777\ldots

Building Fluency with Single-digit Blocks

Let's reinforce the pattern with two more conversions so the four-step rhythm feels automatic.

Example: 0.40.\overline{4}

Let x=0.4444x = 0.4444\ldots Multiply by 1010:

10x=4.444410x = 4.4444\ldots
Extending to Two-digit Repeating Blocks

When the repeating block has two digits, we multiply by 100100 instead of 1010. The logic is the same: the power of ten must shift the decimal point by exactly one full block length so the repeating tails line up for cancellation.

Example: 0.360.\overline{36}

Let x=0.363636x = 0.363636\ldots Multiply by :

Extending to Three-digit Repeating Blocks

By now the pattern should feel predictable. A three-digit repeating block calls for multiplication by 1,0001{,}000.

Example: 0.1350.\overline{135}

Let x=0.135135135x = 0.135135135\ldots Multiply by 1,0001{,}000:

The General Rule: Repeating Digits over Nines

Let's step back and appreciate the big picture. The table below summarizes what we have observed across all three block lengths:

Block lengthMultiply byDenominator before simplifying
1 digit101099
2 digits1001009999
3 digits1,0001{,}000
Conclusion and Next Steps

In this lesson, we learned the algebraic elimination method for converting pure repeating decimals into fractions. The recipe has four clear steps: assign a variable, multiply by 10n10^n where nn is the block length, subtract to cancel the repeating tail, and solve. We applied this to one-digit, two-digit, and three-digit blocks, and we uncovered the satisfying pattern that the denominator before simplification is always a string of nines matching the block length.

Now it is time to make this method your own. In the upcoming practice exercises, you will complete a guided walkthrough, write full derivations, convert increasingly longer repeating blocks, and even apply the technique to a real-world scenario involving a split dinner bill. Let's turn that fresh understanding into a well-practiced skill!

Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal