Division by zero
If B = 0, then C = 0. This is true. But look:
(Remember that B=0, so we just divided by zero)
Which is the same as:
The problem is that A could be any number. It would work if A were 1 or if it were 1,000,000,000. 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[change | change source]
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:
The following must be true:
Dividing by zero gives:
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 x-x and 2 behind x+x. The above mentioned proof can then be displayed as follows:
Dividing by x - x gives:
and dividing by x gives:
The "proof" above is incorrect because it divides by zero when it divides by x-x, because any number minus itself is zero.
Calculus[change | change source]
Division by zero in computers[change | change source]
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.