Free Mathematics Class 9 CBSE notes · practise this chapter with an AI quiz

← All study notes

Look at the Denominator and You Know How the Decimal Ends

Learn to convert a fraction into its decimal form, predict from the denominator whether it terminates, find the repeating block of one seventh and one thirteenth, and turn any repeating decimal back into a fraction.

Can you tell whether a fraction's decimal ends without dividing?

Divide 33 by 88 and the division stops: 0.3750.375, remainder zero. Divide 11 by 33 and it never stops: 0.3333…0.3333\ldots with the same remainder returning for ever.

What decides which happens? Only the denominator, once the fraction is in lowest terms.

38with8=2×2×2⇒terminates\frac{3}{8} \quad \text{with} \quad 8 = 2 \times 2 \times 2 \quad \Rightarrow \quad \text{terminates}

13with3 prime, not 2 or 5⇒repeats\frac{1}{3} \quad \text{with} \quad 3 \text{ prime, not } 2 \text{ or } 5 \quad \Rightarrow \quad \text{repeats}

The rule turns out to be this simple: if the denominator in lowest terms is built only from 22s and 55s, the decimal terminates. Otherwise it repeats for ever in a fixed cycle. Nothing else can happen to a fraction — no fraction produces a decimal that runs on without a pattern.

That last point matters more than it sounds. It means the decimal expansion is a
test
for rationality: terminating or repeating means rational, and anything else means irrational. The previous part of this chapter proved 2\sqrt{2} irrational by contradiction; this part supplies the practical version.

This page covers the third part of the CBSE Class 9 Mathematics chapter on the world of numbers — converting fractions to decimals, predicting the outcome from the denominator, finding repeating blocks, and converting decimals back into the pq\dfrac{p}{q} form.

How do you convert a fraction into its decimal form?

Divide the numerator by the denominator, carrying zeros, and watch the remainders. The remainders tell you when to stop and what repeats.

Worked example 1 — a terminating expansion. Convert 38\dfrac{3}{8}.

Dividing 3.0003.000 by 88: 88 into 3030 goes 33 times with remainder 66; 88 into 6060 goes 77 with remainder 44; 88 into 4040 goes 55 with remainder 00.

38=0.375\frac{3}{8} = 0.375

The remainder reached zero, so the division ended. Check by multiplying back: 0.375×8=30.375 \times 8 = 3.

Worked example 2 — another terminating case. Convert 720\dfrac{7}{20}.

720=7×5100=35100=0.35\frac{7}{20} = \frac{7 \times 5}{100} = \frac{35}{100} = 0.35

Multiplying top and bottom to reach a power of ten is faster than long division whenever it is possible — and it is possible exactly when the expansion terminates.

Worked example 3 — a repeating expansion. Convert 13\dfrac{1}{3}.

33 into 1010 goes 33 times with remainder 11 — and the remainder 11 is where we started, so the digit 33 repeats for ever:

13=0.333…=0.3‾\frac{1}{3} = 0.333\ldots = 0.\overline{3}

The bar notation marks the repeating block.

Worked example 4 — a mixed case. Convert 712\dfrac{7}{12}.

1212 into 7070 goes 55 with remainder 1010; 1212 into 100100 goes 88 with remainder 44; 1212 into 4040 goes 33 with remainder 44 — and the remainder 44 has now repeated.

712=0.58333…=0.583‾\frac{7}{12} = 0.58333\ldots = 0.58\overline{3}

So two digits settle first and then one digit repeats. Check: 0.583‾×120.58\overline{3} \times 12 should give 77, and 0.583333×12=6.9999960.583333 \times 12 = 6.999996, closing on 77 as more digits are taken.

Why a fraction can never produce a patternless decimal. Dividing by qq, every remainder is one of 0,1,2,…,q−10, 1, 2, \ldots, q-1 — at most qq possibilities. So within qq steps either a remainder is zero, ending the division, or a remainder repeats, and once a remainder repeats the digits after it must repeat too, because the same division is being done again.

That argument also bounds the block length. For denominator 77 the repeating block can be at most 66 digits long, since only 66 non-zero remainders exist. The next sections use both halves of this fact.
Formula

What does the denominator tell you about whether the decimal ends?

Put the fraction in lowest terms and factorise the denominator. Then:

terminates  ⟺  q=2m×5nfor whole numbers m,n\text{terminates} \iff q = 2^m \times 5^n \quad \text{for whole numbers } m, n

