PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: High Entry average rating: No information on entry rating
[parent] proof of division algorithm for integers (Proof)

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

Consider the numbers $$\ldots, a-3b, a-2b, a-b,a,a+b,a+2b,a+3b,\ldots$$ From all these numbers, there has to be a smallest non negative one. Let it be $r$ . Since $r=a-qb$ for some $q$ ,1 we have $a=bq+r$ . And, if $r\geq 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\leq r<b$ .

So far, we have proved that we can express $a$ as$bq+r$ for some pair of integers $q,r$ such that $0\leq r<b$ . Now we will prove the uniqueness of such expression.

Let $q'$ and $r'$ another pair of integers holding $a=bq'+r'$ and $0\leq r' <b$ . Suppose $r\neq r'$ . Since $r' = a-bq'$ is a number on the list, cannot be smaller or equal than $r$ and thus $r<r'$ . Notice that $$0<r'-r =(a-bq') - (a-bq) = 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-bq = a-bq'$ and therefore $q=q'$ . This concludes the proof of the uniqueness part.



Footnotes

... ,1
For example, if $r =a+5b$ then $q=-5$ .



"proof of division algorithm for integers" is owned by drini. [ owner history (1) ]
(view preamble | get metadata)

View style:


This object's parent.
Log in to rate this entry.
(view current ratings)

Cross-references: proof, divides, negative, numbers, expression, integers

This is version 1 of proof of division algorithm for integers, born on 2002-09-02.
Object id is 3404, canonical name is ProofOfDivisionAlgorithmForIntegers.
Accessed 7546 times total.

Classification:
AMS MSC11A51 (Number theory :: Elementary number theory :: Factorization; primality)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)