When you first learnt to count, every num­ber you used was a count­ing num­ber. Later you met zero, then neg­a­tive num­bers on a ther­mome­ter, then frac­tions and dec­i­mals, and then strange num­bers such as 2\sqrt{2} and π\pi. Each new kind of num­ber was needed for a new job. Math­e­mati­cians sort all these num­bers into sets, and the names of those sets are used in every chap­ter of alge­bra and geom­e­try that fol­lows.

So num­bers get sorted into groups, and each group is called a set. There are six sets to get to know here, and you'll hear their names again and again all through the course, so it really pays to learn them well now.

The six sets

1. Nat­ural num­bers NN

Nat­ural num­bers are the count­ing num­bers, the very first num­bers you ever used. You begin at 11 and keep going.

N={1,2,3,… }N = \{1, 2, 3, \dots\}

The curly brack­ets hold every­thing in the set, and the num­bers inside are called its mem­bers. The three dots mean the list never ends.

These are the num­bers you count real things with: three apples, ten steps, one door.

2. Whole num­bers WW

Whole num­bers are the nat­ural num­bers with 00 added.

W={0,1,2,3,… }W = \{0, 1, 2, 3, \dots\}

Zero earns its place, because you need it to say you have none of some­thing. Ask any stu­dent with an empty tif­fin box after lunch!

3. Inte­gers ZZ

Inte­gers are the whole num­bers and their neg­a­tives.

Z={…,−2,−1,0,1,2,… }Z = \{\dots, -2, -1, 0, 1, 2, \dots\}

Notice the dots at both ends now: the list runs on for ever in both direc­tions. The chap­ter some­times writes this set as II; both let­ters mean the same set.

Neg­a­tive num­bers let you count below zero, and you need them for money owed or a cold win­ter night in the hills.

4. Ratio­nal num­bers QQ

A ratio­nal num­ber is one you can write as a frac­tion. 34\displaystyle \frac{3}{4} is ratio­nal, and so is −72\displaystyle \frac{-7}{2}.

Call the top num­ber pp and the bot­tom num­ber qq; both are inte­gers. The bot­tom num­ber is never 00, because you can­not share a cake into 00 parts.

In sym­bols you write q≠0q \neq 0, where the sign ≠\neq means "is not equal to".

Every inte­ger is ratio­nal too, since any inte­ger can sit over a 11.

6=61\displaystyle 6 = \frac{6}{1}, and −5=−51\displaystyle -5 = \frac{-5}{1}.

Why the answer 4040 is a ratio­nal num­ber

10×4=40and 40=401so 40 is rational\displaystyle \begin{aligned}10 \times 4 &= 40 \\ \text{and } 40 &= \frac{40}{1} \\ &\text{so } 40 \text{ is rational}\end{aligned}

Here's a handy test: a ratio­nal num­ber in dec­i­mal form either stops or repeats. 12=0.5\displaystyle \frac{1}{2} = 0.5 stops, while 13=0.333…\displaystyle \frac{1}{3} = 0.333\ldots repeats for ever.

5. Irra­tional num­bers Q∗Q^{*}

Sur­pris­ingly, some num­bers can­not be writ­ten as a frac­tion at all, and 2\sqrt{2} is one of them. No pair of inte­gers pp and qq will ever do it. Num­bers like this are the irra­tional num­bers.

2\sqrt{2} means the num­ber that mul­ti­plies by itself to give 22.

π\pi comes from a cir­cle: divide the dis­tance round a cir­cle by the dis­tance across it and you get π\pi. And π\pi is irra­tional too.

An irra­tional num­ber has a dec­i­mal that never stops, and it never set­tles into a repeat­ing pat­tern either.

Worked exam­ple: ratio­nal or irra­tional?

0.750.75 stops, so it is ratio­nal: 0.75=75100=34\displaystyle 0.75 = \frac{75}{100} = \frac{3}{4}.

0.4444…0.4444\ldots repeats, so it is ratio­nal: 0.4444…=49\displaystyle 0.4444\ldots = \frac{4}{9}.

