See How Things Work

Adding integers with different signs

Unit
Integers
Part
2. Adding & Subtracting Integers
Lesson
2.2

To add two integers with different signs, subtract the smaller absolute value from the larger and give the result the sign of the addend with the larger absolute value. This lesson proves that rule from the walk on the number line, proves that a number plus its opposite is 0, and explains the rule with neutral pairs.

Walking past zero

This lesson relies on the definition of the sum of two integers (lesson 2.1): a + b is reached from the point of a by |b| unit steps, to the right if b is positive and to the left if b is negative. It also uses the integer line (lesson 1.2), opposites (lesson 1.3), absolute value (lesson 1.4), the order of the integers (lesson 1.5), and subtraction of whole numbers (Subtraction 1.2 and 1.3).

Lesson 2.1 added integers with the same sign. When the signs are different, the walk heads toward 0. It may stop before 0, end exactly at 0, or pass 0 and go on to the other side.

Theorem 1 (different signs).

Let m and n be counting numbers.

  1. n + (−m) = n − m if m ≤ n, and n + (−m) = −(m − n) if m > n.
  2. (−m) + n = −(m − n) if n ≤ m, and (−m) + n = n − m if n > m.

Here −0 = 0: when m = n, both sums are 0.

Proof.

(1) The sum n + (−m) takes m unit steps to the left from the point of n. If m ≤ n, these are steps on the line of the whole numbers, and by Theorem 1 of Subtraction 1.3 they end at the point of n − m. If m > n, the first n of them end at the point of n − n = 0, the origin. Since n < m, the difference m − n is a whole number and n + (m − n) = m (Subtraction 1.2), so m − n steps to the left remain; from the origin they end at the point of −(m − n) (lesson 1.2, Proposition 1).

(2) The sum (−m) + n takes n unit steps to the right from the point of −m. By Proposition 1 (2) of lesson 2.1, a step to the right from −(k + 1) ends at −k, and from −1 it ends at 0. So the steps end, in turn, at −(m − 1), −(m − 2), and so on: after j steps, for j ≤ m, the walk is at −(m − j). If n ≤ m, the walk ends after n steps at −(m − n). If n > m, the first m steps end at −(m − m) = 0; since m + (n − m) = n, the other n − m steps go to the right from the origin and end at the point of n − m (The Number Line 1.1).

(a) 4 + (−7): the walk passes 0

−5−4−3−2−10123454 steps3 more1234567

(b) −6 + 2: the walk stops before 0

−7−6−5−4−3−2−1012312
Figure. (a) From the point of 4, 7 unit steps to the left: the first 4 reach 0, and the other 7 − 4 = 3 end at −3. So 4 + (−7) = −(7 − 4) = −3. (b) From the point of −6, 2 unit steps to the right end at −4, before 0. So −6 + 2 = −(6 − 2) = −4.

In each case of Theorem 1 the size of the sum is the larger absolute value minus the smaller, and its sign is the sign of the addend with the larger absolute value. This is the usual textbook rule: when the signs are different, part of the two numbers cancels, and what is left is found by subtracting⁠[1]; when there are more negatives than positives, the result is negative.⁠[2]

Corollary (the rule for different signs).

Let a and b be integers, one positive and one negative. If |a| = |b|, then a + b = 0. Otherwise a + b is the larger of |a| and |b| minus the smaller, with the sign of the addend whose absolute value is larger.

Proof.

Write the positive addend as n and the negative one as −m, so that |n| = n and |−m| = m (lesson 1.4). Theorem 1 covers both orders, n + (−m) and (−m) + n. If m = n the sum is 0. If m < n, the sum is n − m, positive, and n is the addend with the larger absolute value. If m > n, the sum is −(m − n), negative, and −m is the addend with the larger absolute value.

Example (A first sum).

Find 4 + (−7).

  1. The signs are different. The absolute values are |4| = 4 and |−7| = 7.
  2. Subtract the smaller from the larger: 7 − 4 = 3.
  3. The larger absolute value belongs to −7, which is negative, so the sum is negative.
  4. Check by walking, as in part (a) of the figure: 4 steps to the left reach 0, and 3 more reach −3.

Answer: 4 + (−7) = −3.

Example (Larger numbers, in both orders).

Find −23 + 15 and 48 + (−75).

  1. −23 + 15: |−23| = 23 and |15| = 15; 23 − 15 = 8. The larger absolute value belongs to −23, so the sum is −8.
  2. 48 + (−75): |48| = 48 and |−75| = 75; 75 − 48 = 27 (check: 27 + 48 = 75). The larger belongs to −75, so the sum is −27.
  3. Check with Theorem 4 of lesson 2.1: −8 > −23, since 15 is positive; −27 < 48, since −75 is negative.

