types of numbers — Definition, Formula & Examples
Types of numbers are the categories mathematicians use to classify numbers based on their properties. The main types—natural, whole, integer, rational, irrational, and real—form a nested system where each set contains or overlaps with the others.
The real number system is organized into subsets: the natural numbers , the whole numbers , the integers , the rational numbers (numbers expressible as where and ), and the irrational numbers (real numbers not in ). Together, rational and irrational numbers make up the real numbers .
How It Works
Each type of number fits inside the next like nested boxes. Every natural number is also a whole number, every whole number is also an integer, and every integer is also a rational number (for example, ). Rational and irrational numbers do not overlap—a number is one or the other, never both. To classify a number, start by asking: can it be written as a fraction of two integers? If yes, it is rational. If not (like or ), it is irrational. Then check whether the rational number is also an integer, whole number, or natural number by seeing if it has no fractional part and whether it is positive.
Example
Problem: Classify each number into all types that apply: 7, −3, 0, 2/5, √2.
Classify 7: 7 is positive with no fractional part. It belongs to every category except irrational.
Classify −3: −3 is negative, so it is not natural or whole. It is an integer, rational, and real.
Classify 0: 0 is a whole number but not a natural number (by the common convention that natural numbers start at 1). It is also an integer, rational, and real.
Classify 2/5 and √2: 2/5 is a ratio of two integers, so it is rational and real but not an integer. √2 cannot be expressed as a fraction of integers, so it is irrational and real.
Answer: 7 is natural, whole, integer, rational, real. −3 is integer, rational, real. 0 is whole, integer, rational, real. 2/5 is rational, real. √2 is irrational, real.
Another Example
Problem: Is the number 0.333... (repeating) rational or irrational?
Check for a fraction form: A repeating decimal can always be written as a fraction. Let x = 0.333..., then 10x = 3.333..., so 10x − x = 3.
Classify: Since 0.333... equals 1/3, and 1/3 is a ratio of two integers, the number is rational.
Answer: 0.333... is a rational number because it equals 1/3.
Visualization
Why It Matters
Classifying numbers correctly is a core skill in pre-algebra and algebra courses, where operations and rules differ by number type—for instance, you can divide integers but may not get an integer result. In computer science, choosing the right number type (integer vs. floating-point) affects memory use and precision. Understanding these categories also prepares you for topics like complex numbers in Algebra 2 and beyond.
Common Mistakes
Mistake: Thinking that all decimals are irrational.
Correction: Terminating decimals (like 0.75) and repeating decimals (like 0.333...) are rational because they can be written as fractions. Only non-terminating, non-repeating decimals are irrational.
Mistake: Forgetting that every integer is also a rational number.
Correction: Any integer n can be written as n/1, which is a ratio of two integers. So integers are a subset of rational numbers.
