Numbers between rationals

Pick any two rational numbers, however close — say 0.1000.100 and 0.1010.101 — and you can always slide in another rational number strictly between them. Do it again, and again, forever. Whole numbers do not behave this way: nothing sits between 33 and 44. Rational numbers do, and this property has a name — density. It is one of the first genuinely surprising facts a Class 8 student meets, because it means "the numbers between aa and bb" is never a short, finite list the way it is for integers; it is an inexhaustible supply. This article gives you the tools to find that supply on demand: a one-line averaging trick that always works, and a common-denominator method that hands you as many rational numbers as you ask for, in one clean sweep.

The core insight

Because the average of any two rationals a<ba<b is itself a rational number strictly between them, this averaging step can be repeated without end, which is exactly why infinitely many rational numbers lie between any two given ones — the property called density.

The core idea

Rational numbers behave very differently from whole numbers and integers when it comes to "what lies between."

Integers are discrete. Between 33 and 44 there is nothing — no other integer fits. Each integer has an immediate next-door neighbour.

Rationals are dense. Between any two distinct rationals aa and bb (with a<ba < b), at least one more rational number always exists — and once you find it, you can repeat the trick on the new, smaller gap, forever. The simplest way to produce that in-between number is to average the two endpoints:

mean=a+b2\text{mean} = \dfrac{a+b}{2}

where: aa and bb are the two given rational numbers with a<ba<b, and mean\text{mean} is a new rational number lying exactly halfway between them. This midpoint always satisfies a<mean<ba < \text{mean} < b, because halving a positive gap can never overshoot either end. Once you have the midpoint, you have two smaller gaps — aa to mean\text{mean}, and mean\text{mean} to bb — and each of those can be halved again, so the process never runs out of new numbers to produce. When you need several rational numbers at once rather than one at a time, averaging repeatedly is slow. A faster route is the common-denominator method: rewrite aa and bb as equivalent fractions over a large enough shared denominator so that several whole-number numerators fall strictly between them, then read those numerators off as your answer. It helps to see why the two methods never contradict each other. Both are just different ways of naming rational numbers that satisfy the same inequality, a<x<ba < x < b. The averaging method finds one such xx directly by arithmetic; the common-denominator method widens the "resolution" of the fractions involved so that several valid values of xx become visible as whole-number numerators simultaneously. Neither method is more correct than the other — they are simply suited to different questions, one number versus a specified count of numbers. It is also worth contrasting this with what happens for integers, to see exactly where the break occurs. Between the integers 22 and 55, the only integers are 33 and 44 — a short, closed list, because integers jump in fixed steps of 11 with nothing in between consecutive values. Rational numbers have no such fixed step size: however small a gap you choose between two rationals, that gap can always be split again, because the average of any two rationals is itself rational. This is the essence of why "the numbers between aa and bb," for rationals, is never a question with a finite answer, however close together aa and bb happen to be.

Figure
A number line from two fifths to three fifths showing the midpoint one half sitting strictly between them and a further point nine twentieths sitting between two fifths and one half
Density on the number line: 2/5 to 3/5 2/5 = 0.40 9/20 = 0.45 1/2 = 0.50 3/5 = 0.60 Each new midpoint opens two smaller gaps, so the halving never stops
Derivation AWhy averaging always lands strictly inside

The goal of this derivation is to prove, using only the algebra of inequalities that a Class 8 student already has, that the average of two distinct rationals a<ba<b is a rational number satisfying a<mean<ba<\text{mean}<b, so that a genuinely new number is guaranteed between the two starting values every single time, no matter how close together aa and bb already are.

Step 1. Start from the given fact a<ba < b. Add aa to both sides: a+a<a+ba + a < a + b, which simplifies to 2a<a+b2a < a+b.

Step 2. Divide both sides of 2a<a+b2a < a+b by 22 (dividing by a positive number keeps the inequality direction unchanged): a<a+b2a < \dfrac{a+b}{2}. This shows the mean is strictly greater than aa.

Step 3. Now add bb to both sides of the original a<ba<b instead: a+b<b+ba+b < b+b, which simplifies to a+b<2ba+b < 2b. Dividing both sides by 22 gives a+b2<b\dfrac{a+b}{2} < b, so the mean is strictly less than bb.

Step 4. Combine Steps 2 and 3: a<a+b2<ba < \dfrac{a+b}{2} < b. Since aa and bb are rational, their sum and half of that sum are also rational (rationals are closed under addition and division by a nonzero integer), so a+b2\dfrac{a+b}{2} is a genuine rational number strictly between aa and bb. Because this argument used only a<ba<b and nothing about how close aa and bb are, it applies again to the pair (a,mean)(a,\text{mean}) and to the pair (mean,b)(\text{mean},b) — which is exactly why the process can be repeated without limit, giving infinitely many rational numbers between any two distinct rationals.

