This site is a work in progress. New lessons are added regularly. Contact us

Adding and Subtracting Integers

Learning goals

  • Add on the number line by stepping right for a positive and left for a negative
  • Combine two same-sign numbers by adding their distances from zero and keeping that sign
  • Find a different-sign sum by subtracting the distances and taking the farther number's sign
  • Explain why a number and its opposite make a zero pair, so a+(a)=0a + (-a) = 0
  • Rewrite a subtraction as adding the opposite, so 4(6)=4+6=104 - (-6) = 4 + 6 = 10

Addition as a walk along the line

In the foundations chapter you added whole numbers like 3+43 + 4 by counting on: start at 33, take four more steps, and land on 77. On the number line that is a walk to the right, because for positive numbers, larger means farther right. Nothing about that walk needs to change when negatives join in.

Watch 3+43 + 4 and 3+(4)3 + (-4) side by side. Both start at 33. The first steps four units right to 77; the second steps four units left, past 2,1,02, 1, 0, to 1-1.

3 + 4: start at 3, step 4 units to the right, land on 7. A number line from -3 to 8. Points marked at 3. Jumps from 3 to 7. -3 -2 -1 0 1 2 3 4 5 6 7 8 +4 3
3 + 4: start at 3, step 4 units to the right, land on 7.
3 + (-4): start at 3, step 4 units to the left, land on -1. A number line from -3 to 8. Points marked at 3. Jumps from 3 to -1. -3 -2 -1 0 1 2 3 4 5 6 7 8 -4 3
3 + (-4): start at 3, step 4 units to the left, land on -1.

The starting point is the same; only the direction of the second number’s step is different.

A positive number is a push forward; a negative number is a pull back. This matches the picture you built for signed quantities: a deposit (++) raises a balance and a withdrawal (-) lowers it. Addition just records the move.

The difference between those two walks, right versus left, is the whole of integer addition:

To compute a+ba + b, start at aa. If bb is positive, step bb units to the right. If bb is negative, step that many units to the left. Where you land is the sum.

Now try the walk yourself. The number line below takes a number to start from and a number to add, and you can change either one.

The sign chooses the direction, the size chooses the distance

1 + (-4) = -3. Adding a negative number moves 4 units to the left. A number line from -6 to 6. A dot marks the starting number and an arrow shows the step to the landing point. Use the controls below the figure to change either one. -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 -4 1 -3
Start at Then add

1 + (-4) = -3. Adding a negative number moves 4 units to the left.

A number line walk you can change: choose the number to start from, then choose the number to add.

On the figure the arrow is the step you are adding, and the filled point is where that step lands you.

Three things are worth trying before you read on.

  1. Leave the start at 11 and change the number you add from 4-4 to 44. The landing point moves from 3-3 to 55. Both are four units from the start, one to the left and one to the right. So the sign of the second number decided the direction and nothing else.
  2. Set the number you add to 00. The arrow disappears, because adding zero asks you to take no step.
  3. Move the start instead, and leave the number you add alone. The arrow keeps its length and its direction, and only its position changes. The step does not care where it begins.

Adding two numbers with the same sign

When both numbers carry the same sign, both steps go the same direction, so they pile up. Two moves the same way cover their combined distance.

Take (2)+(5)(-2) + (-5). Start at 2-2, which is already two units left of zero. Adding 5-5 steps five more units left, to 7-7. The two leftward moves add up to seven units left in total:

(-2) + (-5): two leftward steps combine to land 7 units left of zero, at -7. A number line from -9 to 3. Points marked at -2. Jumps from -2 to -7. -9 -8 -7 -6 -5 -4 -3 -2 -1 0 1 2 3 -5 -2
(-2) + (-5): two leftward steps combine to land 7 units left of zero, at -7.

The same thing happens with two positives: 2+52 + 5 is two rightward steps then five more, landing seven units right of zero at 77. So when the signs match, the distances from zero simply add, and the answer keeps that shared sign:

Same signs: add the two distances from zero, and keep the common sign. Two pushes the same way make a bigger push the same way.

So (2)+(5)=7(-2) + (-5) = -7 for exactly the reason 2+5=72 + 5 = 7: in each case you travel 2+5=72 + 5 = 7 units. The only remaining question is which side of zero you end on.

Check your understanding

What is (6)+(7)(-6) + (-7)?

Answer choices

A number plus its opposite is zero

