See How Things Work

What a rational number is

Unit
Rational Numbers
Part
1. The Rational Numbers
Lesson
1.1

A rational number is a number that can be written as a quotient p/q of two integers, with q not 0. This lesson defines the rational numbers and the symbol ℚ, shows that the integers, the fractions and the terminating and repeating decimals are all rational, decides when two quotients name the same number, and proves that every rational number has exactly one name in lowest terms with a positive denominator.

Quotients of integers

This unit relies on the unit Fractions, above all Fractions as division, Equivalent fractions, Simplifying to lowest terms, Negative fractions and Arithmetic with signed fractions; on the unit Decimals, lesson 1.2 and lessons 3.1–3.4; and on the integers (Dividing integers). It does not repeat their proofs: it collects their results into one number system and gives it a name.

Each enlargement of the numbers so far made an operation always possible. The integers made every subtraction possible (Integers 2.4). Division, the inverse of multiplication, cannot always be carried out in the integers: no integer times 4 is −3 (Integers 3.4). Fractions, with their opposites, make it possible.⁠[1] The lesson Negative fractions proved that for integers p and q with q ≠ 0 the quotient p ÷ q, written pq, is always a signed fraction, and exactly one.

Definition (Rational number).

A number is rational if it can be written as pq = p ÷ q, where p and q are integers and q ≠ 0.⁠[2][3][4] The integer p is the numerator and q the denominator of this quotient.

The rational numbers are also called the rationals.⁠[5] The name comes from ratio: a rational number is a number that can be written as a ratio of two integers.⁠[3] The definition asks for one way of writing the number as a quotient of integers; most numbers met in this unit are written in some other way, as a decimal or a mixed number, and are still rational. The condition q ≠ 0 is needed because division by 0 is undefined (Division 1.3).

Theorem (the rational numbers are the signed fractions).

A number is rational exactly when it is a signed fraction: a fraction ab, with a whole number a and a counting number b, or the opposite of one.

Proof.

Let p and q be integers with q ≠ 0. Integers are signed fractions (n = n1, and −n is its opposite), so by the Theorem on dividing signed fractions of the lesson Negative fractions, p ÷ q is a signed fraction.

Conversely, by the Corollary on a positive denominator of the same lesson, every signed fraction can be written as pb with p an integer and b a counting number: a quotient of integers whose denominator is not 0.

So all fractions, both positive and negative, are rational numbers,⁠[6] and the rational numbers are exactly the numbers a/b and −a/b for fractions a/b.⁠[7] Wu defines them in this way, as the fractions together with their mirror images on the left of 0.⁠[8]

Example (Showing that a number is rational).

Show that −11, , −0.36 and 0 are rational.

  1. −11 = −111, since (−11) ÷ 1 = −11.
  2. = 2 × 8 + 58 = 218 (lesson Mixed numbers).
  3. 0.36 = 36100 (Decimals 1.2), so −0.36 = = −36100.
  4. 0 = 01, since 0 ÷ 1 = 0.

Answer: each is a quotient of two integers with a denominator other than 0, so each is rational.

Example (Edge case: a denominator of 0).

Are 50 and 00 names of rational numbers?

  1. 50 would be the number q with q × 0 = 5. Every number times 0 is 0, so there is no such q.
  2. 00 would be the number q with q × 0 = 0. Every number satisfies this, so no single number is named.

Answer: neither names a number. That is why the definition requires q ≠ 0. A numerator of 0 is allowed: 05 = 0.

The symbol ℚ

The rational numbers, taken all together, are denoted ℚ.⁠[8][9] In the same way ℤ denotes the integers, and ℕ the natural numbers 0, 1, 2, 3, ….⁠[9] Some books start ℕ at 1 instead of 0; the lesson Natural numbers and whole numbers: a note on conventions compares the two conventions, and this site starts at 0. Rosen prints these letters in bold type, N, Z, Q;⁠[9] this site writes them with a doubled stroke, ℕ, ℤ, ℚ.