Any other prime factor in qq — a 33, a 77, an 1111 — forces the expansion to repeat.

Worked predictions.

- 38\dfrac{3}{8}: 8=238 = 2^3. Only 22s, so it terminates. Indeed 0.3750.375
- 720\dfrac{7}{20}: 20=22×520 = 2^2 \times 5. Terminates. Indeed 0.350.35
- 1340\dfrac{13}{40}: 40=23×540 = 2^3 \times 5. Terminates. Indeed 0.3250.325
- 916\dfrac{9}{16}: 16=2416 = 2^4. Terminates, as 0.56250.5625
- 13\dfrac{1}{3}: 33 is neither 22 nor 55. Repeats
- 712\dfrac{7}{12}: 12=22×312 = 2^2 \times 3. The 33 decides it — repeats
- 56\dfrac{5}{6}: 6=2×36 = 2 \times 3. Repeats, as 0.83‾0.8\overline{3}

Why the rule works. A terminating decimal is a fraction with a power of ten underneath: 0.375=37510000.375 = \dfrac{375}{1000}. And

10k=2k×5k10^k = 2^k \times 5^k

so a denominator can be turned into a power of ten by multiplying only if it already consists of 22s and 55s. For 720\dfrac{7}{20} one extra 55 does it. For 13\dfrac{1}{3} no multiplier works, because no power of ten has 33 as a factor.

Lowest terms is not optional. Test 1524\dfrac{15}{24}. As written, 24=23×324 = 2^3 \times 3 and the rule seems to predict repeating. But

1524=58=0.625\frac{15}{24} = \frac{5}{8} = 0.625

which terminates. The 33 cancelled against the numerator, so it was never really in the denominator. Always cancel first, and then apply the test — this is the most frequent error in prediction questions.

How many decimal places a terminating expansion has. It is the larger of mm and nn in q=2m×5nq = 2^m \times 5^n. For 38=323\dfrac{3}{8} = \dfrac{3}{2^3} that is 33 places, and 0.3750.375 has three. For 720=722×5\dfrac{7}{20} = \dfrac{7}{2^2 \times 5} it is 22 places, and 0.350.35 has two. Check on 916=924\dfrac{9}{16} = \dfrac{9}{2^4}: four places, and 0.56250.5625 has four.

How long is the repeating block of one seventh?

Divide, and keep dividing until a remainder comes back. The number of steps between one appearance of a remainder and the next is the block length.

Worked example 1 — 17\dfrac{1}{7}. Dividing 11 by 77 and recording each remainder:

- 10÷710 \div 7: digit 11, remainder 33
- 30÷730 \div 7: digit 44, remainder 22
- 20÷720 \div 7: digit 22, remainder 66
- 60÷760 \div 7: digit 88, remainder 44
- 40÷740 \div 7: digit 55, remainder 55
- 50÷750 \div 7: digit 77, remainder 11 — back to the start

17=0.142857‾\frac{1}{7} = 0.\overline{142857}

The block is 142857142857 and its length is 66. Check: 17×7=1\dfrac{1}{7} \times 7 = 1, and 0.142857×7=0.9999990.142857 \times 7 = 0.999999, closing on 11.

Six is the largest possible length here, because dividing by 77 has only the six non-zero remainders 11 to 66 and all six appeared.

Worked example 2 — 111\dfrac{1}{11}.

- 10÷1110 \div 11: digit 00, remainder 1010
- 100÷11100 \div 11: digit 99, remainder 11 — back to the start

111=0.09‾\frac{1}{11} = 0.\overline{09}

Length 22 — far shorter than the maximum of 1010. Check: 0.090909×11=0.9999990.090909 \times 11 = 0.999999.

Worked example 3 — 113\dfrac{1}{13}. The remainders run 1→10→9→12→3→4→11 \to 10 \to 9 \to 12 \to 3 \to 4 \to 1, six steps, giving

113=0.076923‾\frac{1}{13} = 0.\overline{076923}

Length 66, again well short of the maximum of 1212. Check: 076923×13=999999076923 \times 13 = 999999, so 076923999999=113\dfrac{076923}{999999} = \dfrac{1}{13} exactly.

Worked example 4 — the other sevenths. Dividing 22 by 77 uses the same cycle of remainders entered at a different point:

