number systems
Rational Numbers
You should know: integers
Overview
A rational number is any number that can be written as a fraction p/q of two integers, with q ≠ 0. This includes every integer (since n = n/1), every terminating decimal, and every repeating decimal. The rationals fill in the gaps left by the integers — you can always divide two integers and land back inside the same number system — but as the ancient Greeks discovered with √2, the rationals themselves still have gaps, which is exactly what motivates the real numbers.
Intuition
If integers are whole steps on a number line, rationals fill in every point you can reach by splitting a step into equal pieces — halves, thirds, hundredths, and so on. Any two rationals, no matter how close, always have another rational squeezed between them (density) — yet, surprisingly, they still don't cover the whole line.
Formal Definition
The rational numbers are the set of all ratios of an integer to a nonzero integer:
Two fractions represent the same rational number exactly when they cross-multiply equal
Notation
| Notation | Meaning |
|---|---|
| The set of all rational numbers (from 'quotient') |
Properties
Closure
Density
Example: Between 1/3 and 1/2 lies 5/12.
Decimal characterization
Countability
Applications
Worked Examples
A terminating decimal is always rational.
Answer: Yes, 0.75 = 3/4
Practice Problems
Is 5 a rational number? Justify briefly.
Common Mistakes
Believing every decimal number is rational.
Only terminating or eventually-repeating decimals are rational. Non-repeating, non-terminating decimals like π = 3.14159... are irrational.
Historical Background
Fractions have been used since antiquity — Egyptian scribes worked with unit fractions as early as 1800 BCE, and Babylonian mathematicians used base-60 fractional notation. The formal, symbolic treatment of rational numbers as ratios of integers was systematized by Euclid in Book VII of the Elements (c. 300 BCE). The term 'rational' itself comes from 'ratio', not from the everyday sense of 'reasonable'.
- c. 1800 BCE
Egyptian scribes use unit fraction notation (Rhind Papyrus)
- c. 300 BCE
Euclid formalizes the theory of ratios of whole numbers in the Elements
Euclid
Summary
- A rational number is any ratio p/q of integers with q ≠ 0.
- ℚ includes all integers, terminating decimals, and repeating decimals.
- The rationals are dense — infinitely many lie between any two — yet still countable.
- Not every number is rational: √2 and π are famous irrational counterexamples.
References
- WebsiteWikipedia — Rational number
Mathematics