Depending on the framework in which the natural numbers are introduced, this (second-order) property of the set of natural numbers is either an axiom or a provable theorem. For example:
In the second sense, this phrase is used when that proposition is relied on for the purpose of justifying proofs that take the following form: to prove that every natural number belongs to a specified set S {\displaystyle S} , assume the contrary, which implies that the set of counterexamples is non-empty and thus contains a smallest counterexample. Then show that for any counterexample there is a still smaller counterexample, producing a contradiction. This mode of argument is the contrapositive of proof by complete induction. It is known light-heartedly as the "minimal criminal" method and is similar in its nature to Fermat's method of "infinite descent".
Garrett Birkhoff and Saunders Mac Lane wrote in A Survey of Modern Algebra that this property, like the least upper bound axiom for real numbers, is non-algebraic; i.e., it cannot be deduced from the algebraic properties of the integers (which form an ordered integral domain).
The well-ordering principle can be used in the following proofs.
Theorem: Every integer greater than one can be factored as a product of primes. This theorem constitutes part of the Prime Factorization Theorem.
Proof (by well-ordering principle). Let C {\displaystyle C} be the set of all integers greater than one that cannot be factored as a product of primes. We show that C {\displaystyle C} is empty.
Assume for the sake of contradiction that C {\displaystyle C} is not empty. Then, by the well-ordering principle, there is a least element n ∈ C {\displaystyle n\in C} ; n {\displaystyle n} cannot be prime since a prime number itself is considered a length-one product of primes. By the definition of non-prime numbers, n {\displaystyle n} has factors a , b {\displaystyle a,b} , where a , b {\displaystyle a,b} are integers greater than one and less than n {\displaystyle n} . Since a , b < n {\displaystyle a,b<n} , they are not in C {\displaystyle C} as n {\displaystyle n} is the smallest element of C {\displaystyle C} . So, a , b {\displaystyle a,b} can be factored as products of primes, where a = p 1 p 2 . . . p k {\displaystyle a=p_{1}p_{2}...p_{k}} and b = q 1 q 2 . . . q l {\displaystyle b=q_{1}q_{2}...q_{l}} , meaning that n = p 1 p 2 . . . p k ⋅ q 1 q 2 . . . q l {\displaystyle n=p_{1}p_{2}...p_{k}\cdot q_{1}q_{2}...q_{l}} , a product of primes. This contradicts the assumption that n ∈ C {\displaystyle n\in C} , so the assumption that C {\displaystyle C} is nonempty must be false.2
Theorem: 1 + 2 + 3 + . . . + n = n ( n + 1 ) 2 {\displaystyle 1+2+3+...+n={\frac {n(n+1)}{2}}} for all positive integers n {\displaystyle n} .
Proof. Suppose for the sake of contradiction that the above theorem is false. Then, there exists a non-empty set of positive integers C = { n ∈ N ∣ 1 + 2 + 3 + . . . + n ≠ n ( n + 1 ) 2 } {\displaystyle C=\{n\in \mathbb {N} \mid 1+2+3+...+n\neq {\frac {n(n+1)}{2}}\}} . By the well-ordering principle, C {\displaystyle C} has a minimum element c {\displaystyle c} such that when n = c {\displaystyle n=c} , the equation is false, but true for all positive integers less than c {\displaystyle c} . The equation is true for n = 1 {\displaystyle n=1} , so c > 1 {\displaystyle c>1} ; c − 1 {\displaystyle c-1} is a positive integer less than c {\displaystyle c} , so the equation holds for c − 1 {\displaystyle c-1} as it is not in C {\displaystyle C} . Therefore,
1 + 2 + 3 + . . . + ( c − 1 ) = ( c − 1 ) c 2 1 + 2 + 3 + . . . + ( c − 1 ) + c = ( c − 1 ) c 2 + c = c 2 − c 2 + 2 c 2 = c 2 + c 2 = c ( c + 1 ) 2 {\begin{aligned}1+2+3+...+(c-1)&={\frac {(c-1)c}{2}}\\1+2+3+...+(c-1)+c&={\frac {(c-1)c}{2}}+c\\&={\frac {c^{2}-c}{2}}+{\frac {2c}{2}}\\&={\frac {c^{2}+c}{2}}\\&={\frac {c(c+1)}{2}}\end{aligned}} ,
which shows that the equation holds for c {\displaystyle c} , a contradiction. So, the equation must hold for all positive integers.3
Apostol, Tom (1976). Introduction to Analytic Number Theory. New York: Springer-Verlag. pp. 13. ISBN 0-387-90163-9. 0-387-90163-9 ↩
Lehman, Eric; Meyer, Albert R; Leighton, F Tom. Mathematics for Computer Science (PDF). Retrieved 2 May 2023. https://courses.csail.mit.edu/6.042/spring17/mcs.pdf ↩