Main Index
Number Theory
Arithmetics
Multiplication
Divisibility
Subject Index
comment on the page
This is a name of a theorem on which important algorithms of number theory are based. Dedekind said about this result This is the basis of the whole number theory (Dies ist die Grundlage aller Zahlentheorie. ([1] , p. 514, footnote) ).
Division Algorithm (Standard form): Given two integers
and
,
, there exist unique integers
and
such that
| (1) |
where
denotes the absolute value of
.
The integer
is called the quotient,
the remainder,
the divisor and
the dividend.
To prove this consider the sequence
| (2) |
Let
denote the least non-negative integer in this sequence, say
. If
, then the previous term of the sequence is non-negative and
, a contradiction with the minimality of
. This proves the existence of
and
.
To prove the uniqueness suppose that
. If
then trivially also
. Suppose that
. Then
. Consequently,
divides the difference
. Without loss of generality we can suppose that
.
If
then
and
, and so
. If
then
and similarly
, and so
. Combining both results we proved that
. Since simultaneously
divides
,
, i.e.
. If this is true then substituting this into
immediately yields
, or that
(note
). QED
The above proof result tacitly required application of two fundamental properties of positive integers: of the Archimedean property and of the well-ordering principle. By the Archimedean property there is a non-negative integer
such that
. If
then
, and if
then
and the sequence (1) contains a non-negative element in either case. On the other hand the well-ordering principle applies that (1) contains a least non-negative element
.
Since the integers
form a complete residue system modulo
, the above ideas can be used to prove a more general result:
Division Algorithm (General form): Given two integers
and
,
and a complete residue system
modulo
, there exist unique integers
and
such that
| (3) |
Two cases of this generalization might be of interest:
Division Algorithm (The least absolute residues form): Given two integers
and
,
, there exist unique integers
and
such that
| (4) |
Division Algorithm (The least non-positive residues form): Given two integers
and
,
, there exist unique integers
and
such that
| (5) |
For a ring theoretic generalization see Euclidean rings ↑ .
| [1] | Dirichler, P. G. (1894). Vorlesungen über Zahlentheorie (Herausgegeben und mit Zusätzen versehen von R. Dedekind) IV. umegearbeitete und vermehrte Auflage. (Lectures on number theory. Edited and supplements added by R.Dedekind. Fourth rewritten and augmented edition). Braunschweig: F. Vieweg und Sohn. |
Cite this web-page as:
Štefan Porubský: Division Algorithm.