The fundamental theorem of arithmetic states that every natural number can be factorized uniquely as a product of prime numbers. The word “uniquely” here means unique up to rearranging. The theorem means that if you and I take the same number and I write
and you write
where each
and
is a prime number, then in fact
and we wrote the same prime numbers (but maybe in a different order).
Most people happily accept this theorem as self evident and believe it without proof. Indeed some people take it to be so self evident they feel it doesn’t really deserve the name “theorem” – hence the title of this blog post. In this post I want to highlight two situations where an analogous theorem fails.
Situation One: The Even Numbers
Imagine a world where everything comes in twos. In this world nobody knows of the number one or indeed any odd number. Their counting numbers are the even numbers . People in this world can add numbers and multiply numbers just like we can. They can even talk about divisibility, for example
divides
since
. Note that things are already getting a bit strange in this world. Since there is no number one, numbers in this world do not divide themselves.
Once people can talk about divisibility, they can talk about prime numbers. A number is prime in this world if it is not divisible by any other number. For example is prime but as we saw
is not prime. Surprisingly the number
is also prime in this world. This is because there are no two even numbers that multiply together to make
.
If a number is not prime in this world, we can reduce it to a product of primes. This is because if is not prime, then there are two number
and
such that
. Since
and
are both smaller than
, we can apply the same argument and recursively write
as a product of primes.
Now we can ask whether or not the fundamental theorem of arthimetic holds in this world. Namely we want to know if their is a unique way to factorize each number in this world. To get an idea we can start with some small even numbers.
is prime.
can be factorized uniquely.
is prime.
can be factorized uniquely.
is prime.
can be factorized uniquely.
is prime.
can be factorized uniquely.
is prime.
can be factorized uniquely.
Thus it seems as though there might be some hope for this theorem. It at least holds for the first handful of numbers. Unfortunately we eventually get to and we have:
and
.
Thus there are two distinct ways of writing as a product of primes in this world and thus the fundamental theorem of arithmetic does not hold.
Situtation Two: A Number Ring
While the first example is fun and interesting, it is somewhat artificial. We are unlikely to encounter a situation where we only have the even numbers. It is however common and natural for mathematicians to be lead into certain worlds called number rings. We will see one example here and see what an effect the fundamental theorem of arithmetic can have.
Consider wanting to solve the equation where
and
are both integers. One way to try to solve this is by rewriting the equation as
. With this rewriting we have left the familiar world of the whole numbers and entered the number ring
.
In all numbers have the form
, where
and
are integers. Addition of two such numbers is defined like so
.
Multiplication is define by using the distributive law and the fact that . Thus
.
Since we have multiplication we can talk about when a number in divides another and hence define primes in
. One can show that if
, then
and
are coprime in
(see the references at the end of this post).
This means that there are no primes in that divides both
and
. If we assume that the fundamental theorem of arthimetic holds in
, then this implies that
must itself be a cube. This is because
is a cube and if two coprime numbers multiply to be a cube, then both of those coprime numbers must be cubes.
Thus we can conclude that there are integers and
such that
. If we expand out this cube we can conclude that
.
Thus in particular we have . This implies that
and
. Hence
and
. Now if
, then
– a contradiction. Similarly if
, then
– another contradiction. Thus we can conclude there are no integer solutions to the equation
!
Unfortunately however, a bit of searching reveals that . Thus simply assuming that that the ring
has unique factorization led us to incorrectly conclude that an equation had no solutions. The question of unique factorization in number rings such as
is a subtle and important one. Some of the flawed proofs of Fermat’s Last Theorem incorrectly assume that certain number rings have unique factorization – like we did above.
References
The lecturer David Smyth showed us that the even integers do not have unique factorization during a lecture of the great course MATH2222.
The example of failing to have unique factorization and the consequences of this was shown in a lecture for a course on algebraic number theory by James Borger. In this class we followed the (freely available) textbook “Number Rings” by P. Stevenhagen. Problem 1.4 on page 8 is the example I used in this post. By viewing the textbook you can see a complete solution to the problem.