See How Things Work

Why division by zero is undefined

Unit
Division
Part
1. Division
Lesson
1.3

Zero can be divided, but nothing can be divided by zero. This lesson proves both facts from the definition of division: 6 ÷ 0 has no possible value, 0 ÷ 0 has too many, and no choice of value could repair either without breaking the rules of arithmetic, while 0 ÷ 6 is simply 0.

The question division asks

In the lesson “Division as the inverse of multiplication”, a ÷ b was defined as the whole number q such that q × b = a. So every division asks a question about multiplication:

a ÷ b = ? means ? × b = a.

That definition required b ≠ 0. This lesson shows why the requirement is there. The answer rests on one fact from the lesson “Multiplying by 0 and by 1”: any whole number multiplied by 0 gives 0, that is, q × 0 = 0 for every whole number q. This is the multiplication property of zero.⁠[1]

qq × 0equal to 6?equal to 0?
00 × 0 = 0no ✗yes ✓
11 × 0 = 0no ✗yes ✓
22 × 0 = 0no ✗yes ✓
33 × 0 = 0no ✗yes ✓
44 × 0 = 0no ✗yes ✓
55 × 0 = 0no ✗yes ✓
66 × 0 = 0no ✗yes ✓
…………
Table. Every product with the factor 0 is 0. So no candidate q passes the test q × 0 = 6, and every candidate passes the test q × 0 = 0.

Three cases involve a zero: zero divided by a nonzero number, a nonzero number divided by zero, and zero divided by zero. They turn out very differently.

Dividing zero

When the dividend is 0 and the divisor is not, the question is “? × b = 0” with b ≠ 0. The number 0 answers it, since 0 × b = 0. No other number does: if q ≥ 1, then q × b is at least b, which is at least 1. So the answer is unique, and 0 ÷ b = 0. Zero divided by any number other than zero is zero.⁠[2]

Example (Sharing nothing).

Find 0 ÷ 3 and describe it as a sharing.

  1. By the definition, 0 ÷ 3 is the whole number q with q × 3 = 0.
  2. 0 × 3 = 0, so q = 0 works; 1 × 3 = 3 and every larger multiple is bigger still, so nothing else does.
  3. As a sharing: 0 objects shared among 3 plates. Every plate receives 0 objects, and nothing is left over.

Answer: 0 ÷ 3 = 0. Check: 0 × 3 = 0.

000no plates6 − 0 = 66 − 0 = 66 − 0 = 6…
(a) 0 shared among 3 plates: 0 on each.(b) 6 shared among 0 plates: impossible.(c) Groups of 0 taken from 6: never ends.
Figure. The pictures of division with a zero. Dividing zero, as in (a), is no problem. Dividing by zero fails in both pictures of division: in (b) there is no group to receive the counters, and in (c) taking away groups of size 0 never reduces the 6 counters.

Dividing a nonzero number by zero

Theorem .

Let a be a whole number with a ≠ 0. Then no whole number q satisfies q × 0 = a.

Proof.

For every whole number q, q × 0 = 0. Since a ≠ 0, q × 0 is never equal to a.

So the question “? × 0 = 6” has no answer, and 6 ÷ 0 has no value. One says that division by zero is undefined.⁠[3] “Undefined” does not name a strange new number: it says that the expression is not equal to any number at all.⁠[4]

Both pictures of division from the lesson “Division as sharing and as grouping” fail in the same way. Sharing 6 counters among 0 plates is impossible: there is no plate to put the first counter on (figure (b)). Grouping fails because division is repeated subtraction,⁠[5] and taking away a group of 0 counters leaves 6 counters every time: the subtractions never reach 0, and no number of groups uses up the 6 counters (figure (c)).

Example (A nonzero number divided by zero).

Find 7 ÷ 0, or show that it has no value.

  1. 7 ÷ 0 would be a whole number q with q × 0 = 7.
  2. Test candidates: 0 × 0 = 0, 1 × 0 = 0, 2 × 0 = 0, … Every product is 0.
  3. By the Theorem, no whole number passes the test, not only the ones tested.

