Number types tell you what kind of number you are looking at: natural, whole, integer, rational, or irrational. The main idea is simple: some sets sit inside larger ones, so one number can belong to several categories at once.

One detail matters right away: some textbooks include 00 in the natural numbers, and some do not. Whole numbers usually mean 0,1,2,3,0, 1, 2, 3, \dots, so 00 is the number most likely to depend on the convention.

How The Number Sets Fit Together

The usual real-number picture is:

naturalwholeintegersrationalreal\text{natural} \subseteq \text{whole} \subseteq \text{integers} \subseteq \text{rational} \subseteq \text{real}

Irrational numbers are real numbers too, but they are not rational. So the real numbers split into two groups: rational and irrational.

That is why one number can have several labels. For example, 44 is natural, whole, integer, and rational because 4=4/14 = 4/1.

Natural, Whole, Integer, Rational, And Irrational

Natural Numbers

Natural numbers are the counting numbers. In many courses, that means

1,2,3,4,1, 2, 3, 4, \dots

Some courses also include 00. If your class or textbook does not say, check before classifying 00 as natural.

Whole Numbers

Whole numbers are usually

0,1,2,3,4,0, 1, 2, 3, 4, \dots

Whole numbers include zero but do not include negative numbers or fractions.

Integers

Integers include negative whole numbers, zero, and positive whole numbers:

,3,2,1,0,1,2,3,\dots, -3, -2, -1, 0, 1, 2, 3, \dots

An integer has no fractional part, so 7-7 and 00 are integers but 3/23/2 is not.

Rational Numbers

A rational number is any number that can be written as

ab\frac{a}{b}

where aa and bb are integers and b0b \ne 0.

This includes fractions such as 34\frac{3}{4}, integers such as 2-2 because 2=2/1-2 = -2/1, and decimals that terminate or repeat, such as 0.50.5 and 0.3330.333\dots.

Irrational Numbers

An irrational number cannot be written as a ratio of two integers.

For real numbers, that means its decimal form does not terminate and does not repeat in a fixed pattern. Common examples are 2\sqrt{2} and π\pi.

Worked Example: How To Classify A Number

Use representative examples to see the pattern quickly:

Number Classification Why
00 whole, integer, rational 0=0/10 = 0/1, so it is rational. It is whole and integer. It is natural only if your course includes 00.
3-3 integer, rational It has no fractional part, so it is an integer. Also, 3=3/1-3 = -3/1, so it is rational.
{7}{4}\frac\{7\}\{4\} rational It is already written as a ratio of two integers with a nonzero denominator, so it is rational but not an integer.
{2}\sqrt\{2\} irrational It cannot be written as a fraction of two integers, so it is irrational.

This shows the main idea: classification is about whether the number fits the definition, not about how complicated it looks.

A Fast Test For Decimals

If a decimal terminates, it is rational. For example,

0.125=180.125 = \frac{1}{8}

If a decimal repeats, it is also rational. For example,

0.777=790.777\dots = \frac{7}{9}

If a real-number decimal neither terminates nor repeats, it is irrational.

This test only works when you know the pattern. A decimal that merely looks long is not automatically irrational.

Common Mistakes About Number Types

Assuming 00 Is Always Natural

Different textbooks use different conventions. If a problem asks whether 00 is natural, check the definition being used.

Forgetting That Integers Are Rational Numbers

Students sometimes separate integers from rational numbers too sharply. Every integer is rational because you can always write it over 11.

Thinking Every Square Root Is Irrational

Some are irrational, but not all. For example, 2\sqrt{2} is irrational, but 9=3\sqrt{9} = 3 is rational.

Assuming A Long Decimal Must Be Irrational

Length is not the test. The real question is whether the decimal terminates or repeats.

When You Use Natural, Whole, Integer, Rational, And Irrational Numbers

These categories show up when you solve equations, describe solution sets, choose allowed inputs, and read number lines. If a problem asks for integer solutions, 52\frac{5}{2} is ruled out immediately even though it is rational.

They also matter because operations do not always keep you inside the same set. Natural numbers stay natural under addition, for instance, but not always under subtraction.

Try A Similar Classification

Try classifying 55, 1-1, 0.250.25, and 9\sqrt{9}. Ask the same questions each time: is it a counting number, does it include zero, does it have a fractional part, can it be written as a/ba/b, or does it fail that test?

Need help with a problem?

Upload your question and get a verified, step-by-step solution in seconds.

Open GPAI Solver →