Before mixing signs, look at the most important sum in the whole chapter: a number added to its opposite. Recall from the last lesson that the opposite of a number sits the same distance from zero, on the other side. Zero is the one exception, being its own opposite. So 55 and 5-5 are opposites, one on each side of zero.

Add them. Start at 55, five units right of zero. Adding 5-5 steps five units left, which is exactly the distance back to zero. You land on 00:

5 + (-5): stepping 5 units left from 5 lands exactly on zero. A number line from -2 to 7. Points marked at 5. Jumps from 5 to 0. -2 -1 0 1 2 3 4 5 6 7 -5 5
5 + (-5): stepping 5 units left from 5 lands exactly on zero.

This is no coincidence of the numbers 55 and 5-5. It works for every integer, and the reason is built into what “opposite” means.

A number plus its opposite is always zero#

You have just seen it for 55: standing five units right of zero and stepping five units left lands exactly on zero. Nothing is left to travel and nothing is overshot, so 5+(5)=05 + (-5) = 0.

Nothing in that walk depended on 55. It used one fact about the opposite. The opposite sits the same distance from zero, and for every number except zero it sits on the other side. So take any integer aa other than zero. Its opposite a-a is that same distance away, on the far side. Adding a-a is therefore a step back toward zero of exactly that distance, and it lands on zero. Zero is the one number that is its own opposite. It already stands at the destination, and adding zero asks for no step, so 0+0=00 + 0 = 0 and the claim holds there too.

So for every integer aa,

a+(a)=0.a + (-a) = 0.

Two numbers that add to zero like this are called a zero pair: 77 and 7-7, 100100 and 100-100, and so on.

Zero pairs are what make the next section work. Whenever a positive and a negative meet, you can cancel as many matched units as possible and read off whatever is left over.

Adding two numbers with different signs

When the signs are different, the two steps go opposite ways, so instead of piling up they partly undo each other. This is where zero pairs do the work.

Take 7+(3)7 + (-3). Start at 77 and step three units left to 44. The leftward step of 33 cancels three of the seven rightward units you already had, leaving four units still to the right of zero:

7 + (-3): a 3-unit step left cancels 3 of the 7 units, leaving 4 to the right. A number line from -2 to 9. Points marked at 7. Jumps from 7 to 4. -2 -1 0 1 2 3 4 5 6 7 8 9 -3 7
7 + (-3): a 3-unit step left cancels 3 of the 7 units, leaving 4 to the right.

Now flip which number is bigger: 3+(7)3 + (-7). Start at 33 and step seven units left. The first three steps bring you to zero (a zero pair cancels), and four more steps carry you past zero to 4-4:

3 + (-7): 3 of the 7 left steps reach zero, and 4 more land on -4. A number line from -6 to 5. Points marked at 3. Jumps from 3 to -4. -6 -5 -4 -3 -2 -1 0 1 2 3 4 5 -7 3
3 + (-7): 3 of the 7 left steps reach zero, and 4 more land on -4.

Compare the two results. In 7+(3)7 + (-3) the positive part was larger, so after the cancelling we ended up on the right (positive) side at 44. In 3+(7)3 + (-7) the negative part was larger, so we ended on the left (negative) side at 4-4. In both cases the leftover distance was the difference of the two sizes, 77 and 33 differing by 44:

Different signs: the numbers cancel in pairs, so subtract the smaller distance from the larger. The answer takes the sign of whichever number was farther from zero, because that side has units left over after the cancelling.

If the two distances are equal, every unit finds a partner and you are left with nothing, which is just the zero-pair fact again: 6+(6)=06 + (-6) = 0.

Check your understanding

What is (8)+5(-8) + 5?

Answer choices

Subtraction means adding the opposite

Subtraction looks like a new operation, but it is really addition wearing a disguise. To see why, return to what subtraction has always meant: 737 - 3 asks “start at 77 and take away three.” On the line, taking away three is a step of three units to the left, landing on 44.

Stepping three units left is exactly what adding 3-3 does. So 737 - 3 and 7+(3)7 + (-3) trace the same walk and reach the same place.

Underneath that is an idea worth stating on its own, because it settles the harder case too. Adding a number makes a step. Subtracting that same number undoes the step, and undoing a step means travelling the same distance back the other way.

Adding 33 steps three units right, so subtracting 33 steps three units left. That is the walk from 77 you just took. Now try it on a negative. Adding 6-6 steps six units left, so subtracting 6-6 has to step six units right:

