Division by zero (1/0, 2/0, 3/0, etc) produces infinity. However 0/0 produces NaN. Why?
Asked
Active
Viewed 4,477 times
1
nicael
- 17,612
- 12
- 55
- 87
-
No, I'll kill myself some day. Again duplicate!!!!!!!! – nicael Jun 13 '14 at 14:05
1 Answers
4
Mathematically it's most certainly not infinity. if it was obtained from limit x^2/x as x -> 0, it should be 0, for instance. x/x^2 would give infinity, though.
It's an indeterminate form, and in some sense more indeterminant than 1/0, 2/0 etc. In short, much more of your math would be mucked up from replacing 0/0 with Infinity than replacing 1/0 with infinity, because it's not clear that the denominator effect of dividing by zero should overwhelm the multiplication by zero effect of the numerator.
djechlin
- 57,408
- 33
- 153
- 271