Decimal Expansions of Rational Numbers
Terminating vs. Non-Terminating Repeating Decimals, 2m5n Criterion, Exact Decimal Places & p/q Conversions
1Introduction
When you convert a fraction p / q into a decimal by performing long division, only two outcomes can ever happen: either the division stops cleanly after a finite number of steps (like 3 / 8 = 0.375), or a block of digits begins repeating endlessly in a loop (like 5 / 11 = 0.454545…).
Do you actually have to carry out tedious long division just to know whether a fraction like 129 / 1600 terminates or repeats—or how many decimal places it will have? No! Using the Fundamental Theorem of Arithmetic, we can inspect the prime factorization of the denominator q and predict the exact decimal behavior in seconds.
- Direct Board & Olympiad Questions: Identifying terminating vs. non-terminating decimals without long division, finding the exact number of decimal places, and converting repeating decimals into p / q form are standard Class 10 and NTSE/IOQM problems.
- Why Base-10 Uses 2 and 5: Understanding why 10 = 2 × 5 controls terminating decimals explains floating-point rounding in computers (which use base-2, where even 1/5 = 0.2 is a non-terminating binary fraction!).
- Eliminating Long Division: Balancing powers of 2 and 5 turns difficult divisions into simple multiplications followed by shifting a decimal point.
2Definitions
A decimal number is called a Terminating Decimal if the digits after the decimal point come to an end (i.e., there is a finite number of non-zero digits after the decimal point, because the long division reaches a remainder of 0).
A decimal number is called a Non-Terminating Repeating (Recurring) Decimal if the remainder in long division never becomes zero and a digit or a block of digits repeats periodically forever. The repeating block is marked with a horizontal bar (vinculum) over it, and the number of digits in the repeating block is called its period.
• Pure Recurring Decimal: All digits immediately after the decimal point repeat, e.g., 1/3 = 0.333… = 0.3 (period = 1), 2/11 = 0.18 (period = 2).
• Mixed Recurring Decimal: One or more non-repeating digits appear after the decimal point before the repeating block begins, e.g., 1/6 = 0.1666… = 0.16, 7/12 = 0.583.
3Important Concepts
3.1 Why Only Powers of 2 and 5 Produce Terminating Decimals
Every terminating decimal can be written as an integer divided by a power of 10:
Since 10k = 2k × 5k, by the Fundamental Theorem of Arithmetic, the only prime factors of 10k are 2 and 5. Therefore, when a rational number p / q is reduced to its lowest terms (HCF(p, q) = 1), it can be scaled up to a denominator of 10k if and only if q contains no prime factors other than 2 and 5.
3.2 Step-by-Step Test for Any Rational Number p / q
- Step 1 (Reduce to Lowest Form — Mandatory!): Cancel all common factors between numerator p and denominator q so that HCF(p, q) = 1. (For example, 6 / 15 = 2 / 5—the 3 cancels out!)
- Step 2 (Prime Factorize the Reduced Denominator q): Express q as a product of prime powers.
- Step 3 (Decide):
• If q = 2m × 5n (where m, n ∈ W, i.e., non-negative integers 0, 1, 2, …), then p / q has a Terminating Decimal Expansion, and it terminates after exactly max(m, n) decimal places.
• If q has any prime factor other than 2 or 5 (such as 3, 7, 11, 13, …), then p / q has a Non-Terminating Repeating Decimal Expansion.
3.3 Finding Exact Decimal Value Without Long Division
Suppose p / q = p / (2m × 5n). Let k = max(m, n). Multiply numerator and denominator by 2k – m × 5k – n so that both powers become equal to k:
3.4 Converting Repeating Decimals Back to p / q Form
- Step 1: Set x equal to the given repeating decimal.
- Step 2: If there are d non-repeating digits right after the decimal point, multiply both sides by 10d so the repeating block starts immediately after the decimal point (Equation 1).
- Step 3: If the repeating block has r digits, multiply Equation (1) by 10r so the decimal tails align identically (Equation 2).
- Step 4: Subtract Equation (1) from Equation (2) to cancel the infinite decimal tail, solve for x, and simplify to lowest terms.
4Mathematical Formulas and Properties
p / q terminates after exactly max(m, n) decimal places.
- Note on Zero Exponents: If q = 24, then m = 4, n = 0 ⇒ terminates in max(4, 0) = 4 decimal places. If q = 53, then m = 0, n = 3 ⇒ terminates in max(0, 3) = 3 decimal places.
Maximum length of repeating block (period) ≤ q – 1
- Why ≤ q – 1? By Euclid’s Division Lemma, dividing by q allows only q – 1 non-zero remainders (1, 2, …, q – 1). By the Pigeonhole Principle, a remainder must repeat within at most q – 1 steps (e.g., 1/7 = 0.142857 has period 6 = 7 – 1).
(ii) Mixed Recurring: 0.b1…bda1…ar = [ (Full digits) − (Non-repeating digits) ] / [ (r nines) followed by (d zeros) ]
- Examples: 0.27 = 27 / 99 = 3 / 11; 0.16 = (16 – 1) / 90 = 15 / 90 = 1 / 6; 0.2345 = (2345 – 23) / 9900 = 2322 / 9900 = 129 / 550.
5Solved Examples (Basic to Advanced)
6Real-Life Applications
7Common Mistakes & How to Avoid Them
Looking at 21 / 30, students see 30 = 2 × 3 × 5 and immediately classify it as non-terminating—forgetting that 21 / 30 = 7 / 10 = 0.7 actually terminates!
For 7 / (23 × 52), students sometimes add 3 + 2 = 5 decimal places instead of max(3, 2) = 3 (7 / 200 = 0.035).
For x = 0.16, subtracting 10x – x = 1.666… – 0.1666… = 1.5 leaves a decimal instead of a clean integer.
Applying the method to x = 0.999… gives 10x – x = 9 ⇒ x = 9/9 = 1. Some students think they made a mistake.
8Quick Revision
Chapter Summary Cheat-Sheet
- First Rule: Always reduce p / q so that HCF(p, q) = 1 before inspecting q.
- Terminating Criterion: q = 2m × 5n (m, n ∈ W). Terminates in exactly max(m, n) decimal places.
- Non-Terminating Repeating Criterion: Reduced q contains at least one prime factor other than 2 or 5. Repeating period is at most q – 1.
- Shortcut to Decimal Value: Multiply top and bottom by 2k – m × 5k – n (where k = max(m, n)) to create 10k in the denominator.
- Recurring to p / q Shortcut: Numerator = (All digits) − (Non-repeating digits); Denominator = (r nines) followed by (d zeros).

Leave a Reply