Numbers

Natural, whole, integers and real numbers: sorting the number system

By Mr Gan · O-Level E Maths · Updated August 2026 · 6 min read

The number sets sit inside one another like boxes. Natural numbers are the counting numbers 1, 2, 3, …. Whole numbers add 0. Integers add the negatives, so …, -2, -1, 0, 1, 2, …. Rational numbers are anything that can be written exactly as p/q, which includes every integer. Irrational numbers cannot. Rational and irrational together make up the real numbers. A number can belong to several sets at once: 5 is natural, whole, an integer, rational and real, all at the same time.

Why students get this wrong

The names sound like everyday English, so students assume they know them. In ordinary speech a "whole number" just means "not a fraction", which would make -3 a whole number. In the way these words are used in maths class it is not: -3 is an integer but not a whole number, because whole numbers start at zero and go up.

The second trap is treating the sets as separate boxes, as if a number is either an integer or a rational number. They are nested, not separate. Every integer is a rational number, because 7 can be written as 7/1. When a question asks you to list all the sets a number belongs to, the answer is usually more than one.

The method

Natural numbers

1, 2, 3, 4, … (counting numbers)

Whole numbers

0, 1, 2, 3, … (natural plus zero)

Integers

…, -2, -1, 0, 1, 2, … (whole plus negatives)

Rational numbers

any exact p/q with q not zero

Irrational numbers

cannot be written as p/q

Real numbers

every rational and every irrational

Read that list downwards and each set contains the one above it. Natural sits inside whole, whole sits inside integers, integers sit inside rational, and rational sits inside real. Irrational numbers join at the last step only: they are real, but they are not rational, so they are not integers either.

Watch the whole method in about a minute.

Worked example 1: listing every set a number belongs to

For each of 6, 0, -4, 2.5, √9 and √3, name every set it belongs to.

Solution

1
6 is a counting number, so it is natural, whole, an integer, rational (as 6/1) and real. All five.
2
0 is not a counting number, so it is not natural. It is whole, an integer, rational (0/1) and real.
3
-4 is negative, so it is not natural and not whole. It is an integer, rational (-4/1) and real.
4
2.5 is not an integer, but it is exactly 5/2, so it is rational and real.
5
√9 = 3. Simplify first, then classify. It is natural, whole, an integer, rational and real.
6
√3 = 1.732… never terminates or recurs, so it is irrational and real, and nothing else.

Always simplify before you classify. √9, 8/2 and 0.5 × 8 all look like they might be fractions or surds, but each one is a whole number in disguise. Students lose marks by classifying the way a number is written rather than the value it actually has.

Worked example 2: true or false

Decide whether each statement is true or false, and give a reason.

Solution

1
"Every integer is a rational number." True. Any integer n can be written as n/1, which fits the definition of rational.
2
"Every rational number is an integer." False. 3/4 is rational but is not an integer. The nesting only works one way.
3
"Zero is a natural number." False under the convention used here. Natural numbers start at 1, and zero is a whole number.
4
"Every real number is either rational or irrational." True. Those two sets have no overlap and together they fill the real number line.
5
"-7 is a whole number." False. It is an integer. Whole numbers are never negative.

The step students get wrong

When a question says "state whether the number is rational", students often answer with the smallest set instead. If a number is an integer, saying "it is an integer" does not answer a question about rationality. Read what was asked: if the question asks for rational or irrational, give one of those two words, even when a more specific label also happens to be true.

How the sets nest

Set
Contains
Does not contain
Whole
0, 1, 2, 3
-1, 0.5, √2
Integers
-2, 0, 7
0.5, √2

The same idea one level up: the rational numbers contain every integer plus every exact fraction and every recurring decimal, but they never contain √2 or π. Those belong only to the irrational side, which is where telling rational and irrational numbers apart becomes the skill that matters.


Frequently asked questions

Is zero a natural number?

Not under the convention used in most Singapore classrooms and textbooks. Natural numbers are the counting numbers starting from 1, and zero is the value that turns them into the whole numbers. The O-Level syllabus itself works with integers, rational numbers and real numbers rather than defining natural and whole as formal terms, and some university courses do count zero as natural. If a question ever depends on it, use the definition your teacher gave you.

What is the difference between whole numbers and integers?

Whole numbers are 0, 1, 2, 3, … and stop at zero going downwards. Integers carry on into the negatives. So every whole number is an integer, but -5 is an integer that is not a whole number.

Can a number be in two sets at once?

Yes, and most numbers are. 4 is natural, whole, an integer, rational and real simultaneously. The sets are nested, so being in a smaller set automatically puts you in all the larger ones.

Where do surds fit in?

It depends on the surd. √16 = 4 is a natural number, so it sits in every set. √5 cannot be simplified to a fraction, so it is irrational and real only. Always simplify the surd first, then decide, using the perfect-square check covered in rational vs irrational numbers.

How does this connect to the rest of E-Maths?

Knowing which set a number lives in tells you how to write your final answer. Integers let you use HCF and LCM by prime factorisation, while irrational answers usually have to be left exact or rounded deliberately using significant figures and decimal places.

— Mr Gan Math Tuition

Number foundations still shaky?

Mr. Gan works with students who want the number system understood properly, not just memorised as a list of names.

Chat with Mr. Gan