Every time you work out a sum, you are qui­etly trust­ing two facts. The first is that the answer will be a num­ber you already know how to han­dle. The sec­ond is that, for some oper­a­tions, you may write the two num­bers in either order. This les­son gives those two facts their proper names: clo­sure and the com­mu­ta­tive prop­erty. You will meet both again and again, in men­tal arith­metic, when you rearrange a bill at the shop, and later when you sim­plify alge­bra such as 3x+5=5+3x3x + 5 = 5 + 3x.

Real num­bers in one place

All the ratio­nal and irra­tional num­bers together form the real num­bers. We write the whole set as RR.

A ratio­nal num­ber can be writ­ten as one inte­ger over another, like 34\displaystyle \frac{3}{4} or 72\displaystyle \frac{-7}{2}. An inte­ger is a count­ing num­ber, or zero, or one with a minus sign. An irra­tional num­ber can­not be writ­ten that way.

The dec­i­mal of an irra­tional num­ber never stops and never repeats. Two of them are π\pi and e=2.71e = 2.71\ldots

So whole num­bers, frac­tions and dec­i­mals are all real. Num­bers below zero are real too, like 3-3.

This les­son asks two ques­tions about real num­bers.

  1. If you work with two real num­bers, is the answer real too?
  2. May you swap the two num­bers round and still get the same answer?

Ques­tion one: does the answer stay in RR?

Pick two real num­bers. Take 7 and 4. Now add them, take one away, and mul­ti­ply them.

Work­ing with 7 and 4

7+4=1174=37×4=28\begin{aligned}7 + 4 &= 11 \\ 7 - 4 &= 3 \\ 7 \times 4 &= 28\end{aligned}

Every answer is a real num­ber. You did not fall out of RR.

Big­ger num­bers work the same way. 10(4)=4010(4) = 40, and 4040 is real.

Here 10(4)10(4) means 10×410 \times 4. A num­ber beside a bracket means mul­ti­ply.

Clo­sure does not care whether the num­bers are whole. Try two frac­tions, one of them neg­a­tive.

Work­ing with 34\displaystyle -\frac{3}{4} and 52\displaystyle \frac{5}{2}

34+52=34+104=7434×52=158\displaystyle \begin{aligned}-\frac{3}{4} + \frac{5}{2} &= -\frac{3}{4} + \frac{10}{4} = \frac{7}{4} \\ -\frac{3}{4} \times \frac{5}{2} &= -\frac{15}{8}\end{aligned}

Both answers are frac­tions, and every frac­tion is real. Even an irra­tional num­ber can­not push you out: π+1\pi + 1 and 2π2\pi are still real num­bers, because they still sit some­where on the num­ber line.

That is what clo­sure means. A set is closed under an oper­a­tion when the answer always stays inside the set.

Remem­ber. Closed means you can­not escape. You start in RR and you land in RR.

Divi­sion is the odd one

Divi­sion is dif­fer­ent. It works every time but one. You can­not divide by zero.

Divid­ing real num­bers

10÷2=57÷4=1.75\begin{aligned}10 \div 2 &= 5 \\ 7 \div 4 &= 1.75\end{aligned}

Both answers are real. 1.751.75 is not a whole num­ber, but it is still real.

This next part is extra. It says why divid­ing by zero fails.

Think about what 6÷06 \div 0 is ask­ing. It asks which num­ber times zero gives 6. No num­ber does that. Zero times any­thing is zero.

So 6÷06 \div 0 has no answer at all. There is noth­ing to write down, so there is no real num­ber to land on.

Zero is the only trou­ble. Every other divi­sion of two real num­bers gives a real num­ber.

Remem­ber. Real num­bers are closed under addi­tion, sub­trac­tion and mul­ti­pli­ca­tion. They are not closed under divi­sion.

The same idea in let­ters

Let aa and bb stand for any two real num­bers. Then:

Clo­sure

