✦ VidyaVerseOpen in the book reader

Home › Books › Primary School Mathematics

Chapter 33: Rational Numbers On the Number Line

Primary School Mathematics · PART III — Integers & Rational Numbers · by GS Shashidhara

Read in the book reader – search and larger text

PART III — INTEGERS & RATIONAL NUMBERS

Locating Rationals, Geometric Division of a Unit, Distance, Midpoints, Section

Points, Intervals and Density

LEARNING OBJECTIVES

1. Locate any rational number p/q on the number line.

2. Divide a unit length into q equal parts with ruler and compass (parallel-line method).

3. Place negative rationals as mirror images of positive ones.

4. Find the distance between two rationals using |a − b|.

5. Find the midpoint of two rationals and the point dividing a segment in a given ratio.

6. Insert any number of equally spaced rationals between two given rationals.

7. Use interval notation and represent inequalities on the line.

8. Understand density visually, and see that rationals still leave gaps (√2).

9. Solve absolute-value equations and inequalities using distance.

10. Solve olympiad problems on distances and minimum sums on the line.

33.1 Locating p/q on the Number Line

LOCATEp/q: split each unit into q parts, count p parts

Step 1: Write the rational with a positive denominator. Convert improper fractions to mixed form to see which two integers it lies between.

Step 2: Divide that unit interval into q equal parts.

Step 3: Count the required number of parts from the integer — rightward for positive numbers,

leftward for negative.

Quarters from 0 to 2: 7/4 = 1¾ is three quarters past 1

01/42/43/415/46/47/42

Thirds from −2 to 0: −5/3 = −1⅔ lies between −2 and −1

−2−5/3−4/3−1−2/3−1/30
LOCATING QUICKLY

MIRROR RULE: −a is the reflection of a in 0. −5/3 is as far LEFT of 0 as 5/3 is RIGHT of 0.

QUICK LOCATING:

17/5 = 3 + 2/5 → between 3 and 4, two-fifths of the way.

−11/4 = −(2 + 3/4) → between −3 and −2, three-quarters of the way from −2 towards −3. 0.6 = 3/5 → three-fifths of the way from 0 to 1.

33.2 Dividing a Unit into q Equal Parts (Geometric Construction)

THE PARALLEL-LINE METHOD

To mark 3/7 exactly, without measuring sevenths with a ruler:

1. Draw the number line and mark 0 at O and 1 at A.

2. From O draw a slanting ray OX at any convenient angle.

3. With compasses, step off 7 equal arcs along OX: P₁, P₂, …, P₇.

4. Join P₇ to A.

5. Through P₃ draw a line PARALLEL to P₇A; it meets OA at the point 3/7.

WHY IT WORKS: the parallel lines cut OA in the same ratio as they cut OX

(Basic Proportionality / Thales’ theorem), so OA is split into 7 equal parts.

This construction lets us place ANY rational exactly — no decimals needed.

33.3 Distance Between Two Rationals

DISTANCEd(a, b) = |a − b| = |b − a|

Step 1: Subtract the two numbers (either order).

Step 2: Take the absolute value — distance is never negative.

DISTANCE EXAMPLES

d(−3/4, 5/6) = |5/6 + 3/4| = |10/12 + 9/12| = 19/12.

d(−2/3, −1/6) = |−1/6 + 2/3| = |−1/6 + 4/6| = 1/2.

d(x, 0) = |x|: the absolute value IS the distance from 0.

TRIANGLE INEQUALITY: d(a, c) ≤ d(a, b) + d(b, c) — the direct path is never longer.

33.4 Midpoints and Section Points

MIDPOINTS, SECTION POINTS, EQUAL SPACING

MIDPOINT of a and b: M = (a + b)/2.

M(−2/3, 1/4) = (−8/12 + 3/12)/2 = (−5/12)/2 = −5/24.

SECTION POINT dividing the segment from a to b in the ratio m : n (from a’s side):

P = (n·a + m·b)/(m + n).

Check m = n = 1: P = (a + b)/2, the midpoint. ✓

EXAMPLE: the point dividing −1/2 to 3/4 in the ratio 2 : 3:

P = (3 × (−1/2) + 2 × (3/4))/5 = (−3/2 + 3/2)/5 = 0.

EQUALLY SPACED POINTS: to insert k numbers between a and b, use step (b − a)/(k + 1). Insert 4 between −1/3 and 1: step = (4/3)/5 = 4/15:

−1/15, 1/5, 7/15, 11/15.

⚠ Common Mistake: In the section formula the weights CROSS over: the point nearer to a gets

the larger weight on a. For ratio m : n from a, a is multiplied by n, not m.

33.5 Intervals and Inequalities on the Line

NotationMeaningInequalityEndpoints
[a, b]closed intervala ≤ x ≤ bboth included (●)
(a, b)open intervala < x < bboth excluded (○)
[a, b)half-opena ≤ x < ba included, b excluded
(a, ∞)rayx > aa excluded
(−∞, b]rayx ≤ bb included
ABSOLUTE VALUE ON THE LINE

ABSOLUTE VALUE AS DISTANCE:

|x − a| = r → two points at distance r from a: x = a − r or x = a + r.

|x − a| < r → open interval (a − r, a + r).

|x − a| > r → x < a − r or x > a + r (two rays).

|x − 1/2| = 3/4 → x = −1/4 or x = 5/4.

|x + 1/3| < 1/2 → −1/3 − 1/2 < x < −1/3 + 1/2 → −5/6 < x < 1/6.

33.6 Zooming In — Density and the Gaps

Zoom in on the line between 0 and 1 and you see halves; zoom further and you see quarters, eighths, tenths, hundredths … At every magnification there are more rationals. Yet the rationals do NOT cover every point.

Zooming into [1/2, 3/4]: eighths and sixteenths appear

1/29/165/811/163/4
THE GAPS IN THE RATIONAL LINE

CONSTRUCTING √2 ON THE LINE:

Draw a unit square on [0, 1]. Its diagonal has length √2 (Pythagoras: 1² + 1² = 2).

Swing the diagonal down with compasses from 0: it lands on a point P.

P is a real point on the line, but √2 is irrational (Chapter 29), so P is NOT a rational point.

SPIRAL OF THEODORUS: repeating the construction gives √3, √4 = 2, √5, … as lengths.

CONCLUSION: rationals are dense (no two are neighbours), yet they leave infinitely many

gaps. Filling those gaps gives the REAL number line ( ).ℝ

WORKED EXAMPLES

Section A: Easy Problems

Problem 1: Between which two integers do these lie: 7/4, −5/3, 23/6, −0.35?

✔ Solution

7/4 = 1¾ → between 1 and 2. −5/3 = −1⅔ → between −2 and −1.

23/6 = 3 → between 3 and 4. −0.35 → between −1 and 0.⅚

Problem 2: Find the distance between −3/4 and 5/6.

✔ Solution

|5/6 − (−3/4)| = 5/6 + 3/4 = 10/12 + 9/12 = 19/12 = 1 7/12 units.

Problem 3: Find the midpoint of −2/3 and 1/4.

✔ Solution

(−2/3 + 1/4)/2 = (−8/12 + 3/12)/2 = (−5/12)/2 = −5/24.

Check: distance to each end = 11/24. ✓

Problem 4: Find the two points that divide [−1, 1] into three equal parts.

✔ Solution

Length 2, step 2/3: −1 + 2/3 = −1/3 and −1/3 + 2/3 = 1/3.

Problem 5: How many rationals with denominator 5 (written k/5, k an integer) lie strictly between −2 and 2?

✔ Solution

−2 = −10/5, 2 = 10/5. Strictly between: k = −9, −8, …, 9 → 19 numbers (k = 0 gives 0).

Problem 6: Which is nearer to 0: −3/8 or 2/7?

✔ Solution

|−3/8| = 0.375, |2/7| ≈ 0.286. So 2/7 is nearer to 0.

Section B: Medium Problems

Problem 7: Find the point dividing the segment from −1/2 to 3/4 in the ratio 2 : 3.

✔ Solution

P = (3·(−1/2) + 2·(3/4))/5 = (−3/2 + 3/2)/5 = 0.

Check: d(−1/2, 0) = 1/2 and d(0, 3/4) = 3/4; ratio 1/2 : 3/4 = 2 : 3. ✓

Problem 8: Solve |x − 1/2| = 3/4.

✔ Solution

