In mathematics, division where the divisor (denominator) is zero is a problematic special case. Using fraction notation, the general example can be written as a0, where a is the dividend (numerator). The usual definition of the quotient in elementary arithmetic is the number which yields the dividend when multiplied by the divisor. That is, c=ab is equivalent to c×b=a. By this definition, the quotient q=a0 is nonsensical, as the product q×0 is always 0 rather than some other number a. Following the ordinary rules of elementary algebra while allowing division by zero can create a mathematical fallacy, a subtle mistake leading to absurd results. To prevent this, the arithmetic of real numbers and more general numerical structures called fields leaves division by zero undefined, and situations where division by zero might occur must be treated with care. Since any number multiplied by 0 is 0, the expression 00 is also left undefined. Calculus studies the behavior of functions in the limit as their input tends to some value. When a real function can be expressed as a fraction whose denominator tends to zero, the output of the function becomes arbitrarily large, and is said to "tend to infinity", a type of mathematical singularity. For example, the reciprocal function, f(x)=1x, tends to infinity as x tends to 0. When both the numerator and the denominator tend to zero at the same input, the expression is said to take an indeterminate form, as the resulting limit depends on the specific functions forming the fraction and cannot be determined from their separate limits. As an alternative to the common convention of working with fields such as the real numbers and leaving division by zero undefined, it is possible to define the result of division by zero in other ways, resulting in different number systems. For example, the quotient a0 can be defined to equal a new explicit point at infinity, sometimes denoted by the infinity symbol ∞, or it can be defined to result in signed infinity, with positive or negative sign depending on the sign of the dividend. In these number systems division by zero is no longer a special exception per se, but the point or points at infinity involve their own new types of exceptional behavior. In computing, an error may result from an attempt to divide by zero. Depending on the context and the type of number involved, dividing by zero may evaluate to positive or negative infinity, return a special not-a-number value, or crash the program, among other possibilities. Some theorem provers define the quotient to equal zero to make division a total function.
Elementary arithmetic
The meaning of division
The division N/D=Q can be conceptually interpreted in several ways. In quotitive division, the dividend N is imagined to be split up into parts of size D (the divisor), and the quotient Q is the number of resulting parts. For example, imagine ten slices of bread are to be made into sandwiches, each requiring two slices of bread. A total of five sandwiches can be made (102=5). Now imagine instead that zero slices of bread are required per sandwich (perhaps a lettuce wrap). Arbitrarily many such sandwiches can be made from ten slices of bread, as the bread is irrelevant. The quotitive concept of division lends itself to calculation by repeated subtraction: dividing entails counting how many times the divisor can be subtracted before the dividend runs out. Because no finite number of subtractions of zero will ever exhaust a non-zero dividend, calculating division by zero in this way never terminates. Such an interminable division-by-zero algorithm is physically exhibited by some mechanical calculators. In partitive division, the dividend N is imagined to be split into D parts, and the quotient Q is the resulting size of each part. For example, imagine ten cookies are to be divided among two friends. Each friend will receive five cookies (102=5). Now imagine instead that the ten cookies are to be divided among zero friends. How many cookies will each friend receive? Since there are no friends, this is an absurdity.
In another interpretation, the quotient Q represents the ratio N:D. For example, a cake recipe might call for ten cups of flour and two cups of sugar, a ratio of 10:2 or, proportionally, 5:1. To scale this recipe to larger or smaller quantities of cake, a ratio of flour to sugar proportional to 5:1 could be maintained, for instance one cup of flour and one-fifth cup of sugar, or fifty cups of flour and ten cups of sugar. Now imagine a sugar-free cake recipe calls for ten cups of flour and zero cups of sugar. The ratio 10:0, or proportionally 1:0, is perfectly sensible: it just means that the cake has no sugar. However, the question "How many parts flour for each part sugar?" still has no meaningful numerical answer. A geometrical appearance of the division-as-ratio interpretation is the slope of a straight line in the Cartesian plane. The slope is defined to be the "rise" (change in vertical coordinate) divided by the "run" (change in horizontal coordinate) along the line. When this is written using the symmetrical ratio notation, a horizontal line has slope 0:1 and a vertical line has slope 1:0. However, if the slope is taken to be a single real number then a horizontal line has slope 01=0 while a vertical line has an undefined slope, since in real-number arithmetic the quotient 10 is undefined. The real-valued slope yx of a line through the origin is the vertical coordinate of the intersection between the line and a vertical line at horizontal coordinate 1, dashed black in the figure. The vertical red and dashed black lines are parallel, so they have no intersection in the plane. Sometimes they are said to intersect at a point at infinity, and the ratio 1:0 is represented by a new number ∞; see § Projectively extended real line below. Vertical lines are sometimes said to have an "infinitely steep" slope.
… excerpt ends here. Continue reading the full article.