The letter Q comes from the German word Quotient,⁠[10][11] and Z from Zahlen, “numbers”.⁠[11] Both letters are apparently due to N. Bourbaki,⁠[12] a group of mostly French mathematicians who began meeting in the 1930s,⁠[13] and both occur in Bourbaki’s Algèbre,⁠[11] where, according to MathWorld, the symbol ℚ first appeared.⁠[10]

Historical note.

Fractions are far older than the name “rational number”. Egyptian scribes computed with fractions, but apart from 23, which had a special symbol, every fraction other than a unit fraction such as 17 had to be written as a sum of unit fractions.⁠[14] Fractions, which make division always possible, were already considered in early times.⁠[1] The Greeks counted only the natural numbers (and not even 1) as numbers, and treated a fraction as a ratio of numbers;⁠[15] the first systematic treatment of the rationals is found in Book VII of Euclid’s Elements, which deals with ratios of natural numbers.⁠[16] By the 1500s negative rational numbers and zero were in regular use in practical calculations.⁠[17] The first theoretical investigations of the rational numbers date from the nineteenth century,⁠[18] when mathematicians also began to construct number systems step by step from more basic ones;⁠[19] the letter ℚ itself came later, apparently from the Bourbaki group of mathematicians, who began meeting in the 1930s.⁠[12][13][10]

Integers, fractions and decimals are rational

Every kind of number met so far, written in any of the ways met so far, is rational.

Theorem (the familiar numbers are rational).
  1. Every integer is rational; in particular every natural number is rational.
  2. Every fraction, every mixed number, and the opposite of each, is rational.
  3. Every terminating decimal, and the opposite of each, is rational.
  4. Every repeating decimal, and the opposite of each, is rational.
Proof.

(1) An integer n is n1, because n ÷ 1 = n. (2) A fraction is rational by the Theorem of the first section; a mixed number is a fraction (lesson Mixed numbers); the opposite of a fraction is a signed fraction. (3) By Theorem 1 of Decimals 1.2, a decimal with k places equals ND, where N is the whole number written with all its digits and D is 1 followed by k zeros; its opposite is −ND. (4) By Theorem 2 of the lesson Repeating decimals and Theorem 3 of Which fractions terminate and why, a repeating decimal names a fraction; its opposite names the opposite of that fraction.

In particular, all natural numbers are integers and all integers are rational numbers.⁠[20] The figure draws the three collections ℕ, ℤ and ℚ as regions, one inside the next. Wu writes this with the symbol ⊂ for “is contained in”: ℕ ⊂ ℤ ⊂ ℚ.⁠[21]

ℚℚrationalrationalnumbersnumbersℤℤintegersintegersℕℕnaturalnaturalnumbersnumbers−34−340.250.257373−2.6−2.6−119−119−1−1−12−12−7−7−305−30500112248481,0001,000
Figure. Every natural number is an integer, and every integer is a rational number: ℕ lies inside ℤ, which lies inside ℚ. Each number is written in the smallest region that contains it. The drawing is schematic: the regions show which collection contains which, not how large they are.⁠[21]
Looking ahead.

Collections of numbers and the symbol ⊂ are studied in the unit Sets (lessons “Sets and elements” and “Subsets”). The unit Real Numbers adds a fourth collection, ℝ, around these three, in its lesson “The number sets ℕ, ℤ, ℚ and ℝ”.

The Theorem also runs the other way for decimals. Every rational number can be written both as a ratio of integers and as a decimal that either stops or repeats.⁠[22] For ab this is Theorem 1 of the lesson Which fractions terminate and why; for , divide without the sign and write the sign in front (Decimals 3.1). And an endless decimal that never repeats names no fraction (Theorem 4 of Which fractions terminate and why), so it is not rational. A decimal that does not stop and does not repeat cannot be written as a ratio of integers; such a number is called irrational.⁠[23]

Looking ahead.

Whether such numbers really are points of the number line is settled in the unit Real Numbers, in its lessons “Numbers that are not fractions” and “Why √2 is irrational”.

Example (Sorting numbers into ℕ, ℤ and ℚ).

