Rational Numbers
ElementryPrerequisites
You now know that the natural numbers can be built from five simple axioms. They are great for counting — but counting is not everything.
Imagine you and two friends share a pizza equally. Each person gets one third of it. One third is not , not , not any natural number. To describe that slice, you need a new kind of number: a rational number.
Why natural numbers fall short
The natural numbers behave beautifully under addition and multiplication. Add two natural numbers and you get another natural number. Multiply two natural numbers and you still land inside .
Division is different. Sometimes it works out:
But often it does not:
No natural number equals . The natural numbers have a hole wherever division leaves a remainder. Rational numbers are exactly the numbers you need to fill those holes — with one exception you will meet shortly.
A stepping stone: integers
The natural numbers only go upward from . Before defining rational numbers, it helps to know about integers — whole numbers that also include negatives:
Every natural number is an integer (), but integers also reach below zero. The symbol comes from the German word Zahlen, meaning “numbers.”
You do not need a deep treatment of integers right now — just know they exist and that they include negatives.
What is a rational number?
A rational number is any number you can write as a fraction:
where and are integers and .
The top number is called the numerator and the bottom number is called the denominator. The word “rational” shares its root with the word ratio — a rational number is literally a ratio of two integers.
The set of all rational numbers is written , from the French word quotient (the result of a division):
Here are a few examples:
| Fraction | As a decimal |
|---|---|
Notice that last row: every integer is a rational number, because . So , and in turn .
Why the denominator cannot be zero
Division by zero is forbidden — not just inconvenient, but genuinely impossible. Here is why.
If , that means . So asking “what is ?” really asks: “what number satisfies ?” Since for every possible , no value of ever works. There is no answer, so the question itself is meaningless. The condition in definition (1) is what keeps mathematics from breaking.
Many fractions, one number
You may have noticed that different fractions can look different but mean the same thing:
How do you tell when two fractions name the same rational number? Two fractions and represent the same rational number exactly when:
Check: does ? Is ? Both sides equal , so yes. ✓
Think of a rational number not as a single fraction, but as an entire family of equivalent fractions. When you simplify to , you are just switching to the simplest member of that family. Both fractions are different names for the exact same number.
The simplest name is found by dividing both numerator and denominator by their greatest common divisor (GCD). For : , so:
Arithmetic with rational numbers
Once you have fractions, you need to know how to combine them.
Adding and subtracting
To add two fractions, first rewrite them with the same denominator, then add the numerators:
For example:
Subtraction follows the same pattern, with a minus sign in the numerator:
Multiplying
Multiplication is the simplest operation — multiply numerators together, and denominators together:
Dividing
Dividing by a fraction is the same as multiplying by its reciprocal. The reciprocal of is :
The zero-division rule applies here too: if then , and dividing by zero is still forbidden.
Closed under all four operations
A set is closed under an operation if applying that operation to members of the set always produces another member. The natural numbers are not closed under subtraction ( has no answer in ) or division ( has no answer in ).
The rational numbers fix both problems. As long as you never divide by zero, every result of , , , and applied to rationals is again a rational. This is called a field — a structure where all four arithmetic operations work reliably. is the smallest field containing .
Rational numbers on the number line
Picture the familiar number line, with integers sitting at evenly spaced landmarks. Rational numbers fill in the gaps between those landmarks.
Between and you find . Between and you find . Between any two rational numbers and , no matter how close together, their average is also rational — and it sits strictly between them.
This property is called density: the rationals are dense on the number line. There is no “next” rational the way there is a “next” integer. Between any two rationals, infinitely many more rationals always fit.
You might then expect the rationals to cover the entire number line. Surprisingly, they do not. Numbers like cannot be written as for any integers and — they are irrational. The real numbers fill those remaining gaps, but that is a story for another checkpoint.
Summary
- A rational number is any number expressible as , where and are integers and .
- The set of rational numbers is denoted ; it contains all integers, which in turn contain all natural numbers.
- Division by zero is undefined and is excluded from the definition.
- Many fractions can represent the same rational number; and are equal exactly when .
- The four arithmetic operations on fractions:
- Addition/subtraction:
- Multiplication:
- Division: (requires )
- The rationals are closed under all four operations (division by zero aside), making a field.
- The rationals are dense: between any two rationals there is always another rational.
- Despite their density, the rationals do not fill the number line — irrational numbers like occupy the remaining gaps.
What’s next
The rational numbers handle all of everyday arithmetic, but they leave genuine holes in the number line. The next big idea is the real numbers , which fill those holes and make it possible to talk about limits, continuity, and calculus.