For other uses, see Division by zero (disambiguation).
In mathematics, a division is called a division by zero if the divisor is zero. Such a division can be formally expressed as In computer programming, integer division by zero may cause a program to terminate or, as in the case of floating point numbers, may result in a special not-a-number value (see below).
In elementary arithmeticWhen division is explained at the elementary arithmetic level, it is often considered as a description of dividing a set of objects into equal parts. As an example, consider having 10 apples, and these apples are to be distributed equally to five people at a table. Each person would receive So for dividing by zero — what if there are 10 apples to be distributed, but no one comes to the table? How many apples does each "person" at the table receive? The question itself is meaningless — each "person" can't receive zero, or 10, or an infinite number of apples for that matter, because there are simply no people to receive anything in the first place. So Another way to understand the nature of division by zero is by considering division as a repeated subtraction. For example, to divide 13 by 5, 5 can be subtracted twice, which leaves a remainder of 3 — the divisor is subtracted until the remainder is less than the divisor. The result is often reported as Early attemptsThe Brahmasphutasiddhanta of Brahmagupta (598–668) is the earliest known text to treat zero as a number in its own right and to define operations involving zero. The author failed, however, in his attempt to explain division by zero: his definition can be easily proven to lead to algebraic absurdities. According to Brahmagupta,
In 830, Mahavira tried unsuccessfully to correct Brahmagupta's mistake in his book in Ganita Sara Samgraha:
Bhaskara II tried to solve the problem by defining In algebraIt 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, division by zero is undefined. Division by zero must be left undefined in any mathematical system that obeys the axioms of a field. The reason is that division is defined to be the inverse operation of multiplication. This means that the value of 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, there is no unique value, so Fallacies based on division by zeroIt is possible to disguise a special case of division by zero in an algebraic argument, leading to spurious proofs that 2 = 1 such as the following: With the following assumptions: The following must be true: Dividing by zero gives: Simplified, yields: The fallacy is the implicit assumption that dividing by 0 is a legitimate operation with 0 / 0 = 1. Although most people would probably recognize the above "proof" as fallacious, the same argument can be presented in a way that makes it harder to spot the error. For example, if 1 is denoted by x, 0 can be hidden behind x − x and 2 behind x + x. The above mentioned proof can then be displayed as follows: hence: Dividing by and dividing by The "proof" above requires the use of the distributive law. However, this requirement introduces an asymmetry between the two operations in that multiplication distributes over addition, but not the other way around. Thus, the multiplicative identity element, 1, has an additive inverse, -1, but the additive identity element, 0, does not have a multiplicative inverse. In calculusExtended real lineAt first glance it seems possible to define For any positive a, it is known that and for any negative a, Therefore, if which would lead to the result +∞ = −∞, inconsistent with standard definitions of limit in the extended real line. The only workable extension is introducing an unsigned infinity, discussed below. Furthermore, there is no obvious definition of does not exist. Limits of the form in which both f(x) and g(x) approach 0 as x approaches 0, may equal any real or infinite value, or may not exist at all, depending on the particular functions f and g (see l'Hôpital's rule for discussion and examples of limits of ratios). These and other similar facts show that the expression Formal operationsA formal calculation is one which is carried out using rules of arithmetic, without consideration of whether the result of the calculation is well-defined. Thus, as a rule of thumb, it is sometimes useful to think of As with any formal calculation, invalid results may be obtained. A logically rigorous as opposed to formal computation would say only that
(Since the one-sided limits are different, the two-sided limit does not exist in the standard framework of the real numbers. Also, the fraction Real projective lineThe set This definition leads to many interesting results. However, the resulting algebraic structure is not a field, and should not be expected to behave like one. For example, Riemann sphereThe set Extended non-negative real number lineThe negative real numbers can be discarded, and infinity introduced, leading to the set In higher mathematicsAlthough division by zero cannot be sensibly defined with real numbers and integers, it is possible to consistently define it, or similar operations, in other mathematical structures. Non-standard analysisIn the hyperreal numbers and the surreal numbers, division by zero is still impossible, but division by non-zero infinitesimals is possible. Distribution theoryIn distribution theory one can extend the function Linear algebraIn matrix algebra (or linear algebra in general), one can define a pseudo-division, by setting Abstract algebraAny number system which forms a commutative ring, as do the integers, the real numbers, and the complex numbers, for instance, can be extended to a wheel in which division by zero is always possible, but division has then a slightly different meaning. The concepts applied to standard arithmetic are similar to those in more general algebraic structures, such as rings and fields. In a field, every nonzero element is invertible under multiplication, so as above, division poses problems only when attempting to divide by zero. This is likewise true in a skew field (which for this reason is called a division ring). However, in other rings, division by nonzero elements may also pose problems. For example, the ring Z/6Z of integers mod 6. The meaning of the expression In field theory, the expression In computer arithmeticThe IEEE floating-point standard, supported by almost all modern processors, 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. The infinity signs change when dividing by −0 instead. This is possible because in IEEE 754 there are two zero values, plus zero and minus zero, and thus no ambiguity. Integer division by zero is usually handled differently from floating point since there is no integer representation for the result. Some processors generate an exception when an attempt is made to divide an integer by zero, although others will simply continue and generate an incorrect result for the division. (That result is often zero.) Because of the improper algebraic results of assigning any value to division by zero, many computer programming languages (including those used by calculators) explicitly forbid the execution of the operation and may prematurely halt a program that attempts it, sometimes reporting a "Divide by zero" error. Some programs (especially those that use fixed-point arithmetic where no dedicated floating-point hardware is available) will use behavior similar to the IEEE standard, using large positive and negative numbers to approximate infinities. In some programming languages, an attempt to divide by zero results in undefined behavior. In two's complement arithmetic, attempts to divide the smallest signed integer by − 1 are attended by similar problems, and are handled with the same range of solutions, from explicit error conditions to undefined behavior. Most calculators will either return an error or state that 1/0 is undefined, however some TI graphing calculators will evaluate 1/02 to ∞. Historical accidents
Internet Meme
As seen here: http://halshop.files.wordpress.com/2007/03/phpw9jvl0pm.jpg See alsoFootnotes
References
Further reading
| |