For each number, find the smallest of ℕ, ℤ, ℚ that contains it: −279, −40−8, 0.625, −, 0−6.

  1. 27 = 3 × 9, and numerator and denominator have different signs: −279 = −3. An integer below 0: ℤ.
  2. Both signs negative, so the quotient is positive, and 40 = 5 × 8: −40−8 = 5. A natural number: ℕ.
  3. 0.625 = 6251000 = 58. It lies between 0 and 1, so it is not an integer: ℚ.
  4. − lies between −4 and −3: not an integer, so ℚ.
  5. 0−6 = 0, since 0 × (−6) = 0. Zero is a natural number: ℕ.

Answer: ℤ, ℕ, ℚ, ℚ, ℕ. The way a number is written does not decide its home; its value does.

Example (A mistake: “an endless decimal is not rational”).

Someone says that 0.545454…, with the block 54 repeating, is not rational, because its digits never end. What is wrong?

  1. The digits never end, but they repeat. By Theorem 2 of the lesson Repeating decimals, 0. = 5499.
  2. gcd(54, 99) = 9, so 5499 = 611.
  3. Check by long division: 60 = 5 × 11 + 5, 50 = 4 × 11 + 6, and the remainder 6 has come back, so the digits 5, 4 repeat.

Answer: 0. = 611 is rational. What is not rational is an endless decimal that never repeats.

Game

The smallest home

Round
1
Score
0
Streak
0

Which is the smallest of ℕ, ℤ and ℚ that contains this number?

ℚℚrationalrationalnumbersnumbersℤℤintegersintegersℕℕnaturalnaturalnumbersnumbers

Many names for one rational number

A rational number has many names. The figure shows one point of the number line and eight of its names: the fraction with the sign in front, six quotients of integers and a repeating decimal. Which quotients name the same number is decided by one comparison of products.

−2−2−1−1001122−23−23
−232−3−466−9−101514−21−0.
Figure. One point, many names. Each card names the same rational number, the point two thirds of a unit to the left of 0: the sign may stand in front, in the numerator or in the denominator, numerator and denominator may be multiplied by the same nonzero integer, and the decimal of repeats the digit 6.
Theorem (the equality test).

For integers a, b, c and d with b ≠ 0 and d ≠ 0,

ab = cd exactly when a × d = b × c.

Proof.

Let s = 1 if b > 0 and s = −1 if b < 0. Then s × b is a counting number, and ab = s × as × b: when s = −1 both a ÷ b and (−a) ÷ (−b) have the absolute value |a| ÷ |b| and the same sign, by the Theorem on dividing signed fractions (lesson Negative fractions). In the same way let t = ±1 with t × d > 0, so that cd = t × ct × d.

Now both denominators are positive, and the cross-multiplication theorem with signs of the lesson Negative fractions says that the two numbers are equal exactly when (s × a) × (t × d) = (s × b) × (t × c), that is, when (s × t) × (a × d) = (s × t) × (b × c), by the commutative and associative laws of the integers. Since s × t is 1 or −1, and (s × t) × (s × t) = 1, multiplying both sides by s × t shows that this holds exactly when a × d = b × c.

This is the cross-product test of the lesson Equivalent fractions, now with no condition on the signs. It is the relation “a/b = c/d if and only if ad = bc” that advanced texts start from.⁠[24]

Corollary (multiplying numerator and denominator).

For an integer a and nonzero integers b and k, ab = a × kb × k.

Proof.

b × k ≠ 0, since a product of nonzero integers is not 0 (Integers 3.3, Theorem 1). And a × (b × k) = b × (a × k) by the commutative and associative laws of the integers, so the equality test applies.

With k = −1 this moves both signs at once: ab = −a−b. With k = 2, 3, 4, … it gives infinitely many names for every rational number.

Looking ahead.

Advanced texts turn the equality test into a definition: they build the rational numbers from pairs (a, b) of integers with b ≠ 0, two pairs counting as the same number exactly when a × d = b × c.⁠[25][24] Such “counting as the same” is an equivalence relation, the subject of the lesson “Equivalence relations” in the unit Relations.

Example (Equal names with the signs in different places).

Is −614 equal to 9−21?

  1. a × d = (−6) × (−21) = 126.
  2. b × c = 14 × 9 = 126.

