Rational and irrational numbers
Every number you have ever written down — a page number, a cricket score, in a circle formula, the diagonal of a unit square — belongs somewhere inside one giant nested system of number sets. Class 9 arithmetic draws the first sharp line inside that system: numbers that can be written exactly as a fraction of integers, called rational, versus numbers whose decimal expansion runs forever without ever settling into a repeating block, called irrational. The split sounds abstract, but it is entirely decidable from a number's decimal expansion, and it decides real exam questions: is rational, is rational, can you always squeeze a rational and an irrational number between and ? This section builds the classification rule, proves that recurring decimals are always fractions in disguise, and drills the traps examiners love — perfect-square roots, "non-terminating means irrational," and the surprising fact that two irrationals can add up to something perfectly rational.
A number is rational exactly when it can be written as with integers and — equivalently, when its decimal expansion terminates or repeats — and irrational otherwise.
The core idea
The nested number system. Every number set a Class 9 student meets sits inside the next:
where: are the Natural numbers, are the Whole numbers, are the Integers, is the set of Rational numbers, and is the set of Real numbers. Irrational numbers are exactly the leftovers, — real numbers that are not rational.
The rational test. A number is rational if it can be written as where and are integers and . Every integer is automatically rational, since . Equivalently — and this is the test you actually use on a decimal — a number is rational exactly when its decimal expansion terminates (like ) or repeats in a fixed block forever (like or ).
The irrational test. A number is irrational if it cannot be written as a ratio of two integers at all. Its decimal expansion goes on forever without ever locking into a repeating pattern — non-terminating and non-recurring. Famous examples are , , , and .
Density and arithmetic behaviour. Between any two rational numbers there lie infinitely many rational numbers, and infinitely many irrational numbers too — both types pack the real line densely, with no "next" number after any given one. For arithmetic: rational , , (non-zero divisor) rational stays rational; rational non-zero irrational is always irrational; but irrational irrational can land back on a rational number, e.g. .
The main grounded technique of this topic is showing that every recurring decimal genuinely is a rational number, by producing its exact form through a subtraction trick that cancels the infinite repeating tail; the same three-step method works whether the repeating block starts right after the decimal point or after some non-repeating digits, and mastering it is what lets you settle any "is this decimal rational" question with certainty rather than a guess.
Step 1. Let equal the recurring decimal, and identify the length of the repeating block. For , the repeating block is a single digit, "6".
Step 2. Multiply by , where is the block length, so the decimal point shifts exactly one block to the right and the repeating tails of and line up perfectly. Here , so
Step 3. Subtract from . The infinite repeating tails cancel exactly, leaving a finite equation: , so .
Step 4. Solve for as a ratio of integers and simplify. . Since and are integers with , this confirms is rational by definition — no recurring decimal can escape this reduction, which is why "repeats forever" is just as rational as "terminates." Verified: ; checking, matches the original decimal.
Worked example
Classify each number as rational or irrational, with a reason, and if rational express it as : (a) (b) (c)
Step 1. Evaluate (a). because ; is a perfect square, so its square root is a whole number, . This is rational.
Step 2. Convert (b) using the subtraction method. Let ; the repeating block has length , so . Subtracting, , giving , so . This is rational.
Step 3. Examine (c). The digits follow a pattern of "one more zero each time between the 1s," but the block of zeros keeps growing — it never locks into a fixed repeating group. This decimal is non-terminating and non-recurring, so it is irrational.
Final answer: (a) rational, ; (b) rational, ; (c) irrational.
Competitive stretch
Find a rational and an irrational number strictly between and . A rational choice is the average, , a clean ratio of integers with . An irrational choice can be built directly as , a decimal between and whose growing block of zeros never repeats; alternatively works too, since gives .
Common traps
- Assuming is always irrational — it is irrational only when is not a perfect square; is rational.
- Believing every non-terminating decimal is irrational — a decimal that repeats forever, even in a long block, is still rational, as the subtraction method proves.
- Thinking "irrational" means "cannot be written down or does not really exist" — irrational numbers are exact, well-defined real numbers; they simply have no exact fraction form.
- Forgetting in — division by zero is undefined and plays no role in deciding rationality.
- Assuming that because two numbers both involve a square root they must both be irrational — always check whether the number under the root is a perfect square first.
Ask the tutor: Want to practise classifying trickier decimals or converting longer repeating blocks to — ask your AI tutor for a fresh set of examples.
Why does the subtraction trick always work, even for very long repeating blocks
Multiplying by , where is the length of the repeating block, shifts the decimal point exactly one full block to the right. Because the block repeats forever, the digits after the new decimal point in are identical to the digits after the decimal point in . Subtracting from cancels that infinite tail completely, leaving a finite whole number on the right and on the left — always solvable for a ratio of integers.
Is 0.999999 repeating forever actually equal to 1
Yes, exactly, not approximately. Let . Then , so , giving , so . The subtraction method that classifies recurring decimals as rational also proves this identity — it is not a rounding convention but an equality.
How can pi be irrational when we use 22/7 or 3.14 for it in problems
Both and are only close rational approximations of , used because 's true decimal expansion never terminates and never repeats, so it cannot be written exactly as any ratio of integers. Check: , which already differs from after two decimal places. For everyday classroom accuracy the approximation is fine, but itself stays irrational.