For integers, subtracting a number means adding its opposite: a − b = a + (−b). This lesson takes that as the definition of subtraction, proves that it gives the same answers as the subtraction of whole numbers wherever that was defined, and shows how to subtract a negative number and how to subtract on the number line.
One definition for all integers
This lesson relies on subtraction of whole numbers (Subtraction, lesson 1.1, lesson 1.2 and lesson 1.3), on opposites (lesson 1.3) and on the addition of integers (lesson 2.1 and lesson 2.2).
Among the whole numbers, a − b has a value only when b ≤ a (Subtraction 1.4), so 3 − 5 has none. Lesson 1.1 showed on a thermometer that 3 − 5 ought to be −2: a fall of 5 degrees from 3 °C ends at −2 °C. The addition of integers turns that picture into a definition.
For integers a and b, the difference a − b, read “a minus b”, is the sum of a and the opposite of b:
a − b = a + (−b).
This is how textbooks define subtraction once every number has an opposite[1]
The right side always has a value: every integer b has an opposite −b (lesson 1.3), and every two integers have a sum (lesson 2.1). So a − b is now an integer for every two integers a and b, and 3 − 5 = 3 + (−5) = −2, as the thermometer suggested. The word “difference” keeps its meaning: it indicates subtraction.[5]
Find 3 − 5 and 0 − 6.
- 3 − 5 = 3 + (−5). Different signs: 5 − 3 = 2, and the larger absolute value belongs to −5, so the sum is −2.
- 0 − 6 = 0 + (−6) = −6: starting at the origin, the walk of 0 + (−6) ends at the point of −6.
Answer: 3 − 5 = −2 and 0 − 6 = −6. In general 0 − b = −b: subtracting from 0 gives the opposite.
Nothing changes for whole numbers
A new definition of a − b must not change the differences that were already known. For whole numbers with b ≤ a, Subtraction 1.1 defined a − b as what is left when b are taken away from a. The next theorem shows that a + (−b) is the same number.
Let a and b be whole numbers with b ≤ a. Then a + (−b) is the whole-number difference a − b of Subtraction 1.1.
If b = 0, then −b = 0 and a + 0 = a, which is also the whole-number difference a − 0. If b is a counting number, then a + (−b) takes b unit steps to the left from the point of a. Since b ≤ a, these steps stay on the line of the whole numbers, and by Theorem 1 of Subtraction 1.3 they end at the point of the whole-number difference a − b. (This is also Theorem 1 (1) of lesson 2.2, with n = a and m = b.)
So for a problem with only whole numbers, as long as the number subtracted is not the larger, the subtraction is done as before; adding the opposite gives the same answer.[6] A textbook gives the example that subtracting 8 from 13 is the same as adding −8 to 13.[7]
If a and b are whole numbers with a < b, then a − b = −(b − a).
If a = 0, then a − b = 0 + (−b) = −b = −(b − 0). If a is a counting number, a − b = a + (−b), and by Theorem 1 (1) of lesson 2.2, with n = a and m = b > a, the sum is −(b − a).
This agrees with Proposition 2 of lesson 1.1: a reading of a degrees that falls by b degrees, with b > a, ends at −(b − a).
Find 16 − 7 as a whole-number difference and as 16 + (−7).
- As whole numbers: 9 + 7 = 16, so 16 − 7 = 9 (Subtraction 1.2).
- As a sum: 16 + (−7). Different signs; 16 − 7 = 9; the larger absolute value belongs to 16, so the sum is 9.
Answer: 9 both times, as Theorem 1 guarantees.
Find 4 − 9 and 25 − 40.
- By the Corollary, 4 − 9 = −(9 − 4) = −5.
- 25 − 40 = −(40 − 25) = −15.
- Check the first by the definition: 4 + (−9) has different signs, 9 − 4 = 5, and the larger absolute value belongs to −9: −5.
Answer: 4 − 9 = −5 and 25 − 40 = −15.
Subtracting a negative number
For all integers a and b, a − (−b) = a + b.
By the definition, a − (−b) = a + (−(−b)), the sum of a and the opposite of −b. By Theorem 2 of lesson 1.3, −(−b) = b. So a − (−b) = a + b.
Subtracting a negative number is like adding a positive one.[8] The same textbook’s examples: subtracting −15 from 9 is the same as adding 15 to 9,[9] and subtracting −4 from −7 is the same as adding 4 to −7.[10]
Find 6 − (−11) and −10 − (−3).
- 6 − (−11) = 6 + 11 = 17, by Theorem 2.
- −10 − (−3) = −10 + 3. Different signs; 10 − 3 = 7; the larger absolute value belongs to −10, so the sum is −7.
Answer: 6 − (−11) = 17 and −10 − (−3) = −7.
Someone works out 2 − (−7) as −5, “because 2 − 7 = −5”. What is wrong?
- The number subtracted is −7, not 7. Its opposite is 7.
- By the definition, 2 − (−7) = 2 + 7 = 9.
- The answer −5 is 2 − 7 = 2 + (−7): it subtracts 7 instead of −7.
Answer: 2 − (−7) = 9, read “two minus negative seven”.
For every integer a: a − 0 = a, 0 − a = −a, and a − a = 0.
a − 0 = a + (−0) = a + 0 = a. 0 − a = 0 + (−a) = −a, because a walk from the origin ends at the point of the second addend (lesson 2.1). And a − a = a + (−a) = 0 by Theorem 2 of lesson 2.2.
Find −12 − 0, 0 − (−12) and −12 − (−12).
- −12 − 0 = −12, by Proposition 3.
- 0 − (−12) = −(−12) = 12: subtracting from 0 gives the opposite.
- −12 − (−12) = 0: a number minus itself is 0. By Theorem 2 it is also −12 + 12, and the two opposites add to 0.
Answer: −12, 12 and 0.
Subtraction on the number line
Subtraction is represented on the number line as well as addition.[11]
For all integers a and b, the point of a − b is reached from the point of a by |b| unit steps in the direction opposite to the sign of b: to the left if b is positive, to the right if b is negative. If b = 0, no step is taken.
a − b = a + (−b), so by the definition of the sum the walk takes |−b| steps, to the right if −b is positive and to the left if −b is negative. By lesson 1.4, Proposition 2, |−b| = |b|. By lesson 1.3, Proposition 3, −b is positive exactly when b is negative, and negative exactly when b is positive.
(a) 5 − 3 = 5 + (−3): 3 steps to the left
(b) 2 − (−3) = 2 + 3: 3 steps to the right
Find −2 − 4 and −2 − (−4) on the line.
- −2 − 4: 4 is positive, so take 4 steps to the left from −2. They end at −3, −4, −5, −6.
- −2 − (−4): −4 is negative, so take 4 steps to the right from −2. They end at −1, 0, 1, 2.
- Check with the definition: −2 + (−4) = −6 (same signs) and −2 + 4 = 2 (different signs).
Answer: −2 − 4 = −6 and −2 − (−4) = 2.
Subtracting does not always give a smaller number. By Theorem 4 of lesson 2.1, a − b = a + (−b) is less than a when b is positive, but greater than a when b is negative: 5 − (−3) = 8, and 8 > 5. Only subtracting a positive number makes a number smaller.
Expressions and situations
In an expression with several subtractions, the order of operations applies: parentheses first, then subtraction from left to right.[12] Additions and subtractions with no parentheses are done from left to right (Order of Operations, lesson 1.3).
Find −3 − 4 − (−10).
- From left to right: −3 − 4 = −3 + (−4) = −7 (same signs).
- Then −7 − (−10) = −7 + 10 = 3 (different signs; 10 − 7 = 3; the larger absolute value belongs to 10).
Answer: −3 − 4 − (−10) = 3.
At noon the temperature was 5 °C, and at night it was −3 °C. What is the difference between the noon and night temperatures?
- The word “difference” indicates subtraction, in the order given: 5 − (−3).
- 5 − (−3) = 5 + 3 = 8, by Theorem 2.
- Check by walking down the scale from 5: 5 steps reach 0 and 3 more reach −3, 8 steps in all.
Answer: the difference is 8 degrees.
Lesson 1.4 could not yet evaluate |3 − 8|. Evaluate it now, and also |8 − 3|.
- Inside the bars first: 3 − 8 = −(8 − 3) = −5, by the Corollary. Then |−5| = 5.
- 8 − 3 = 5, and |5| = 5.
Answer: |3 − 8| = |8 − 3| = 5, the number of unit steps between the points of 3 and 8.
Add the opposite
- Round
- 1
- Score
- 0
- Streak
- 0
Step 1. Which addition has the same value?
−13 − (−10)
Defined this way, subtraction has a value for every two integers. The next lesson, Subtraction is now always possible, proves that it still undoes addition: (a − b) + b = a for all integers. The lesson Properties of integer addition proves the rules for reordering and regrouping sums, and the part “Multiplying & Dividing Integers”, starting with Multiplying a negative by a positive, extends multiplication to the integers.
Exercises
Rewrite each difference as a sum and find it: (a) 7 − 12; (b) −7 − 12; (c) 7 − (−12); (d) −7 − (−12); (e) 0 − 12.
▸ Show solution
(a) 7 + (−12) = −5. (b) −7 + (−12) = −19. (c) 7 + 12 = 19. (d) −7 + 12 = 5. (e) 0 + (−12) = −12.
Find: (a) 40 − 25; (b) 25 − 40; (c) −25 − 40; (d) −25 − (−40); (e) 40 − (−25).
▸ Show solution
(a) 40 − 25 = 15, a whole-number difference with 25 ≤ 40. (b) By the Corollary, 25 − 40 = −15. (c) −25 − 40 = −25 + (−40) = −65. (d) −25 − (−40) = −25 + 40 = 15. (e) 40 − (−25) = 65.
Evaluate 6 − (−2) − 15 − (−7).
▸ Show solution
From left to right: 6 − (−2) = 8; 8 − 15 = −7; −7 − (−7) = 0. The value is 0.
A morning reading was −11 °C and the afternoon reading was 1 °C. What is the difference between the afternoon and morning readings?
▸ Show solution
The difference is 1 − (−11) = 1 + 11 = 12 degrees. Check: from −11 up to 1 is 11 steps to 0 and 1 more, 12 steps.
For whole numbers a and b with b ≤ a, prove that b − a is the opposite of a − b. Check the same pattern on 9 and 4, and on −3 and 2.
▸ Show solution
If b = a, then a − b = 0 and b − a = 0 (Proposition 3), and 0 is its own opposite. If b < a, then a − b is the whole-number difference (Theorem 1), and by the Corollary, applied to the whole numbers b < a, b − a = −(a − b): the opposite of a − b.
Examples: 9 − 4 = 5 and 4 − 9 = −5. The pattern also holds for other integers: −3 − 2 = −5 and 2 − (−3) = 5.
For which integers b is a − b less than a? Prove your answer.
▸ Show solution
a − b = a + (−b). If b is positive, −b is negative and a + (−b) < a by Theorem 4 of lesson 2.1. If b = 0, a − b = a. If b is negative, −b is positive and a − b > a.
So a − b < a exactly when b is positive. For example, 3 − 5 = −2 < 3, but 3 − (−5) = 8 > 3.
Summary
- For integers, a − b = a + (−b): subtracting a number is adding its opposite. Every difference of two integers has a value.
- For whole numbers with b ≤ a this gives the old difference; for a < b it gives −(b − a), so 3 − 5 = −2.
- Subtracting a negative number adds its opposite: a − (−b) = a + b, so 2 − (−7) = 9.
- a − 0 = a, 0 − a = −a and a − a = 0.
- On the line, a − b is |b| steps from a, in the direction opposite to the sign of b.
- Subtracting a negative number gives a greater number; only subtracting a positive number gives a smaller one.
Sources
- 1.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 Exercises (before exercise 8), pp. A-6 (the whole topic: pp. A-1–A-6).
“Define the difference x − y of real numbers x and y by x − y = x + (−y), where −y is the additive inverse of y”
Used for: the definition a − b = a + (−b), given in a textbook for the real numbers, which include the integers. - 2.H.-D. Ebbinghaus et al., Numbers (trans. H. L. S. Orde, Springer (Graduate Texts in Mathematics 123), 1991).Chapter 1, “Natural Numbers, Integers, and Rational Numbers” (K. Mainzer), section §3, “The Integers”, 1, “The Additive Group ℤ”, p. 20 (the whole topic: pp. 19–21).
“Subtraction in ℤ is defined by α − β := α + (−β).”
Used for: subtraction of integers is defined as adding the inverse (the opposite): a − b = a + (−b). - 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.c)”. thecorestandards.org/Math/Content/7/NS · open at the quoted passage.
“Understand subtraction of rational numbers as adding the additive inverse”
Used for: subtraction is understood as adding the additive inverse (the standard goes on: p − q = p + (−q)). - 4.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”), p. 208 (the whole topic: pp. 207–211).
“Have you noticed that subtraction of signed numbers can be done by adding the opposite?”
Used for: subtracting a number is adding its opposite (the book calls this the Subtraction Property). - 5.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Subtract Integers in Applications”, Example 3.44), p. 214 (the whole topic: pp. 214–215).
“The word difference indicates subtraction.”
Used for: the word “difference” indicates subtraction. - 6.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”), p. 208 (the whole topic: pp. 207–211).
“Of course, when we have a subtraction problem that has only positive numbers, like the first example, we just do the subtraction.”
Used for: for a problem with only whole numbers (the book’s example has the larger number first), the subtraction is done as before; adding the opposite gives the same answer. - 7.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”, Example 3.36), p. 208 (the whole topic: pp. 207–211).
“Subtracting 8 from 13 is the same as adding −8 to 13.”
Used for: a textbook’s example, quoted as such in the lesson: subtracting 8 from 13 is the same as adding −8 to 13. - 8.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”), p. 209 (the whole topic: pp. 207–211).
“Subtracting a negative number is like adding a positive.”
Used for: subtracting a negative number is like adding a positive one. - 9.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”, Example 3.37), p. 209 (the whole topic: pp. 207–211).
“Subtracting −15 from 9 is the same as adding 15 to 9.”
Used for: the same textbook’s example, quoted as such: subtracting −15 from 9 is the same as adding 15 to 9. - 10.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”, Example 3.37), p. 210 (the whole topic: pp. 207–211).
“Subtracting −4 from −7 is the same as adding 4 to −7”
Used for: the same textbook’s second example, quoted as such: subtracting −4 from −7 is the same as adding 4 to −7. - 11.“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)”. thecorestandards.org/Math/Content/7/NS · open at the quoted passage.
“represent addition and subtraction on a horizontal or vertical number line diagram.”
Used for: subtraction, like addition, is represented on the number line. - 12.Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).Chapter 3, “Integers”, section 3.3, “Subtract Integers” (“Simplify Expressions with Integers”, Example 3.39), p. 211 (the whole topic: pp. 207–211).
“We use the order of operations to simplify this expression, performing operations inside the parentheses first. Then we subtract from left to right.”
Used for: in an expression with several subtractions, the order of operations applies: parentheses first, then subtraction from left to right.