(mathematics) The theorem that, for any integer m and any positive integer n, there exist unique integers q and r such that m = qn + r and r is equal to or greater than 0 and less than n.
| Sci-Tech Dictionary: division algorithm |
(mathematics) The theorem that, for any integer m and any positive integer n, there exist unique integers q and r such that m = qn + r and r is equal to or greater than 0 and less than n.
| 5min Related Video: Division algorithm |
| Wikipedia: Division algorithm |
The division algorithm is a theorem in mathematics which precisely expresses the outcome of the usual process of division of integers. Its name is a partial misnomer: it is not a true algorithm (a well-defined procedure for achieving a specific task), but it can be used to find the greatest common divisor of two integers.
The term "division algorithm" is also used in algebra for a general variant of this theorem, shown to hold in integral domains which are principal ideal domains.
Contents |
Specifically, the division algorithm states that given two integers a and d, with d ≠ 0
There exist unique integers q and r such that a = qd + r and 0 ≤ r < | d |, where | d | denotes the absolute value of d.
The integer
The proof consists of two parts — first, the proof of the existence of q and r, and second, the proof of the uniqueness of q and r.
Consider the set

We claim that S contains at least one nonnegative integer. There are two cases to consider.
In both cases, a - nd is nonnegative, and thus S always contains at least one nonnegative integer. This means we can apply the well-ordering principle, and deduce that S contains a least nonnegative integer r. By definition, r = a - nd for some n. Let q be this n. Then, by rearranging the equation, a = qd + r.
It only remains to show that 0 ≤ r < |d|. The first inequality holds because of the choice of r as a nonnegative integer. To show the last (strict) inequality, suppose that r ≥ |d|. Since d ≠ 0, r > 0, and again d > 0 or d < 0.
In either case, we have shown that r > 0 was not really the least nonnegative integer in S, after all. This is a contradiction, and so we must have r < |d|. This completes the proof of the existence of q and r.
Suppose there exists q, q' , r, r' with 0 ≤ r, r' < |d| such that a = dq + r and a = dq' + r' . Without loss of generality we may assume that q ≤ q' .
Subtracting the two equations yields: d(q' - q) = (r - r' ).
If d > 0 then r' ≤ r and r < d ≤ d+r' , and so (r-r' ) < d. Similarly, if d < 0 then r ≤ r' and r' < -d ≤ -d+r, and so -(r- r' ) < -d. Combining these yields |r- r' | < |d|.
The original equation implies that |d| divides |r- r' |; therefore either |d| ≤ |r- 'r' | or |r- r' |=0. Because we just established that |r-r' | < |d|, by trichotomy we may conclude that the first possibility cannot hold. Thus, r=r' .
Substituting this into the original two equations quickly yields dq = dq' and, since we assumed d is not 0, it must be the case that q = q' proving uniqueness.
Let a , b be positive integers. By the division algorithm we have a = bq + r where q , r are integers and
. Also denote by [a] the largest integer not exceeding a and put (a) = (a)1 = a − [a] that is decimal (or fractional) part of a and also is denoted by {a}. Then we have

Considering this fact, M.H.Hooshmand introduces the conception b-parts of real numbers and study their number theoretic and algebraic properties in [1] , [2] and [3].
For every real numbers a and
set
![[a]_b=b[\frac{a}{b}] \; \; , \; \; (a)_b=b( \frac{a}{b}).](http://wpcontent.answers.com/math/8/f/2/8f2821d3defd9035b1f0d82769e4e8d5.png)
The notation [a]b is called b-integer part of a and (a)b b-decimal part of a. Also [a]b and (a)b are called b-parts of a.
Clearly a = [a]b + (a)b where
![[a]_b \in b\mathbb{Z}=\langle b \rangle, \; \; (a)_b \in b[0,1)=\{bd|0\leq d<1\}.](http://wpcontent.answers.com/math/2/c/5/2c5ed65599d65032d2d487dbbda7607b.png)
There after he states the generalized division algorithm and gives two proofs that one of them is based on the b-parts of real numbers.
He states the following theorem in the papers and gives two different proofs for it:
For every real numbers a and
, there exist a unique integer q and a unique non negative real number r such that

q and r are called integer quotient and b-bounded remainder of the division of a by b, respectively.
For every real numbers a and
, if b > 0, then (a)b is the same b-bounded remainder of the (generalized) division of a by b and [a]b is the largest element of
not exceeding a. Also if b < 0, then (a)b is the inverse of the remainder of the division of − a by − b (because (a)b = − ( − a) − b) and [a]b is the smallest element of
not less than a.
For every positive integer b and real a, [a]b is the same unique integer of the residue class
(mode b) that is divisible by b (because
).
There is nothing particularly special about the set of remainders {0, 1, ..., |d| − 1}. We could use any set of |d| integers, such that every integer is congruent to one of the integers in the set. This particular set of remainders is very convenient, but it is not the only choice. See also coset and equivalence relation.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| algorithm (in mathematics) | |
| Multivariate division algorithm | |
| Bézout's identity |
Copyrights:
![]() | Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Division algorithm". Read more |