• Foundation
  • About 15 min
  • 5 practice questions

Rational numbers on the number line: absolute value and density

Mark any rational number on the number line, use absolute value to find distances, and show that between any two rational numbers there are infinitely many others.

If something looks wrong, please tell us.

By the end of this lesson you can

  • Mark a rational number p/q on the number line by dividing each unit into q equal parts.
  • Find the absolute value of a rational number and the distance |a − b| between two rational numbers.
  • Find as many rational numbers as you like between two given rational numbers.

Integers sit on the number line at equal steps. Rational numbers fill in the spaces between them: 1/2 sits halfway between 0 and 1, and −3/4 sits between −1 and 0. In this lesson we place rational numbers on the line, measure distances along it, and discover a surprising property: there is no 'next' rational number.

Marking p/q on the number line

Marking a rational number p/q (in lowest terms)

  1. Locate the integers on either side For example 7/3 = 2⅓ lies between 2 and 3.
  2. Divide that unit into q equal parts Here, divide the gap from 2 to 3 into 3 parts.
  3. Count the remaining parts Move 1 part to the right of 2 to reach 7/3.
  4. For negatives, move left −5/4 = −1¼: from −1 move 1 quarter further left.

Worked example 1: two points on the line

Mark 7/3 and −5/4. Working: 7/3 = 2 + 1/3, so split the interval from 2 to 3 into three equal parts and mark the first division after 2. Next, −5/4 = −(1 + 1/4), so split the interval from −1 to −2 into four equal parts and mark the first division to the left of −1. A quick check: 7/3 ≈ 2.33 and −5/4 = −1.25.

Absolute value and distance

The absolute value of a number x, written |x|, is its distance from 0 on the number line. Distance is never negative, so |5/3| = 5/3, |−5/3| = 5/3 and |0| = 0. In short, |x| ≥ 0 for every x. The distance between two numbers a and b on the line is |a − b|, and it does not matter which one you subtract from which.

|x| is the distance of x from 0, so |x| ≥ 0. The distance between a and b on the number line is |a − b|.

Worked example 2: distances

(a) Distance between −5 and 3: |3 − (−5)| = |8| = 8. (b) Distance between −3/4 and 5/2: |−3/4 − 5/2| = |−3/4 − 10/4| = |−13/4| = 13/4, which is 3¼ units. Check (b) by counting: from −3/4 to 0 is 3/4, and from 0 to 5/2 is 10/4; 3/4 + 10/4 = 13/4.

The density of rational numbers

Between 0 and 1 lies 1/2. Between 0 and 1/2 lies 1/4. Between 0 and 1/4 lies 1/8, and so on forever. In general, the average (a + b)/2 of two rational numbers a < b is again rational and lies exactly halfway between them. Because we can repeat this endlessly, there are infinitely many rational numbers between any two different rational numbers. We say the rational numbers are dense.

Worked example 3: one number by averaging

Find a rational number between 1/3 and 1/2. Working: (1/3 + 1/2) ÷ 2 = (2/6 + 3/6) ÷ 2 = (5/6) ÷ 2 = 5/12. Check: 1/3 = 4/12 and 1/2 = 6/12, and 4/12 < 5/12 < 6/12.

Worked example 4: several numbers at once

Find five rational numbers between 1/4 and 1/3. Working: with denominator 12 they are 3/12 and 4/12, which have no whole numbers between their numerators. Multiply top and bottom by 6 to make room: 1/4 = 18/72 and 1/3 = 24/72. Now 19/72, 20/72, 21/72, 22/72 and 23/72 all lie between them. To find n numbers this way, the two numerators must differ by more than n. Decimals work too: between 2.71 and 2.72 lie 2.711, 2.715 and 2.719.

Ways to find rational numbers between two others
MethodBest forExample
Average of the twoOne number quicklyBetween 1/3 and 1/2: 5/12
Equivalent fractions with a larger denominatorMany numbers at onceBetween 1/4 and 1/3: 19/72 to 23/72
Extra decimal placesNumbers given as decimalsBetween 2.71 and 2.72: 2.715

Key takeaways: to mark p/q, split each unit into q equal parts and count p parts (to the left for negatives). |x| is the distance from 0 and is never negative; the distance between a and b is |a − b|. The rational numbers are dense: the average of two rational numbers lies between them, so there are infinitely many rational numbers between any two.

Check your understanding

  1. 1. Between which two integers does −11/4 lie?

    1. −2 and −1
    2. −3 and −2
    3. 2 and 3
    4. −4 and −3
    Show answer

    Answer: B. −11/4 = −2¾ = −2.75. It is to the left of −2 but to the right of −3, so it lies between −3 and −2.

  2. 2. What is the distance between −7/2 and 3/2 on the number line?

    1. 2
    2. −5
    3. 1
    4. 5
    Show answer

    Answer: D. Distance = |3/2 − (−7/2)| = |3/2 + 7/2| = |10/2| = 5 units. A distance is never negative.

  3. 3. What is the average of −2/3 and 1/6, which lies between them?

    1. −1/2
    2. 1/4
    3. −1/4
    4. −5/6
    Show answer

    Answer: C. (−2/3 + 1/6) ÷ 2 = (−4/6 + 1/6) ÷ 2 = (−3/6) ÷ 2 = (−1/2) ÷ 2 = −1/4. Check: −2/3 = −8/12, −1/4 = −3/12 and 1/6 = 2/12, and −8/12 < −3/12 < 2/12. (−1/2 is the sum, not the average.)

  4. 4. Which number lies between 2/5 and 3/5?

    1. 11/20
    2. 13/20
    3. 7/20
    4. 1/5
    Show answer

    Answer: A. 2/5 = 8/20 and 3/5 = 12/20, so the numbers between them include 9/20, 10/20 and 11/20. 13/20 is too big and 7/20 and 1/5 = 4/20 are too small.

  5. 5. Which statement about rational numbers is true?

    1. Every rational number has a next rational number
    2. There is no rational number between 0.1 and 0.11
    3. The absolute value of a rational number can be negative
    4. Between any two different rational numbers there are infinitely many rational numbers
    Show answer

    Answer: D. Averaging gives a rational number between any two, and repeating this never stops, so there are infinitely many. Hence no rational number has a 'next' one. 0.105 lies between 0.1 and 0.11, and |x| is never negative.

Privacy · Terms · Refunds · Delivery