# Division by zero

In mathematics, a division is called a division by zero if the divisor is zero. Such a division can be formally expressed as [itex]\frac{a}{0}[itex], where a is the dividend. Whether or not this expression can be assigned a meaningful (well-defined) value depends upon how the expression is interpreted.

 Contents

## Algebraic interpretation

It is generally regarded among mathematicians that a natural way to interpret division by zero is to first define division in terms of other arithmetic operations. Under the standard rules for arithmetic on integers, rational numbers, real numbers and complex numbers, the value of a division by zero is undefined. The reason is that division is defined to be the inverse operation of multiplication. This means that the value of

[itex]{a \over b}[itex]

is the solution x of the equation

[itex]b x = a \quad [itex]

whenever such a value exists and is unique. Otherwise the expression [itex]{a \over b}[itex] is undefined.

For b = 0, the equation bx = a can be rewritten as 0x = a or simply 0 = a. Thus, in this case, the equation bx = a has no solution if a is not equal to 0, and has any x as a solution if a equals 0. In either case, [itex]{a \over b}[itex] is undefined. Conversely, for the number systems mentioned above, the expression [itex]{a \over b}[itex] is always defined if b is not equal to zero.

### Fallacies based on division by zero

It is possible to disguise a division by zero in an algebraic argument, leading to spurious proofs that 2 = 1 such as the following:

• For any real number x:
[itex] x^2 - x^2 = x^2 - x^2 \quad [itex]
• Factoring both sides in two different ways:
[itex] (x - x)(x + x) = x(x - x)\quad [itex]
• Dividing both sides by xx:
[itex] x + x = x \quad [itex]
• Since this is valid for any value of x, we can plug in x = 1.
[itex] 2 = 1 \quad [itex]

The fallacy is in the assumption that division by xx = 0 is defined.

In practice, division by a term in any algebraic argument will require either an explicit assumption that the term is not zero, or a separate justification showing that the term can never be zero.

### Abstract algebra

Similar statements are true in more general algebraic structures, such as rings and fields. In a field, every nonzero element is invertible under multiplication, so as above, division only poses problems when attempting to divide by zero. However, in other rings, division by nonzero elements may also pose problems. Consider, for example, the ring Z/6Z of integers mod 6. What meaning should we give to the expression

[itex]{2 \over 2}[itex]

This should be the solution x of the equation

But this equation has two distinct solutions, x = 1 and x = 4, so the expression is undefined. The problem occurs because 2 is not invertible under multiplication.

## Limits and division by zero

At first glance it seems possible to define [itex]{a \over 0}[itex] by considering the limit of [itex]{a \over b}[itex] as b approaches 0. For any nonzero a, it is known that

[itex]\lim_{b \to 0{+}} {a \over b} = {+}\infty[itex]

and

[itex]\lim_{b \to 0{-}} {a \over b} = {-}\infty[itex]

Therefore, we might consider defining [itex]{a \over 0}[itex] as [itex]+\infty[itex] for positive a, and [itex]-\infty[itex] for negative a. However, this definition is not generally useful, because positive and negative infinity are not real numbers, and the equation

[itex]0 \, x = a[itex]

still has no solution for any finite a. Furthermore, there is no obvious definition of [itex]{0 \over 0}[itex] that can be derived from considering the limit of a ratio. The limit

[itex] \lim_{(a,b) \to (0,0)} {a \over b} [itex]

does not exist. Limits of the form

[itex] \lim_{x \to 0} {f(x) \over g(x)} [itex]

in which both f(x) and g(x) approach 0 as x approaches 0, may converge to any value or may not converge at all. See l'Hopital's rule for discussion and examples of limits of ratios.

## In mathematical analysis

In distribution theory one can extend the function

[itex]{1 \over x}[itex]

to a distribution on the whole space of real numbers (in effect by using Cauchy principal values). It does not, however, make sense to ask for a 'value' of this distribution at [itex]x = 0[itex]; a sophisticated answer refers to the singular support of the distribution.

## Other number systems

Although division by zero is undefined with real numbers and integers, it is possible to consistently define division by zero in other mathematical structures, for instance on the Riemann sphere (see also poles in complex analysis). In hyperreal numbers and surreal numbers, division by non-zero infinitesimals is possible. If a number system forms a commutative ring, as do the integers, the real numbers, and the complex numbers, for instance, it can be extended to a wheel in which division by zero is always possible, but division has then a slightly different meaning.

## Division by zero in computer arithmetic

IEEE 754 specifies that every floating point arithmetic operation, including division by zero, has a well-defined result. In IEEE 754 arithmetic, a/0 is positive infinity when a is positive, negative infinity when a is negative, and NaN ("not a number") when a = 0. These definitions are derived from the properties of limits of ratios, as discussed above. At present, IEEE 754 is the most common floating point specification, as it is implemented by Intel processors and others.

Integer division by zero may be handled differently than floating point. Intel processors generate an interrupt when an attempt is made to divide an integer by zero. The usual result is aborting whatever program it occurred in.

To ensure that every operation yields a finite, numerical result (floating point), and avoids an interrupt (integer), a computer program may refuse to execute a division if the divisor is zero.

## Other

• Division by Zero is a company that designs computer games. [1] (http://www.division-by-zero.de/dbz/index.asp)

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy