Skip to content
Family Table Math
Auto

Number Systems

Not all numbers are the same kind of number. Counting numbers, negative numbers, fractions and numbers like π\pi each belong to different sets, and those sets fit inside each other like nesting dolls. Knowing which set a number belongs to helps you predict how it behaves, and it explains some surprising facts, like why 0.999…0.999\ldots is exactly equal to 11.

SetSymbolWhat’s in itExamples
natural numbersN\mathbb{N}the counting numbers1,2,3,4,…1, 2, 3, 4, \ldots
whole numbersW\mathbb{W}the natural numbers and zero0,1,2,3,…0, 1, 2, 3, \ldots
integersZ\mathbb{Z}the whole numbers and their opposites…,−2,−1,0,1,2,…\ldots, -2, -1, 0, 1, 2, \ldots
rational numbersQ\mathbb{Q}any number you can write as a fraction of two integers34\dfrac{3}{4}, −2.5-2.5, 0.3‾0.\overline{3}, 77
irrational numbersQ‾\overline{\mathbb{Q}}numbers you can’t write as a fraction of integers2\sqrt{2}, π\pi, −7-\sqrt{7}
real numbersR\mathbb{R}all rational and irrational numbers togetherevery point on the number line

The three dots "…\ldots" mean “and so on, forever”.

A rational number is any number that can be written as ab\dfrac{a}{b}, where aa and bb are integers and b≠0b \ne 0. The word comes from ratio. For example, −2.5=−52-2.5 = \dfrac{-5}{2} and 7=717 = \dfrac{7}{1}, so both are rational.

Every natural number is also a whole number. Every whole number is also an integer. Every integer is also a rational number (write it over 11). So the sets sit inside each other:

Nested number sets: natural numbers inside whole numbers inside integers inside rational numbers; rational and irrational numbers together make up the real numbers Real numbers Rational numbers Integers Whole numbers Natural numbers 1, 2, 3, 4, … 0 −1 −7 −25 3/4 −2.5 0.333… −7/3 1/2 4.125 Irrational numbers √2 π −√7 0.1010010001…
Each set sits inside the next. Rational and irrational numbers don’t overlap, and together they make the real numbers.

So a number can belong to several sets at once. The number 55 is natural, whole, an integer, rational and real. But a number is either rational or irrational, never both.

Rational or irrational? Look at the decimal

Section titled “Rational or irrational? Look at the decimal”

Every rational number has a decimal that either stops or repeats:

  • Terminating (stops): 38=0.375\dfrac{3}{8} = 0.375
  • Repeating (a block of digits repeats forever): 311=0.272727…=0.27‾\dfrac{3}{11} = 0.272727\ldots = 0.\overline{27}

The bar over the digits shows which block repeats.

An irrational number has a decimal that goes on forever without a repeating block. For example, 2=1.41421356…\sqrt{2} = 1.41421356\ldots and π=3.14159265…\pi = 3.14159265\ldots never settle into a pattern that repeats. Some irrational numbers have a pattern, just not a repeating one: 0.101001000100001…0.101001000100001\ldots (one more 00 each time) never repeats the same block, so it’s irrational.

Square roots. The square root of a perfect square is rational: 49=7\sqrt{49} = 7 and 49=23\sqrt{\dfrac{4}{9}} = \dfrac{2}{3}. The square root of a whole number that is not a perfect square, like 2\sqrt{2}, 10\sqrt{10} or 50\sqrt{50}, is irrational. (In Grade 11 you’ll learn to write square roots like 50\sqrt{50} in a simpler form, in simplifying radicals.)

Pi. π\pi is irrational. The values 3.143.14 and 227\dfrac{22}{7} are only approximations: 227=3.142857‾\dfrac{22}{7} = 3.\overline{142857}, which repeats, so it can’t be exactly π\pi.

Density: there’s always another one in between

Section titled “Density: there’s always another one in between”