x − 1/2 = ±3/4 → x = 5/4 or x = −1/4. Both are 3/4 away from 1/2.

Problem 9: Solve |x + 1/3| < 1/2 and show the answer as an interval.

✔ Solution

−1/2 < x + 1/3 < 1/2 → −5/6 < x < 1/6. Interval (−5/6, 1/6).

Problem 10: Insert four rationals between −1/3 and 1 so that all six numbers are equally spaced.

✔ Solution

Gap = 1 − (−1/3) = 4/3; five equal steps of 4/15.

Numbers: −1/3, −1/15, 1/5, 7/15, 11/15, 1.

Problem 11: An ant starts at 0 and alternately jumps +3/4 and −1/2. On which jump does it first reach 2?

✔ Solution

Each pair of jumps moves +1/4. After 5 pairs (10 jumps) the ant is at 5/4.

Jump 11 is +3/4: 5/4 + 3/4 = 2. Earlier peaks (after jumps 1, 3, 5, …) are 3/4, 1, 5/4, 3/2, 7/4 — all below 2.

Answer: jump 11.

Problem 12: Describe how to mark √2 and √5 on the number line.

✔ Solution

√2: diagonal of the unit square on [0, 1]; swing it down from 0.

√5: right triangle with legs 2 and 1 (2² + 1² = 5); swing the hypotenuse from 0.

Section C: Challenge Problems

Challenge Problem 13: Prove that the midpoint M = (a + b)/2 is equidistant from a and b and lies between them (a < b).

✔ Solution

M − a = (b − a)/2 and b − M = (b − a)/2: equal and positive.

So a < M < b and d(a, M) = d(M, b). QED

Challenge Problem 14: Prove |a − c| ≤ |a − b| + |b − c| for rationals a, b, c.

✔ Solution

a − c = (a − b) + (b − c). By the triangle inequality |x + y| ≤ |x| + |y|,

|a − c| ≤ |a − b| + |b − c|. QED

Challenge Problem 15: List all fractions in [0, 1] with denominator at most 4 in order, and find the smallest gap.

✔ Solution

0, 1/4, 1/3, 1/2, 2/3, 3/4, 1 (Farey sequence F₄).

Gaps: 1/4, 1/12, 1/6, 1/6, 1/12, 1/4. Smallest gap = 1/12 (between 1/4 and 1/3, and between 2/3 and 3/4).

Challenge Problem 16: Show that the section formula gives a point between a and b whenever m, n > 0.

✔ Solution

P − a = m(b − a)/(m + n) > 0 and b − P = n(b − a)/(m + n) > 0 (for a < b).

So a < P < b, and the distances are in ratio m : n. QED

OLYMPIAD CORNER

Olympiad Problem O-1: Find the minimum value of |x − 1/2| + |x + 1/3| and all x where it is attained.

✔ Solution

This is the sum of distances from x to 1/2 and to −1/3.

For x between −1/3 and 1/2 the sum equals the gap 1/2 + 1/3 = 5/6; outside it is larger.

Minimum = 5/6, attained for every x with −1/3 ≤ x ≤ 1/2.

Olympiad Problem O-2: Find the minimum of |x − 1| + |x − 2| + |x − 3| + |x − 4|.

✔ Solution

Pair the outer points: |x − 1| + |x − 4| ≥ 3 and |x − 2| + |x − 3| ≥ 1.

Both are minimal when 2 ≤ x ≤ 3. Minimum = 4. (The middle of the points — the median — is best.)

Olympiad Problem O-3: Starting at 0, a frog jumps half the remaining distance to 1 each time: 1/2, 3/4, 7/8, … After how many jumps is it within 1/1000 of 1?

✔ Solution

After n jumps it is at 1 − 1/2ⁿ, so the gap is 1/2ⁿ.

Need 2ⁿ > 1000: 2⁹ = 512, 2¹ = 1024. Answer: 10 jumps. It never actually reaches 1.⁰

BRAIN TEASERS

Brain Teaser 1

Is there a rational number closest to 1/2 (other than 1/2 itself)?

Answer: No. For any candidate r, the midpoint of r and 1/2 is closer — density forbids a nearest neighbour.

Brain Teaser 2

Two friends stand at −3/4 km and 5/6 km on a straight road. Where should they meet to walk equal distances?

