Allday Education

Classifying Real Numbers

Every number you meet in pre-algebra lives somewhere in the real number system, and classifying it means naming every set it belongs to. The sets are nested like boxes inside boxes: whole numbers sit inside the integers, integers sit inside the rational numbers, and off to the side live the irrationals.

The skill comes down to two moves: evaluate anything that can be evaluated — especially square roots — and then walk the list of sets from smallest to largest. Most wrong answers come from skipping the first move.

The four sets

Whole numbers are the counting numbers and zero: 0,1,2,3,0, 1, 2, 3, \dots — never negative, never a fraction.

Integers are the whole numbers and their negatives: ,2,1,0,1,2,\dots, -2, -1, 0, 1, 2, \dots

Rational numbers are anything that can be written as a fraction of two integers. Their decimal form always either ends or repeats: 23\dfrac{2}{3}, 0.5-0.5, and 0.70.\overline{7} are all rational. Every integer is rational too, since 5=515 = \dfrac{5}{1}.

Irrational numbers can't be written as a fraction of integers — their decimals never end and never repeat. The famous ones are π\pi and roots of non-perfect squares like 2\sqrt{2}.

Evaluate first, then classify

A square root symbol tells you nothing by itself. 36\sqrt{36} looks exotic, but it equals 66 — a whole number. 16-\sqrt{16} equals 4-4 — an integer. Always simplify the expression to its actual value before deciding anything.

The test for a root: if the number inside is a perfect square, the root is rational (in fact an integer). If it isn't a perfect square, the root is irrational. 49=7\sqrt{49} = 7 is rational; 45=6.7082\sqrt{45} = 6.7082\ldots never ends and never repeats, so it is irrational.

Once the number is in plain form, walk the sets from the inside out. Take 4-4: is it a whole number? No — whole numbers are never negative. Is it an integer? Yes. Is it rational? Yes, automatically, because every integer is rational. So 4-4 is an integer and a rational number, but not a whole number.

The traps to watch

A root symbol does not mean irrational. 25\sqrt{25}, 100\sqrt{100}, and 16-\sqrt{16} are all rational because the numbers inside are perfect squares.

A repeating decimal is rational, even though it never ends. 0.60.\overline{6} is exactly 23\dfrac{2}{3} — the repeating pattern is what makes it convertible to a fraction. Only decimals with no pattern at all are irrational.

A decimal approximation doesn't change the classification. Your calculator shows 184.24\sqrt{18} \approx 4.24, but 4.244.24 is only an approximation — the true value runs forever without repeating, so 18\sqrt{18} stays irrational.

Worked examples

Example 1: a negative root of a perfect square

Classify 16-\sqrt{16}.

Evaluate the root first16=4\sqrt{16} = 4
Apply the negative sign16=4-\sqrt{16} = -4
Whole number? No — whole numbers are never negative
Integer? Yes, and every integer is rational

Answer: Integer and rational, but not a whole number

Example 2: a repeating decimal

Classify 0.70.\overline{7}.

The decimal repeats, so it can be written as a fraction0.7=790.\overline{7} = \dfrac{7}{9}
A fraction of two integers is rational
79\dfrac{7}{9} is not a whole number and not an integer

Answer: Rational, but not an integer

Example 3: a root that isn't a perfect square

Classify 10\sqrt{10}.

Check for a perfect square9<10<169 < 10 < 16
1010 is not a perfect square, so the root is not a whole number10=3.1622\sqrt{10} = 3.1622\ldots
The decimal never ends and never repeats

Answer: Irrational

Try one yourself

Common questions

Is every integer a rational number?

Yes. Any integer can be written as itself over 11 — for example, 8=81-8 = \dfrac{-8}{1} — and a fraction of two integers is the definition of rational. The sets are nested: whole numbers inside integers, integers inside rationals.

Can a number be both rational and irrational?

No. The two sets split the real numbers with nothing shared: a decimal either can be written as a fraction of integers (rational) or it can't (irrational). Every real number lands in exactly one of the two.

Why is a repeating decimal rational when it never ends?

Because ending isn't the test — being writable as a fraction is. A repeating pattern always converts to a fraction (0.3=130.\overline{3} = \dfrac{1}{3}), so it's rational. Irrational decimals never end AND never fall into any repeating pattern.

Is π\pi really irrational? It's just 227\dfrac{22}{7}, right?

227\dfrac{22}{7} is only an approximation. The true value of π\pi is 3.141593.14159\ldots with digits that never end and never repeat, and it cannot be written exactly as any fraction of integers — so π\pi is irrational.

Want the video version?

Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.

Try it for $1