Between any two different rational numbers, there’s always another rational number. One easy way to find one is the average (add them and divide by 22). For example, between 13\dfrac{1}{3} and 12\dfrac{1}{2}:

12(13+12)=12(26+36)=12×56=512\frac{1}{2}\left(\frac{1}{3} + \frac{1}{2}\right) = \frac{1}{2}\left(\frac{2}{6} + \frac{3}{6}\right) = \frac{1}{2} \times \frac{5}{6} = \frac{5}{12}

Now you can find a number between 13\dfrac{1}{3} and 512\dfrac{5}{12}, and so on, forever. So between any two rational numbers there are infinitely many rational numbers. We say the rational numbers are dense. The real numbers are dense too.

The integers are not dense: there’s no integer between 33 and 44.

Each of these sets is infinite: it never runs out. There’s no largest natural number, because whatever number nn you pick, n+1n + 1 is bigger. Infinity (∞\infty) is not a number you can reach; it’s the idea of “going on without end”.

Add up 12+14+18+116+⋯\dfrac{1}{2} + \dfrac{1}{4} + \dfrac{1}{8} + \dfrac{1}{16} + \cdots, one term at a time, and watch the running total:

Terms added1122334455
Total so far12\dfrac{1}{2}34\dfrac{3}{4}78\dfrac{7}{8}1516\dfrac{15}{16}3132\dfrac{31}{32}
Gap left to 1112\dfrac{1}{2}14\dfrac{1}{4}18\dfrac{1}{8}116\dfrac{1}{16}132\dfrac{1}{32}

Each new term fills half of the gap that’s left. The total never goes past 11, but it gets as close to 11 as you like if you keep going. We say the limit of the total is 11, and that the infinite sum equals 11. You’ll meet sums like this again in Grade 11, in geometric series.

Jumps of 1/2, 1/4, 1/8 and 1/16 along a number line from 0 toward 1; the running totals 1/2, 3/4, 7/8, 15/16 get closer and closer to 1; a fifth, smaller jump lands at 31/32 1/2 1/4 1/8 1/16 0 1/2 3/4 7/8 15/16 1 limit
Each jump covers half of the distance that’s left, so the totals close in on 11.

Look at 0.9, 0.99, 0.999, …0.9,\ 0.99,\ 0.999,\ \ldots The gaps to 11 are 0.1, 0.01, 0.001, …0.1,\ 0.01,\ 0.001,\ \ldots Each one is 110\dfrac{1}{10} of the one before. With infinitely many nines, the gap is smaller than any positive number you can name, so the gap must be 00:

0.9‾=10.\overline{9} = 1

Another way to see it: 13=0.3‾\dfrac{1}{3} = 0.\overline{3}. Multiply both sides by 33: 1=0.9‾1 = 0.\overline{9}.

Be careful: this is only true with nines that go on forever. The number 0.9990.999 (exactly three nines) is less than 11.

Irrational numbers in ancient Greece. The Pythagoreans, a group of Greek thinkers from around 500 BCE, believed at first that every length could be written as a ratio of whole numbers. Then, according to tradition, someone in their school showed that the diagonal of a square with side length 11 (which is 2\sqrt{2}) can’t be written that way. This is traditionally regarded as the first discovery that some lengths can’t be written as a ratio of whole numbers, which is what we now call irrational numbers.

Zero. Many cultures used a symbol to mark an empty place in a number, including the Babylonians and the Maya. In India, the mathematician Brahmagupta (628 CE) went further and wrote rules for calculating with zero as a number in its own right, along with rules for negative numbers, which he described as debts. Our digits 00 to 99 come from this Indian system, passed on through Arabic mathematicians. Today, zero is everywhere: every computer stores information using only 00s and 11s.

Put a check mark under every set each number belongs to: −8-8, 00, 1515, 23\dfrac{2}{3}, 0.6‾0.\overline{6}, 36\sqrt{36}, 20\sqrt{20}, π\pi, −4.25-4.25.