Answer: −23 + 15 = −8 and 48 + (−75) = −27.

Example (A positive sum).

Find −120 + 345.

  1. |−120| = 120 and |345| = 345; 345 − 120 = 225.
  2. The larger absolute value belongs to 345, which is positive, so the sum is positive.

Answer: −120 + 345 = 225. By Theorem 1 (2), the walk from −120 reaches 0 after 120 steps and goes on 225 more steps to the right.

Example (A mistake: adding the absolute values).

Someone writes −9 + 4 = −13, and someone else writes −9 + 4 = 13. What went wrong?

  1. Both added the absolute values, 9 + 4 = 13. That is the rule for addends with the same sign (lesson 2.1).
  2. Here the signs are different, so subtract: 9 − 4 = 5.
  3. The larger absolute value belongs to −9, so the sum is negative: −5. On the line, 4 steps to the right from −9 end at −5.

Answer: −9 + 4 = −5.

A number plus its opposite

Lesson 1.3 announced that a number and its opposite add up to 0. Theorem 1 proves it.

Theorem 2.

For every integer a, a + (−a) = 0 and (−a) + a = 0.

Proof.

An integer is a counting number n, or −n for a counting number n, or 0 (lesson 1.1).

  • If a = n, then −a = −n, and n + (−n) = n − n = 0 and (−n) + n = −(n − n) = 0, by Theorem 1 with m = n.
  • If a = −n, then −a = n (lesson 1.3), and the two sums are (−n) + n and n + (−n), both 0 by the same case of Theorem 1.
  • If a = 0, then −a = 0, and 0 + 0 = 0.

On the line: the point of −a is as far from 0 as the point of a, on the other side, so |a| steps from a toward 0 end exactly at 0.

A number and its opposite have a sum of 0; they are called additive inverses.⁠[3] The opposite of a number is its additive inverse.⁠[4] For the real numbers, which include the integers, textbooks take the existence of the additive inverse −x, with x + (−x) = (−x) + x = 0, as an axiom.⁠[5] For the integers, Theorem 2 proves it from the definition of the sum.

Proposition 3 (only the opposite gives 0).

If a and x are integers with a + x = 0, then x = −a.

Proof.

If a = 0, then a + x = x by the definition of the sum, so x = 0 = −a. Let a be positive, a = n. If x were positive or zero, then n + x would be a sum of whole numbers, at least n (Addition 1.2), not 0. So x = −m for a counting number m. By Theorem 1 (1), n + (−m) is n − m, positive, if m < n, and −(m − n), negative, if m > n; it is 0 only when m = n. So x = −n = −a. Finally, let a be negative, a = −n. If x were 0, the sum would be −n; if x were negative, x = −m, the sum would be −(n + m) (lesson 2.1, Theorem 3); neither is 0. So x = m for a counting number m, and by Theorem 1 (2), (−n) + m is 0 only when m = n. So x = n = −a.

Textbooks prove the same statement for the real numbers: the additive inverse is unique.⁠[6]

Example (Sums of opposites).

Find −37 + 37, 125 + (−125) and 0 + 0, and find the integer x with −19 + x = 0.

  1. −37 and 37 are opposites, so by Theorem 2 their sum is 0. On the line, 37 steps to the right from −37 end at the origin.
  2. 125 + (−125) = 0, again by Theorem 2.
  3. 0 + 0 = 0: the opposite of 0 is 0.
  4. By Proposition 3, −19 + x = 0 only for x = −(−19) = 19. Check: −19 + 19 = 0.

Answer: 0, 0, 0, and x = 19.

Why the rule works: neutral pairs

Intuition.

A textbook model of addition uses counters of two colors: a blue counter represents a positive and a red counter a negative.⁠[7] One positive and one negative counter together have the value zero: they form a neutral pair.⁠[8] To add numbers with different signs, put out both sets of counters, remove the neutral pairs, and count what is left. The pairs that cancel are the steps of the walk that lead to 0; the counters left over are the steps that go past 0. This is a picture, not a proof; the proof is Theorem 1.

−53000−−−−−+++Left over: 2 red, so −5 + 3 = −2
Figure. The counter model of −5 + 3: 5 red counters for −5 and 3 blue counters for 3. Each red counter is paired with a blue one (dashed boxes); every pair is worth 0. The 2 red counters left over give the sum, −2.
Example (Counters and the walk agree).

Find −5 + 3 with counters, and check it on the line.

  1. Put out 5 red counters for −5 and 3 blue counters for 3.
  2. Make neutral pairs: 3 red counters pair with the 3 blue ones. These 3 pairs are worth 0.
  3. 2 red counters are left, so the sum is −2. A textbook gives the same: the sum of −5 and 3 is −2.⁠[9]
  4. On the line, by Theorem 1 (2): 3 steps to the right from −5 end at −(5 − 3) = −2.

