[Math] Is integer division uniquely defined in mathematics

elementary-number-theory

I am currently studying java programming and am a bit shaken up by the concept of integer division. I guess it is just a matter of getting used to that $1/2=0$, but I am afraid it might take some time, given that this property of the division operator (/) is inconsistent with mathematics.

Or is it? Reading the section in Wikipedia on division of integers seems to imply that it is an ambiguous concept (see the following link). The statement that the set of integers is not closed under division (i.e. integer division might produce elements that are not integers) makes sense to me, as does option 2 in the following list. The list puzzles me, however. Its existence implies that we have a choice in the matter, and that one of them (option 4) permits you to call "$1/2=0$" a true statement.

So, is the meaning of integer division really just a matter of taste? Can "$1/2=0$" be a true statement, even in a strict mathematical sense, depending on how you interpret it?

Best Answer

It all depends on what you want your "division" operation to do. In other words, what properties should it satisfy. In real numbers (or rationals, or complex, etc.), the most essential property relates $/$ to $\times$:

Division is Inverse to Multiplication: $a/b = c$ if and only if $b \times c = a$.

However, even in familiar number systems, the operation is not closed. $a/0$ is undefined (since there is no real (or rational, or complex) $c$ such that $0 \times c = a$. The situation is even more restricted in integers, where $a/b$ can only be defined when $b$ divides $a$.

The "integer division" operation (which exists in many computer applications using the same symbol "$/$"), fixes the closure property (that is, $a/b$ is defined for all integers except when $b=0$), but fails the Inverse property in general. IMHO, there ought to be separate notation, such as the "Quotient" function of Mathematica:

Quotient[a,b] = integer quotient of $a$ and $b$, roughly, how many whole times $b$ goes into $a$.

When you mention consistency, it is always with respect to the properties of the operation. Quotient does not have the same properties as $/$, and is a well-defined function of integers (except when the divisor is $0$).

Hope this Helps!

Related Question