proof of division algorithm for integers


Let a,b integers (b>0). We want to express a=b⁢q+r for some integers q,r with 0≤r<b and that such expression is unique.

Consider the numbers

…,a-3⁢b,a-2⁢b,a-b,a,a+b,a+2⁢b,a+3⁢b,…

From all these numbers, there has to be a smallest non negative one. Let it be r. Since r=a-q⁢b for some q,11For example, if r=a+5⁢b then q=-5. we have a=b⁢q+r. And, if r≥b then r wasn’t the smallest non-negative number on the list, since the previous (equal to r-b) would also be non-negative. Thus 0≤r<b.

So far, we have proved that we can express a asb⁢q+r for some pair of integers q,r such that 0≤r<b. Now we will prove the uniqueness of such expression.

Let q′ and r′ another pair of integers holding a=b⁢q′+r′ and 0≤r′<b. Suppose r≠r′. Since r′=a-b⁢q′ is a number on the list, cannot be smaller or equal than r and thus r<r′. Notice that

0<r′-r=(a-b⁢q′)-(a-b⁢q)=b⁢(q-q′)

so b divides r′-r which is impossible since 0<r′-r<b. We conclude that r′=r. Finally, if r=r′ then a-b⁢q=a-b⁢q′ and therefore q=q′. This concludes the proof of the uniqueness part.

Title proof of division algorithm for integers
Canonical name ProofOfDivisionAlgorithmForIntegers
Date of creation 2013-03-22 13:01:11
Last modified on 2013-03-22 13:01:11
Owner drini (3)
Last modified by drini (3)
Numerical id 4
Author drini (3)
Entry type Proof
Classification msc 11A51