27=0.285714‾37=0.428571‾\frac{2}{7} = 0.\overline{285714} \qquad \frac{3}{7} = 0.\overline{428571}

The digits 142857142857 appear rotated rather than rearranged — which is exactly what "the same cycle of remainders" means.

The block length is at most q−1q - 1, and is often much less. For 77 and 1313 it is 66; for 1111 it is 22; for 33 it is 11. The maximum is a ceiling, not a prediction, and the only reliable method is to divide until a remainder returns.

Where the repeating starts also depends on the denominator. For 712=0.583‾\dfrac{7}{12} = 0.58\overline{3} the cycle begins two places in, because 12=22×312 = 2^2 \times 3 contains a 22 as well as the 33 — the 22s produce a terminating opening and the 33 produces the tail. A denominator of 22s and 55s only gives all terminating; nothing but other primes gives immediate repetition; a mixture gives a mixture.

How do you turn a repeating decimal back into a fraction?

Multiply by a power of ten to shift the repeating block, then subtract so the tails cancel.

Worked example 1 — a terminating decimal. Convert 0.3750.375. Count the places and use that power of ten:

0.375=3751000=380.375 = \frac{375}{1000} = \frac{3}{8}

No algebra needed — that is what terminating means.

Worked example 2 — one repeating digit. Convert 0.3‾0.\overline{3}. Let x=0.333…x = 0.333\ldots. Multiplying by 1010 shifts one place:

10x=3.333…10x = 3.333\ldots
10x−x=3.333…−0.333…=310x - x = 3.333\ldots - 0.333\ldots = 3
9x=3⇒x=139x = 3 \qquad \Rightarrow \qquad x = \frac{1}{3}

Worked example 3 — a two-digit block. Convert 0.36‾0.\overline{36}. The block has two digits, so multiply by 100100. Let x=0.363636…x = 0.363636\ldots:

100x=36.3636…100x = 36.3636\ldots
100x−x=36⇒99x=36⇒x=3699=411100x - x = 36 \qquad \Rightarrow \qquad 99x = 36 \qquad \Rightarrow \qquad x = \frac{36}{99} = \frac{4}{11}

Check by dividing back: 411=0.3636…\dfrac{4}{11} = 0.3636\ldots. Correct.

Worked example 4 — repeating, but not from the start. Convert 0.16‾0.1\overline{6}, meaning 0.16666…0.16666\ldots. Two multipliers are needed. Let x=0.1666…x = 0.1666\ldots:

10x=1.666…100x=16.666…10x = 1.666\ldots \qquad 100x = 16.666\ldots
100x−10x=16.666…−1.666…=15100x - 10x = 16.666\ldots - 1.666\ldots = 15
90x=15⇒x=1590=1690x = 15 \qquad \Rightarrow \qquad x = \frac{15}{90} = \frac{1}{6}

Check: 16=0.1666…\dfrac{1}{6} = 0.1666\ldots. Correct — and the denominator 6=2×36 = 2 \times 3 explains the shape, one settling digit then one repeating.

Why the subtraction works. Multiplying by 10k10^k, where kk is the block length, moves the decimal point by exactly one whole block. The two numbers then have identical infinite tails, so subtracting removes the tails completely and leaves a whole number — and a whole number over a whole number is a fraction.

Choose the multiplier from the block length, not the number of digits shown. For 0.36‾0.\overline{36} the block is two digits, so 100100. For 0.16‾0.1\overline{6} one digit settles before a one-digit block, so 1010 and 100100. Picking the wrong power leaves a decimal tail behind and the method collapses.

Every terminating or repeating decimal is therefore rational, and combined with the previous section — every fraction terminates or repeats — the two statements close the loop: the rationals are exactly the terminating and repeating decimals. Every remaining point on the line, such as 2=1.41421…\sqrt{2} = 1.41421\ldots or π=3.14159…\pi = 3.14159\ldots, has an expansion that neither ends nor cycles. Each real number corresponds to one point on the number line and each point to one real number, and the decimal expansion is the address that locates it: each further digit narrows the interval by a factor of ten, closing in on a single point.
Exam tip

Exam tip: cancel first, then factorise the denominator

Reduce to lowest terms before predicting. 1524\frac{15}{24} looks like it repeats, but it equals 58=0.625\frac{5}{8} = 0.625 — the 33 cancels.