Answer: −5 + 3 = −2.

Opposite quantities that combine to make 0 appear in many situations⁠[10]: a deposit and a withdrawal of the same amount, a rise and a fall of the same number of degrees, a gain and a loss of the same number of yards.

Adding any two integers

Lessons 2.1 and 2.2 together give every sum of two integers.

  • One addend is 0: a + 0 = a and 0 + b = b (lesson 2.1).
  • Same sign: add the absolute values and keep the common sign (lesson 2.1).
  • Different signs: subtract the smaller absolute value from the larger and take the sign of the addend with the larger absolute value; if the absolute values are equal, the sum is 0 (this lesson).

Longer expressions follow the order of operations.⁠[11] In particular, additions with no parentheses are done from left to right (Order of Operations, lesson 1.3).

Example (Three addends).

Find −6 + 10 + (−7).

  1. From left to right: −6 + 10. Different signs; 10 − 6 = 4; the larger absolute value belongs to 10, so the sum is 4.
  2. Then 4 + (−7). Different signs; 7 − 4 = 3; the larger belongs to −7, so the sum is −3.

Answer: −6 + 10 + (−7) = −3.

Banking is one of the everyday situations that use positive and negative numbers⁠[12]: a deposit adds a positive number to the balance, and a payment adds a negative number.

Example (An account balance).

An account is overdrawn by 45 dollars. Then 60 dollars are deposited, and then a payment of 80 dollars is made. Find the balance after each step.

  1. An account overdrawn by 45 dollars has a balance of −45 (lesson 1.1).
  2. The deposit: −45 + 60. Different signs; 60 − 45 = 15; the larger belongs to 60, so the balance is 15 dollars.
  3. The payment: 15 + (−80). Different signs; 80 − 15 = 65; the larger belongs to −80, so the balance is −65 dollars.

Answer: 15 dollars after the deposit, and −65 dollars, an overdraft of 65 dollars, after the payment.

Game

Different signs

Round
1
Score
0
Streak
0

What is the sum?

−3 + 3 = ?

0−3

The marks go up by 1.

Looking ahead.

Subtraction of integers is defined with these sums in the next lesson, Subtraction as adding the opposite. The lesson Properties of integer addition proves that the order and the grouping of addends do not change a sum.

Exercises

Exercise .

Add: (a) 9 + (−2); (b) −9 + 2; (c) 3 + (−11); (d) −13 + 13; (e) −14 + 30.

▸ Show solution

(a) 9 − 2 = 7, the larger belongs to 9: 7. (b) 9 − 2 = 7, the larger belongs to −9: −7. (c) 11 − 3 = 8, the larger belongs to −11: −8. (d) Opposites: 0. (e) 30 − 14 = 16, the larger belongs to 30: 16.

Exercise .

Add: (a) 175 + (−250); (b) −89 + 312; (c) −1,000 + 1.

▸ Show solution

(a) 250 − 175 = 75, the larger belongs to −250: −75. (b) 312 − 89 = 223 (check: 223 + 89 = 312), the larger belongs to 312: 223. (c) 1,000 − 1 = 999, the larger belongs to −1,000: −999.

Exercise .

Find 8 + (−15) + 4 + (−2).

▸ Show solution

From left to right: 8 + (−15) = −7; −7 + 4 = −3; −3 + (−2) = −5 (same signs: −(3 + 2)). The answer is −5.

Exercise .

A diver is 30 meters below the surface. She rises 12 meters, sinks 5 meters, and then rises 23 meters. Write each position as an integer.

▸ Show solution

The diver starts at −30 meters. Rising 12 meters: −30 + 12 = −18. Sinking 5 meters: −18 + (−5) = −23. Rising 23 meters: −23 + 23 = 0, the surface. The positions are −18 m, −23 m and 0 m.

Exercise .

Find the integer x in each: (a) −8 + x = 0; (b) 15 + x = 0; (c) 0 + x = 0.

▸ Show solution

By Proposition 3, x = −(−8) = 8 for (a), since the only integer that gives 0 with −8 is its opposite. For (b), x = −15. For (c), x = 0.

Checks: −8 + 8 = 0; 15 + (−15) = 0; 0 + 0 = 0.

Exercise .

Prove that when a and b have different signs, a + b lies between them: it is greater than the negative addend and less than the positive one.

▸ Show solution

Let a = n be positive and b = −m negative, m and n counting numbers. If m < n, Theorem 1 gives n − m, and n − m < n because m ≥ 1; also n − m is positive, so it is greater than −m. If m > n, the sum −(m − n) is negative, so less than n; and m − n < m, so −(m − n) > −m by lesson 1.5, Theorem 3 (3). If m = n, the sum 0 lies between −m and n.

