Every rational number is a point of the number line. This lesson places any rational number, positive or negative, written as a fraction, a mixed number or a decimal; proves the order test a/b < c/d exactly when a × d < b × c (for positive denominators) from the difference of the two numbers; and finds the opposite and the absolute value of every rational number.
The point of a rational number
This lesson relies on the previous lesson, What a rational number is, on the lessons Fractions on the number line, Negative fractions and Arithmetic with signed fractions, on Comparing and ordering decimals, and on Comparing and ordering integers.
A rational number is a point on the number line,[1] as every number met so far has been: a number is a point on the number line.[2] The lessons Fractions on the number line and Negative fractions placed the signed fractions, which are exactly the rational numbers (lesson 1.1). The next proposition collects what is needed to find and position any rational number on the line,[3] whichever way it is written.
Let x = pq, with p an integer and q a counting number.
- The point of x is reached from 0 by |p| steps of length 1q: to the right if p > 0, to the left if p < 0.
- Every name of x with a positive denominator gives the same point.
- Divide |p| by q: |p| = m × q + r with 0 ≤ r < q. If p ≥ 0, x lies rq of a unit to the right of m, so m ≤ x < m + 1. If p < 0, x lies rq of a unit to the left of −m: x = −m when r = 0, and −m − 1 < x < −m when r ≠ 0.
(1) For p ≥ 0 this is the lesson Fractions on the number line. For p < 0, x = (lesson Negative fractions), the point at the same distance as |p|q on the left of 0. Thinking of a negative number as the opposite of a positive one is what locates it.[4]
(2) Let pq = p′q′ with q and q′ positive. By the equality test (lesson 1.1), p × q′ = q × p′, so p and p′ have the same sign, and |p| × q′ = q × |p′|. By the cross-product test of the lesson Equivalent fractions, |p|q = |p′|q′: the two names give the same distance from 0, on the same side.
(3) |p|q = m + rq (lessons Fractions as division and Mixed numbers), a point rq of a unit to the right of m, between m and m + 1, and equal to m only when r = 0. For p < 0, x is the opposite of this point: rq of a unit to the left of −m, between −m − 1 and −m (lesson Negative fractions, the Proposition on the point of −(a/b)).
So placing a rational number takes three steps: write it as a quotient with a positive denominator; find the integers around it by dividing |p| by q; then measure the remainder in steps of 1q from the integer nearer to 0. A decimal is placed in the same way, with q = 10, 100, 1,000, …, or directly by its digits (lesson Comparing and ordering decimals).
Place −236 on the number line.
- The denominator is already positive. Divide 23 by 6: 23 = 3 × 6 + 5.
- The numerator is negative and the remainder is 5, not 0, so −4 < −236 < −3.
- Cut the unit from −4 to −3 into 6 equal parts and go 5 of them to the left from −3.
Answer: −236 = − lies 56 of a unit to the left of −3, one sixth of a unit to the right of −4.
Place 2.35.
- 2.35 = 235100 = 4720, and 47 = 2 × 20 + 7.
- So 2.35 lies 720 of a unit to the right of 2: cut the unit from 2 to 3 into 20 equal parts and take 7 of them.
Answer: between 2 and 3, 720 = 0.35 of the way. The digits say the same: 2 ones, then 3 tenths and 5 hundredths.
Place 28−7.
- Make the denominator positive by changing both signs: 28−7 = −287.
- 28 = 4 × 7 + 0: the remainder is 0.
Answer: 28−7 = −4, a mark of the line. A rational number may be an integer even when it is written as a quotient.
Someone places −3.4 by starting at −3 and going 0.4 to the right. Where is the mistake?
- −3.4 is the opposite of 3.4 = 3 + 0.4. The sign applies to the whole number, both its whole part and its decimal part.
- So −3.4 = −(3 + 0.4) lies 0.4 to the left of −3, between −4 and −3. Going right from −3 gives −2.6 instead.
Answer: −3.4 lies between −4 and −3, 25 of a unit to the left of −3.
Place any rational number
Choose the integers p and q. The quotient p/q is placed on the line.
- −176 has a positive denominator.
- In lowest terms: .
- It lies between −3 and −2: it is −3 + 16, that is, 16 of the way from −3 to −2.
- As a decimal: −2.8.
Order
The order of rational numbers is the order of their points: x < y means that the point of x lies to the left of the point of y (lesson Negative fractions). A statement of inequality is a statement about the relative position of two numbers on the number line.[5] To compare two numbers without a drawing, look at their difference.
For rational numbers x and y, x < y exactly when y − x > 0.
Let d = y − x. By the Theorem “the difference is the missing addend” of the lesson Arithmetic with signed fractions, d + x = y, so x + d = y by the commutative law of addition. By the definition of the sum in the same lesson, the point of x + d is reached from the point of x by moving the distance |d| to the right if d > 0, to the left if d < 0, and not at all if d = 0. So the point of y is to the right of the point of x exactly when d > 0.
Wu proves the same fact and remarks that in higher mathematics it is taken as the definition of x < y.[6] It turns every comparison into a question about one sign. The sign of a quotient is easy to read: by the lesson Negative fractions, a quotient of integers is positive when numerator and denominator have the same sign and negative when they have different signs.[7] In particular, for an integer p and a counting number q, pq > 0 exactly when p > 0.
For integers a and c and counting numbers b and d,
ab < cd exactly when a × d < b × c.
By the difference formula of the lesson Arithmetic with signed fractions, cd − ab = c × b − d × ad × b = b × c − a × db × d, by the commutative law of the integers. Its denominator b × d is a counting number, so the difference is positive exactly when its numerator b × c − a × d is positive. By the Theorem on order through the difference, applied first to the two rational numbers and then to the two integers a × d and b × c, ab < cd exactly when b × c − a × d > 0, that is, exactly when a × d < b × c.
This is the cross-multiplication theorem of the lesson Negative fractions, with a second proof that shows where it comes from: the sign of the cross-product difference b × c − a × d is the sign of the difference of the two numbers.
Both denominators must be positive. For 1−2 and 13, the test with b = −2 would compare 1 × 3 = 3 with (−2) × 1 = −2 and conclude, wrongly, that 1−2 is not less than 13. One negative denominator reverses the comparison. First make every denominator positive (lesson 1.1): −12 < 13, since (−1) × 3 = −3 < 2 × 1 = 2.
For rational numbers x, y and z:
- exactly one of x < y, x = y and y < x is true;
- if x < y and y < z, then x < z.
Write x, y and z over one positive denominator N, for example the product of their positive denominators: x = aN, y = bN, z = cN with integers a, b, c, as in Exercise 7 of lesson 1.1. By the Theorem on the same denominator (lesson Arithmetic with signed fractions), y − x = b − aN, which is positive exactly when b − a > 0, that is, when a < b (the Theorem on order through the difference, for integers). So x < y exactly when a < b; and by the equality test x = y exactly when a × N = N × b, that is, when (a − b) × N = 0, which for N ≠ 0 means a = b. Comparing x, y and z is therefore comparing the integers a, b and c, for which (1) and (2) hold (lesson Comparing and ordering integers).
These are the trichotomy law[8] and the transitivity law[9], which textbooks list among the properties of the order of all numbers on the line. Together they say that any list of rational numbers can be put in increasing order, in exactly one way.
To compare a decimal with a fraction, either convert the fraction to a decimal and compare the decimals,[10] or convert the decimal to a fraction and use the order test. The second way always works with a finite amount of work, even when the decimal of the fraction repeats (Decimals 3.1, 3.3).
Which is greater, or −0.86?
- As decimals: 78 = 0.875, so = −0.875. Of two negative numbers the one with the larger absolute value is the smaller: −0.875 < −0.86.
- By the order test: −0.86 = −4350, and (−7) × 50 = −350 < 8 × (−43) = −344, so −78 < −4350.
Answer: −0.86 is greater. Both ways agree.
Compare 7−12 and −47.
- Make the denominators positive: 7−12 = −712.
- (−7) × 7 = −49 and 12 × (−4) = −48. Since −49 < −48, the first number is less.
Answer: 7−12 < −47. Check over 84: −49 < −48, the same numerators.
Compare 0. and 411.
- By Theorem 2 of the lesson Repeating decimals, 0. = 3699.
- 36 × 11 = 396 and 99 × 4 = 396. The cross products are equal, so neither number is less than the other.
Answer: 0. = 411. By trichotomy, exactly this one of the three cases holds.
Someone tests whether 3−4 < 12 by comparing 3 × 2 = 6 with (−4) × 1 = −4, and since 6 is not less than −4, concludes that 3−4 is the greater. What is wrong?
- The order test needs positive denominators, and −4 is negative.
- 3−4 = −34, and (−3) × 2 = −6 < 4 × 1 = 4. So 3−4 < 12.
Answer: a negative number is less than a positive one, as the corrected test confirms.
Put in increasing order: −1.2, , 1−6, 0.15, −.
- As quotients with positive denominators: −65, −54, −16, 320, −76.
- Over the common denominator 60 the numerators are −72, −75, −10, 9 and −70.
- In increasing order: −75 < −72 < −70 < −10 < 9.
Answer: < −1.2 < − < 1−6 < 0.15. Check with decimals: −1.25 < −1.2 < −1.1666… < −0.1666… < 0.15.
Put them in order
- Round
- 1
- Score
- 0
- Streak
- 0
Tap the numbers from the least to the greatest.
Opposites and absolute values
The lessons Opposites, Absolute value and Negative fractions defined both for signed fractions: the opposite −x is the point at the same distance from 0 on the other side, and the opposite of the opposite is the number itself, with 0 its own opposite;[11] the absolute value |x| is the distance from 0.[12] For a number given as a quotient of integers, both are read off at once.
For integers p and q with q ≠ 0:
- −pq = −pq and |pq| = |p||q|, so the opposite and the absolute value of a rational number are rational;
- if pq is in lowest terms with q > 0, so are −pq and |p|q.
(1) By the Theorem on dividing signed fractions (lesson Negative fractions), (−p) ÷ q has the same absolute value as p ÷ q, and changing the sign of one of p and q changes the sign of the quotient (if p ≠ 0); so (−p) ÷ q is the number at the same distance from 0 on the other side, the opposite of p ÷ q. The same Theorem gives |p ÷ q| = |p| ÷ |q|. (2) The numerators −p and |p| have the same absolute value as p, so their greatest common divisor with q is gcd(|p|, q) = 1.
Order and absolute value answer different questions, and must be kept apart.[13] Order compares positions on the line; absolute value compares distances from 0. For two negative numbers the one with the larger absolute value is the smaller (lesson Negative fractions, the comparison rules).
Find the opposite and the absolute value of −2.6, 9−4, 0 and −(−0.4), in lowest terms.
- −2.6 = −135: opposite 135 = 2.6, absolute value 135.
- 9−4 = −94: opposite 94, absolute value |−9| ÷ |4| = 94.
- 0: opposite 0, absolute value 0.
- −(−0.4) = 0.4 = 25: opposite −25, absolute value 25.
Answer: 135 and 135; 94 and 94; 0 and 0; −25 and 25.
Which is greater, or 12? Which has the greater absolute value?
- A negative number is less than a positive one: < 12.
- || = 34 and |12| = 12 = 24, so the absolute value of is the greater.
Answer: 12 is greater, but is farther from 0 (the figure).
Someone says −0.9 > −0.2 because 0.9 > 0.2. Decide it.
- 0.9 > 0.2 compares the absolute values, the distances from 0.
- By the order test: −0.9 = −910, −0.2 = −210, and −9 < −2. So −0.9 < −0.2.
Answer: −0.9 < −0.2. The larger distance from 0, on the negative side, is farther to the left.
Between two different integers there may be no other integer, but between any two different rational numbers there is always another rational number.[14] This is proved in lesson 1.5 of this unit, Between any two rationals there is another. The next lesson, Arithmetic with rational numbers, computes with rational numbers written in any of their forms.
Exercises
Between which consecutive integers does each number lie, and where exactly? (a) −298; (b) 3.7; (c) 45−9; (d) −0.05.
▸ Show solution
(a) 29 = 3 × 8 + 5: between −4 and −3, 58 of a unit to the left of −3. (b) 3.7 = 3710: between 3 and 4, 710 of a unit to the right of 3. (c) 45−9 = −459 = −5, an integer. (d) −0.05 = −120: between −1 and 0, 120 of a unit to the left of 0.
Compare: (a) and −0.8; (b) 5−11 and −49; (c) 0.8 and 56.
▸ Show solution
(a) −0.8 = −45; (−7) × 5 = −35 and 9 × (−4) = −36. Since −36 < −35, −0.8 < . (b) 5−11 = −511; (−5) × 9 = −45 < 11 × (−4) = −44, so 5−11 < −49. (c) 0.8 = 83 − 890 = 7590 = 56: equal.
Put in increasing order: 0.4, , −0.43, 2−5, 516.
▸ Show solution
The negative numbers are −37, −0.43 = −43100 and 2−5 = −25. (−43) × 7 = −301 < 100 × (−3) = −300, so −0.43 < ; and (−3) × 5 = −15 < 7 × (−2) = −14, so < . The positive ones: 516 = 0.3125 < 0.4. Order: −0.43 < < 2−5 < 516 < 0.4.
Find the opposite and the absolute value, in lowest terms with a positive denominator: (a) −27−36; (b) 0.125; (c) −; (d) 14−35.
▸ Show solution
(a) −27−36 = 34 (gcd 9): opposite −34, absolute value 34. (b) 0.125 = 18: −18 and 18. (c) − = −116: 116 and 116. (d) 14−35 = −25: 25 and 25.
Which integers lie between −134 and 2.6? How many are there?
▸ Show solution
The integers m with −3.25 < m < 2.6 (since −134 = −3.25): −3, −2, −1, 0, 1 and 2. There are 6 of them. −3 is included because −3.25 < −3; 3 is not, because 2.6 < 3.
Prove from the Theorem on order through the difference that if x < y, then −y < −x.
▸ Show solution
By the Theorem on order through the difference, x < y means y − x > 0. Now (−x) − (−y) = (−x) + y = y − x (lesson Arithmetic with signed fractions: subtracting is adding the opposite, −(−y) = y, and addition is commutative). So (−x) − (−y) > 0, which by the same Theorem means −y < −x.
Give a second proof of transitivity: if x < y and y < z, then x < z, using only differences.
▸ Show solution
z − x = (z − y) + (y − x), by the laws of addition (lesson Arithmetic with signed fractions): the −y and +y add to 0. Both z − y and y − x are positive, by the Theorem on order through the difference. A sum of two positive numbers is positive (the Theorem on the rules for sums, rule (1), in the lesson Arithmetic with signed fractions: the sum of two fractions greater than 0 is greater than 0). So z − x > 0, that is, x < z.
Summary
- Every rational number is a point of the line. For pq with q > 0, divide |p| by q: |p| = m × q + r. The point is rq of a unit to the right of m if p ≥ 0, and to the left of −m if p < 0.
- x < y exactly when y − x > 0: the point of y is reached from x by a move to the right.
- With positive denominators, ab < cd exactly when a × d < b × c, because the difference is b × c − a × db × d. With a negative denominator the test fails until the signs are moved.
- Any two rational numbers compare in exactly one way, and the order is transitive, so every list of rational numbers has one increasing order.
- −pq = −pq and |pq| = |p||q|. Order compares positions; absolute value compares distances from 0.
Sources
- 1.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Apply and extend previous understandings of numbers to the system of rational numbers (CCSS.Math.Content.6.NS.C.6)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“Understand a rational number as a point on the number line.”
Used for: every rational number is a point of the number line (the figure). - 2.H. Wu, Pre-Algebra (draft of April 21, 2010; revised October 26, 2011, Department of Mathematics, University of California, Berkeley, 2011).Chapter 2, “Rational Numbers”, section 1, “The two-sided number line”, p. 113 (the whole topic: pp. 113–115). Read it online.
“Recall that a number is a point on the number line.”
Used for: a number is a point on the number line. - 3.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Apply and extend previous understandings of numbers to the system of rational numbers (CCSS.Math.Content.6.NS.C.6.c)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“Find and position integers and other rational numbers on a horizontal or vertical number line diagram;”
Used for: integers and other rational numbers are found and positioned on the number line. - 4.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 4, “Fractions”, section 4.1, “Visualize Fractions” (“Locate Fractions and Mixed Numbers on the Number Line”), p. 269 (the whole topic: pp. 268–269).
“Thinking of negative fractions as the opposite of positive fractions will help us locate them on the number line.”
Used for: a negative number is located as the opposite of a positive one. - 5.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Understand ordering and absolute value of rational numbers (CCSS.Math.Content.6.NS.C.7.a)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“Interpret statements of inequality as statements about the relative position of two numbers on a number line diagram.”
Used for: a statement of inequality is a statement about the relative position of two numbers on the line. - 6.H. Wu, Pre-Algebra (draft of April 21, 2010; revised October 26, 2011, Department of Mathematics, University of California, Berkeley, 2011).Chapter 2, “Rational Numbers”, section 6, “Comparing rational numbers”: “The basic inequalities”, p. 156 (the whole topic: pp. 153–159). Read it online.
“It should be remarked that in higher mathematics, (C) is taken as the definition of x < y.”
Used for: x < y exactly when y − x > 0 (Wu’s inequality (C), proved on p. 155); in higher mathematics this is taken as the definition of x < y. - 7.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §4, “The Rational Numbers”, 3, “The Ordering of ℚ”, p. 23 (the whole topic: pp. 23).
“A fraction a/b is said to be positive if a, b are both positive or both negative.”
Used for: a quotient of integers is positive when numerator and denominator have the same sign. - 8.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.1, “Axioms for Real Numbers” (“Order Axioms”), pp. A-2 (the whole topic: pp. A-2).
“This rule is called the trichotomy law.”
Used for: the trichotomy law: of two numbers, exactly one of the three possibilities, equal, first greater, second greater, occurs. - 9.Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.1, “Axioms for Real Numbers” (“Order Axioms”), pp. A-2 (the whole topic: pp. A-2).
“For all real numbers x, y, and z, if x > y and y > z, then x > z.”
Used for: the transitivity law (stated by Rosen for all real numbers, which include the rational numbers). - 10.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 5, “Decimals”, section 5.3, “Decimals and Fractions” (“Order Decimals and Fractions”), p. 404 (the whole topic: pp. 404–406).
“To compare a decimal to a fraction, we will first convert the fraction to a decimal and then compare the decimals.”
Used for: a decimal and a fraction can be compared by converting the fraction to a decimal. - 11.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Apply and extend previous understandings of numbers to the system of rational numbers (CCSS.Math.Content.6.NS.C.6.a)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“recognize that the opposite of the opposite of a number is the number itself, e.g., -(-3) = 3, and that 0 is its own opposite.”
Used for: the opposite of the opposite of a number is the number itself, and 0 is its own opposite. - 12.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Understand ordering and absolute value of rational numbers (CCSS.Math.Content.6.NS.C.7.c)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“Understand the absolute value of a rational number as its distance from 0 on the number line;”
Used for: the absolute value of a rational number is its distance from 0. - 13.“The Number System, Grade 6”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).Section “Understand ordering and absolute value of rational numbers (CCSS.Math.Content.6.NS.C.7.d)”. thecorestandards.org/Math/Content/6/NS · open at the quoted passage.
“Distinguish comparisons of absolute value from statements about order.”
Used for: comparisons of absolute value and statements about order must be kept apart (the figure). - 14.Eric W. Weisstein, “Rational Number”, MathWorld, a Wolfram Web Resource.Section “Rational Number”. mathworld.wolfram.com/RationalNumber.html · open at the quoted passage.
“It is always possible to find another rational number between any two distinct rational numbers.”
Used for: between any two different rational numbers there is another (proved in lesson 1.5).