Then factorise: only 22s and 55s means terminating; any other prime means repeating. Write the factorisation in the answer — 20=22×520 = 2^2 \times 5 — because that is the justification.

The number of decimal places in a terminating expansion is the larger index in 2m×5n2^m \times 5^n: 916=924\frac{9}{16} = \frac{9}{2^4} gives four places, 0.56250.5625.

Use bar notation correctly: 0.3‾0.\overline{3}, 0.09‾0.\overline{09}, 0.583‾0.58\overline{3}. The bar covers the repeating block only.

Find a block by tracking remainders, not digits — the block closes when a remainder returns. For 17\frac{1}{7} the remainders are 3,2,6,4,5,13, 2, 6, 4, 5, 1, so the length is 66.

The block length is at most q−1q-1 but often far less — 111\frac{1}{11} has length 22, not 1010. Never quote the maximum as the answer.

For conversion, the multiplier comes from the block length: ×10\times 10 for one digit, ×100\times 100 for two. If digits settle first, use two multipliers — 0.16‾0.1\overline{6} needs 100x−10x100x - 10x.

Always check by dividing back: 411=0.3636…\frac{4}{11} = 0.3636\ldots confirms the conversion in one line.

And for classification, remember the full statement: terminating or repeating means rational; neither means irrational.
Did you know

Why one seventh and one thirteenth repeat for the same length

17\dfrac{1}{7} repeats in blocks of 66. 113\dfrac{1}{13} also repeats in blocks of 66. But 111\dfrac{1}{11} repeats in blocks of 22, not 1010.

The reason is hiding in a single line of arithmetic. Because 17=0.142857‾\dfrac{1}{7} = 0.\overline{142857}, multiplying the block by 77 gives

142857×7=999999142857 \times 7 = 999999

six nines. And for 1313:

076923×13=999999076923 \times 13 = 999999

the same six nines. So both denominators divide 999999999999, and that is what fixes the block length at six. Likewise 09×11=9909 \times 11 = 99, two nines — so 1111 divides 9999 and the block is two digits long.

The block length of 1q\dfrac{1}{q} is therefore the number of nines in the smallest string of nines that qq divides exactly. For 33 it is one nine, giving length 11. For 77 and 1313 it is six. For 1111 it is two.

This is why the maximum q−1q - 1 is only a ceiling. Dividing by qq visits at most q−1q - 1 non-zero remainders before repeating, so the block cannot be longer — but it can be shorter, and whether it is depends on which string of nines qq happens to divide.

There is a neat consequence. Since 7×13=917 \times 13 = 91 and both divide 999999999999, so does 9191 — and 191\dfrac{1}{91} also repeats in blocks of 66: 0.010989‾0.\overline{010989}. Check: 010989×91=999999010989 \times 91 = 999999.

So the question "how long is the block" is really the question "which repunit of nines does this denominator divide". A long division is the slow way to find out, and the multiplication above is the check that you found it.
Exam relevance

How do decimal expansions feed into JEE Main?

Because the repeating decimal is an infinite series in disguise, and the classification it provides is assumed knowledge in every chapter about real numbers.

This is the foundation for Class 11 Mathematics Sequences and Series, examined in JEE Main. A repeating decimal is precisely an infinite geometric series: 0.3‾0.\overline{3} means

310+3100+31000+⋯\frac{3}{10} + \frac{3}{100} + \frac{3}{1000} + \cdots

with first term 310\dfrac{3}{10} and common ratio 110\dfrac{1}{10}, summing by S=a1−rS = \dfrac{a}{1-r} to 3/109/10=13\dfrac{3/10}{9/10} = \dfrac{1}{3}. That is the same answer the 10x−x10x - x subtraction gives, and the subtraction is the Class 9 shortcut for the Class 11 formula. A student who can convert 0.36‾0.\overline{36} by hand already understands why the geometric sum converges when ∣r∣<1|r| < 1.

The completeness of the reals is the other thread. The idea developed here — that each further decimal digit narrows the interval by a factor of ten, closing on exactly one point — is the intuition behind limits in Class 11 Limits and Derivatives, and behind the nested-interval picture that makes 0.9‾=10.\overline{9} = 1 rather than something slightly less. Questions exploiting that equality appear in competitive papers precisely because it feels wrong.

Number-theoretic flavour. The block-length question connects to modular arithmetic and to properties of primes, which is the territory of olympiad problems and of the tougher JEE Advanced number questions. The observation that qq divides a string of nines is the accessible form of a much-used result.

