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: — never negative, never a fraction.
Integers are the whole numbers and their negatives:
Rational numbers are anything that can be written as a fraction of two integers. Their decimal form always either ends or repeats: , , and are all rational. Every integer is rational too, since .
Irrational numbers can't be written as a fraction of integers — their decimals never end and never repeat. The famous ones are and roots of non-perfect squares like .
Evaluate first, then classify
A square root symbol tells you nothing by itself. looks exotic, but it equals — a whole number. equals — 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. is rational; never ends and never repeats, so it is irrational.
Once the number is in plain form, walk the sets from the inside out. Take : 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 is an integer and a rational number, but not a whole number.
The traps to watch
A root symbol does not mean irrational. , , and are all rational because the numbers inside are perfect squares.
A repeating decimal is rational, even though it never ends. is exactly — 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 , but is only an approximation — the true value runs forever without repeating, so stays irrational.
Worked examples
Example 1: a negative root of a perfect square
Classify .
Answer: Integer and rational, but not a whole number
Example 2: a repeating decimal
Classify .
Answer: Rational, but not an integer
Example 3: a root that isn't a perfect square
Classify .
Answer: Irrational
Try one yourself
Common questions
Is every integer a rational number?
Yes. Any integer can be written as itself over — for example, — 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 (), so it's rational. Irrational decimals never end AND never fall into any repeating pattern.
Is really irrational? It's just , right?
is only an approximation. The true value of is with digits that never end and never repeat, and it cannot be written exactly as any fraction of integers — so 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.