Skip to main content

Discrete Mathematical Structures

Subsection 0.1.5 Integer Division

Multiplication of two natural number can be viewed as repeated addition. In particular, when \(n\in\NN\) and \(b\in\ZZ\) we have
\begin{equation*} n \cdot b =\underbrace{b+b+\ldots+b}_{n \text{ copies of }b}. \end{equation*}
Dividing a natural number \(a\) by a natural number \(b\) answers the question
How often does \(b\) go into \(a\) ?
We can answer this question by starting with \(a\) and repeatedly subtracting \(b\) until we obtain a number less than \(b\text{.}\) We call the number of times \(q\) that we have subtracted \(b\) the quotient of the division of \(a\) by \(b\) and the value \(r\) with \(0\le r\lt b\) that is left over the remainder. We get
\begin{equation*} a\underbrace{-b-b-\ldots-b}_{q \text{ copies of }b}=a-q\cdot b=r\lt b. \end{equation*}
If we rearrange this we get:
\begin{equation*} a=\underbrace{b+b+\ldots+b}_{q \text{ copies of }b}+r=q\cdot b+r. \end{equation*}
The above proves a theorem called Division Algorithm for non-negative integers, see Theorem 5.1.1.9 for the general version.
We cover integer division greater detail in Divisibility.
[The transcript has both formatted text for visuals and a description at the start of the line.] [Underlined text:] Division notation [A [Division sign] B is above, B [Long division symbol] A is below. They are connected by a close brace.] [Label on the right:] Schoolchild A/B [Label:] Software engineer [A/B except the A is slightly above and the B is slightly below, and the slash is more diagonal to fit them.] A⁄B [Label:] Normal person or Unicode enthusiast [A fraction with A on the top and B on the bottom.] [Label:] Scientist [AB with -1 in superscript.] [Label:] Fancy scientist F(A, B) [text gets smaller] such that [text gets smaller] F(G)= [Text is too small to read] [Label:] Oh no, run
Figure 0.1.5.2. Division Notation. (https://xkcd.com/2687) Science tip: Scientists hardly ever use the two-dot division sign, and when they do it often doesn’t even mean division, but they still get REALLY mad when you repurpose it to write stuff like SALE! ALL SHOES 30÷ OFF!