The other order, (−m) + n, gives the same values by Theorem 1 (2). So the sum always lies between the two addends.

Summary

  1. With different signs, the walk of a + b heads toward 0: it stops before 0, ends at 0, or passes 0.
  2. n + (−m) = n − m if m ≤ n and −(m − n) if m > n; (−m) + n = −(m − n) if n ≤ m and n − m if n > m.
  3. Rule: subtract the smaller absolute value from the larger, and take the sign of the addend with the larger absolute value.
  4. a + (−a) = 0 = (−a) + a for every integer a, and the opposite is the only integer that adds to a to give 0.
  5. In the counter model, a red and a blue counter form a neutral pair worth 0; the counters left over give the sum.

Sources

  1. 1.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Simplify Expressions with Integers”, Table 3.1), p. 192 (the whole topic: pp. 192–193).
    “When the signs are different, some counters would make neutral pairs; subtract to see how many are left.”
    Used for: when the signs are different, part of the two numbers cancels (neutral pairs), and what is left is found by subtracting.
  2. 2.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Model Addition of Integers”, Example 3.16), p. 189 (the whole topic: pp. 187–192).
    “Notice that there were more negatives than positives, so the result is negative.”
    Used for: when there are more negatives than positives, the result is negative: the sum has the sign of the addend with the larger absolute value (Table 3.1 on p. 192 lists “different signs, more negatives” with “sum negative”).
  3. 3.
    “The Number System, Grade 7”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).
    Section “Apply and extend previous understandings of operations with fractions (CCSS.Math.Content.7.NS.A.1.b)”. thecorestandards.org/Math/Content/7/NS · open at the quoted passage.
    “Show that a number and its opposite have a sum of 0 (are additive inverses).”
    Used for: a number and its opposite have a sum of 0; they are called additive inverses.
  4. 4.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 7, “The Properties of Real Numbers”, section 7.4, “Properties of Identity, Inverses, and Zero” (“Use the Inverse Properties of Addition and Multiplication”), p. 569 (the whole topic: pp. 569–570).
    “The opposite of a number is its additive inverse.”
    Used for: the opposite of a number is its additive inverse (the next sentence: a number and its opposite add to 0).
  5. 5.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.1, “Axioms for Real Numbers” (“The Field Axioms”: inverse law for addition), pp. A-2 (the whole topic: pp. A-1–A-2).
    “For every real number x, there exists a real number −x (called the additive inverse of x) such that x + (−x) = (−x) + x = 0.”
    Used for: for the real numbers, the existence of the additive inverse −x with x + (−x) = (−x) + x = 0 is taken as an axiom.
  6. 6.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter Appendix 1, “Axioms for the Real Numbers and the Positive Integers”, section A1.2, “Using Axioms to Prove Basic Facts” (Theorem 2), pp. A-3 (the whole topic: pp. A-3).
    “The additive inverse of a real number x is unique.”
    Used for: Proposition 3: the additive inverse is unique; textbooks prove it for the real numbers.
  7. 7.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Model Addition of Integers”), p. 187 (the whole topic: pp. 187–192).
    “We let a blue counter represent a positive and a red counter will represent a negative.”
    Used for: in the counter model a blue counter represents a positive and a red counter a negative.
  8. 8.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Model Addition of Integers”), p. 187 (the whole topic: pp. 187–192).
    “If we have one positive and one negative counter, the value of the pair is zero. They form a neutral pair.”
    Used for: one positive and one negative counter together are worth zero: a neutral pair.
  9. 9.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Model Addition of Integers”, Example 3.16), p. 189 (the whole topic: pp. 187–192).
    “The sum of −5 and 3 is −2.”
    Used for: the sum of −5 and 3 is −2.
  10. 10.
    “The Number System, Grade 7”, Common Core State Standards Initiative (National Governors Association and Council of Chief State School Officers).
    Section “Apply and extend previous understandings of operations with fractions (CCSS.Math.Content.7.NS.A.1.a)”. thecorestandards.org/Math/Content/7/NS · open at the quoted passage.
    “Describe situations in which opposite quantities combine to make 0.”
    Used for: opposite quantities that combine to make 0 appear in many situations.
  11. 11.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Simplify Expressions with Integers”), p. 193 (the whole topic: pp. 193).
    “The techniques we have used up to now extend to more complicated expressions. Remember to follow the order of operations.”
    Used for: longer expressions with integers follow the order of operations.
  12. 12.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 3, “Integers”, section 3.2, “Add Integers” (“Add Integers in Applications”), p. 197 (the whole topic: pp. 197–198).
    “Recall that we were introduced to some situations in everyday life that use positive and negative numbers, such as temperatures, banking, and sports.”
    Used for: banking is one of the everyday situations that use positive and negative numbers.