Created 25 Jul 2023
Discovering Division
tl;dr: A journey from the ground up in which we use axioms to build a proof that every positive integer can be uniquely prime factored.
This is part 2, where we use the rigorous foundation we developed in part 1 to establish the division algorithm. In general, the level of rigor will decrease as the parts go on, so that the reader doesn't get bored to death. But it should be obvious how to fill out everything with complete rigor. Here is a glossary of math symbols.
Back to School
¶Children tend to get taught division as repeated subtraction - for example, 14 divided by 3 is 4 remainder 2, because:
And we stop because if we subtract again, the remainder becomes negative. In particular, 2<3, and in general the remainder is always less than the divisor, because if it was at least as big then we could always subtract off another copy.
That would definitely be enough justification to any high schooler as to why the division algorithm works.1 But, how do we prove it from our axioms and lemmas that we've developed so far? How do we make infinite descent rigorous?
Let's first formalize the statement we want to prove:
Theorem. (Divison Algorithm)For any , there exist integers such that , and .
Now... how do we attempt a proof?
The key is the well-ordering principle that we introduced, stating that every non-empty subset of the naturals has a least element.
To use this, we can consider the set of all possible remainders, i.e. all the possible numbers we can obtain by starting with and adding or subtracting . Then we can consider those remainders that are natural, and take the smallest element. If it's at least , then we can subtract again to get a smaller element of the set, contradiction. In other words, "choose the smallest possible remainder, if it's at least then subtract ". Do you see how this is equivalent to the infinite descent argument?
Proof. (of the Division Algorithm)Let be a fixed integer and be a fixed natural. Consider the set:
Then S is a subset of the naturals. Furthermore, it is nonempty, because:
if or , then when , which is natural and so it is an element of S.
if , then when , which is natural since are nonnegative, and so it is an element of S.
By Trichotomy, we considered all cases, thus S is always non-empty.
Hence by the well-ordering principle, S has a least element (say ), occuring when , so that .
Claim.Proof.Suppose not, we will show a contradiction.
Then , so (defn. "").
But , and so . But , contradicting the minimality of .
Now at last, letting , we have (since ). Since , we have , which is what we wanted, and we are done.
Note that I stopped writing the multiply symbol in between two letters, as per normal convention. Also, I stopped being as rigorous as in part 1 (for example writing "" instead of "" due to associativity), because I don't think anyone would want to read such a long tedious proof. BUT, it should be clear (if not monotonous) how to fill out this proof into one as rigorous as in part 1.
And that's it! We've now proved the division algorithm. High schoolers would be very impressed (not).
Can you come up with an analogous division algorithm for the complex numbers? Can you prove that it works? ↩