Answer: 7 ÷ 0 is undefined. No number q makes q × 0 = 7 true.

Zero divided by zero

For 0 ÷ 0 the difficulty is the opposite one.

Theorem .

Every whole number q satisfies q × 0 = 0.

Proof.

This is the fact that any whole number multiplied by 0 gives 0.

So the question “? × 0 = 0” is answered by 0, by 1, by 17, by every whole number. A definition of the form “0 ÷ 0 is the number q such that q × 0 = 0” does not single out a number. The trouble with 6 ÷ 0 is that no value fits; the trouble with 0 ÷ 0 is that there are too many possible values.⁠[6] This is exactly the case the uniqueness theorem of the lesson Division as the inverse of multiplication excluded by requiring b ≠ 0.

Example (Zero divided by zero).

Three people answer “0 ÷ 0 = 0”, “0 ÷ 0 = 1” and “0 ÷ 0 = 5”. Test each by multiplication.

  1. 0 × 0 = 0: the first answer passes the check.
  2. 1 × 0 = 0: the second passes too.
  3. 5 × 0 = 0: the third passes as well.
  4. A check that every answer passes cannot decide between them, and the definition gives no other way to choose.

Answer: 0 ÷ 0 is undefined. The three people are not making an arithmetic slip; the question has no single answer.

No value can be assigned

A careful reader may ask: why not simply declare a value, say 6 ÷ 0 = 0, or 0 ÷ 0 = 1, as a new convention? Conventions are human choices, and mathematics makes many of them. This one cannot be made without breaking the facts proved in the lesson Division as the inverse of multiplication: (a ÷ b) × b = a whenever a ÷ b exists, and (a × b) ÷ b = a.

Theorem .
  1. Let a ≠ 0. If a ÷ 0 were given a whole-number value k, then (a ÷ 0) × 0 = a would be false.
  2. If 0 ÷ 0 were given a whole-number value k, then (a × 0) ÷ 0 = a would be false for some whole number a.
Proof.

(1) (a ÷ 0) × 0 = k × 0 = 0, and 0 is not a, since a ≠ 0.

(2) Take a = 2 and a = 3. Since 2 × 0 = 0 and 3 × 0 = 0, both (2 × 0) ÷ 0 and (3 × 0) ÷ 0 equal 0 ÷ 0 = k. If the rule held for both, then k = 2 and k = 3, which is impossible. So the rule fails for at least one of them.

Whatever value is chosen, a basic rule of division breaks. That is why division is defined only for a nonzero divisor, and every division by zero is left undefined.⁠[3]

Caution.

A common claim is that 6 ÷ 0 “equals infinity”. It does not: there is no whole number q with q × 0 = 6, and infinity is not a whole number. In calculus, too, the symbol ∞ is not a number.⁠[7]

Looking ahead.

Later units enlarge the number system, and division by zero stays undefined in the systems they introduce. In the unit Fractions, zero is never allowed as the denominator of a fraction, because division by zero is undefined.⁠[8][9] For the real numbers, studied in the unit Real Numbers, division by zero is undefined as well.⁠[10] What happens to 6 ÷ x as x gets closer and closer to 0 is a different question, about a quantity that changes; it is studied in the unit Limits, in the lesson “Infinite limits and vertical asymptotes”.

Common mistakes

Example (Confusing 6 ÷ 0 with 0 ÷ 6).

Someone writes 6 ÷ 0 = 0. Find the mistake.

  1. Check by multiplication: if 6 ÷ 0 = 0, then 0 × 0 would have to be 6. But 0 × 0 = 0.
  2. The statement mixes up the two orders: 0 ÷ 6 = 0 is true (0 × 6 = 0), but 6 ÷ 0 is a different division.