Solution. Simplify first where you can: 36=6\sqrt{36} = 6, and 0.6‾=230.\overline{6} = \dfrac{2}{3} (check: 2÷3=0.666…2 \div 3 = 0.666\ldots). Also −4.25=−174-4.25 = -\dfrac{17}{4}, a fraction of integers.

NumberN\mathbb{N}W\mathbb{W}Z\mathbb{Z}Q\mathbb{Q}irrationalR\mathbb{R}
−8-8✓✓✓
00✓✓✓✓
1515✓✓✓✓✓
23\dfrac{2}{3}✓✓
0.6‾0.\overline{6}✓✓
36=6\sqrt{36} = 6✓✓✓✓✓
20\sqrt{20}✓✓
π\pi✓✓
−4.25-4.25✓✓

20\sqrt{20} is irrational because 2020 is not a perfect square (16<20<2516 \lt 20 \lt 25). Notice that every number gets a check under R\mathbb{R}.

Decide whether each number is rational or irrational. If it’s rational, write it as a fraction.

  • (a) 0.1250.125
  • (b) 0.454545…0.454545\ldots
  • (c) 0.123456789101112…0.123456789101112\ldots (the counting numbers written one after another)
  • (d) 0.25\sqrt{0.25}

Solution.

(a) The decimal stops, so it’s rational: 0.125=1251000=180.125 = \dfrac{125}{1000} = \dfrac{1}{8}.

(b) The block 4545 repeats forever, so it’s rational. In fact 0.45‾=5110.\overline{45} = \dfrac{5}{11}. Check by dividing: 5÷11=0.4545…5 \div 11 = 0.4545\ldots ✓

(c) The digits follow a rule, but no block of digits repeats forever (the numbers keep getting longer). So it’s irrational.

(d) 0.5×0.5=0.250.5 \times 0.5 = 0.25, so 0.25=0.5=12\sqrt{0.25} = 0.5 = \dfrac{1}{2}. It’s rational, even though it has a square root sign.

Find three rational numbers between 25\dfrac{2}{5} and 12\dfrac{1}{2}.

Solution. Write both fractions with a common denominator. With denominator 2020, they’re 820\dfrac{8}{20} and 1020\dfrac{10}{20}. That leaves room for only one numerator in between (99), so use a bigger denominator. With 4040:

25=1640and12=2040\frac{2}{5} = \frac{16}{40} \qquad \text{and} \qquad \frac{1}{2} = \frac{20}{40}

Three numbers in between are 1740\dfrac{17}{40}, 1840=920\dfrac{18}{40} = \dfrac{9}{20} and 1940\dfrac{19}{40}.

Check with decimals: 25=0.4\dfrac{2}{5} = 0.4 and 12=0.5\dfrac{1}{2} = 0.5, while 1740=0.425\dfrac{17}{40} = 0.425, 920=0.45\dfrac{9}{20} = 0.45 and 1940=0.475\dfrac{19}{40} = 0.475. All three are between 0.40.4 and 0.50.5. ✓

You could keep going with denominators 8080, 160160, and so on, so there are infinitely many answers.

You stand 88 m from a wall. Each step, you walk half of the distance that’s left. Make a table for the first five steps. Do you ever reach the wall? What is the limit of the distance you’ve walked?

Solution. Each step halves the distance left:

Step1122334455
Step length (m)4422110.50.50.250.25
Total walked (m)4466777.57.57.757.75
Distance left (m)4422110.50.50.250.25

After any number of steps, there’s still some distance left (half of the last amount), so you never quite reach the wall. But the distance left gets as small as you like, so the total walked gets closer and closer to 88 m. The limit is 88 m.

Thinking every decimal that goes on forever is irrational. 0.333…0.333\ldots goes on forever, but it repeats, so it’s rational (13\dfrac{1}{3}). Irrational decimals go on forever and never repeat.

Thinking every square root is irrational. 49=7\sqrt{49} = 7 and 0.25=0.5\sqrt{0.25} = 0.5 are rational. Simplify first: only the square root of a non-perfect square (like 20\sqrt{20}) is irrational.