Answer: the products agree, so the two quotients are equal. Both are .

Example (A mistake: judging by the place of the sign).

Someone says 4−6 and are different, “because the minus sign is in the denominator in one and in front in the other”. Decide it.

  1. = −23. Cross products: 4 × 3 = 12 and (−6) × (−2) = 12.

Answer: they are equal. The place of the sign changes the name, not the number. Only the number of minus signs matters: one minus sign gives a negative number, two give a positive one.

Example (Two quotients that are not equal).

Is −5−8 equal to 5−8?

  1. a × d = (−5) × (−8) = 40, b × c = (−8) × 5 = −40.

Answer: 40 ≠ −40, so they are different numbers: −5−8 = 58 and 5−8 = are opposites.

One name in lowest terms

Among all the names of a rational number one is chosen as its standard name. A fraction is called simplified when its numerator and denominator have no common factor other than 1;⁠[26] for quotients of integers the sign is also fixed, by asking for a positive denominator.

Definition (Lowest terms).

Let p and q be integers with q > 0. The quotient pq is in lowest terms if p and q have no common divisor greater than 1, that is, gcd(|p|, q) = 1 (The greatest common divisor).

For p ≥ 0 this is the definition of the lesson Simplifying to lowest terms. Since gcd(0, q) = q, the number 0 has only one name in lowest terms with a positive denominator: 01.

Theorem (one name in lowest terms).

Every rational number can be written as pq in lowest terms with q > 0, and in only one way.

Proof.

At least one way. Let x be rational; it is a signed fraction. If x ≥ 0, x is a fraction, and the lesson Simplifying to lowest terms writes it in lowest terms a′b′. If x < 0, then x = −r for a fraction r = a′b′ in lowest terms, and x = = −a′b′ (lesson Negative fractions), with gcd(|−a′|, b′) = gcd(a′, b′) = 1.

At most one way. Let x = pq = p₂q₂, both in lowest terms with positive denominators. By the equality test, p × q₂ = q × p₂. If p = 0, then q × p₂ = 0 with q ≠ 0, so p₂ = 0, and lowest terms force q = q₂ = 1. Otherwise p₂ ≠ 0 too; as q and q₂ are positive, p and p₂ have the same sign, and |p| × q₂ = q × |p₂|. By the cross-product test of the lesson Equivalent fractions, the fractions |p|q and |p₂|q₂ are equal, and both are in lowest terms, so by the Corollary of the lesson Simplifying to lowest terms they are the same fraction: |p| = |p₂| and q = q₂. With the same sign, p = p₂.

Every rational number can be written in lowest terms; proofs often start from this fact.⁠[27] Advanced texts write a rational number a/b reduced to lowest terms and b > 0,⁠[28] and the programming language Python uses the same name: its fractions module gives a rational number as a pair of integers in lowest terms with a positive denominator.⁠[29] In this unit the name in lowest terms with a positive denominator is used for answers.

To find it:

  1. write the number as a quotient of integers pq;
  2. if q < 0, change the signs of both p and q (the Corollary with k = −1);
  3. divide p and q by g = gcd(|p|, q) (the Corollary, read backward).

One consequence: a rational number in lowest terms pq with q > 0 is an integer exactly when q = 1 (Exercise 5). Two names are equal exactly when they have the same name in lowest terms.

Example (Three steps).

Write 42−70 in lowest terms with a positive denominator.

  1. The denominator is negative: change both signs, 42−70 = −4270.
  2. gcd(42, 70) = 14, and 42 = 3 × 14, 70 = 5 × 14, so −4270 = −35.

Answer: −35, that is, . Check with the equality test: 42 × 5 = 210 and (−70) × (−3) = 210.

Example (Decimals).

Write −2.45 and 0.1 in lowest terms.

  1. 2.45 has two decimal places: 2.45 = 245100. gcd(245, 100) = 5, so −2.45 = −4920.
  2. By Theorem 3 of Which fractions terminate and why, with one digit 1 before the block and the block 6: 0.1 = 16 − 190 = 1590. gcd(15, 90) = 15, so it is 16.