Answer: At the midpoint, 1/24 km; each walks 19/24 km.

Brain Teaser 3

How many integers lie in the interval (−7/3, 11/4)?

Answer: −2, −1, 0, 1, 2 → 5 integers.

Brain Teaser 4

A thermometer reads −2.5°C at night and 4.75°C at noon. How far apart are the readings, and what is the midpoint temperature?

Answer: Distance 7.25°C; midpoint 1.125°C.

DID YOU KNOW?

The number line as a teaching picture was popularised by John Wallis (1685).

Euclid’s Elements (Book VI) contains the parallel-line construction for dividing a

segment into equal parts — still the exact method used in geometry boxes today.

The Baudhayana Sulba Sutra (~800 BC) describes the diagonal of a square as the side of a square of double area — the √2 construction used in this chapter.

PRACTICE EXERCISE 33.A — Easy

1. Between which integers do 13/4, −8/3, 19/7 and −0.6 lie?

2. Find the distance between −2/5 and 3/10, and between −7/8 and −1/4.

3. Find the midpoints of (a) −1/2 and 5/6 (b) −3 and −1/3.

4. Find the points dividing [0, 1] into five equal parts.

5. Write in interval notation: (a) −1/2 ≤ x < 3/4 (b) x > 2/3.

6. Which is farther from −1: 1/3 or −2?

PRACTICE EXERCISE 33.B — Medium

1. Find the point dividing −1 to 2 in the ratio 1 : 2.

2. Solve |x − 2/3| = 5/6.

3. Solve |2x − 1| ≤ 3/2.

4. Insert three equally spaced rationals between −1/4 and 1/2.

5. Find all integers x with |x + 1/2| < 3.

6. Mark √10 on the number line using a right triangle.

PRACTICE EXERCISE 33.C — Challenge

1. Find the minimum of |x| + |x − 1/2| + |x − 2|.

2. Prove the distance between a and b equals max(a, b) − min(a, b).

3. Find the fractions with denominator ≤ 5 in [0, 1] and the smallest gap between neighbours.

4. A point divides [a, b] internally in ratio 3 : 1 and lies at 5/8; if a = 1/4, find b.

ANSWER KEY — CHAPTER 33

Exercise 33.A

1. 3 & 4; −3 & −2; 2 & 3; −1 & 0. 2. 7/10; 5/8. 3. (a) 1/6 (b) −5/3. 4. 1/5, 2/5, 3/5, 4/5. 5. (a) [−1/2, 3/4) (b) (2/3, ∞). 6. d(1/3, −1) = 4/3 > d(−2, −1) = 1, so 1/3 is farther.

Exercise 33.B

1. (2·(−1) + 1·2)/3 = 0. 2. x = 3/2 or −1/6. 3. −1/4 ≤ x ≤ 5/4. 4. Step 3/16: −1/16, 1/8, 5/16. 5. −7/2 < x < 5/2: x = −3, −2, −1, 0, 1, 2. 6. Legs 3 and 1: 3² + 1² = 10.

Exercise 33.C (notes)

1. Minimum at the median x = 1/2: 1/2 + 0 + 3/2 = 2. 2. Consider the cases a ≥ b and a < b. 3. F₅ = 0, 1/5, 1/4, 1/3, 2/5, 1/2, 3/5, 2/3, 3/4, 4/5, 1; smallest gap 1/20. 4. (1·a + 3·b)/4 = 5/8 1/4 + 3b = 5/2 ⇒ ⇒ b = 3/4.

CHAPTER 33 — NEW TERMS FOR GLOSSARY

TermDefinition
Number LineA straight line where every point corresponds to a real number; positives to

the right of 0.

Distanced(a, b) = |a − b|, always ≥ 0.
Midpoint(a + b)/2, equally far from a and b.
Section FormulaPoint dividing a→b in ratio m : n is (na + mb)/(m + n).
IntervalA set of numbers between two endpoints: [a, b], (a, b), [a, b), (a, b].
Parallel-Line ConstructionRuler-and-compass method to split a segment into q equal parts.
Farey SequenceAll fractions in [0, 1] with denominator ≤ n, in order.
Real Number LineThe rational line with all its gaps (irrationals such as √2) filled in.