See How Things Work

What subtraction means: taking away and finding the difference

Unit
Subtraction
Part
1. Subtraction
Lesson
1.1

Subtraction answers two questions: how many members are left when some are taken away from a collection, and how many more members one collection has than another. This lesson defines subtraction of whole numbers by taking away, proves that the answer never depends on which members are taken, and shows that comparing two collections gives the same number.

Taking away

The unit Addition answered the question “how many members does a collection have when two collections are put together?” If the two collections are disjoint, with no member in common, the sum a + b is the number of members of their joined collection (Addition 1.1).⁠[1] Subtraction answers the opposite question. A collection loses some of its members: how many are left?

The numbers in this unit are the whole numbers 0, 1, 2, 3, …: zero and the counting numbers.⁠[2][3] They are the numbers of members of the collections that can be counted to the end, as in the unit Counting (lesson 1.4); lesson 1.5 of that unit explains why some books call the same numbers the natural numbers.

Definition (Part, taking away).

A collection B is a part of a collection A if every member of B is a member of A. Taking B away from A leaves the members of A that are not members of B. They form a collection, the collection left.

Looking ahead.

In the language of sets, the collection left is the difference of the sets A and B, written A − B: the set of the elements that are in A but not in B.⁠[4] Sets are studied in the unit Sets; this lesson needs only collections.

Before members can be taken away, there must be enough of them. The comparison of collections in the unit Counting (lesson 1.2) says exactly when that is so; m ≤ n means that m is less than or equal to n (lesson 1.4).

Proposition .

A collection with a members has a part with b members exactly when b ≤ a.

Proof.

Let A have a members, and let B be a part of A with b members. If B contains every member of A, then B is A and b = a. Otherwise some member of A is not in B, and a part of a collection that leaves out at least one member has fewer members than the whole (Counting 1.2, Proposition on “more” and “fewer”, part 3). So b < a. In both cases b ≤ a.

Conversely, let b ≤ a, and let A have a members. If b = a, the whole of A is a part of A with b members. If b < a, take a collection C with b members. It has fewer members than A, so a finished matching of C with A pairs every member of C and leaves members of A over. The members of A that are paired form a part of A, matched one to one with C, so this part has b members.

A collection can lose different members: from nine books on a shelf, any four can be borrowed. The next theorem shows that the number left is the same whichever members are taken away. Its proof uses counting with the numbers 1, 2, 3, … in order, and the theorem of the unit Counting (lesson 1.1) that every correct count of a collection ends with the same number.

Theorem .

Let A be a collection with a members, and let B be a part of A with b members. When B is taken away, the members left can be matched one to one with the numbers that come after b, up to and including a. Consequently, the number of members left depends only on a and b: not on which collection A is, and not on which part B is taken away.

Proof.

Count A in a particular order: first the members of B, which receive the numbers 1, 2, …, b; then the members left, which receive the numbers that come after b, one each, in order. Every member of A receives exactly one number, and the numbers used are all the numbers from 1 on, with none skipped. So this is a correct count of A, and by the theorem of Counting 1.1 it ends with a.

So the members left received exactly the numbers after b up to and including a, one each: they are matched one to one with that list of numbers. The list depends only on a and b. If another part B′ with b members, of the same A or of another collection with a members, is taken away, the members left are matched one to one with the same list, so the two collections left have the same number of members (Counting 1.1, Proposition, parts 2 and 3).

If b = a, no number comes after b up to a, so no member is left. If b = 0, the part B is empty and the members left receive all the numbers from 1 to a.

123456789
Figure. 4 of 9 circles are taken away (crossed out). Counting the taken circles first gives them the numbers 1 to 4; the circles left receive the numbers after 4 up to 9. They are 5, so 9 − 4 = 5.
Definition (Subtraction).

Let a and b be whole numbers with b ≤ a. Then a − b is the number of members left when b members are taken away from a collection with a members.⁠[5][6] Finding a − b is called subtracting b from a,⁠[7] and the operation is called subtraction.⁠[5]

The Proposition guarantees that b members can be taken away, and the Theorem that the answer is the same however it is done, so the definition gives one number for each pair a, b with b ≤ a. The proof also gives a way to find it without taking anything away:

Corollary .

For b ≤ a, the number a − b is the number of whole numbers that come after b, up to and including a.