Answer: −4920 and 16. Check: 49 ÷ 20 = 2.45, and 1 ÷ 6 = 0.1666….

Example (Edge cases: 0 and the integers).

Write 0−11 and −568 in lowest terms with a positive denominator.

  1. 0−11 = 011, and gcd(0, 11) = 11: dividing gives 01.
  2. gcd(56, 8) = 8, so −568 = −71, the integer −7.

Answer: 01 and −71. A denominator of 1 in lowest terms marks an integer.

Example (A mistake: losing the sign).

Someone writes 18−30 in lowest terms as 35. What went wrong?

  1. Numerator and denominator have different signs, so 18−30 is negative, and 35 is positive: the sign was dropped.
  2. Correctly: 18−30 = −1830, and gcd(18, 30) = 6, so it is −35.
  3. The equality test confirms it: 18 × 5 = 90 = (−30) × (−3). For 35 it fails: 18 × 5 = 90, but (−30) × 3 = −90.

Answer: −35.

Game

One name in lowest terms

Round
1
Score
0
Streak
0

Write this number as p/q in lowest terms with a positive denominator (type a minus sign as -, for example -3/4).

77−49 = ?
Looking ahead.

The next lesson, Rational numbers on the number line, places every rational number on the line and compares them; the lesson after it, Arithmetic with rational numbers, shows that sums, differences, products and quotients of rational numbers are again rational.

Exercises

Exercise .

Write each number as a quotient of integers: −13, , −0.045, 0.

▸ Show solution

−13 = −131; = 4 × 9 + 29 = 389; −0.045 = −451000 = −9200 (dividing by 5); 0 = 01.

Exercise .

Equal or not? (a) 15−35 and −9−21; (b) −8−20 and 2−5; (c) 1435 and −6−15.

▸ Show solution

(a) 15 × (−21) = −315 and (−35) × (−9) = 315: the products differ, so the numbers differ. Indeed 15−35 = and −9−21 = 37, opposites. (b) (−8) × (−5) = 40 and (−20) × 2 = −40: different. −8−20 = 25 and 2−5 = . (c) 14 × (−15) = −210 and 35 × (−6) = −210: equal, both 25.

Exercise .

Write in lowest terms with a positive denominator: (a) 54−72; (b) −45−105; (c) −1.08; (d) 0.4.

▸ Show solution

(a) −5472, gcd 18: −34. (b) 45105, gcd 15: 37. (c) −1.08 = −108100, gcd 4: −2725. (d) 0.4 = 45 − 490 = 4190, already in lowest terms since 41 is prime and does not divide 90.

Exercise .

Find the smallest of ℕ, ℤ, ℚ that contains each number: −64−16, −0.5, 91−7, 7.00, −.

▸ Show solution

−64−16 = 4: ℕ. −0.5 = −12: ℚ. 91−7 = −13: ℤ. 7.00 = 700100 = 7: ℕ. − lies between −3 and −2: ℚ.

Exercise .

Prove that a rational number written in lowest terms as pq with q > 0 is an integer exactly when q = 1.

▸ Show solution

If q = 1, then p1 = p is an integer. Conversely, let pq = n be an integer. Then n1 is a name of the same number in lowest terms with a positive denominator (gcd(|n|, 1) = 1). By the Theorem “one name in lowest terms” there is only one such name, so q = 1 and p = n.

Exercise .

Find a name of with denominator 40, and one with denominator −24. Is there one with denominator 12?

▸ Show solution

With denominator 40: p40 = = −58 exactly when p × 8 = 40 × (−5) = −200, so p = −25. With denominator −24: p × 8 = (−24) × (−5) = 120, so p = 15, and 15−24 is the name. With denominator 12: p × 8 = 12 × (−5) = −60, and no integer times 8 is −60 (7 × 8 = 56 and 8 × 8 = 64). So there is no such name.

Exercise .

Prove that any two rational numbers can be written with the same positive denominator. Do it for 3−4 and −2−5.

▸ Show solution