Answer: 6 ÷ 0 is undefined; 0 ÷ 6 = 0. The order of dividend and divisor matters.

Example (Treating ÷ 0 like ÷ 1).

Someone argues: “dividing by 0 means not dividing at all, so 6 ÷ 0 = 6.” Check it.

  1. If 6 ÷ 0 = 6, then 6 × 0 would have to be 6. But 6 × 0 = 0.
  2. The division that leaves a number unchanged is division by 1: 6 ÷ 1 = 6, since 6 × 1 = 6.

Answer: 6 ÷ 0 is undefined. The argument confuses dividing by 0 with dividing by 1, which is the division that changes nothing.

Game

Test the candidates

Round
1
Score
0
Streak
0

What is 19 ÷ 0? By definition it is a whole number q with q × 0 = 19. Tap candidates to test them.

Which whole numbers q satisfy q × 0 = 19?

Exercises

Exercise .

Find 0 ÷ 8 and 8 ÷ 0, or explain why one of them has no value.

▸ Show solution

0 ÷ 8 = 0, because 0 × 8 = 0 and no other whole number times 8 gives 0. 8 ÷ 0 is undefined, because q × 0 = 0 for every q, and 0 is not 8.

Exercise .

Evaluate each expression or say that it is undefined: (a) 0 ÷ 5, (b) 12 ÷ 0, (c) 9 ÷ 9, (d) 0 ÷ 0, (e) 4 ÷ 1.

▸ Show solution

(a) 0, since 0 × 5 = 0. (b) Undefined: no q has q × 0 = 12. (c) 1, since 1 × 9 = 9. (d) Undefined: every q has q × 0 = 0, so no single value is determined. (e) 4, since 4 × 1 = 4.

Exercise .

Explain with repeated subtraction why 5 counters cannot be split into groups of 0 counters.

▸ Show solution

Subtract 0 from 5: 5 − 0 = 5. Subtract again: 5 − 0 = 5. Every subtraction leaves 5, so the repeated subtraction never reaches 0, and no number of groups of size 0 uses up the 5 counters. Grouping gives no answer, just as the definition gives no answer.

Exercise .

A student claims 9 ÷ 0 = 0 and “checks” it: “0 ÷ 9 = 0, because 0 × 9 = 0.” What is wrong with the check, and with the claim?

▸ Show solution

The student checked the wrong division. The check of a ÷ b = q is q × b = a, so the check of 9 ÷ 0 = 0 is 0 × 0 = 9. But 0 × 0 = 0, so the claim fails its check. The student verified 0 ÷ 9 = 0 (true, since 0 × 9 = 0), which is a different division. In fact 9 ÷ 0 is undefined: no value passes its check.

Exercise .

Suppose someone declares 0 ÷ 0 = 1. Use the rule (a × b) ÷ b = a with b = 0 and a = 7 to derive a false statement.

▸ Show solution

If 0 ÷ 0 were 1, then by the rule (a × 0) ÷ 0 = a with a = 7, (7 × 0) ÷ 0 = 7. But 7 × 0 = 0, so (7 × 0) ÷ 0 = 0 ÷ 0 = 1.

That gives 7 = 1, which is false. So the convention 0 ÷ 0 = 1 contradicts the rule.

Exercise .

For a division a ÷ b of whole numbers, the set of whole numbers q with q × b = a can contain exactly one number, no number, or every whole number. For which a and b does each case occur? Give an example of each.

▸ Show solution

For b ≠ 0: the question “? × b = a” has at most one answer by the uniqueness theorem; it has exactly one when a is a multiple of b and none otherwise (for example 7 ÷ 2, since 3 × 2 = 6 and 4 × 2 = 8).

For b = 0: every q gives q × 0 = 0. If a ≠ 0, no answer exists; if a = 0, every whole number is an answer. So “every whole number” occurs only for 0 ÷ 0, and “no number” occurs both for a ÷ 0 with a ≠ 0 and for some divisions by nonzero numbers.

