Math Tools Math Tools

Why Division by Zero Doesn't Work

Why Division by Zero Doesn't Work

By Math Tools ·

Why Division by Zero Doesn't Work

On September 21, 1997, the U.S. Navy cruiser USS Yorktown was testing a new automated "Smart Ship" system off the coast of Virginia. A crew member entered a zero into a database field. The software divided by it, the error cascaded through the ship's network, and the propulsion system failed. The warship sat dead in the water for over two hours.

Division by zero isn't just a classroom rule. It's a genuine hole in arithmetic, and it isn't there because mathematicians haven't figured it out yet. It's there because every possible answer breaks something.


"Undefined" Is the Only Consistent Answer

It's tempting to think 1 ÷ 0 should be infinity. It feels right: dividing by smaller and smaller numbers gives bigger and bigger results.

But in ordinary arithmetic, infinity isn't a number, and even if you try to treat it as one, the idea breaks down immediately, as we'll see below. Mathematicians say division by zero is undefined not out of caution, but because any definition would contradict rules we rely on everywhere else.


What Division Really Means

Division is defined through multiplication:

a ÷ b = c   means   b × c = a

So 12 ÷ 3 = 4 because 3 × 4 = 12. Division asks: what number, multiplied by b, gives a? You can see this reverse relationship on the division tables.


Case 1: A Non-Zero Number Divided by Zero

What is 5 ÷ 0? We need a number c where:

0 × c = 5

But zero times anything is 0. No number c makes 0 × c equal 5. There's no answer.


Case 2: Zero Divided by Zero

What is 0 ÷ 0? We need c where:

0 × c = 0

Now every number works: 0 × 7 = 0, 0 × (−2) = 0, 0 × π = 0. There are infinitely many answers, so none of them is the answer. That's why 0 ÷ 0 is called indeterminate.

So division by zero fails in two opposite ways: no answer at all, or far too many.


Why Not Just Define It?

Suppose we insist that 1 ÷ 0 = ∞, and treat ∞ like a number. Then by the definition of division, 0 × ∞ = 1. But also 2 ÷ 0 should be ∞, meaning 0 × ∞ = 2. So:

1 = 0 × ∞ = 2

That gives 1 = 2, and arithmetic collapses. The same kind of contradiction hides behind many "proofs" that 1 = 2. Look carefully and there's almost always a step that divides by an expression equal to zero.

Here's a classic one:

Let a = b
a² = ab
a² − b² = ab − b²
(a + b)(a − b) = b(a − b)
a + b = b          ← divided both sides by (a − b), which is 0!
2b = b
2 = 1

An Insider Reference: Brahmagupta's Attempt

Mathematicians did try. In 628 AD, Brahmagupta, who gave some of the first systematic rules for zero, stated that 0 ÷ 0 = 0. For a non-zero number divided by zero, he gave no clear value.

About 500 years later, Bhāskara II (1150s) suggested that dividing a number by zero gives an infinite quantity, which he compared to the unchanging nature of the infinite divine. It was a poetic insight, and in a sense a preview of limits. But neither approach could be made consistent with the rest of arithmetic. The resolution only came with the careful theory of limits in the 19th century.


What Calculus Says: Limits

Calculus lets us ask a better question. Not "what is 1 ÷ 0?" but "what happens to 1 ÷ x as x approaches 0?"

x 1 ÷ x
0.1 10
0.01 100
0.001 1,000
−0.001 −1,000
−0.01 −100

From the right, 1/x grows toward +∞. From the left, it plunges toward −∞. Since the two sides don't agree, even the limit doesn't exist. See the rules on the calculus formulas page.

For 0 ÷ 0 situations, limits are more interesting. The fraction sin(x)/x looks like 0/0 at x = 0, but as x approaches 0 it approaches exactly 1. Other 0/0 forms approach 2, or 0, or infinity. That's precisely why 0/0 is called indeterminate: the answer depends on how you get there.


Division by Zero in the Wild

  • Trigonometry: tan(90°) = sin(90°) / cos(90°) = 1 / 0, which is why the tangent is undefined at 90°. Try it with the tangent calculator.
  • Computers: integer division by zero usually crashes a program. Floating-point division follows the IEEE 754 standard: 1.0 / 0.0 gives Infinity, and 0.0 / 0.0 gives NaN ("Not a Number").
  • Spreadsheets: you get the familiar #DIV/0! error.

Two Concepts Worth Knowing

Multiplicative Inverse

Every non-zero number a has a multiplicative inverse 1/a with a × (1/a) = 1. Zero is the only real number without one, and that's the entire problem in a single sentence.

Indeterminate Forms

Indeterminate forms such as 0/0, ∞/∞ and ∞ − ∞ don't have fixed values. In calculus, tools like L'Hôpital's rule evaluate limits that take these forms.


Quick Answer: Why Can't You Divide by Zero?

Division asks what number times the divisor gives the dividend. For 5 ÷ 0, no number times 0 equals 5, so there's no answer. For 0 ÷ 0, every number works, so there's no single answer. Defining either as infinity leads to contradictions like 1 = 2, so division by zero is left undefined.


Try Them Yourself

Find the flaw in the "2 = 1" proof above without looking back. Once you can spot the hidden division by zero, you'll never be fooled by one of those proofs again.