Classification of Real Numbers
Classification of Real Numbers
In mathematics, numbers can be grouped into different sets based on their properties. Learning how to classify numbers helps you understand where a number belongs and how it behaves in calculations.
In this lesson, you will learn the five main groups of real numbers: natural numbers, whole numbers, integers, rational numbers, and irrational numbers. You will also see how these groups fit inside one another.
All of these groups together make up the set of real numbers. Real numbers are all the numbers that can be placed on a number line.
1. Natural Numbers
Natural numbers are the counting numbers we use to count objects.
They are:
$$1, 2, 3, 4, 5, \dots$$
Some books include 0 as a natural number, but in many school courses, natural numbers start at 1. In this lesson, we will use:
$$\text{Natural numbers} = \{1,2,3,4,\dots\}$$
2. Whole Numbers
Whole numbers are the natural numbers together with 0.
$$0, 1, 2, 3, 4, 5, \dots$$
So every natural number is a whole number, but 0 is a whole number that is not a natural number in this lesson.
3. Integers
Integers include all positive whole numbers, 0, and negative whole numbers.
$$\dots, -4, -3, -2, -1, 0, 1, 2, 3, 4, \dots$$
Integers do not include fractions or decimals unless the decimal is equal to a whole number. For example, \(3.0\) is an integer because it is equal to 3, but \(3.5\) is not.
4. Rational Numbers
A rational number is any number that can be written as a fraction of the form
$$\frac{a}{b}$$
where \(a\) and \(b\) are integers and \(b \ne 0\).
This means rational numbers include:
- fractions such as \(\frac{3}{4}\)
- integers such as \(-5\), since \(-5 = \frac{-5}{1}\)
- terminating decimals such as \(0.8\), since \(0.8 = \frac{4}{5}\)
- repeating decimals such as \(0.333\dots\), since \(0.333\dots = \frac{1}{3}\)
So, a decimal is rational if it ends or repeats in a pattern.
5. Irrational Numbers
Irrational numbers are real numbers that cannot be written as a fraction \(\frac{a}{b}\), where \(a\) and \(b\) are integers and \(b \ne 0\).
The decimal form of an irrational number goes on forever without ending and without repeating a pattern.
Common examples are:
- \(\sqrt{2}\)
- \(\sqrt{3}\)
- \(\pi\)
For example, \(\sqrt{2} = 1.4142135\dots\) continues forever and does not repeat in a fixed pattern.
6. The Real Number System as a Hierarchy
The sets of numbers are nested inside one another. This means smaller sets are contained inside larger sets.
$$\text{Natural} \subset \text{Whole} \subset \text{Integers} \subset \text{Rational} \subset \text{Real}$$
Irrational numbers are also part of the real numbers, but they are not rational.
So the real numbers can be divided into two big groups:
$$\text{Real numbers} = \text{Rational numbers} \cup \text{Irrational numbers}$$
And rational numbers and irrational numbers do not overlap.
Important idea: A number can belong to more than one set. For example, \(4\) is a natural number, a whole number, an integer, a rational number, and a real number.
7. How to Classify a Number
When classifying a number, ask these questions:
- Is it a counting number? Then it is natural.
- Is it 0 or a counting number? Then it is whole.
- Is it a negative or positive whole number, or 0? Then it is an integer.
- Can it be written as a fraction of integers? Then it is rational.
- If it cannot be written as such a fraction and its decimal neither ends nor repeats, then it is irrational.
It is often helpful to name the smallest set the number belongs to, but sometimes you may be asked to list all the sets it belongs to.
8. Worked Examples
Example 1: Classify \(7\)
The number \(7\) is a counting number, so it is a natural number.
Because all natural numbers are also whole numbers, integers, rational numbers, and real numbers, \(7\) belongs to all of these sets.
Answer: \(7\) is natural, whole, integer, rational, and real.
Example 2: Classify \(0\)
The number \(0\) is not a natural number in this lesson, but it is a whole number.
It is also an integer. Since it can be written as
$$0 = \frac{0}{1}$$
it is rational, and therefore real.
Answer: \(0\) is whole, integer, rational, and real.
Example 3: Classify \(-\frac{5}{2}\)
This number is a fraction, so it is not natural, not whole, and not an integer.
However, it is already written as a ratio of two integers:
$$-\frac{5}{2}$$
So it is a rational number. Every rational number is also a real number.
Answer: \(-\frac{5}{2}\) is rational and real.
Example 4: Classify \(\sqrt{16}\) and \(\sqrt{5}\)
First, simplify each number.
$$\sqrt{16} = 4$$
Since \(4\) is a counting number, it is natural, whole, integer, rational, and real.
Now look at \(\sqrt{5}\). Since 5 is not a perfect square, \(\sqrt{5}\) cannot be written as a fraction of integers. Its decimal goes on forever without repeating.
So \(\sqrt{5}\) is irrational, and therefore real.
Answer:
- \(\sqrt{16}\) is natural, whole, integer, rational, and real.
- \(\sqrt{5}\) is irrational and real.
9. Common Mistakes to Avoid
- Thinking all decimals are irrational: Decimals that end or repeat are rational.
- Forgetting that integers are rational: Any integer \(n\) can be written as \(\frac{n}{1}\).
- Confusing whole numbers and integers: Whole numbers are \(0,1,2,3,\dots\), while integers also include negatives.
- Assuming every square root is irrational: The square root of a perfect square, such as \(\sqrt{25}=5\), is rational.
10. Quick Classification Practice
Try thinking about these on your own:
- \(-8\) is an integer, rational, and real.
- \(2.75\) is rational and real because \(2.75 = \frac{11}{4}\).
- \(0.121212\dots\) is rational because the block 12 repeats.
- \(\pi\) is irrational and real.
Summary
Real numbers include all the numbers on the number line. They are divided into rational and irrational numbers.
Inside the rational numbers are the integers, inside the integers are the whole numbers, and inside the whole numbers are the natural numbers.
If a number can be written as a fraction of integers, it is rational. If it cannot, and its decimal does not end or repeat, it is irrational.
Understanding this structure makes it easier to identify and compare numbers in algebra and other areas of mathematics.
Put what you read to the test
You've worked through Classification of Real Numbers. Try answering a few questions to see what stuck — and what might deserve a quick reread before you move on.