Finding a − b in this way, by counting the numbers from just after b up to a, is called counting on from the smaller number, b.⁠[8] It is the counting on of sums in Addition 1.1, used the other way round. There the count starts just after a and runs for b numbers, and the answer is where it stops; here it starts just after b and stops at a, and the answer is how many numbers were said. Two cases follow at once from the definition. Taking nothing away leaves every member, so a − 0 = a. Taking every member away leaves an empty collection, which has 0 members (Counting 1.3), so a − a = 0.

Example (Books on a shelf).

A shelf holds 9 books. 4 are borrowed. How many books are left on the shelf?

  1. The 4 borrowed books are a part of the 9 books, and 4 ≤ 9, so the question has an answer.
  2. The number left is 9 − 4, by the definition.
  3. By the Corollary, count the numbers after 4 up to and including 9: 5, 6, 7, 8, 9. There are five of them.
  4. Check with the books themselves: number the borrowed books 1 to 4 and the others 5 to 9, as in the figure above. The books left carry five numbers.

Answer: 9 − 4 = 5. Five books are left, whichever four were borrowed.

Example (Taking nothing away, and taking everything away).

Find 6 − 0 and 6 − 6.

  1. 6 − 0: a part with 0 members is empty, so nothing is taken away from the 6 members and all 6 are left.
  2. By the Corollary: the numbers after 0 up to 6 are 1, 2, 3, 4, 5, 6, six numbers.
  3. 6 − 6: the part taken away is the whole collection, so no member is left; the collection left is empty.
  4. By the Corollary: no number comes after 6 and is at most 6, so the count is 0.

Answer: 6 − 0 = 6 and 6 − 6 = 0. Both are allowed, because 0 ≤ 6 and 6 ≤ 6.

Example (Counting on with larger numbers).

A theater has 32 seats in a row, and 25 of them are taken. How many seats in the row are free?

  1. The taken seats are a part of the 32 seats; the free seats are what is left. Their number is 32 − 25.
  2. Count on from 25 up to 32: 26, 27, 28, 29, 30, 31, 32.
  3. That list has seven numbers.

Answer: 32 − 25 = 7 free seats.

Game

Take some away

Round
1
Score
0
Streak
0

Take away 6 of these 10 diamonds: tap 6 of them. Then say how many are left.

Taken away: 0 of 6

Notation and names

The sign − is the minus sign, the sign for subtraction.⁠[9] The expression 9 − 4 is read “nine minus four”.⁠[10] The three numbers have names:

  • the number subtracted from, a in a − b, is the minuend;⁠[11]
  • the number subtracted, b, is the subtrahend;⁠[12]
  • the result, a − b, is the difference of a and b.⁠[13]

In 9 − 4 = 5, the minuend is 9, the subtrahend is 4, and the difference is 5. The equation says that 9 − 4 and 5 are the same number.

Caution.

The order of the numbers in words and in symbols can differ. “Subtract 4 from 9” names the subtrahend first, but it means 9 − 4: the second number is the one taken away from.⁠[7] In symbols the minuend is always written first. “The difference of 9 and 4” keeps the order of the phrase: 9 − 4.⁠[14]

Example (A mistake with the order).

The instruction is “subtract 8 from 15”. Someone writes 8 − 15. What is wrong, and what is the answer?

  1. “Subtract 8 from 15” means: start with 15 and take 8 away. The minuend is 15 and the subtrahend is 8.
  2. So the expression is 15 − 8, not 8 − 15.
  3. 8 − 15 would mean taking 15 members away from a collection of 8. By the Proposition, a collection of 8 has no part with 15 members, so 8 − 15 is not a whole number at all.
  4. Count on from 8 up to 15: 9, 10, 11, 12, 13, 14, 15. That is seven numbers.

Answer: the expression is 15 − 8, and 15 − 8 = 7.

Historical note.

The earliest printed arithmetic that contains the signs plus (+) and minus (−) is Johann Widman’s commercial arithmetic, published in German in 1489.⁠[15][16] The story of the two signs is told in the lesson “The plus and minus signs” of the History of Notation.

Finding the difference

Subtraction also answers a question in which nothing is taken away. The unit Counting (lesson 1.2) compared two collections by matching their members until no more pairs could be made. When one collection has more members, the members left over show how many more it has, and every finished matching leaves the same number of them. The next theorem shows that this number is a difference.