9\sqrt{9} looks like a square root, but 3×3=93 \times 3 = 9, so 9=3\sqrt{9} = 3, which is ratio­nal (and nat­ural too).

5\sqrt{5} is irra­tional, because no whole num­ber or frac­tion mul­ti­plies by itself to give 55. Its dec­i­mal, 2.2360679…2.2360679\ldots, never stops and never repeats.

6. Real num­bers RR

All the ratio­nal and irra­tional num­bers together form the real num­bers.

RR is the biggest set here, and every num­ber you meet in this course is real. For instance, e=2.71…e = 2.71\ldots is a real num­ber that you will meet later on.

A real number line from −4 to 7 with points marked at −4, 0, 2/5, √2 ≈ 1.414, π ≈ 3.142 and 7; the irrational ones are orange.
Ratio­nal and irra­tional num­bers sit together on the same num­ber line.

The num­ber line in the pic­ture holds every real num­ber. The ratio­nal num­bers and the irra­tional num­bers are mixed together along it: between any two ratio­nal num­bers you can always find an irra­tional one, and between any two irra­tional num­bers you can always find a ratio­nal one.

How the sets fit together

SetSym­bolA num­ber in it
Nat­ural num­bersNN77
Whole num­bersWW00
Inte­gersZZ−4-4
Ratio­nal num­bersQQ25\displaystyle \frac{2}{5}
Irra­tional num­bersQ∗Q^{*}2\sqrt{2}
Real num­bersRRevery num­ber in the rows above
  1. Every nat­ural num­ber is a whole num­ber. 77 is in NN, and 77 is in WW.
  2. Every whole num­ber is an inte­ger. 00 is in WW, and 00 is in ZZ.
  3. Every inte­ger is a ratio­nal num­ber. −4=−41\displaystyle -4 = \frac{-4}{1}.
  4. Every ratio­nal num­ber is a real num­ber. 25\displaystyle \frac{2}{5} is in QQ, and 25\displaystyle \frac{2}{5} is in RR.

Pic­ture a set of steel dab­bas nested one inside the next. NN sits inside WW, and WW sits inside ZZ. Then ZZ sits inside QQ, and QQ sits inside RR.

The irra­tional num­bers live inside RR too, but they stay out­side QQ for good, because no frac­tion can ever equal them.

So 33 sits in every set except Q∗Q^{*}, while 2\sqrt{2} sits only in Q∗Q^{*} and RR.

Nested boxes: N holding 7 inside W holding 0, inside Z holding −4, inside Q holding 2/5; a separate box Q* holds √2 and π; all sit inside R.
N sits inside W, W inside Z, Z inside Q, and Q beside Q*; all of them sit inside R.

Remem­ber. The sets grow in this order: NN, WW, ZZ, QQ, RR. Each one holds all the sets before it.

The sym­bol ∈\in

∈\in is a short way of writ­ing "belongs to". So 5∈R5 \in R is read as "55 belongs to RR".

You can use it with any set: 5∈N5 \in N says 55 is a nat­ural num­ber. −3∈Z-3 \in Z is true, but −3∈N-3 \in N is false, because nat­ural num­bers start at 11.

Only one num­ber and one set sit either side of the sign, so you write the sign again for each set. It's a small sym­bol that saves you writ­ing the same words over and over.

Worked exam­ple: find every set for each num­ber

−124\displaystyle -\frac{12}{4} looks like a frac­tion, but it sim­pli­fies to −3-3. So −124∈Z\displaystyle -\frac{12}{4} \in Z, −124∈Q\displaystyle -\frac{12}{4} \in Q and −124∈R\displaystyle -\frac{12}{4} \in R. It is not in NN or WW, because it is below zero.

16=4\sqrt{16} = 4, so 16\sqrt{16} belongs to NN, WW, ZZ, QQ and RR.

2.5=52\displaystyle 2.5 = \frac{5}{2}, so 2.5∈Q2.5 \in Q and 2.5∈R2.5 \in R, but it is not an inte­ger.

