kidzsearch.com > wiki Explore:images videos games
Division by zero
In mathematics, a number can not be divided by zero. Observe:
1. [math]A * B = C[/math]
If B = 0, then C = 0. This is true. But look:
2. [math]A = C/B[/math]
(Remember that B=0, so we just divided by zero)
Which is the same as:
3. [math]A = 0/0[/math]
The problem is that A could be any number. 0/0 is said to be of "indeterminate form" for this reason, because it has no single value. Numbers of the form A/0, on the other hand, where A is not 0, are said to be "undefined." This is because any attempt to define them will result in a value of infinity, which is itself undefined. Usually when two numbers are equal to the same thing, they are equal to each other. That is not true when the thing they are both equal to is 0/0. This means that the normal rules of maths do not work when the number is divided by zero.
Incorrect Proofs based on division by zero
It is possible to disguise a special case of division by zero in an algebraic argument. This can lead to invalid proofs, such as 1=2, as in the following:
With the following assumptions:
 [math]\begin{align} 0\times 1 &= 0 \\ 0\times 2 &= 0. \end{align}[/math]
The following must be true:
 [math]0\times 1 = 0\times 2.\,[/math]
Dividing by zero gives:
 [math]\textstyle \frac{0}{0}\times 1 = \frac{0}{0}\times 2.[/math]
Simplify:
 [math]1 = 2.\,[/math]
The fallacy is the assumption that dividing by 0 is a legitimate operation with 0/0 = 1.
Most people would probably recognize the above "proof" as incorrect, but the same argument can be presented in a way that makes it harder to spot the error. For example, if 1 is written as x, then 0 can be hidden behind xx and 2 behind x+x. The above mentioned proof can then be displayed as follows:
 [math]\begin{align} (xx)x = 0 \\ (xx)(x+x) = 0 \end{align}[/math]
therefore:
 [math](xx)x = (xx)(x+x).\,[/math]
Dividing by x  x gives:
 [math]x = x+x\,[/math]
and dividing by x gives:
 [math]1 = 2.\,[/math]
The "proof" above is incorrect because it divides by zero when it divides by xx, because any number minus itself is zero.
Division by zero in computers
If a computer program tries to divide an integer by zero, the operating system will usually detect this and stop the program. Usually it will print an "error message," or give the programmer advice on how to improve the program^{[source?]}. Division by zero is a common bug in computer programming. Dividing floating point numbers (decimals) by zero will usually result in either infinity or a special NaN (not a number) value, depending on what is being divided by zero.

