Comment on It'll be ok. Nobody's going to judge you.
nibbler@discuss.tchncs.de 4 hours agoalright wise guy, what IS -1divided by 0 then?
Comment on It'll be ok. Nobody's going to judge you.
nibbler@discuss.tchncs.de 4 hours agoalright wise guy, what IS -1divided by 0 then?
davad@lemmy.world 4 hours ago
-1/0 = Boom
But more literally, the answer is undefined.
Instead of thinking of division as a “proper” operator, think of it as shorthand for “x0 = -1". Since the multiplication operator already defines "x0 => 0” and “-1 != 0”, there literally is no answer by definition. So “undefined”.
For “0/0”, it’s a little different. Since “x*0 => 0”, literally every number satisfies “0/0”. Since we’re expecting a single number as the answer, we call the answer to this “undefined” too.
nibbler@discuss.tchncs.de 2 hours ago
So without I, sqrt(-1) would be… Undefined?