Summary

  1. a ÷ b asks for the whole number q with q × b = a, and q × 0 = 0 for every whole number q.
  2. 0 ÷ b = 0 whenever b ≠ 0: zero can be divided.
  3. For a ≠ 0, a ÷ 0 has no value: no q satisfies q × 0 = a. In both pictures of division it fails too: there is nothing to share into, and taking away groups of 0 never ends.
  4. 0 ÷ 0 has no single value: every q satisfies q × 0 = 0.
  5. Assigning any value to a division by zero would break the rules (a ÷ b) × b = a or (a × b) ÷ b = a, so every division by zero is left undefined. It is not “infinity”.

Sources

  1. 1.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.4, “Multiply Whole Numbers” (“Multiply Whole Numbers”), “Multiplication Property of Zero”, p. 53 (the whole topic: pp. 53–54).
    “You can see that the product of any number and zero is zero. This is called the Multiplication Property of Zero.”
    Used for: any whole number multiplied by 0 gives 0 (q × 0 = 0); this is the multiplication property of zero.
  2. 2.
    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 Properties of Zero”), “Division of Zero”, p. 571 (the whole topic: pp. 570–573).
    “Zero divided by any real number except zero is zero.”
    Used for: zero divided by any number other than zero is zero.
  3. 3.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.5, “Divide Whole Numbers” (“Divide Whole Numbers”), “Division Properties of Zero”, p. 72 (the whole topic: pp. 71–72).
    “Division by zero is said to be undefined.”
    Used for: division by zero is said to be undefined; division is defined only for a nonzero divisor, and every division by zero is left undefined.
  4. 4.
    Michelle Manes, “Fractions involving zero”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).
    “They are all “undefined” because they are not equal to any number at all.”
    Used for: “undefined” means that the expression is not equal to any number at all.
  5. 5.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 1, “Whole Numbers”, section 1.5, “Divide Whole Numbers” (“Divide Whole Numbers”), after “Division Properties of Zero”, p. 72 (the whole topic: pp. 71–72).
    “Another way to explain why division by zero is undefined is to remember that division is really repeated subtraction.”
    Used for: division is repeated subtraction, which explains why division by zero is undefined: taking away groups of 0 never ends.
  6. 6.
    Michelle Manes, “Fractions involving zero”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).
    “There are too many possible values to give it!”
    Used for: the trouble with 0 ÷ 0 is that there are too many possible values.
  7. 7.
    James Stewart, Calculus: Early Transcendentals (8th ed., Cengage Learning, 2016).
    Chapter 2, “Limits and Derivatives”, section 2.2, “The Limit of a Function”, p. 89 (the whole topic: pp. 88–90).
    “Again, the symbol ∞ is not a number”
    Used for: in calculus the symbol ∞ is not a number.
  8. 8.
    Lynn Marecek, MaryAnne Anthony-Smith and Andrea Honeycutt Mathis, Prealgebra (2nd ed., OpenStax, Rice University, 2020).
    Chapter 4, “Fractions”, section 4.1, “Visualize Fractions” (“Understand the Meaning of Fractions”), p. 254 (the whole topic: pp. 254–255).
    “The denominator, b, cannot equal zero because division by zero is undefined.”
    Used for: zero is never allowed as the denominator of a fraction, because division by zero is undefined.
  9. 9.
    Michelle Manes, “Fractions involving zero”, Mathematics for Elementary Teachers, University of Hawaiʻi (Pressbooks) (2018).
    “It is best to avoid doing so and never will we allow zero as the denominator of a fraction.”
    Used for: zero is never allowed as the denominator of a fraction.
  10. 10.
    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 Properties of Zero”), “Division by Zero”, p. 572 (the whole topic: pp. 570–573).
    “Division by zero is undefined.”
    Used for: for the real numbers, division by zero is undefined as well (the sentence closes the box “Division by Zero” of the chapter on the properties of real numbers, whose rule is stated for any real number a).