Theorem .

Let A have a members and B have b members, with b ≤ a. Then every finished matching of A with B leaves exactly a − b members of A over, and no member of B. In other words, A has a − b more members than B, and B has a − b fewer members than A.

Proof.

Take a finished matching of A with B. Members of B cannot be left over: then B would have more members than A, and b ≤ a says it does not (Counting 1.4, trichotomy). So every member of B is paired.

The members of A that are paired form a part P of A, and the matching pairs P one to one with B, so P has b members. The members of A left over are exactly the members of A that are not in P: the collection left when P is taken away from A. By the definition of subtraction there are a − b of them. If b = a, this number is 0: nothing is left over and A and B have the same number of members.

Figure. 11 circles and 7 squares, matched until no more pairs can be made. The 7 circles with a partner are a part of the circles with 7 members; the 4 circles left over (outlined) are what is left when that part is taken away. So the circles are 11 − 7 = 4 more than the squares.

So the two questions, “how many are left?” and “how many more?”, are answered by the same operation. In everyday language too, the difference between two amounts is the amount by which one differs from the other.⁠[17] In a comparison both collections stay as they are: the subtraction is calculated, not carried out on the objects.

Example (Cups and saucers).

A table has 11 cups and 7 saucers. How many more cups are there than saucers?

  1. 7 ≤ 11, so by the Theorem there are 11 − 7 more cups, and any finished matching shows them, as in the figure.
  2. Count on from 7 up to 11: 8, 9, 10, 11. That is four numbers.

Answer: 11 − 7 = 4. There are 4 more cups than saucers, and 4 fewer saucers than cups.

Example (Comparing two ages).

One person is 41 years old and another is 29. How many years older is the first?

  1. The question is how much greater 41 is than 29: 41 − 29.
  2. Count on from 29 up to 41. The numbers 30, 31, …, 39 are ten numbers.
  3. Then 40 and 41 are two more numbers. In all, 10 + 2 = 12 numbers.

Answer: 41 − 29 = 12. The first person is 12 years older.

Example (A mistake: counting the pairs).

Eleven cups are matched with seven saucers. Someone counts the pairs, finds 7, and says that there are 7 more cups than saucers. Find the mistake.

  1. The 7 pairs show only that 7 cups have a saucer: the matched part of the cups has as many members as the saucers.
  2. How many more cups there are is the number of cups left over after matching, not the number of pairs.
  3. By the Theorem, the cups left over are 11 − 7 = 4.

Answer: there are 4 more cups, not 7. The number of pairs is the smaller number, 7, which is the subtrahend.

Game

Which subtraction?

Round
1
Score
0
Streak
0

A box holds 13 marbles. 5 are taken out. How many marbles are still in the box?

Which calculation answers the question?

13

Taking away more than there is

The definition of a − b requires b ≤ a. If b > a, a collection with a members has no part with b members, by the Proposition: five apples cannot be taken from a basket that holds three. So 3 − 5 is not given any value by the definition, and no whole number is 3 − 5. In this sense subtraction cannot always be done among the whole numbers, unlike addition.⁠[18] Lesson 1.4, “Subtraction within the whole numbers: when it is defined”, studies this question in full.

Caution.

This is a fact about the whole numbers, not about mathematics in general. 3 − 5 does not mean 5 − 3, and it is not 0. The unit Integers adds numbers below zero, and there 3 − 5 has a value.

Looking ahead.

The next lessons look at subtraction in two more ways: as the operation that undoes addition (lesson 1.2), and as movement and distance on the number line (lesson 1.3).

Exercises

Exercise .

Find 12 − 5 by counting on.

▸ Show solution

5 ≤ 12, so 12 − 5 is defined. Count on from 5 up to 12: 6, 7, 8, 9, 10, 11, 12. That is seven numbers, so 12 − 5 = 7.

Exercise .

Name the minuend, the subtrahend and the difference in 40 − 15 = 25, and read the equation aloud.

▸ Show solution

In 40 − 15 = 25, the minuend is 40, the subtrahend is 15 and the difference is 25. It is read “forty minus fifteen equals twenty-five”.

Exercise .

Write each phrase as a subtraction and find its value, if it has one: (a) subtract 9 from 20; (b) the difference of 20 and 9; (c) subtract 20 from 9.

▸ Show solution