Adding -6 steps 6 units left: 10 + (-6) = 4. A number line from -2 to 12. Points marked at 10. Jumps from 10 to 4. -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 -6 10
Adding -6 steps 6 units left: 10 + (-6) = 4.
Subtracting -6 undoes that step, so it goes 6 units right: 4 - (-6) = 10. A number line from -2 to 12. Points marked at 4. Jumps from 4 to 10. -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 +6 4
Subtracting -6 undoes that step, so it goes 6 units right: 4 - (-6) = 10.

So 4(6)4 - (-6) starts at 44, travels six units right, and lands on 1010. Six units right is exactly what adding 66 does, and 66 is the opposite of 6-6. Once again, subtracting a number and adding its opposite are the same walk.

Both cases say one thing. Subtracting a number does the same thing as adding its opposite, so for any integers,

ab=a+(b).a - b = a + (-b).

Every subtraction can be rewritten as an addition this way, and then handled with the same-sign and different-sign reasoning you already have. For the case above that reads

4(6)=4+6=10.4 - (-6) = 4 + 6 = 10.

Subtracting a negative moving you to the right surprises almost everyone the first time. Money makes it sensible: taking away a debt of six dollars leaves you six dollars better off, the same as being given six dollars.

Check your understanding

Rewrite and evaluate 3(5)-3 - (-5).

Answer choices

Worked examples

Worked example 1 Rewrite a subtraction: 29-2 - 9

Subtraction is adding the opposite, so make that trade before anything else. The opposite of 99 is 9-9:

29=2+(9).-2 - 9 = -2 + (-9).

Now both numbers are negative, so both steps go left and their distances add:

2+9=11.2 + 9 = 11.

Two leftward steps land 1111 units to the left of zero, so the answer is negative:

29=11.-2 - 9 = -11.

The rewrite did the real work. Once the subtraction had become an addition, the same-sign rule finished the problem.

Worked example 2 A longer chain: 4+96(2)-4 + 9 - 6 - (-2)

Work left to right, but first rewrite every subtraction as adding the opposite so the whole expression becomes one string of additions:

4+96(2)=4+9+(6)+2.-4 + 9 - 6 - (-2) = -4 + 9 + (-6) + 2.

Now combine the steps one at a time. Start with 4+9-4 + 9: the signs differ, the distances are 44 and 99, and the larger is positive, so

4+9=5.-4 + 9 = 5.

Add the next term, 5+(6)5 + (-6): signs differ, distances 55 and 66, larger one negative, giving

5+(6)=1.5 + (-6) = -1.

Finally add the last term, 1+2=1-1 + 2 = 1. So

4+96(2)=1.-4 + 9 - 6 - (-2) = 1.

There is a shortcut once you trust the method. Every subtraction has already been traded for an addition. A string of additions may be taken in any order and grouped in any way, so the like signs may be collected first. Add the positive parts (9+2=119 + 2 = 11), add the negative parts (4+(6)=10-4 + (-6) = -10), then combine those two totals:

11+(10)=1.11 + (-10) = 1.

Same answer, fewer stops.

Check your understanding

Evaluate 5(5)-5 - (-5).

Answer choices

Common mistakes

Practice

Multiple Choice Questions (MCQ)

Progressively harder sets of questions. Each opens on its own page.

Free Response Questions (FRQ)

Longer questions in parts, to be worked out on paper. Progressive hints, the answer on its own so you can check yourself and try again, then the full worked solution, plus a rubric to mark your own work against.

Free response Work it out on paper 5 questions Start →
More practice (optional)

Extra sets, as hard as the Challenge set. Each one opens on its own page.

More resources (optional)

Other explanations of this lesson, if you want a second take.

A bit of history (Optional)

Subtracting a negative moves you to the right. Hardly anyone believes that the first time.

In 1685 an English mathematician, John Wallis, offered a picture for it. Imagine a man walking, he said. The man advances five yards, then retreats eight yards. Where does that leave him? Three yards behind the place he started, a position Wallis wrote as 3-3.

The picture does two jobs at once. It gives a negative number an everyday meaning, an amount counted backwards from a chosen starting point. It also turns a negative step into a step the other way. Suppose the man stands four yards ahead of his starting point, and a six-yard walk backwards is taken away from his trip. Losing that backward walk moves him six yards farther ahead, so he finishes ten yards ahead. That is what 4(6)=104 - (-6) = 10 says in symbols.