Saying π\pi equals 3.143.14 or 227\dfrac{22}{7}. Those are handy approximations, but they’re rational and π\pi isn’t. Write π≈3.14\pi \approx 3.14 (with "≈\approx"), not π=3.14\pi = 3.14.

Mixing up natural and whole numbers. Zero is a whole number but not a natural number. Negative numbers are neither: −3-3 is an integer, but not a whole number.

Putting a number in only one set. The number 77 isn’t “just a natural number”. It’s also whole, an integer, rational and real. Check every set, starting from the smallest.

Thinking an endless sum must be endlessly large. 12+14+18+⋯\dfrac{1}{2} + \dfrac{1}{4} + \dfrac{1}{8} + \cdots has infinitely many terms, but the total never goes past 11. When the terms shrink fast enough, the total can have a limit.

1. (Warm-up) List every set each number belongs to: N\mathbb{N}, W\mathbb{W}, Z\mathbb{Z}, Q\mathbb{Q}, irrational, R\mathbb{R}.

  • (a) −12-12
  • (b) 00
  • (c) 58\dfrac{5}{8}
  • (d) 11\sqrt{11}
Solution

(a) −12-12: integers, rational, real.

(b) 00: whole numbers, integers, rational, real. (Not natural.)

(c) 58\dfrac{5}{8}: rational, real.

(d) 11\sqrt{11}: 1111 is not a perfect square (9<11<169 \lt 11 \lt 16), so it’s irrational and real.

2. (Warm-up) Rational or irrational?

  • (a) 0.777…0.777\ldots
  • (b) 81\sqrt{81}
  • (c) π+1\pi + 1
  • (d) 1.010010001…1.010010001\ldots (one more 00 each time)
  • (e) −16-\sqrt{16}
Solution

(a) Rational: the 77 repeats. (0.7‾=790.\overline{7} = \dfrac{7}{9}.)

(b) Rational: 81=9\sqrt{81} = 9.

(c) Irrational: π+1=4.14159…\pi + 1 = 4.14159\ldots has the same never-repeating decimal digits as π\pi.

(d) Irrational: there’s a pattern, but no block of digits repeats.

(e) Rational: −16=−4-\sqrt{16} = -4.

3. (Core) Show that each number is rational by writing it as a fraction in lowest terms.

  • (a) 0.350.35
  • (b) 0.6‾0.\overline{6}
  • (c) −2.25-2.25
Solution

(a) 0.35=35100=7200.35 = \dfrac{35}{100} = \dfrac{7}{20}.

(b) 0.6‾=230.\overline{6} = \dfrac{2}{3}. Check: 2÷3=0.666…2 \div 3 = 0.666\ldots ✓

(c) −2.25=−225100=−94-2.25 = -\dfrac{225}{100} = -\dfrac{9}{4}.

4. (Core) Find two rational numbers between −14-\dfrac{1}{4} and −15-\dfrac{1}{5}.

Solution

Use the common denominator 6060:

−14=−1560and−15=−1260-\frac{1}{4} = -\frac{15}{60} \qquad \text{and} \qquad -\frac{1}{5} = -\frac{12}{60}

Two numbers in between are −1460=−730-\dfrac{14}{60} = -\dfrac{7}{30} and −1360-\dfrac{13}{60}.

Check with decimals: −14=−0.25-\dfrac{1}{4} = -0.25 and −15=−0.2-\dfrac{1}{5} = -0.2, while −730=−0.23‾-\dfrac{7}{30} = -0.2\overline{3} and −1360=−0.216‾-\dfrac{13}{60} = -0.21\overline{6}. Both are between −0.25-0.25 and −0.2-0.2. ✓ (Other answers are possible.)

5. (Core) True or false? Explain each answer.

  • (a) Every integer is a rational number.
  • (b) Every rational number is an integer.
  • (c) Zero is a natural number.
  • (d) Some real numbers are not rational.
Solution

(a) True. Any integer nn can be written as n1\dfrac{n}{1}.

