Recommended resources
The freely available resources this lesson will direct you to.
Welcome to algebra. We begin with the number system—the vocabulary that lets us state exactly what kind of quantity we are working with. The central idea is that number categories are nested: a number can belong to several categories at once, not just one.
In this lesson, you will distinguish natural numbers, integral numbers (more commonly called integers), rational numbers, and irrational numbers. You will also learn a reliable way to classify fractions, decimals, and square roots before later algebra lessons ask you to operate on them.
The map of the real number system
For this course, use the following convention:
- Natural numbers are the positive counting numbers:
- Whole numbers are
- Integers—also called integral numbers—include negatives, zero, and positives:
- Rational numbers can be written as a quotient of two integers.
- Irrational numbers cannot be written as such a quotient.
- Real numbers consist of every rational and irrational number.
The sets fit inside one another as follows:
Here, denotes natural numbers, whole numbers, integers, rational numbers, and real numbers. Irrational numbers are also real, but they lie outside .
A useful consequence is that classification is usually not exclusive. For example, is:
- natural,
- whole,
- integral,
- rational, since ,
- and real.
If a problem asks for the most specific classification, call natural. If it asks for all classifications, list every applicable set.
Classification of Numbers (Natural, Whole, Integers, Rational, Irrational, Real) - Nerdstudy
Watch “Classification of Numbers” by Nerdstudy for a quick visual tour of the nested number sets and the rational–irrational split.
Watch the nested sets for the definitions of natural numbers, whole numbers, integers, and rational numbers. Then watch the rational split, focusing on why irrational numbers are separate from rational numbers even though both are real.
One convention deserves attention: some areas of mathematics include among the natural numbers. In this course, we will not. Here, is whole, integral, rational, and real—but not natural.
Rational numbers: fractions, integers, and predictable decimals
A number is rational precisely when it can be written in the form
where and are integers and .
The denominator restriction matters: division by zero is undefined, so an expression such as is not a rational number.
A rational number does not have to look like a fraction. Several common forms are rational:
- Integers, because any integer can be written as .
- Ordinary fractions, such as or .
- Terminating decimals, such as , because
- Repeating decimals, such as or . A bar indicates the block that repeats forever.
The distinction between “continues forever” and “is irrational” is essential. A decimal that repeats forever is still rational:
So use this rule:
A decimal is rational if it terminates or eventually repeats.
“Eventually” matters. In , the first digit does not repeat, but the does. The number is rational.
1.8 The Real Numbers - Elementary Algebra 2e | OpenStax
Read OpenStax’s “The Real Numbers” to consolidate the formal definition of rational numbers, the decimal test, and the overall hierarchy of real-number sets.
In the section “Identify Integers, Rational Numbers, Irrational Numbers, and Real Numbers,” begin at the rational-number definition. Continue through the discussion of terminating and repeating decimals, ending at the statement that their decimal forms stop or repeat. Next, read the irrational-number section, noting the exact contrast with rational decimals. Finish with the hierarchy summary and compare it with the number-set diagram in this lesson.
Irrational numbers: real, but not fractional
An irrational number is a real number that cannot be expressed as for integers and .
Its decimal expansion:
- does not terminate, and
- does not repeat a fixed block of digits.
Familiar examples include
For example,
The digits continue without entering a repeating cycle, so is irrational.
The two categories form a complete split of the real numbers:
| If the number is real and… | It is… |
|---|---|
| can be written as a ratio of integers | rational |
| cannot be written as a ratio of integers | irrational |
No real number can be both rational and irrational.
Be careful with calculator displays and approximation symbols. The exact number is irrational, but
does not mean that . The decimal is rational, while is irrational. An approximation may have a different classification from the exact quantity it approximates.
Similarly, writing is a terminating decimal and therefore rational. Writing denotes an irrational number. The notation matters.
Square roots: simplify before classifying
Radicals often disguise numbers that belong to familiar sets. Always simplify a square root before classifying it.
Consider:
Since is natural, is also natural, whole, integral, rational, and real. The radical symbol does not automatically make a number irrational.
For nonnegative integers, use this practical rule:
- If the number inside the square root is a perfect square, its square root is an integer and therefore rational.
- If it is not a perfect square, its square root is irrational.
Examples:
| Exact number | Simplify or recognize | Classification |
|---|---|---|
| natural, whole, integral, rational | ||
| integral, rational | ||
| cannot simplify to an integer | irrational | |
| irrational | ||
| natural, whole, integral, rational |
The reason is irrational is not simply that it has a radical sign. Rather, is not a perfect square, and simplifying it gives , which remains irrational.
A related fact is useful: multiplying a nonzero rational number by an irrational number produces an irrational number. Thus is irrational. If it were rational, multiplying it by would make rational, which is impossible.
A dependable classification procedure
When presented with a number, work from its exact form rather than its appearance.
- Simplify first. Evaluate obvious arithmetic and perfect-square roots.
- Check whether it is an integer.
- Positive integer: natural, whole, integral, rational.
- Zero: whole, integral, rational.
- Negative integer: integral and rational.
- If it is not an integer, ask whether it is rational.
- A fraction with integer numerator and nonzero integer denominator is rational.
- A terminating decimal is rational.
- A repeating decimal is rational.
- If it is a real number that is not rational, classify it as irrational.
- Common examples are , , and square roots of non-perfect-square integers.
Here is the procedure in action:
| Number | Key observation | All applicable classifications |
|---|---|---|
| Positive integer | natural, whole, integral, rational, real | |
| Integer, but not positive | whole, integral, rational, real | |
| Negative integer | integral, rational, real | |
| Ratio of integers | rational, real | |
| Terminating decimal | rational, real | |
| Repeating decimal | rational, real | |
| Equals | natural, whole, integral, rational, real | |
| Square root of a non-perfect square | irrational, real | |
| Nonrepeating, nonterminating decimal | irrational, real |
A final precision point: an ellipsis by itself does not always prove irrationality. For instance, is rational because the repeats. To classify a decimal with an ellipsis, you must know whether a repeating pattern is intended or whether the decimal is genuinely nonrepeating.
Key takeaways
Natural, whole, integral, and rational number sets are nested. In this course, natural numbers begin at ; whole numbers add ; integers add negative whole numbers; and all integers are rational because they can be written with denominator .
Rational numbers include fractions, terminating decimals, and repeating decimals. Irrational numbers are real numbers whose decimals neither terminate nor repeat. Before classifying a radical, simplify it: is rational because it equals , while is irrational.
Next, we will shift from types of numbers to types of mathematical statements: expressions, equations, identities, and inequalities.