The Well-Ordering Principle
Suppose that a totally ordered set \(\left( A,\leq\right) \) is given. That is, \(\leq\) is a binary relation defined on \(A\) satisfying reflexivity, antisymmetry, transitivity, and completeness: \begin{align*}
& \left( O_{1}\right) \ \forall x\in A:x\leq x\\
& \left( O_{2}\right) \ \forall x,y\in A:\left[ \left( x\leq y\wedge y\leq x\right) \Rightarrow x=y\right] \\
& \left( O_{3}\right) \ \forall x,y,z\in A:\left[ \left( x\leq y\wedge y\leq z\right) \Rightarrow x\leq z\right] \\
& \left( O_{4}\right) \ \forall x,y\in A:\left( x\leq y\vee y\leq x\right)
\end{align*}
Given a nonempty subset \(B\) of a totally ordered set \(A\), its least element \(\min B\) is defined as an element of \(B\) satisfying \[
\forall x\in B:\min B\leq x.
\]
A totally ordered set \(A\) is said to be well ordered if every nonempty subset of \(A\) has a least element, that is, if \[
\forall B\subset A:\left( B\not =\phi\Rightarrow\exists\min B\right)
\]holds.
If the usual order \(\leq\) is defined on the set of natural numbers \(\mathbb{N} \), then the totally ordered set \(\left(\mathbb{N} ,\leq\right) \) is obtained, and this set is well ordered. In other words, every nonempty subset of \(\mathbb{N} \) has a least element. This statement is called the well-ordering principle.
The Well-Ordering Principle and the Minimal Counterexample Method
The well-ordering principle states that every nonempty subset of the natural numbers has a least element. This property allows us, when proving a statement about natural numbers, to consider the smallest natural number for which the statement fails. This method of proof is called the minimal counterexample method.
Suppose that we wish to prove that a statement \(P(n)\) holds for every natural number \(n\). Consider the set of natural numbers for which \(P(n)\) fails: \[
X=\left\{ n\in\mathbb{N} \ |\ \lnot P(n)\right\} .
\]If
\[
X=\phi,
\]then \(P(n)\) holds for every natural number \(n\), and the proof is complete. On the other hand, if \[
X\not =\phi,
\]then the well-ordering principle guarantees the existence of
\[
m=\min X.
\]This \(m\) is the smallest natural number for which \(P(n)\) fails. Consequently, for every natural number \(n<m\), \[
P(n)
\]holds. If this fact can be used to show that \(P(m)\) also holds, we obtain a contradiction to \[
m\in X.
\]Hence the set of counterexamples \(X\) must be empty, and therefore \[
\forall n\in\mathbb{N} :P(n)
\]follows.
Thus, the minimal counterexample method proceeds as follows.
- Define the set \(X\) of natural numbers for which the statement fails.
- Assume that \(X\not =\phi\).
- By the well-ordering principle, choose the smallest counterexample
\(m=\min X\). - Use the fact that the statement holds for natural numbers smaller than
\(m\) to show that \(P(m)\) also holds. - This contradicts \(m\in X\), so conclude that \(X=\phi\).
This method is closely related to mathematical induction and strong induction. In particular, a proof that uses the fact that the statement holds for every natural number smaller than the minimal counterexample \(m\) has essentially the same structure as a proof by strong induction.
\[
2^{n}\geq n+1
\]for every natural number \(n\in\mathbb{N} \). Suppose that there exists a natural number for which this inequality fails, and define \[
X=\left\{ n\in\mathbb{N} \ |\ 2^{n}<n+1\right\} .
\]By assumption \(X\not =\phi\), so by the well-ordering principle, \[
m=\min X
\]exists. For \(n=1\), \[
2^{1}=2=1+1,
\]so
\[
1\notin X.
\]Therefore,
\[
m>1.
\]Since \(m-1<m\) and \(m\) is the least element of \(X\), \[
m-1\notin X.
\]Hence
\[
2^{m-1}\geq m.
\]Multiplying both sides by \(2\) gives \[
2^{m}\geq2m.
\]Since \(m\geq1\), \[
2m\geq m+1,
\]and therefore
\[
2^{m}\geq m+1.
\]This contradicts \(m\in X\). Hence \[
X=\phi,
\]and thus
\[
\forall n\in\mathbb{N} :2^{n}\geq n+1.
\]
X=\left\{ z\in\mathbb{Z} \ |\ 0<z<1\right\} .
\]Our goal is to show that \(X=\phi\), so suppose that \(X\not =\phi\) and derive a contradiction. Since \(X\) is a nonempty subset of \(\mathbb{N} \), the well-ordering principle guarantees the existence of \[
n=\min X.
\]Since \(\min X\in X\), that is, \(n\in X\), the definition of \(X\) gives \begin{align*}
& \left( a\right) \ n\in\mathbb{Z} \\
& \left( b\right) \ 0<n<1.
\end{align*}From \(\left( b\right) \), \[
n^{2}<n.
\]Since the integers \(\mathbb{Z} \) are closed under multiplication, \(\left( a\right) \) implies \[
n^{2}\in\mathbb{Z} .
\]Also, \(\left( b\right) \) gives \(n>0\), and the square of a positive integer is positive, so \[
0<n^{2}.
\]Hence
\[
0<n^{2}<n<1.
\]By the definition of \(X\), \[
n^{2}\in X.
\]Thus \(X\) contains an element smaller than \(n=\min X\), contradicting the fact that \(\min X\) is the least element of \(X\). Therefore, by contradiction, \(X=\phi\).
\sum_{i=1}^{n}i^{3}=\frac{n^{2}\left( n+1\right) ^{2}}{4},
\]that is,
\[
1^{3}+2^{3}+\cdots+n^{3}=\frac{n^{2}\left( n+1\right) ^{2}}{4}.
\]Suppose that this statement fails, that is, suppose
\[
\exists n\in\mathbb{N} :\sum_{i=1}^{n}i^{3}\not =\frac{n^{2}\left( n+1\right) ^{2}}{4}\]and derive a contradiction. Define
\[
X=\left\{ n\in\mathbb{N} \ |\ \sum_{i=1}^{n}i^{3}\not =\frac{n^{2}\left( n+1\right) ^{2}}{4}\right\}
.
\]By assumption \(X\not =\phi\). Since \(X\) is a nonempty subset of \(\mathbb{N} \), the well-ordering principle guarantees the existence of \[
m=\min X.
\]Since \(\min X\in X\), that is, \(m\in X\), the definition of \(X\) gives \begin{align*}
& \left( a\right) \ m\in\mathbb{N} \\
& \left( b\right) \ \sum_{i=1}^{m}i^{3}\not =\frac{m^{2}\left( m+1\right)
^{2}}{4}.
\end{align*}Since \(1\not \in X\) by the definition of \(X\), we have \(m>1\). Moreover, because \(m\) is the least element of \(X\), every \(i\) satisfying \(m>i\geq1\) lies outside \(X\), so in particular \(m-1\not \in X\). Therefore, by the definition of \(X\), \[
\left( c\right) \ \sum_{i=1}^{m-1}i^{3}=\frac{\left( m-1\right) ^{2}m^{2}}{4}.
\]Hence
\begin{align*}
\sum_{i=1}^{m}i^{3} & =\sum_{i=1}^{m-1}i^{3}+m^{3}\\
& =\frac{\left( m-1\right) ^{2}m^{2}}{4}+m^{3}\quad\because\left( c\right)
\\
& =\frac{m^{2}\left( m+1\right) ^{2}}{4},
\end{align*}contradicting \(\left( b\right) \). Therefore, by contradiction, \(X=\phi\).
The Well-Ordering Principle and the Division Algorithm
The well-ordering principle can also be used to derive fundamental results in number theory. A representative example is the division algorithm.
a=bq+r
\]and
\[
0\leq r<b.
\]
The division algorithm forms the basis of many arguments in number theory, including those concerning greatest common divisors, congruences, and prime factorizations.
The Well-Ordering Principle and Termination of the Euclidean Algorithm
By repeatedly applying the division algorithm, we obtain the Euclidean algorithm for finding the greatest common divisor of two positive integers.
Choose arbitrary positive integers \(a,b\in\mathbb{Z} _{++}\). Without loss of generality, suppose that \(a\geq b\). By the division algorithm, there exist integers \(q_{1},r_{1}\in\mathbb{Z} \) satisfying \[
a=bq_{1}+r_{1}\]and
\[
0\leq r_{1}<b.
\]
If \(r_{1}=0\), then \[
a=bq_{1},
\]so \(a\) is divisible by \(b\). Hence \[
\gcd\left( a,b\right) =b,
\]and the algorithm terminates at this point.
If \(r_{1}>0\), then applying the division algorithm again to \(b,r_{1}\in\mathbb{Z} _{++}\) gives integers \(q_{2},r_{2}\in\mathbb{Z} \) satisfying \[
b=r_{1}q_{2}+r_{2}\]and
\[
0\leq r_{2}<r_{1}.
\]
If \(r_{2}=0\), then \[
b=r_{1}q_{2},
\]so
\[
\gcd\left( b,r_{1}\right) =r_{1}.
\]Moreover, from the first equation
\[
a=bq_{1}+r_{1},
\]every common divisor of \(a\) and \(b\) also divides \(r_{1}\), and conversely every common divisor of \(b\) and \(r_{1}\) also divides \(a\). Therefore, \[
\gcd\left( a,b\right) =\gcd\left( b,r_{1}\right) .
\]Thus, if \(r_{2}=0\), \[
\gcd\left( a,b\right) =r_{1},
\]and the algorithm terminates at this point.
If \(r_{2}>0\), then applying the division algorithm again to \(r_{1},r_{2}\in\mathbb{Z} _{++}\) gives integers \(q_{3},r_{3}\in\mathbb{Z} \) satisfying \[
r_{1}=r_{2}q_{3}+r_{3}\]and
\[
0\leq r_{3}<r_{2}.
\]The same argument is then repeated according as \(r_{3}=0\) or \(r_{3}>0\).
In general, when a remainder first becomes \(0\), the preceding nonzero remainder is the greatest common divisor of \(a\) and \(b\). That is, if \[
r_{k-1}=r_{k}q_{k+1}+r_{k+1},\quad r_{k+1}=0,
\]then
\[
\gcd\left( a,b\right) =r_{k}.
\]
On the other hand, as long as positive remainders continue to appear, repeated application of this procedure produces a strictly decreasing sequence of natural numbers:
\[
b>r_{1}>r_{2}>r_{3}>\cdots>0.
\]
This process cannot continue indefinitely. We can prove this using the well-ordering principle.
This proof shows that there is no infinite strictly decreasing sequence of natural numbers
\[
n_{1}>n_{2}>n_{3}>\cdots.
\]This property follows immediately from the well-ordering principle.
Indeed, suppose that such a sequence exists and consider the set of its values
\[
X=\left\{ n_{1},n_{2},n_{3},\ldots\right\} .
\]By the well-ordering principle, \(X\) has a least element \(n_{k}\). But \[
n_{k+1}<n_{k}\]and
\[
n_{k+1}\in X,
\]which is a contradiction.
Thus, the well-ordering principle is useful not only for proofs concerning natural numbers, but also as a principle guaranteeing that an algorithm whose natural-number-valued quantity decreases strictly at each step must terminate after finitely many steps. The Euclidean algorithm is a representative example.
Relationship Between the Well-Ordering Principle and the Principle of Mathematical Induction
A proof by mathematical induction is a method for showing that a statement
\[
P\left( n\right)
\]about a natural number \(n\) holds for every natural number \(n\in\mathbb{N} \). Specifically, one first shows that \[
P\left( 1\right)
\]is true, and then chooses an arbitrary natural number \(k\in\mathbb{N} \) and proves \[
P\left( k\right) \Rightarrow P\left( k+1\right) .
\]
The validity of mathematical induction as a method of proof is based on the following proposition, which we called the principle of mathematical induction.
& \left( a\right) \ 1\in A\\
& \left( b\right) \ \forall k\in\mathbb{N} :\left( k\in A\Rightarrow k+1\in A\right)
\end{align*}hold, then
\[
A=\mathbb{N} .
\]
The well-ordering principle and the principle of mathematical induction are equivalent.
A proof by strong induction is a method for showing that a statement
\[
P\left( n\right)
\]about a natural number \(n\) holds for every natural number \(n\in\mathbb{N} \). Specifically, one first shows that \[
P\left( 1\right)
\]is true, and then chooses an arbitrary natural number \(k\in\mathbb{N} \) and proves \[
\left[ \forall n\in\mathbb{N} :\left( n\leq k\Rightarrow P\left( n\right) \right) \right] \Rightarrow P\left( k+1\right) .
\]
The validity of strong induction as a method of proof is based on the following proposition, which we called the principle of strong induction.
& \left( a\right) \ 1\in A\\
& \left( b\right) \ \forall k\in\mathbb{N} :\left[ \left( \forall n\in\mathbb{N} :\left( n\leq k\Rightarrow n\in A\right) \right) \Rightarrow k+1\in A\right] \end{align*}hold, then
\[
A=\mathbb{N} .
\]
The principle of strong induction and the principle of mathematical induction are equivalent. As shown above, the well-ordering principle and the principle of mathematical induction are also equivalent. Therefore we obtain the following result.
Exercises
\sum_{i=1}^{n}\left( 2i-1\right) =n^{2},
\]that is,
\[
1+3+5+\cdots+2n-1=n^{2}.
\]Use the well-ordering principle in your proof.
\sum_{i=1}^{n}2i=n\left( n+1\right) ,
\]that is,
\[
2+4+6+\cdots+2n=n\left( n+1\right) .
\]Use the well-ordering principle in your proof.
D=\left\{ d\in\mathbb{N} \ |\ d>1\wedge d|n\right\}
\]of divisors of \(n\) greater than \(1\). Use the well-ordering principle to show that \(\min D\) exists, and then prove that \(\min D\) is prime.
& P(1)\\
& \forall n\in\mathbb{N} :\left[ P(n)\Rightarrow P(n+1)\right] .
\end{align*}Using only the well-ordering principle, show that
\[
\forall n\in\mathbb{N} :P(n).
\]
