Number sets N, Z, Q, R
Natural, integer, rational and real numbers — four families, each one contained in the next. Learn the symbols ℕ, ℤ, ℚ, ℝ, the membership signs ∈ and ∉, the empty set ∅, the proof that √2 is irrational, and the 2k / 2k+1 notation every divisibility proof is built on.
Before you start
This topic builds on earlier ideas. Before you start, it's worth working through the lessons below — they'll make everything click:
- FractionsA fraction writes part of a whole as a numerator and a denominator. Learn equivalent fractions, all four operations on fractions, mixed numbers, comparing fractions and reducing to lowest terms.
- RootsA root is the inverse of raising to a power. Learn square and cube roots, arithmetic with roots, taking a factor out of a radical and absorbing one under it, estimating and comparing roots, and rationalising a denominator.
Where this is used
Real situations where you count exactly the way this lesson teaches:
- Shopping and planningA trip takes 47 people and one car seats 6 — the division gives 7.83, but the answer has to be a natural number, so 8 cars are needed. That is not rounding: the result must live in ℕ, because the eighth car either goes or it does not.
- Software developmentA till keeps prices as integers in cents (1999 rather than 19.99), because a floating-point type cannot store 0.1 exactly and after 10,000 line items the bill drifts by a few cents. Choosing the set is a design decision here.
- Construction and surveyingThe diagonal of a square 5 m slab measures 5√2 ≈ 7.071 m — an irrational number. On site it is written down as 7.07 m, an approximation, and that is the only thing a tape measure can deliver.
- Quality controlA batch passes when the number of defects is an integer between 0 and 3 per 500 units. A reading of 0.6% sounds acceptable, but it means 3 units — because units are countable and percentages are not.
All formulas
Natural numbers
the numbers you count items with — no sign, no fractional part
Integers
the natural numbers together with their opposites
Rational numbers
anything writable as a fraction of two integers
Chain of inclusions
each set contains the previous one whole
Irrationality
no fraction whatsoever equals the square root of 2
Even and odd
the notation every divisibility proof rests on
The numbers we work with are not one big family. Counting items needs only the natural numbers, frost and debts need the integers, splitting a pizza needs the rationals, and the diagonal of a square escapes all three. Each family has a name, a symbol and a place in a chain where every set contains the one before it.
The four sets
The natural numbers are the numbers you count items with — no sign, no fractional part:
The integers add their opposites, which is the whole left half of the line:
The rational numbers are everything writable as a fraction with an integer numerator and a non-zero integer denominator:
More numbers are rational than one expects: every integer (), every terminating decimal () and every repeating one ().
The real numbers are every number sitting on the number line — the rationals plus the ones no fraction can write, the irrationals: , , .
The families do not sit side by side — they nest:
So the number belongs to all four sets at once. When a question asks which set a number belongs to, it usually means the smallest one — because that is the one that says the most about it.
The symbols ∈, ∉, ⊂ and ∅
Four signs are enough to write every statement about membership:
- — the number belongs to the set : ,
- — the number does not belong to : ,
- — the set is contained in the set : ,
- — the empty set, a set with no element at all.
The empty set is not decoration: the equation has no solutions among the real numbers, so its solution set is . Mind the difference: has one element, has none.
Writing a number in binary or hexadecimal changes none of this: and are the same integer in two notations — the number-system calculator converts the notation, not the value, which is exactly why it takes integers only.
Why √2 is not a fraction
That follows from arithmetic. That no fraction gives that number exactly has to be proved — and the proof is short. It goes by contradiction: we assume the opposite of the claim and run it into an impossibility.
Suppose is rational, that is
where the fraction is in lowest terms (every fraction reduces to such a form). Square both sides:
Since is even, must be even too — the square of an odd number is odd, which we show below. So write :
By the same reasoning is even as well. But a fraction with both numbers even reduces by — and we assumed it was already in lowest terms. Contradiction. The assumption was therefore false:
The same proof works for , and the root of any number that is not a perfect square.
Divisibility proofs
The proof above rested on one move that recurs across all of mathematics: a number of known divisibility gets written as a formula. If , then
so every integer is either even or odd — there is no third option. In the same way, a multiple of is , and a number leaving remainder on division by is .
With that notation, proofs are done by calculation rather than by examples:
The same move shows that the sum of two odd numbers is even: , which is divisible by .
Practice
Work through a set of exercises — they get harder as you go. At the end you'll see your score and the mistakes worth reviewing.
Common mistakes
- Treating every root as irrational — is a natural number. What is irrational is the root of a number that is not a perfect square.
- Excluding integers from the rationals — is , so . The sets nest; they do not exclude one another.
- Confusing with zero — the empty set has no elements, while has one.
- Calling a natural number — natural numbers carry no minus sign; starts only at .
- Proving by example — checking a claim on five numbers is not a proof. A proof speaks about every number at once, which is why it writes them as or .
Formula card
Topic: Number sets
Natural numbers
the numbers you count items with — no sign, no fractional part
Integers
the natural numbers together with their opposites
Rational numbers
anything writable as a fraction of two integers
Chain of inclusions
each set contains the previous one whole
Irrationality
no fraction whatsoever equals the square root of 2
Even and odd
the notation every divisibility proof rests on
