When you first learnt to count, every number you used was a counting number. Later you met zero, then negative numbers, then fractions and decimals, and then numbers such as and whose decimals never end. Each new kind of number was needed for a new job. Mathematicians sort all these numbers into groups called sets. In this lesson you will learn the six sets, see how they fit inside one another, and learn the symbol that says a number belongs to a set.
The six sets
A set is written inside curly brackets . The numbers inside are its members. Three dots mean "and so on", the list never ends.
1. Natural numbers, N
The natural numbers are the counting numbers. They start at .
2. Whole numbers, W
The whole numbers are the natural numbers with added.
3. Integers, Z
The integers are the whole numbers together with their negatives. This set is written or sometimes .
The dots at both ends show that the list runs on for ever in both directions.
4. Rational numbers, Q
A rational number is a number that can be written in the form , where and are integers and . The sign means "is not equal to".
Examples are , , , , , , and .
Why are , and in the list? Because every integer can be written over : , and .
The bottom can never be , because you cannot share something into parts.
5. Irrational numbers, Q*
The irrational numbers are the numbers that cannot be written in the form , where and are integers and . We write this set as .
Examples are , , and . The numbers and are irrational too.
The decimal of an irrational number is non-terminating and non-recurring: it never stops and it never repeats.
Decimals tell you which kind
Remember. Terminating decimals and non-terminating recurring decimals are rational numbers, for example and . Non-terminating non-recurring decimals are irrational numbers, for example , , and .
6. Real numbers, R
The rational numbers and the irrational numbers together make the real numbers, .
Examples are , , , , , , , and . Every number you meet in this course is a real number.

Rational and irrational numbers sit side by side on the same number line. Every point on the line is a real number.
A note on pi and 22 over 7
is irrational, but is rational. They are close, but not equal: , while . We say is approximately equal to and write
How the sets fit together
| Set | Symbol | A member |
|---|---|---|
| Natural numbers | ||
| Whole numbers | ||
| Integers | ||
| Rational numbers | ||
| Irrational numbers | ||
| Real numbers | all of the above |
- Every natural number is a whole number.
- Every whole number is an integer.
- Every integer is a rational number.
- Every rational number is a real number.
Picture steel dabbas packed one inside the next. sits inside , inside , inside , and inside . The irrational numbers are also inside , but they stay outside , because no fraction can equal them.

So is in every set except , while is only in and .
The symbols for "belongs to"
The symbol means belongs to. The symbol means does not belong to.
- is read as "root 5 belongs to R". It is true, because is a real number.
- is read as "2 over 0 does not belong to R". Dividing by has no meaning, so is not a number at all.
Example 1
Is true?
No. The natural numbers start at . So is false. But is true.
Example 2
Is true?
No. Whole numbers are never negative. So is false. But is true.
Example 3
Is true?
No. is not an integer. It is a rational number, so is true.
Example 4
Is true?
No. is irrational, so is false and is true.
All four numbers, , , and , are real numbers.
Example 5: simplify first
Which sets does belong to?
. So it belongs to , , , and . Always simplify a number before you decide its sets.
Common mistakes
- Putting in . The natural numbers start at .
- Thinking a number belongs to only one set. is natural, whole, an integer, rational and real, all at once.
- Calling every square root irrational. is rational.
- Calling every long decimal irrational. repeats, so it is , a rational number.
- Writing . They are only approximately equal.
Practice
- Write every set that belongs to.
- Write every set that belongs to.
- Write every set that belongs to.
- Write every set that belongs to.
- Write every set that belongs to.
- True or false: .
- True or false: .
- True or false: .
- True or false: .
- Is rational or irrational?
- Which sets does belong to?
Answers
Show answers
- , , , and .
- , , and .
- , and .
- and .
- and .
- False. Natural numbers start at .
- False. Whole numbers are never negative.
- True.
- True. is irrational, and every irrational number is real.
- Rational. It is a non-terminating recurring decimal. (In fact .)
- , so it belongs to , and .