(b) False. 12\dfrac{1}{2} is rational but not an integer.

(c) False. The natural numbers start at 11. Zero is a whole number.

(d) True. Irrational numbers like 2\sqrt{2} and π\pi are real but not rational.

6. (Core) How many integers are there between 33 and 44? How many rational numbers? Explain the difference.

Solution

There are no integers between 33 and 44: the integers jump straight from 33 to 44.

There are infinitely many rational numbers, such as 3.53.5, 3.253.25, 3.1253.125, … Each time, you can take the average of 33 and the last number to get a new one. The rational numbers are dense; the integers are not.

7. (Core) A square patio has an area of 30 m230 \text{ m}^2.

  • (a) Is its side length rational or irrational?
  • (b) Between which two whole numbers is the side length? Estimate it to one decimal place.
Solution

(a) The side length is 30\sqrt{30} m. Since 3030 is not a perfect square, 30\sqrt{30} is irrational.

(b) 52=255^2 = 25 and 62=366^2 = 36, and 3030 is between them, so the side is between 55 m and 66 m. Try 5.55.5: 5.52=30.255.5^2 = 30.25, a little too big. Try 5.45.4: 5.42=29.165.4^2 = 29.16, too small. 3030 is closer to 30.2530.25, so the side is about 5.55.5 m. (A calculator gives 30≈5.477\sqrt{30} \approx 5.477.)

8. (Challenge) Look at the sum 13+19+127+181+⋯\dfrac{1}{3} + \dfrac{1}{9} + \dfrac{1}{27} + \dfrac{1}{81} + \cdots, where each term is 13\dfrac{1}{3} of the one before.

  • (a) Find the total after 11, 22, 33 and 44 terms.
  • (b) Find the gap between each total and 12\dfrac{1}{2}. What pattern do you see?
  • (c) What is the limit of the total?
Solution

(a) Use the denominators 33, 99, 2727, 8181:

13,39+19=49,1227+127=1327,3981+181=4081\frac{1}{3}, \qquad \frac{3}{9} + \frac{1}{9} = \frac{4}{9}, \qquad \frac{12}{27} + \frac{1}{27} = \frac{13}{27}, \qquad \frac{39}{81} + \frac{1}{81} = \frac{40}{81}

(b) The gaps to 12\dfrac{1}{2} are

12−13=16,12−49=118,12−1327=154,12−4081=1162\frac{1}{2} - \frac{1}{3} = \frac{1}{6}, \quad \frac{1}{2} - \frac{4}{9} = \frac{1}{18}, \quad \frac{1}{2} - \frac{13}{27} = \frac{1}{54}, \quad \frac{1}{2} - \frac{40}{81} = \frac{1}{162}

Each gap is 13\dfrac{1}{3} of the one before.

(c) The gaps shrink toward 00, and the totals never pass 12\dfrac{1}{2}. So the limit is 12\dfrac{1}{2}.

9. (Challenge) Use 13=0.3‾\dfrac{1}{3} = 0.\overline{3} and 23=0.6‾\dfrac{2}{3} = 0.\overline{6} to explain why 0.9‾=10.\overline{9} = 1. Then explain why there’s no number between 0.9‾0.\overline{9} and 11.

Solution

Add the fractions and add the decimals:

13+23=1and0.333…+0.666…=0.999…\frac{1}{3} + \frac{2}{3} = 1 \qquad \text{and} \qquad 0.333\ldots + 0.666\ldots = 0.999\ldots

The two sums are the same number, so 0.9‾=10.\overline{9} = 1.

If two different numbers had a gap between them, you could find a number in between (density). But 0.9‾0.\overline{9} is closer to 11 than 0.90.9, 0.990.99, 0.9990.999, and every other decimal with a finite number of nines. So the gap between 0.9‾0.\overline{9} and 11 is smaller than 0.10.1, 0.010.01, 0.0010.001, …, which means it’s 00. There’s no room for a number in between, because they’re the same number.