a+bRabRa×bRa÷b may or may not be in Rand a÷bR when b0\begin{aligned}&a + b \in R \\ &a - b \in R \\ &a \times b \in R \\ &a \div b \ \text{may or may not be in } R \\ \text{and } a \div b \in R \ \text{when } b &\neq 0\end{aligned}

Read a+bRa + b \in R as: aa plus bb belongs to RR.

Read the last line as: aa divided by bb belongs to RR as long as bb is not zero.

The fourth line says may for a rea­son. There is no answer at all when bb is zero, and noth­ing else goes wrong.

Ques­tion two: may you swap them round?

Add 3 and 5. Then add the same two num­bers the other way round.

Adding both ways

3+5=85+3=8\begin{aligned}3 + 5 &= 8 \\ 5 + 3 &= 8\end{aligned}

The same answer twice. The order made no dif­fer­ence.

Mul­ti­ply­ing behaves the same way.

Mul­ti­ply­ing both ways

3×5=155×3=15\begin{aligned}3 \times 5 &= 15 \\ 5 \times 3 &= 15\end{aligned}

There is a word for this. The word is com­mu­ta­tive. It means you may swap the two num­bers round.

Remem­ber. Com­mu­ta­tive means the order of the two num­bers does not change the answer.

Tak­ing away says no

A num­ber line shows why the order mat­ters. Start­ing point and size of jump both change when you swap.

Number line from -4 to 6 with two jumps: from 5 three steps left to land on 2, and from 3 five steps left to land on -2, showing 5 - 3 and 3 - 5 differ.
Swap­ping the num­bers in a sub­trac­tion changes the answer, though both answers are real.

Tak­ing away both ways

53=235=2\begin{aligned}5 - 3 &= 2 \\ 3 - 5 &= -2\end{aligned}

Those two answers are not the same. One is 22 and the other is 2-2.

2-2 is a real num­ber too, so sub­trac­tion has not escaped RR. But the order has changed the answer.

So sub­trac­tion is not com­mu­ta­tive. Here the order really mat­ters.

Divid­ing says no as well

Divid­ing both ways

10÷2=52÷10=0.2\begin{aligned}10 \div 2 &= 5 \\ 2 \div 10 &= 0.2\end{aligned}

Again the two answers dif­fer. Divi­sion is not com­mu­ta­tive either.

A few more pairs to test

Here are some harder pairs. Work each one both ways before you read the answer.

  • 2.5×4=102.5 \times 4 = 10 and 4×2.5=104 \times 2.5 = 10. The same, as mul­ti­pli­ca­tion is com­mu­ta­tive even with dec­i­mals.
  • (6)×3=18(-6) \times 3 = -18 and 3×(6)=183 \times (-6) = -18. The same again. A minus sign does not stop you swap­ping.
  • 1234=14\displaystyle \frac{1}{2} - \frac{3}{4} = -\frac{1}{4} but 3412=14\displaystyle \frac{3}{4} - \frac{1}{2} = \frac{1}{4}. Dif­fer­ent. The two answers are oppo­sites of each other.
  • 8÷2=48 \div 2 = 4 but 2÷8=14\displaystyle 2 \div 8 = \frac{1}{4}. Dif­fer­ent. Swap­ping a divi­sion turns the answer upside down.

Notice the pat­tern in the last two. Swap­ping a sub­trac­tion gives the neg­a­tive of the answer. Swap­ping a divi­sion gives the rec­i­p­ro­cal. So the swapped answer is related to the first one, but it is not the same.

The same idea in let­ters

Two let­ters side by side mean mul­ti­ply. So abab is short for a×ba \times b.

For any two real num­bers aa and bb, these two always hold:

You may swap

a+b=b+aab=ba\begin{aligned}a + b &= b + a \\ ab &= ba\end{aligned}

And here you may not swap:

You may not swap