Write x = ab and y = cd with b and d positive (the second step of the procedure). By the Corollary, x = a × db × d and y = c × bd × b = b × cb × d, and b × d > 0. For example, 3−4 = −34 = −1520 and −2−5 = 25 = 820.

Summary

  1. A rational number is a number that can be written as pq = p ÷ q with integers p and q, q ≠ 0. The rational numbers are exactly the signed fractions. They are denoted ℚ, from the German Quotient.
  2. Every integer, fraction, mixed number, terminating decimal and repeating decimal is rational, and so is the opposite of each: ℕ lies inside ℤ, which lies inside ℚ. An endless decimal that never repeats is not rational.
  3. ab = cd exactly when a × d = b × c, whatever the signs. So ab = a × kb × k for every nonzero integer k: every rational number has infinitely many names.
  4. Every rational number has exactly one name pq in lowest terms with q > 0: make the denominator positive, then divide by gcd(|p|, q). It is an integer exactly when q = 1.

Sources

  1. 1.
    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”, 1, “Historical”, p. 22 (the whole topic: pp. 22–23).
    “Division, as the inverse of multiplication, cannot be done without restriction in the domain of integers. Fractions, which make division always possible, were already considered in early times.”
    Used for: division cannot always be carried out in the integers; fractions make it possible, and were already considered in early times (the history note).
  2. 2.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 1, “The Foundations: Logic and Proofs”, section 1.7, “Introduction to Proofs” (1.7.6, “Proof by Contraposition”), Definition 2, p. 89 (the whole topic: pp. 89–90).
    “The real number r is rational if there exist integers p and q with q ≠ 0 such that r = p∕q.”
    Used for: the definition: a number is rational if it can be written as p/q with integers p and q, q ≠ 0.
  3. 3.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.1, “Rational and Irrational Numbers” (“Identify Rational Numbers and Irrational Numbers”), p. 540 (the whole topic: pp. 540–543).
    “A rational number is a number that can be written as a ratio of two integers.”
    Used for: the definition, and the name: a rational number can be written as a ratio of two integers.
  4. 4.
    Eric W. Weisstein, “Rational Number”, MathWorld, a Wolfram Web Resource.
    “A rational number is a number that can be expressed as a fraction”
    Used for: the definition (the page goes on: “p/q where p and q are integers and q ≠ 0”, and calls p the numerator and q the denominator).
  5. 5.
    Eric W. Weisstein, “Rational Number”, MathWorld, a Wolfram Web Resource.
    “The set of all rational numbers is referred to as the "rationals,"”
    Used for: the rational numbers are also called the rationals.
  6. 6.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.1, “Rational and Irrational Numbers” (“Identify Rational Numbers and Irrational Numbers”), p. 540 (the whole topic: pp. 540–543).
    “All fractions, both positive and negative, are rational numbers.”
    Used for: all fractions, positive and negative, are rational numbers.
  7. 7.
    “Mathematics Glossary”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).
    “A number expressible in the form a/b or - a/b for some fraction a/b.”
    Used for: the rational numbers are exactly the numbers a/b and −a/b for fractions a/b (the glossary’s definition of a rational number).
  8. 8.
    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. 114 (the whole topic: pp. 113–115). Read it online.
    “is called the rational numbers, and is denoted by Q”
    Used for: Wu defines the rational numbers as the fractions together with their mirror reflections across 0, and denotes them Q.
  9. 9.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.1, “Sets” (2.1.1, “Introduction”), p. 122 (the whole topic: pp. 121–123).
    “These sets, each denoted using a boldface letter, play an important role in discrete mathematics:”
    Used for: the letters ℕ, ℤ, ℚ (printed in bold) for the natural numbers 0, 1, 2, 3, …, the integers and the rational numbers (the list goes on: “N = {0, 1, 2, 3, …}, the set of all natural numbers Z = {… , −2, −1, 0, 1, 2, …}, the set of all integers … Q = {p∕q ∣ p ∈ Z, q ∈ Z, and q ≠ 0}, the set of all rational numbers”).
  10. 10.
    Eric W. Weisstein, “Rational Number”, MathWorld, a Wolfram Web Resource.
    “derives from the German word Quotient, which can be translated as "ratio," and first appeared in Bourbaki's Algèbre”
    Used for: the letter Q comes from the German word Quotient; according to MathWorld it first appeared in Bourbaki’s Algèbre (for when Bourbaki began meeting, see entry 13).
  11. 11.
    Jeff Miller, “Earliest Uses of Symbols of Number Theory”, MacTutor History of Mathematics Archive, University of St Andrews.
    Section “Letters for the sets of rational and real numbers”. mathshistory.st-andrews.ac.uk/Miller/mathsym/nth · open at the quoted passage.
    “The letters stand for the German Quotient and Zahlen. These notations occur in Bourbaki's Algébre, Chapter 1.”
    Used for: Q stands for the German Quotient and Z for Zahlen; both letters occur in Bourbaki’s Algèbre (Miller spells it “Algébre”).
  12. 12.
    Jeff Miller, “Earliest Uses of Symbols of Number Theory”, MacTutor History of Mathematics Archive, University of St Andrews.
    Section “Letters for the sets of rational and real numbers”. mathshistory.st-andrews.ac.uk/Miller/mathsym/nth · open at the quoted passage.
    “Q for the set of rational numbers and Z for the set of integers are apparently due to N. Bourbaki.”
    Used for: the letters Q and Z are apparently due to N. Bourbaki.
  13. 13.
    Jeff Miller, “Earliest Uses of Symbols of Number Theory”, MacTutor History of Mathematics Archive, University of St Andrews.
    Section “Letters for the sets of rational and real numbers”. mathshistory.st-andrews.ac.uk/Miller/mathsym/nth · open at the quoted passage.
    “N. Bourbaki was a group of mostly French mathematicians which began meeting in the 1930s”
    Used for: N. Bourbaki was a group of mostly French mathematicians who began meeting in the 1930s (the letters ℚ and ℤ are apparently due to them: entry 12).
  14. 14.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 2, “Mathematics in Early Civilizations”, section 2.2, “Egyptian Arithmetic” (“Early Egyptian Multiplication”), p. 39 (the whole topic: pp. 39–43).
    “for which there was a special symbol all other fractions had to be decomposed into sums of unit fractions”
    Used for: Egyptian scribes computed with fractions; apart from 2/3, which had a special symbol, every fraction other than a unit fraction had to be written as a sum of unit fractions (the sentence begins “With the exception of 2/3,”; the sentence before: “His computational practice allowed him only to admit the so-called unit fractions”).
  15. 15.
    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 §1, “Historical”, 2, “Greece”, p. 12 (the whole topic: pp. 11–12).
    “The Greeks thus regarded as numbers, only the natural numbers excluding unity; fractions were treated as ratios of numbers”
    Used for: the Greeks counted only the natural numbers, not 1, as numbers, and treated fractions as ratios of numbers.
  16. 16.
    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”, 1, “Historical”, p. 22 (the whole topic: pp. 22–23).
    “The first systematic treatment of rationals is found in Book VII of EUCLID'S Elements, which deals with the ratios of natural numbers.”
    Used for: the first systematic treatment of the rationals is found in Book VII of Euclid’s Elements, which deals with ratios of natural numbers.
  17. 17.
    David M. Burton, The History of Mathematics: An Introduction (7th ed., McGraw-Hill, 2011).
    Chapter 4, “The Alexandrian School: Euclid”, section 4.2, “Euclidean Geometry”, p. 167 (the whole topic: pp. 167–168).
    “By the 1500s, negative rational numbers and zero were in regular use in practical calculations”
    Used for: by the 1500s negative rational numbers and zero were in regular use in practical calculations.
  18. 18.
    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”, 1, “Historical”, p. 22 (the whole topic: pp. 22–23).
    “The first theoretical investigations stem from the nineteenth century.”
    Used for: the first theoretical investigations of the rational numbers date from the nineteenth century.
  19. 19.
    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.3, “Axioms for the Set of Positive Integers”, pp. A-5 (the whole topic: pp. A-5).
    “mathematicians in the nineteenth century developed techniques to construct the set of real numbers, starting with more basic sets of numbers.”
    Used for: in the nineteenth century mathematicians began to construct number systems step by step from more basic ones; one of the steps, described on the same page, builds the rational numbers from the integers.
  20. 20.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.1, “Rational and Irrational Numbers” (“Classify Real Numbers”), p. 543 (the whole topic: pp. 540–543).
    “We have seen that all counting numbers are whole numbers, all whole numbers are integers, and all integers are rational numbers.”
    Used for: all natural numbers are integers and all integers are rational numbers.
  21. 21.
    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. 114 (the whole topic: pp. 113–115). Read it online.
    “If we employ the standard symbol ⊂ to denote “is contained in”, then we have:”
    Used for: with the symbol ⊂ for “is contained in”, ℕ ⊂ ℤ ⊂ ℚ (Wu’s next line; his N is the whole numbers 0, 1, 2, …), as in the figure.
  22. 22.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.1, “Rational and Irrational Numbers” (“Identify Rational Numbers and Irrational Numbers”), p. 541 (the whole topic: pp. 540–543).
    “Every rational number can be written both as a ratio of integers and as a decimal that either stops or repeats.”
    Used for: every rational number can be written as a ratio of integers and as a decimal that stops or repeats.
  23. 23.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.1, “Rational and Irrational Numbers” (“Identify Rational Numbers and Irrational Numbers”), p. 542 (the whole topic: pp. 540–543).
    “A decimal that does not stop and does not repeat cannot be written as the ratio of integers. We call this kind of number an irrational number.”
    Used for: a decimal that neither stops nor repeats is not a ratio of integers; such a number is called irrational.
  24. 24.
    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”, 2, “The Field ℚ”, p. 23 (the whole topic: pp. 22–23).
    “if and only if ad = bc”
    Used for: a/b = c/d if and only if ad = bc, the relation from which advanced texts build the rational numbers out of pairs of integers.
  25. 25.
    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.3, “Axioms for the Set of Positive Integers”, pp. A-5 (the whole topic: pp. A-5).
    “the set of rational numbers can be constructed using the equivalence classes of pairs of integers where the second integer in the pair is not zero,”
    Used for: the rational numbers can be built from pairs of integers with second integer not 0, (a, b) and (c, d) counting as the same when a × d = b × c (looking ahead).
  26. 26.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 4, “Fractions”, section 4.2, “Multiply and Divide Fractions” (“Simplify Fractions”), p. 274 (the whole topic: pp. 274–276).
    “A fraction is considered simplified if there are no common factors in the numerator and denominator.”
    Used for: a fraction is simplified when numerator and denominator have no common factor other than 1.
  27. 27.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 1, “The Foundations: Logic and Proofs”, section 1.7, “Introduction to Proofs” (1.7.7, “Proofs by Contradiction”), p. 91 (the whole topic: pp. 90–91).
    “(Here, we are using the fact that every rational number can be written in lowest terms.)”
    Used for: every rational number can be written in lowest terms, a fact proofs start from.
  28. 28.
    David S. Dummit and Richard M. Foote, Abstract Algebra (3rd ed., John Wiley & Sons, 2004).
    Chapter 15, “Commutative Rings and Algebraic Geometry”, section 15.3, “Integral Extensions and Hilbert’s Nullstellensatz”, p. 696 (the whole topic: pp. 696).
    “reduced to lowest terms and b > 0”
    Used for: advanced texts write a rational number as a/b reduced to lowest terms with b > 0 (the full phrase: “α = a/b ∈ ℚ (a/b reduced to lowest terms and b > 0)”).
  29. 29.
    “fractions — Rational numbers”, The Python Standard Library, Python documentation (Python Software Foundation).
    Section “class fractions.Fraction, as_integer_ratio()”. docs.python.org/3/library/fractions.html · open at the quoted passage.
    “The ratio is in lowest terms and has a positive denominator.”
    Used for: Python’s fractions module gives a rational number as a pair of integers in lowest terms with a positive denominator (a statement about Python’s own behavior: “Return a tuple of two integers, whose ratio is equal to the original Fraction.”).