A teacher's tip: always sim­plify a num­ber before you decide which sets it belongs to. Many num­bers are not what they first look like.

Prac­tice

Write down every set each num­ber below belongs to.

1) 773) −4-45) 2\sqrt{2}
2) 004) 25\displaystyle \frac{2}{5}6) π\pi
Ques­tionAnswerQues­tionAnswer
777∈N, 7∈W, 7∈Z, 7∈Q, 7∈R7 \in N,\ 7 \in W,\ 7 \in Z,\ 7 \in Q,\ 7 \in R25\displaystyle \frac{2}{5}25∈Q, 25∈R\displaystyle \frac{2}{5} \in Q,\ \frac{2}{5} \in R
000∈W, 0∈Z, 0∈Q, 0∈R0 \in W,\ 0 \in Z,\ 0 \in Q,\ 0 \in R2\sqrt{2}2∈Q∗, 2∈R\sqrt{2} \in Q^{*},\ \sqrt{2} \in R
−4-4−4∈Z, −4∈Q, −4∈R-4 \in Z,\ -4 \in Q,\ -4 \in Rπ\piπ∈Q∗, π∈R\pi \in Q^{*},\ \pi \in R

Now write TT for true or FF for false beside each line.

1) 0∈N0 \in N3) π∈R\pi \in R
2) −5∈W-5 \in W4) 14∈Q\displaystyle \frac{1}{4} \in Q
Ques­tionAnswerQues­tionAnswer
0∈N0 \in NFFπ∈R\pi \in RTT
−5∈W-5 \in WFF14∈Q\displaystyle \frac{1}{4} \in QTT

Com­mon mis­takes

  • Putting 0 in NN. The nat­ural num­bers start at 11; 00 first appears in WW.
  • Think­ing a num­ber belongs to only one set. 77 is nat­ural, whole, an inte­ger, ratio­nal and real, all at once.
  • Call­ing every square root irra­tional. 9=3\sqrt{9} = 3 and 16=4\sqrt{16} = 4 are ratio­nal.
  • Call­ing a long dec­i­mal irra­tional. 0.333…0.333\ldots goes on for ever but repeats, so it is 13\displaystyle \frac{1}{3}, a ratio­nal num­ber.
  • Think­ing 227\displaystyle \frac{22}{7} is π\pi. It is only an approx­i­ma­tion. 227\displaystyle \frac{22}{7} is ratio­nal; π\pi is irra­tional.
  • Writ­ing two sets after one ∈\in. Write 5∈N5 \in N and 5∈R5 \in R sep­a­rately.

Key terms

Set
A col­lec­tion of num­bers, writ­ten inside curly brack­ets.
Mem­ber
A num­ber that belongs to a set.
Nat­ural num­bers NN
The count­ing num­bers 1,2,3,…1, 2, 3, \dots
Whole num­bers WW
The nat­ural num­bers together with 00.
Inte­gers ZZ
The whole num­bers and their neg­a­tives.
Ratio­nal num­bers QQ
Num­bers that can be writ­ten as pq\displaystyle \frac{p}{q} with pp, qq inte­gers and q≠0q \neq 0.
Irra­tional num­bers Q∗Q^{*}
Real num­bers that can­not be writ­ten as such a frac­tion; their dec­i­mals never stop or repeat.
Real num­bers RR
All the ratio­nal and irra­tional num­bers together.

Answers

Every set each num­ber belongs to

  1. 77: NN, WW, ZZ, QQ and RR.
  2. 00: WW, ZZ, QQ and RR.
  3. −4-4: ZZ, QQ and RR.
  4. 25\displaystyle \frac{2}{5}: QQ and RR.
  5. 2\sqrt{2}: Q∗Q^{*} and RR.
  6. π\pi: Q∗Q^{*} and RR.

True or false

  1. 0∈N0 \in N: FF, nat­ural num­bers start at 11.
  2. −5∈W-5 \in W: FF, whole num­bers are never neg­a­tive.
  3. π∈R\pi \in R: TT.
  4. 14∈Q\displaystyle \frac{1}{4} \in Q: TT.