ab is usually not baa÷b is usually not b÷a\begin{aligned}&a - b \ \text{is usually not} \ b - a \\ &a \div b \ \text{is usually not} \ b \div a\end{aligned}

These two can be equal by acci­dent. 555 - 5 is 00 either way round. But you can­not count on it, so you may not swap.

Both answers on one page

What you doAnswer stays real?May you swap?
AddYesYes
Take awayYesNo
Mul­ti­plyYesYes
DivideNoNo

Remem­ber. Addi­tion and mul­ti­pli­ca­tion of real num­bers are com­mu­ta­tive. Sub­trac­tion and divi­sion are not. Swap the two num­bers there and the answer usu­ally changes.

Prac­tice

  1. Work out 9+69 + 6 and then 6+96 + 9.
  2. Work out 8×58 \times 5 and then 5×85 \times 8.
  3. Work out 12712 - 7 and then 7127 - 12.
  4. Work out 20÷420 \div 4 and then 4÷204 \div 20.
  5. Is the answer to 3+113 + 11 a real num­ber?
  6. One of these has no answer. Is it 0÷60 \div 6 or 6÷06 \div 0?
Ques­tionAnswerQues­tionAnswer
9+69 + 6 and 6+96 + 91515 and 1515. Adding is com­mu­ta­tive.20÷420 \div 4 and 4÷204 \div 2055 and 0.20.2. The order mat­ters.
8×58 \times 5 and 5×85 \times 84040 and 4040. Mul­ti­ply­ing is com­mu­ta­tive.Is 3+113 + 11 real?Yes. It is 1414, and RR is closed under addi­tion.
12712 - 7 and 7127 - 1255 and 5-5. The order mat­ters.Which has no answer?6÷06 \div 0, because you can­not divide by zero. 0÷6=00 \div 6 = 0.

Com­mon mis­takes

  • Think­ing a neg­a­tive answer means you have left the real num­bers. 2-2 is as real as 22; sub­trac­tion is still closed.
  • Say­ing divi­sion is closed. One case, divid­ing by zero, has no answer at all, so the set is not closed under divi­sion.
  • Mix­ing up 0÷60 \div 6 and 6÷06 \div 0. The first is 00; the sec­ond has no answer.
  • Decid­ing an oper­a­tion is com­mu­ta­tive from one lucky exam­ple, such as 555 - 5. One exam­ple where the order fails is enough to show it is not com­mu­ta­tive.
  • Treat­ing abab as two sep­a­rate num­bers. Let­ters writ­ten side by side mean mul­ti­ply.

Key terms

Real num­bers (RR)
All the ratio­nal and irra­tional num­bers together.
Ratio­nal num­ber
A num­ber that can be writ­ten as one inte­ger over another, with the bot­tom not zero.
Irra­tional num­ber
A num­ber whose dec­i­mal never stops and never repeats, such as π\pi.
Clo­sure
A set is closed under an oper­a­tion when the answer always stays inside the set.
Com­mu­ta­tive
The order of the two num­bers does not change the answer.
Belongs to (\in)
The sym­bol that says a num­ber is a mem­ber of a set.

Answers

Answers to the Prac­tice ques­tions.

  1. 9+6=159 + 6 = 15 and 6+9=156 + 9 = 15. The same, so addi­tion is com­mu­ta­tive.
  2. 8×5=408 \times 5 = 40 and 5×8=405 \times 8 = 40. The same, so mul­ti­pli­ca­tion is com­mu­ta­tive.
  3. 127=512 - 7 = 5 and 712=57 - 12 = -5. Dif­fer­ent, so the order mat­ters.
  4. 20÷4=520 \div 4 = 5 and 4÷20=0.24 \div 20 = 0.2. Dif­fer­ent, so the order mat­ters.
  5. Yes. 3+11=143 + 11 = 14, which is real, because RR is closed under addi­tion.
  6. 6÷06 \div 0 has no answer. 0÷6=00 \div 6 = 0.