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.

Num­bers are sorted into groups. In this les­son, each group is called a set.

This les­son names six sets. You will use these six names all through the course.

So it is worth learn­ing them well.

The six sets

1. Nat­ural num­bers NN

Nat­ural num­bers are the count­ing num­bers. 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. The num­bers inside are called its mem­bers.

The three dots mean the list never ends.

You count real things with them. 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. You need it to say you have none of some­thing.

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\}

Dots sit at both ends now. The list runs on for ever in both direc­tions.

The chap­ter also writes this set as II. Both let­ters mean the same set.

Neg­a­tive num­bers let you count below zero. Money owed and cold weather both need them.

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. So is 72\displaystyle \frac{-7}{2}.

Write the top num­ber as pp and the bot­tom num­ber as qq. Both are inte­gers.

The bot­tom num­ber is never 00. You can­not share a cake into 00 parts.

In sym­bols you write q0q \neq 0. The sign \neq means is not equal to.

Every inte­ger is ratio­nal too. Any inte­ger sits 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}

A ratio­nal num­ber in dec­i­mal form either stops or repeats.

12=0.5\displaystyle \frac{1}{2} = 0.5 stops. 13=0.333\displaystyle \frac{1}{3} = 0.333\ldots repeats for ever.

5. Irra­tional num­bers QQ^{*}

Some num­bers can­not be writ­ten as a frac­tion at all. 2\sqrt{2} is one of them.

No pair of inte­gers pp and qq will do it. Those num­bers 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. You get π\pi.

π\pi is irra­tional too.

An irra­tional num­ber has a dec­i­mal that never stops. 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.44440.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.23606792.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. Every num­ber you meet in this course is real.

e=2.71e = 2.71\ldots is a real num­ber. You will meet it later in the course.

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­gersZZ4-4
Ratio­nal num­bersQQ25\displaystyle \frac{2}{5}
Irra­tional num­bersQQ^{*}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 boxes sit­ting 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. They stay out­side QQ for good, because no frac­tion can ever equal them.

So 33 sits in every set except QQ^{*}. And 2\sqrt{2} sits only in QQ^{*} 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 to write belongs to.

5R5 \in R is read as 55 belongs to RR.

You can use it with any set. 5N5 \in N says 55 is a nat­ural num­ber.

3Z-3 \in Z is true. 3N-3 \in N is false, because nat­ural num­bers start at 11.

One num­ber and one set sit either side of the sign. So you write the sign again for each set.

The sym­bol saves you writ­ing the same words again and again.

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 124Z\displaystyle -\frac{12}{4} \in Z, 124Q\displaystyle -\frac{12}{4} \in Q and 124R\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=522.5 = \displaystyle \frac{5}{2}, so 2.5Q2.5 \in Q and 2.5R2.5 \in R, but it is not an inte­ger.

Always sim­plify a num­ber before you decide which sets it belongs to.

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
777N, 7W, 7Z, 7Q, 7R7 \in N,\ 7 \in W,\ 7 \in Z,\ 7 \in Q,\ 7 \in R25\displaystyle \frac{2}{5}25Q, 25R\displaystyle \frac{2}{5} \in Q,\ \frac{2}{5} \in R
000W, 0Z, 0Q, 0R0 \in W,\ 0 \in Z,\ 0 \in Q,\ 0 \in R2\sqrt{2}2Q, 2R\sqrt{2} \in Q^{*},\ \sqrt{2} \in R
4-44Z, 4Q, 4R-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) 0N0 \in N3) πR\pi \in R
2) 5W-5 \in W4) 14Q\displaystyle \frac{1}{4} \in Q
Ques­tionAnswerQues­tionAnswer
0N0 \in NFFπR\pi \in RTT
5W-5 \in WFF14Q\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.3330.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 5N5 \in N and 5R5 \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 q0q \neq 0.
Irra­tional num­bers QQ^{*}
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}: QQ^{*} and RR.
  6. π\pi: QQ^{*} and RR.

True or false

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