I think the reason is 0/0 is not defined as 1 is that division by 0 is undefined, in all cases. Division by zero is simply undefined, it makes no sense to divide by zero. Put another way, division is an operation on real numbers defined when the numerator is a real number and the denominator is a real number != 0.

The following definitions hold:

x/x = 1 ( x != 0 ) 0/x = 0 ( x != 0 ) x/y = x * (1/y) ( y != 0 )

That's all there is to it. We disallow division by zero and dispense with long winded explanations.

Consider the following formulation that proves 2 = 1.

(1) a = b ( a != 0, b != 0 ) (2) aa = ab (3) aa - bb = ab - bb (4) (a - b)(a + b) = b(a - b) (5) a + b = b (6) b + b = b (from a = b, (1)) (7) 2b = b (8) 2 = b/b (9) 2 = 1

This flaw in this "proof"? To get to step 5 we divide both sides by (a - b) (which, because a=b, (a-b) = 0).

You could formulate step 5 as:

(5) ( ( a - b ) / ( a - b ) )( a + b ) = ( ( a - b ) / ( a - b ) )b
In which case, you'd be multiplying both sides by 1 if you allowed that 0/0 = 1. But, 0/0 doesn't = 1, x/0 is simply disallowed, always, even when x = 0.

In reply to Re: (tye)Re: What is zero divided by zero anyway? by jordanh
in thread What is zero divided by zero anyway? by BrowserUk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.