Revisiting rational and irrational number properties
Take any fraction in lowest terms and, without doing a single division, you can already say whether its decimal expansion stops dead or runs forever in a repeating loop. The secret is not in the numerator at all — it is hiding entirely in the prime factors of the denominator. This closing topic of the Class 10 chapter Real Numbers turns that observation into a precise, provable rule: a rational number in lowest terms terminates exactly when 's only prime factors are and , and repeats forever otherwise. The same idea then completes the picture of the entire real number line, sorting every real number into one of three decimal types and showing exactly where irrational numbers such as and fit in.
A rational number in lowest terms has a terminating decimal expansion if and only if 's prime factorisation contains no primes other than and ; otherwise its decimal expansion is non-terminating repeating.
The core idea
Every real number falls into exactly one of three decimal categories, and rational numbers split cleanly between the first two:
- Terminating — the digits stop after finitely many places, like or .
- Non-terminating repeating (recurring) — the digits continue forever but settle into a block that repeats exactly, like
- Non-terminating non-repeating — the digits continue forever with no repeating block at all. These are precisely the irrational numbers, such as and
For a rational number, which of the first two categories it falls into is decided entirely by the denominator once the fraction is written in lowest terms — that is, once and share no common factor other than .
The denominator test. Let be in lowest terms, with . Then terminates exactly when
where: and are non-negative integers (either can be zero, and is allowed as ). If carries any prime factor other than or — such as , , , or — then is non-terminating repeating instead. The size of the exponents and never matters for this classification; only whether and are the only primes present in decides the outcome. The reason and are singled out traces back to how decimals are built. Every terminating decimal can be written as a fraction over a power of — for instance — and because , every power of factorises as . So a denominator that already consists only of s and s can always be "completed" into a power of by multiplying by the missing s or s, which is exactly what produces a finite string of decimal digits. Any other prime sitting in the denominator can never be cleared this way, no matter how many s and s you throw at it — the division never lands on an exact power of , so it must go on forever, and it is forced to repeat because only finitely many remainders are possible at each step of long division.
Why it works
The goal is to show, using nothing beyond exponent rules, that whenever a fraction in lowest terms has denominator , it can always be rewritten with a denominator that is a pure power of , and that this rewriting is exactly what forces the decimal expansion to stop after a finite number of digits.
Step 1. Start from with as before, and suppose without loss of generality that (the argument is symmetric if instead). Let , the larger of the two exponents.
Step 2. Multiply numerator and denominator by , which is a whole number since . This gives .
Step 3. Combine the denominator using , so . The numerator is a whole number, call it , so .
Step 4. A fraction with denominator is, by definition, obtained from by shifting the decimal point places to the left — this always produces a finite string of digits, at most places long. So terminates, and the number of decimal places is exactly the larger of and (or fewer, if trailing zeros appear). Verified: for , becomes by symmetry and with at most decimal places, matching the worked example below.
Worked example
Without actual division, state whether has a terminating or non-terminating repeating decimal expansion, and if it terminates, find it.
Step 1. Check lowest terms. is prime and is not a multiple of , so the fraction is already in lowest terms — the denominator test can be applied directly.
Step 2. Factorise the denominator: , which is . Only the primes and appear (with ), so by the rule, has a terminating decimal expansion.
Step 3. Apply the derivation to actually find it. Since , multiply top and bottom by : .
Step 4. Read off the decimal by shifting the point five places: , confirming both the prediction and the exact value.
Competitive stretch
Without division, classify , and if it repeats, bound the length of the repeating block. Check lowest terms first: is prime and does not divide , so the fraction is reduced. Factorise: . The factor of is neither nor , so is non-terminating repeating. A useful fact beyond the core rule: for a denominator in lowest terms with no factors of or , the repeating block has length at most digits (a consequence of long division having only possible nonzero remainders); here that bounds the block at digits, though in practice it is much shorter — indeed , a block of length one.
Common traps
- Applying the rule to a fraction that is not yet in lowest terms. has denominator , which looks non-terminating, but in lowest terms it is , which terminates. Always simplify first.
- Thinking the values of or affect whether the decimal terminates. They do not — only whether and are the sole primes in matters, however large those exponents are.
- Confusing "terminates" with "short." terminates but runs to ten decimal places; terminating is about the type of expansion, not its length.
- Forgetting that an integer denominator like trivially counts as and terminates with zero decimal digits, and that the rule applies only to rational numbers — irrational numbers never terminate or repeat at all.
Ask the tutor: Want to test the denominator rule on a fraction of your own, or see why every power of 10 factors into only 2s and 5s? Ask the AI tutor to work through it with you.
Why does only the prime pair 2 and 5 matter, and not say 2 and 3
Because our number system is base ten, and . A terminating decimal is always a fraction over some power of , and factorises only into and — no other primes ever appear in a power of ten. So a denominator built purely from s and s can always be topped up with the missing factors to become a power of , while any other prime, like , can never be cleared this way and forces the division to run forever.
Does this rule tell me what the repeating block actually looks like, or just that one exists
The rule as stated only predicts termination versus repetition from the denominator's prime factors — it does not hand you the digits or the block length directly. To find the actual repeating digits you still need to carry out the long division, watching the remainders cycle. What the theory does guarantee is an upper bound: for denominator (with no factors of or ) the block length is at most digits, since only that many distinct nonzero remainders exist.
Is every non-terminating decimal automatically irrational
No, and this is a common slip. A non-terminating decimal is irrational only if it also never settles into a repeating block. is non-terminating but it does repeat (the digit forever), so it is rational — equal to . True irrational numbers like or are non-terminating and non-repeating: no block of digits ever recurs exactly, no matter how far you compute. Always check both conditions before calling a decimal irrational.