Hello! This post belongs to a series called Number Theory. Before reading this post, I recommend going to that page and making sure you have the prerequisite material. You should be familiar with Set Theory Part 1, Set Theory Part 2, Quantifiers, Modulo and Equivalence Relations, and Divisibility and Prime Numbers.
Before I introduce the division algorithm, I need to introduce an axiom of the natural numbers. For those unfamiliar, an axiom is a statement that we accept to be true. Mathematics works largely by taking a set of axioms and proving things from them.
This axiom is called the Well-Ordering Principle and states that for any subset of , there exists a smallest element.
This seems obvious, but note that it is not true for some other infinite sets. We’ll explore that in the problems at the end of this post.
Now that we’ve established that axiom, let’s define the Division Algorithm. It states that
and
.
This is a loaded statement, let’s try and break it down a little. So we pick two integers, . Then we can find unique (that what
means)
where
and
.
You may be wondering why we use the variable names and
. We call
the quotient and
the remainder.
A lot of this is very similar to modulo arithmetic. If we look at modulo
, then it’s equivalent to
. Make sure you see how these topics are connected as we will be using them together frequently.
I’m going to prove this statement, but not as precisely as some of you might be looking for. If you want more rigour, I suggest reading this page for a fantastic, more detailed proof. Here, I’ll just lay out the framework. Just to note, I label things a little differently in my proof, but the ideas are the same.
We’re going to define a set . Notice that these numbers are all positive, so by the Well-Ordering Principle, there is a smallest number. Set
to be the smallest value of
, and set
. Then
.
This produces our and
, but we have to check a few things before we are done.
First, let’s show that . From this construction,
cannot be negative. If
, then there would be a smaller value of
that we could find. So
.
Second, let’s show that these values are unique. Say you have and
where
.
Without loss of generality, assume that . This is a common proof strategy, since I have two arbitrary values, it makes no difference which one I say is greater than or equal to the other.
Now, rearranging the equation gives . We know that
, and that
is positive. The only way for
to divide this value is for
, so
, and consequently
.
This is a common method to show that value(s) are unique. Assume there are two different sets, then show that they’re equal.
Consquences of the division algorithm are everywhere, and this will be showing up a lot in the future. Be sure tha you understand what was presented here and do the practice problems! Be sure to ask me any questions you have.
Problems
- There is not a Well-Ordering Principle for
, can you give an example of a subset to show why this is?
- Come up with
for the following pairs in the form
:
.
- What do you notice if
or if
.
- How can we use the division algorithm to show that every number is either even or odd?
That’s all for now! Check back to my main post Number Theory, for other posts in this topic. A good post to read after this would be The Fundamental Theorem of Arithmetic, as long as you’ve read Divisibility and Prime Numbers