Where classification gets used. Class 11 Sets asks for Q\mathbb{Q} and R∖Q\mathbb{R} \setminus \mathbb{Q} to be handled as sets, and questions on whether a given expression is rational rely on the decimal test from this page — most often on the fact that an irrational plus a rational is always irrational.

What the questions look like. For board work, expect convert to decimal and classify, predict from the denominator with justification, find the repeating block, and convert a repeating decimal to pq\frac{p}{q} — all short and fully self-contained. For JEE Main, the direct appearance is summing a repeating decimal as a geometric series, or deciding the rationality of a constructed expression.

How board and competitive emphasis differ. A board paper wants the long division shown and the factorisation written out as justification. A competitive paper wants the answer in seconds, and the geometric-series route is usually faster than long division.

The single trap that costs the most marks.
Applying the 2m×5n2^m \times 5^n test before cancelling. 1524\dfrac{15}{24} has a 33 in its denominator as written and terminates anyway, because the fraction was not in lowest terms. Questions are set with exactly that shape, and the one-line habit of cancelling first is what defeats them.
Key takeaways

Terminating and repeating decimals: quick revision

- Divide numerator by denominator and watch the remainders: remainder 00 ends the division, a repeated remainder starts a cycle.
- Only these two things can happen, because dividing by qq has at most qq possible remainders.
- 38=0.375\frac{3}{8} = 0.375, 720=0.35\frac{7}{20} = 0.35, 1340=0.325\frac{13}{40} = 0.325, 916=0.5625\frac{9}{16} = 0.5625 — all terminating.
-
13=0.3‾\frac{1}{3} = 0.\overline{3}, 56=0.83‾\frac{5}{6} = 0.8\overline{3}, 712=0.583‾\frac{7}{12} = 0.58\overline{3} — all repeating.
-
The test: in lowest terms, the expansion terminates exactly when
q=2m×5nq = 2^m \times 5^n. Any other prime forces repetition.
- Why: 10k=2k×5k10^k = 2^k \times 5^k, so only 22s and 55s can be built up into a power of ten.
- Cancel first. 1524\frac{15}{24} appears to fail the test but equals 58=0.625\frac{5}{8} = 0.625.
- Number of places in a terminating expansion is the larger of mm and nn: 916=924\frac{9}{16} = \frac{9}{2^4} gives four.
- 17=0.142857‾\frac{1}{7} = 0.\overline{142857}, block length 66 (remainders 3,2,6,4,5,13, 2, 6, 4, 5, 1).
- 111=0.09‾\frac{1}{11} = 0.\overline{09}, length 22. 113=0.076923‾\frac{1}{13} = 0.\overline{076923}, length 66.
- 27=0.285714‾\frac{2}{7} = 0.\overline{285714} — the same cycle entered at a different point, so the digits are rotated.
- Block length is at most q−1q - 1, often much less — a ceiling, not a prediction.
- A denominator mixing 22s or 55s with other primes gives digits that settle then repeat: 712=0.583‾\frac{7}{12} = 0.58\overline{3}.
- To convert back: 0.375=3751000=380.375 = \frac{375}{1000} = \frac{3}{8} directly.
- x=0.3‾x = 0.\overline{3}: 10x−x=310x - x = 3, so x=13x = \frac{1}{3}.
- x=0.36‾x = 0.\overline{36}: 100x−x=36100x - x = 36, so x=3699=411x = \frac{36}{99} = \frac{4}{11}.
- x=0.16‾x = 0.1\overline{6}: 100x−10x=15100x - 10x = 15, so 90x=1590x = 15 and x=16x = \frac{1}{6}.
- The multiplier comes from the block length, and digits that settle first need a second multiplier.
- The rationals are exactly the terminating and repeating decimals; anything else, such as 2=1.41421…\sqrt{2} = 1.41421\ldots or π=3.14159…\pi = 3.14159\ldots, is irrational.
- Every real number is one point on the number line and every point one real number — each extra digit narrows the interval tenfold onto that point.

Pick a denominator nobody set you — 1717, say — and divide until a remainder comes back, then multiply your block by 1717 and see how many nines you get.

Ready to put this into practice?

Create a personalized quiz on this exact topic — free to start.

Create your own quiz on The World of Numbers — Part 3Create a free account
← Back to all articles