Numbers and Sequences
We take the well-ordering principle as an axiom here. It can equally well be derived from a different collection of axioms that does not include it.
In time we will see that this principle is extremely useful in proofs. Existence is often the hard part. The well-ordering principle is especially helpful then: we carefully construct a nonempty subset of whose least element is the number we care about, and conclude that such a number exists.
In some cases it is more convenient to construct a subset of , or more generally a subset of , where is any given integer. This is a variant of the well-ordering principle, and it may be useful in some proofs.
Let be given and let be a nonempty subset of . Then there exists a least integer in .
In particular, every nonempty subset of the natural numbers has a least element.
Proof
Construct the set
Note that is a subset of , since for all . Since is nonempty, so is . By the well-ordering principle, there exists a least integer in . There exists such that . We want to show that is the least element of . Let be any integer in . Then is in . Since is the least element of ,
so . Thus is the least element of .
Basic Properties of Floor Functions
The definition already asserts that such an integer exists. The well-ordering principle produces it, if you wish.
For example, and ; and ; ; and .
Every real number can be written uniquely as an integer plus a remainder in :
In particular,
This splitting is the ground everything else grows from.
How far is from ? Directly from the definition,
Equivalently,
which is the form we use when we estimate.
Proof
Taking the negative signs over
yields
Add into
we have
Therefore,
Since , we must have , i.e., .
What happens if we shift, compare, or nest?
We may pull the integers out of the floor function.
For every and every ,
Proof
The floor function is non-decreasing.
Proof
We have
Therefore,
Since and are integers, we must have .
Applying the floor twice yields the same result as applying it once, so does the fraction function.
Addition is the operation that matters. The correction is only or .
For all ,
Proof
Write
We have
Note that .
If , then is precisely the fraction part of . Thus, .
On the other hand, if , then the fraction part of is . Consequently, .
Therefore, is either or , which implies that (1.1) holds.
As a byproduct,
Proof
We have seen that if , then is precisely the fraction part of , i.e., . Take fraction on both sides and apply Proposition 1.5,
If , then we have seen that the fraction part of is , i.e., . Move the to the LHS,
Note that LHS can be regard as a decomposition of the greatest integer part and the fraction part of the real number . Take the fraction on both sides,
Subtraction is the same idea, with a sign to watch:
and
Proof
Negatives are easy to get wrong, so we leave them until the rest is in place.
Proof
Write . Apply the negative sign over to both sides,
If , then and .
If , we have
Note that , which means it is the fraction part of . Thus, and
The ceiling of is
Then is or .
Diophantine Approximation
Proof
For example, if a company has more than people, then two of them must share the same birthday.
Let and , then there exist with such that
I picture two rulers, left end against left end. The reference has ticks of unit : the integers. The target has ticks of unit , generally a different length. We start them together at and read along.
integers (reference) 0 1 2 3 |--------------|--------------|--------------| |----------|----------|----------|----------| 0 x 2x 3x 4xmultiples of x (target) ^For any error , among the first ticks of the target some tick sits within that error of a tick on the reference.
Proof
Divide evenly into buckets, the intervals
with the last one closed. They partition .
Now consider the numbers
Here is a list rather than a set, since there may be duplicates. All of them lie in . Put them into the buckets. By the pigeonhole principle Theorem 1.1, at least two fall into the same bucket. There are three cases.
Case . contains at least two of . is certainly one of them; cannot be. So for some . We have
Let and (1.4) holds.
Case . contains at least two of . is certainly one of them; cannot be. So for some . We have
Write and rearrange:
Let and (1.4) holds.
Case . This is the interesting part. Suppose neither nor contains at least two numbers of . Then some interval
with contains at least two numbers of . It cannot contain or . So there exist with such that and both lie in . Their distance is then less than :
Without loss of generality, . Thus
The fractional part of a number already in is itself, so
By (1.3) we obtain
since .
If , let . Clearly . Then
The same argument as in Case finishes it.
If , let . We have
If , we are already done. If , then by Proposition 1.7 we have . Therefore
Hence
Take and we are done.
Let . There are infinitely many positive integers for which there exists such that
Proof
(1.5) is equivalent to
Before we go into the proof, a few observations.
clearly satisfies. Let and , the two distances from to the integers adjacent to it.
Now suppose and satisfy (1.6) with , and let . Then , since is irrational. Note also that can never be the midpoint of two consecutive integers, and that . For any other integer , we must have
That is, is the closest integer to when .
We prove by contradiction. Assume there are only finitely many such positive integers, . Let be the associated integer for which (1.6) holds, i.e.,
We aim to produce a contradiction by finding another qualified integer . Let be such that
By Theorem 1.2, there exist and such that
Note that
Also
If , then , which is impossible. Thus , so . If for some , then is the closest integer to , hence and , contradicting . Therefore , and yet and satisfy (1.6). This is a contradiction, which concludes the proof.