Worked example

Find a rational number between 25\dfrac{2}{5} and 35\dfrac{3}{5}, then find a further number between that result and 25\dfrac{2}{5}, and finally find three rational numbers between 14\dfrac{1}{4} and 24\dfrac{2}{4} using the common-denominator method.

Step 1. Average 25\dfrac{2}{5} and 35\dfrac{3}{5}: 25+352=552=12\dfrac{\frac{2}{5}+\frac{3}{5}}{2} = \dfrac{\frac{5}{5}}{2} = \dfrac{1}{2}. Check: 0.4<0.5<0.60.4 < 0.5 < 0.6, so 12\dfrac{1}{2} correctly lies between them.

Step 2. Average 25\dfrac{2}{5} and 12\dfrac{1}{2}: 25+122=410+5102=9102=920\dfrac{\frac{2}{5}+\frac{1}{2}}{2} = \dfrac{\frac{4}{10}+\frac{5}{10}}{2} = \dfrac{\frac{9}{10}}{2} = \dfrac{9}{20}. Check: 0.4<0.45<0.50.4 < 0.45 < 0.5, so 920\dfrac{9}{20} lies strictly between 25\dfrac{2}{5} and 12\dfrac{1}{2}, confirming the halving can continue indefinitely.

Step 3. Now use the common-denominator method on 14\dfrac{1}{4} and 24\dfrac{2}{4}. Over denominator 44 the numerators are 11 and 22, with nothing strictly between, so scale up: to fit at least 33 numbers, multiply by a number bigger than 3+1=43+1=4; use 55. This gives 14=520\dfrac{1}{4}=\dfrac{5}{20} and 24=1020\dfrac{2}{4}=\dfrac{10}{20}.

Step 4. List the numerators strictly between 55 and 1010: these are 6,7,8,96, 7, 8, 9, so any three of 620,720,820,920\dfrac{6}{20}, \dfrac{7}{20}, \dfrac{8}{20}, \dfrac{9}{20} answer the question. Final answers: 12\dfrac{1}{2} lies between 25\dfrac{2}{5} and 35\dfrac{3}{5}; 920\dfrac{9}{20} lies between 25\dfrac{2}{5} and 12\dfrac{1}{2}; and 620,720,820\dfrac{6}{20}, \dfrac{7}{20}, \dfrac{8}{20} are three rational numbers between 14\dfrac{1}{4} and 24\dfrac{2}{4}.

Competitive stretch

Notice that 920\dfrac{9}{20} from Step 2 also equals 920\dfrac{9}{20} over the enlarged denominator used in Step 3 style working (920\dfrac{9}{20} itself, unscaled) — showing the averaging method and the common-denominator method must always agree wherever their ranges overlap, since both simply name rational numbers that satisfy the same inequality. A quick sanity check for such answers is to compare numerators directly once every fraction shares the same denominator: since 14=520\dfrac{1}{4}=\dfrac{5}{20} and 24=1020\dfrac{2}{4}=\dfrac{10}{20}, any numerator strictly between 55 and 1010 — such as 66, 77 or 88 — is guaranteed to give a fraction strictly between the two originals, without needing to convert anything to a decimal at all.

Common traps

  • Thinking only a fixed, finite number of rationals can be found between two given rationals, as with integers — density guarantees the supply is always infinite.
  • Forgetting to convert to a common denominator before comparing or listing "numbers between," which produces numerators that do not actually fall in the right range.
  • Slipping arithmetically when averaging fractions with unlike denominators — always convert to a common denominator first, add the numerators, then divide by 22.
  • Assuming the midpoint trick works only once — it can be reapplied to any newly found number to keep generating more values without limit.

Ask the tutor: Want to try finding ten rational numbers between two fractions of your own choice, or double-check a density argument step by step?

Does this mean there is no smallest rational number greater than a given rational a

Correct — there is no such thing as the "next" rational number after aa, unlike with integers where a+1a+1 is the obvious next one. Whatever rational number cc you propose as the smallest one greater than aa, the average a+c2\dfrac{a+c}{2} is rational and strictly between aa and cc, so it is smaller than cc yet still greater than aa — contradicting the claim that cc was the smallest. This is exactly the density property at work.

Is the averaging method the only way to find a number between two rationals

No. Averaging is the simplest and fastest for finding one number, but the common-denominator method is better when you need several numbers at once, since it lists them all in a single step rather than repeating an averaging process many times. Both methods are correct; you choose based on how many numbers the question asks for.

Why does this topic matter beyond just this chapter

Density is the property that makes the rational number line look completely "filled in," with no visible gaps — yet in Class 9 you will learn that irrational numbers like 2\sqrt2 still slot into gaps that rationals alone cannot cover, even though rationals are dense. Understanding density now is what makes that later surprise make sense: being dense is not the same as covering every point on the line.

Before this

Where this leads