(a) “Subtract 9 from 20” means take 9 away from 20: 20 − 9. Count on from 9 up to 20: 10, 11, …, 19 are ten numbers and 20 is one more, so 20 − 9 = 11.

(b) “The difference of 20 and 9” keeps the order of the phrase: 20 − 9 = 11 again.

(c) “Subtract 20 from 9” would be 9 − 20, which asks to take 20 members away from 9. Since 20 > 9, there is no whole number 9 − 20.

Exercise .

A room has 23 chairs and 17 students. How many more chairs are there than students? Explain why this is a subtraction.

▸ Show solution

There are 23 chairs and 17 students, and 17 ≤ 23, so by the Theorem of “Finding the difference” there are 23 − 17 more chairs than students.

Count on from 17 up to 23: 18, 19, 20, 21, 22, 23. That is six numbers, so there are 6 more chairs than students.

Exercise .

Prove that a − b = 0 exactly when a = b.

▸ Show solution

Let A have a members. If a − b = 0, then taking away a part B with b members leaves no member, so every member of A is in B. B is a part of A, so every member of B is in A. So B is A, and b = a.

Conversely, if b = a, then a − a = 0, as shown in the lesson. So a − b = 0 exactly when a = b.

Exercise .

Let b ≤ a. Prove that a − b ≤ a, and that a − b = a exactly when b = 0.

▸ Show solution

Let A have a members and take away a part B with b members. The collection left is a part of A, so by the first Proposition of the lesson its number, a − b, satisfies a − b ≤ a.

If b = 0, nothing is taken away and a − 0 = a. If b ≥ 1, B has at least one member, and that member is not in the collection left. A part that leaves out at least one member has fewer members than the whole (Counting 1.2), so a − b < a. So a − b = a exactly when b = 0.

Exercise .

From a collection of a members, b members are taken away, and then c more members are taken away from what is left. Explain why the number left at the end is a − (b + c). Check with a = 20, b = 5, c = 3.

▸ Show solution

Let A have a members, and take away first a part B with b members and then, from what is left, a part C with c members. The members of B and of C together form a part of A with no member in both, so by the definition of addition it has b + c members.

What is left at the end is what is left when that part is taken away from A at once, so (a − b) − c = a − (b + c). For example, (20 − 5) − 3 = 15 − 3 = 12 and 20 − 8 = 12.

Summary

  1. For whole numbers with b ≤ a, a − b is the number of members left when b members are taken away from a collection with a members.
  2. The number left does not depend on which collection or which members are taken: the members left match the numbers after b up to a. So a − b can be found by counting on from b up to a.
  3. a − 0 = a and a − a = 0. In a − b = c, a is the minuend, b the subtrahend and c the difference; “subtract b from a” means a − b.
  4. If A has a members and B has b members, with b ≤ a, A has a − b more members than B: taking away and comparing give the same number.
  5. If b > a, no part with b members exists, and a − b is not a whole number.

