Mathwords logoMathwords

Well Ordering Principle — Definition & Example

The Well Ordering Principle is the statement that any nonempty collection of natural numbers has a smallest member. In proofs, you build a set of natural numbers, take its least element, and use that element's minimality to draw a conclusion.

For every subset S⊆NS \subseteq \mathbb{N} with S≠∅S \neq \varnothing, there exists m∈Sm \in S such that m≤sm \le s for all s∈Ss \in S. Taking the Peano axioms as the base, this principle is logically equivalent to the principle of mathematical induction. Each can be proved from the other.

Worked Example

Problem: Use the Well Ordering Principle to show that there are integers qq and rr with 50=7q+r50 = 7q + r and 0≤r<70 \le r < 7. Then find them.
Step 1: Build a set of natural numbers. Let SS contain every nonnegative value of 50−7q50 - 7q, where qq is an integer. SS is nonempty because q=0q = 0 gives 50∈S50 \in S.
S={ 50−7q:q∈Z, 50−7q≥0 }={50,43,36,29,22,15,8,1}S = \{\,50 - 7q : q \in \mathbb{Z},\ 50 - 7q \ge 0\,\} = \{50, 43, 36, 29, 22, 15, 8, 1\}
Step 2: By the Well Ordering Principle, SS has a least element rr. Here r=1r = 1, which comes from q=7q = 7. The next candidate is 50−7(8)=−650 - 7(8) = -6, which is negative, so it is not in SS.
r=50−7(7)=1r = 50 - 7(7) = 1
Step 3: Use minimality to show r<7r < 7. If r≥7r \ge 7, then r−7=50−7(q+1)r - 7 = 50 - 7(q+1) would also be a nonnegative element of SS. It would be smaller than rr, which contradicts the choice of rr. So 0≤r<70 \le r < 7. The same argument works for any a≥0a \ge 0 and b>0b > 0. This is the existence half of the division algorithm.
50=7⋅7+1,0≤1<750 = 7 \cdot 7 + 1, \qquad 0 \le 1 < 7
Answer: q=7q = 7 and r=1r = 1, so 50=7⋅7+150 = 7 \cdot 7 + 1. The remainder exists because SS must have a least element.

Why It Matters

In a discrete math or intro-to-proofs course, the Well Ordering Principle powers proof by minimal counterexample. You assume some natural number fails a claim, take the smallest one, and derive a contradiction. It gives the existence part of the division algorithm, the Euclidean algorithm, and Bézout's identity, since gcd⁡(a,b)\gcd(a,b) is the least positive value of ax+byax + by. It also guarantees that every integer greater than 1 has a prime factorization.

Common Mistakes

Mistake: Applying the principle to sets that are not subsets of the natural numbers, such as the positive real numbers {x∈R:x>0}\{x \in \mathbb{R} : x > 0\}.
Correction: That set has no least element. For any x>0x > 0, the number x/2x/2 is smaller and still positive. Before you invoke the principle, check that your set is nonempty and that it contains only natural numbers (or integers bounded below).

Related Terms