Could 0/0 Equal 1?


  • By how numbers are divided by themselves, 1/1 = 1, 2/2 = 1, 3/3 = 1, doesn't that mean 0/0 = 1?

    Just a thinker. :P


  • 0/0 can equal ethier 1, 0, or infinity all at the same time depending on what basis prove it on. Though because of all these solutions, we just put it as undefined or NaN (Not a Number)...

    Here are the different proofs to the 0/0 statement:

    For 0/0 equals 1:
    Any number divided by itself equals 1 [n/n = 1] --> 0/0 = 1

    For 0/0 equals 0:
    Zero divided by any number equals zero [0/n = 0] --> 0/0 = 0

    For 0/0 equals infinity:
    Any number divided by 0 equals plus or minus infinity [n/0 = ±∞] --> 0/0 = ∞

    Lua returns NaN, which is smart because it could cause a lot of mathematical problems, with different solutions in different situations, as stated above.

    Fun fact. NaN is not equal to its self, so NaN==NaN returns false!


  • @LateralLace That's interesting. :o


  • “Imagine that you have zero cookies and you split them evenly among zero friends. How many cookies does each person get? See? It doesn’t make sense. And Cookie Monster is sad that there are no cookies, and you are sad that you have no friends.” -siri

    ok thats ur answer

Log in to reply
 

Looks like your connection to Scripting Helpers was lost, please wait while we try to reconnect.