Sources

  1. 1.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 6, “Counting”, section 6.1, “The Basics of Counting” (6.1.2, “Basic Counting Principles”), p. 410 (the whole topic: pp. 407–411).
    “The sum rule can be phrased in terms of sets as: If A1, A2, … , Am are pairwise disjoint finite sets, then the number of elements in the union of these sets is the sum of the numbers of elements in the sets.”
    Used for: putting together two collections with no member in common gives a collection whose number of members is the sum of their numbers.
  2. 2.
    John H. Conway and Richard K. Guy, The Book of Numbers (Copernicus (Springer), 1996).
    Chapter 1, “The Romance of Numbers”, section “Kinds of Numbers”, p. 25 (the whole topic: pp. 22–25).
    “These are generalizations of the ordinary whole numbers, 0, 1, 2, 3, . . . .”
    Used for: the whole numbers are 0, 1, 2, 3, …: zero and the counting numbers.
  3. 3.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.1, “Introduction to Whole Numbers” (“Use Place Value with Whole Numbers”), p. 8 (the whole topic: pp. 7–8).
    “Including zero with the counting numbers gives a new set of numbers called the whole numbers.”
    Used for: the whole numbers are zero and the counting numbers.
  4. 4.
    Kenneth H. Rosen, Discrete Mathematics and Its Applications (8th ed., McGraw-Hill, 2019).
    Chapter 2, “Basic Structures: Sets, Functions, Sequences, Sums, and Matrices”, section 2.2, “Set Operations” (2.2.1, “Introduction”), p. 135 (the whole topic: pp. 133–136).
    “The difference of A and B, denoted by A − B, is the set containing those elements that are in A but not in B.”
    Used for: in the language of sets, the collection left is the difference A − B, the set of the elements in A but not in B.
  5. 5.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “Subtraction is the process of determining the remainder when part of the total is removed.”
    Used for: the definition of a − b as the number of members left when b members are taken away from a collection with a members.
  6. 6.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.3, “Subtract Whole Numbers” (“Use Subtraction Notation”), p. 38 (the whole topic: pp. 38–41).
    “When we subtract, we take one number away from another to find the difference.”
    Used for: subtracting b from a is taking b away from a; its result is the difference.
  7. 7.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “For example, 11 − 4 indicates that 4 is to be subtracted from 11.”
    Used for: finding a − b is called subtracting b from a; “subtract 4 from 9” names the subtrahend first but means 9 − 4.
  8. 8.
    Illustrative Mathematics, “Unit 4, Lesson 9, “The Difference Between Numbers””, IM K–5 Math, Illustrative Mathematics and Kendall Hunt (CC BY 4.0) (2021).
    “These equations were chosen to encourage students to show their understanding of subtraction as an unknown addend problem and express strategies based on counting on from the smaller number.”
    Used for: finding a − b by counting the numbers from just after the smaller number b up to a is called counting on.
  9. 9.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “The minus symbol (-) is used to indicate subtraction.”
    Used for: the sign − is the minus sign, the sign for subtraction.
  10. 10.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.3, “Subtract Whole Numbers” (“Use Subtraction Notation”, Example 1.26), p. 39 (the whole topic: pp. 38–39).
    “We read this as eight minus one. The result is the difference of eight and one.”
    Used for: an expression such as 9 − 4 is read “nine minus four”.
  11. 11.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “is called the minuend, and it represents the original number of units”
    Used for: the number subtracted from, a in a − b (the original number of members), is called the minuend.
  12. 12.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “The number immediately following or below the minus symbol is called the subtrahend, and it represents the number of units to be removed.”
    Used for: the number subtracted, b in a − b, is called the subtrahend.
  13. 13.
    Denny Burzynski and Wade Ellis, “Fundamentals of Mathematics, 1.5 “Subtraction of Whole Numbers””, Mathematics LibreTexts (from OpenStax CNX, CC BY).
    “The result of the subtraction is called the difference of the two numbers.”
    Used for: the result a − b is called the difference of a and b.
  14. 14.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.3, “Subtract Whole Numbers” (“Translate Word Phrases to Math Notation”, Example 1.36), p. 47 (the whole topic: pp. 46–47).
    “The word difference tells us to subtract the two numbers. The numbers stay in the same order as in the phrase.”
    Used for: “the difference of 9 and 4” keeps the order of the phrase: 9 − 4.
  15. 15.
    Florian Cajori, A History of Mathematical Notations (two volumes bound as one, Dover (first published by Open Court, 1928–1929), 1993).
    Vol. I, Chapter III, “Symbols in Arithmetic and Algebra (Elementary Part)”, section §146, “German: Iohann Widman (1489, 1526)”, p. 128 (the whole topic: pp. 128–129).
    “is the earliest printed arithmetic which contains the signs plus (+) and minus (−)”
    Used for: Widman’s commercial arithmetic is the earliest printed arithmetic that contains the signs + and −.
  16. 16.
    J. J. O’Connor and E. F. Robertson, “Johannes Widman”, MacTutor History of Mathematics Archive, University of St Andrews.
    “published in German in 1489, that Widman is best remembered. This book has become famous since it contains the first appearance of + and – signs for addition and subtraction.”
    Used for: Widman’s arithmetic, published in German in 1489, contains the first appearance of the signs + and −.
  17. 17.
    “difference”, Cambridge Dictionary, Cambridge University Press.
    “the amount by which one thing is different from another”
    Used for: in everyday language, the difference between two amounts is the amount by which one differs from the other.
  18. 18.
    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”, p. 19 (the whole topic: pp. 19–20).
    “Subtraction cannot be done without restriction in the domain of the natural numbers.”
    Used for: subtraction cannot always be done among the whole numbers (the natural numbers 0, 1, 2, …), unlike addition.