Real numbers and decimal expansions
Every number you have ever written down as a decimal — , , — is secretly telling you what kind of number it is. Rational numbers, the ratios of integers, always produce decimals that either stop dead or settle into a repeating block. Irrational numbers never do either: their digits run forever with no pattern at all. That single distinction — does the decimal terminate, recur, or neither — is the dividing line between the rational and irrational worlds, and it is exactly what lets us place every real number, rational or irrational, at one unique point on the number line. This article builds on the Class 9 basics of terminating and recurring decimals and the successive-magnification method for locating a decimal exactly. Here we go one level deeper: why the prime factors of a denominator decide whether a decimal terminates, how to convert any recurring decimal back to a fraction with full rigor, and how the same zooming idea that pins down a terminating decimal is stretched to justify a point on the line for even a non-terminating, non-recurring one.
A rational number's decimal expansion terminates exactly when its reduced denominator has only the prime factors 2 and 5, recurs otherwise, and successive magnification gives every real number — rational or irrational — a unique, well-defined point on the number line.
The core idea
Two and only two decimal behaviours for rationals. Take any rational number , , and reduce it to lowest terms (HCF of and equal to ). Long division of by can only ever behave in one of two ways: it terminates, meaning the remainder becomes after finitely many steps, or it recurs, meaning it never hits remainder but the sequence of remainders starts repeating, forcing a block of digits to repeat forever. There is no third option, because at every division step the remainder is one of the possible values ; if never appears, some non-zero remainder must eventually reappear (there are only finitely many choices), and from that point on the division repeats exactly as before.
The denominator test. Whether the decimal terminates depends only on the prime factorisation of the reduced denominator :
where: are integers in lowest terms, , and are the powers of the primes and in 's factorisation. The reasoning is that a terminating decimal with digits after the point is really for some integer , and — so the denominator, once fully reduced, can only ever carry the primes and . If any other prime (3, 7, 11, ...) survives in after reduction, no power of can ever absorb it, and the division is forced to recur.
Converting a recurring decimal back to . Every non-terminating recurring decimal is rational, and the standard technique is "multiply and subtract": let equal the decimal, multiply by the power of that shifts the repeating block exactly one full cycle, then subtract the original equation so the infinite repeating tail cancels, leaving a simple linear equation in .
Successive magnification, extended to irrationals. For a terminating or recurring decimal, zooming into successive intervals of width around the true value eventually nails it down exactly (or the digits settle into their repeating cycle). A non-terminating, non-recurring decimal — an irrational number such as — never lets the digits settle, so the zooming process never "finishes." But at every stage the interval still shrinks by a factor of and still contains the number, so the process still identifies one and only one point on the number line, just one that requires infinitely many stages rather than finitely many. This is precisely why the real number line — rationals and irrationals together — has no gaps: every possible decimal string, finite or infinite, periodic or not, lands on exactly one point.
The goal is to take a non-terminating recurring decimal such as , where a single digit repeats after one non-repeating digit, and produce its exact fraction in lowest terms using only algebra — multiplying by suitable powers of and subtracting to eliminate the infinite repeating tail, with no limits or calculus required.
Step 1. Let Identify the structure: one digit () does not repeat, and one digit () repeats forever after it.
Step 2. Multiply by to shift the decimal point past the non-repeating digit: Now the repeating part begins immediately after the decimal point.
Step 3. Multiply by again (equivalently, multiply the original by ) to shift one full repeating cycle further:
Step 4. Subtract the Step 2 equation from the Step 3 equation so the infinite tail of s cancels exactly: , giving .
Step 5. Solve for : . Check that and share no common factor ( is prime and does not divide ), so this is already in lowest terms, and note carries the prime — consistent with the decimal being recurring, not terminating. Verified: dividing by long division reproduces .
Worked example
Determine, without doing the division, whether and have terminating or recurring decimal expansions, then find the exact decimal for whichever one terminates.
Step 1. Check : is it already in lowest terms? HCF, yes. Factorise the denominator: . Only the prime appears, so by the denominator test this decimal must terminate.
Step 2. Check : is it in lowest terms? HCF, so it is not reduced. Reduce first: . Now factorise the reduced denominator: . Only the prime appears, so this decimal must also terminate. (Skipping the reduction step and testing directly would have wrongly suggested a recurring decimal — the only appeared because the fraction was unreduced.)
Step 3. Find the exact decimal for by converting to a power-of-10 denominator: multiply numerator and denominator by (since ): .
Step 4. Find the exact decimal for similarly: multiply by so the denominator becomes : .
Both terminate: and .
Competitive stretch
A slightly trickier check: does terminate? First reduce — cancels one factor of in the denominator, leaving , whose denominator has only primes and . So it terminates: . The lesson repeats — always reduce to lowest terms before reading off the denominator's primes.
Common traps
- Reading the denominator's prime factors before reducing the fraction to lowest terms — an unreduced denominator can carry a stray prime (like the in ) that cancels away and never actually affects the decimal.
- Choosing the wrong power of when converting a recurring decimal to a fraction — the multiplier in each step must match exactly how many digits need to shift past the non-repeating part or past one full repeating cycle, not a guessed value.
- Believing a decimal that merely looks repetitive for a few digits (like truncated on a calculator screen) is automatically recurring — genuine recurring decimals repeat the identical block forever, which calculators can only display, not prove.
- Thinking successive magnification only works for terminating decimals — the same interval-halving-by-ten idea, continued without end, is exactly what gives irrational numbers their unique point on the number line too.
Ask the tutor: If you are stuck picking the right power of 10 for a recurring-decimal conversion, ask the AI tutor to walk through your specific example step by step.
Why does only the denominator matter, and not the numerator, for deciding terminating versus recurring?
Long division's remainder cycle depends entirely on which numbers are possible remainders when dividing by — the remainders are always through , no matter what is. The numerator only affects which remainder you start from and what digits appear, not whether the process can ever land on remainder or must instead cycle through repeats. That landing possibility is fixed purely by whether 's prime factors are limited to and , since only those primes can ever divide evenly into a power of .
Is 0.999999... really equal to 1, or just very close to it?
It is genuinely equal to , not just close. Let , so . Subtracting, gives , so . The same multiply-and-subtract method used for any recurring decimal proves it exactly — there is no gap between and on the number line, they are two decimal names for the same real number.
Do irrational numbers ever have a repeating pattern if you look far enough into the digits?
No — that is precisely what makes a number irrational. A decimal that eventually repeats a fixed block forever can always be converted back to some using the multiply-and-subtract method, which makes it rational by definition. So a genuinely non-terminating, non-repeating decimal like or can never settle into a repeating cycle at any point, however far you compute — if it ever did, it would secretly be rational.