I will present to you a more modern treatment of this very old theorem than what you are likely to find in textbooks. I need some basic notation for this.
Notation.
- . (Summation)
- (Product)
If is a finite set of integers, is the sum over all elements of . The product is defined the same way. In the case when , I define (the additive identity) and (the multiplicative identity).
Multiplicity
Definition.
Given a positive integer and a prime , the multiplicity of with respect to , in symbols, , is the largest integer such that .
Reflect.
Why does the multiplicity exist? In other words, is it clear to you that the aforementioned set always has a largest element?
Examples.
The fundamental theorems
Old fundamental theorem of arithmetic.
Every positive integer is the product of primes. This product is unique up to permutations.
I will give a precise definition of the word permutation in a later chapter. For now, it just means that the order of the primes with positive multiplicity might change and yet I do not consider them different products. The examples below illustrate this idea.
Reflect.
Most textbooks state the theorem by adding “every integer bigger than 1.” Did I make a typo above?
Here is my preferred way of stating the main result of this section.
Fundamental theorem of arithmetic (FTA).
For any ,
Reflect.
I have not (and will not, in this course) defined the concept of an infinite product. There are infinitely many primes, so how is the above well-defined?
A crucial observation is that in the above product, primes with zero multiplicity do not contribute to the product (since they add a factor of ), so I only ever need to consider the primes with positive multiplicity, of which there could be none as in the first example below.
Examples.
- (empty product)
- (product with a single factor, a prime)
- (product with two different primes)
- (product with one prime but of higher multiplicity)
Proof of the fundamental theorems
I divide the proof of the fundamental theorem into its two basic components.
Lemma ( Existence part of FTA).
Every integer bigger than 1 is the product of primes.
Lemma ( Uniqueness part of FTA).
Two products of primes are equal only if the factors are permutations of each other. (In other words, the set of primes are the same.)
Reflect.
How do the two lemmas actually prove FTA?
Proof of Existence:
Suppose that the lemma fails. Then, by the well-ordering principle, there must exist a least counterexample . That is, is not the product of primes. Obviously, itself cannot be prime, so there exist two integers and such that and . By minimality (this word is defined in Induction), both and are products of primes. But then, must also be a product of primes. This contradiction proves the lemma.
Sketch of proof of Uniqueness:
Note:
This proof follows an informal discussion given in class. It is inadequate for these notes.
The GCD and LCM can be computed in terms of the multiplicities.
Hard exercise.
Let . Then,
and
Exercise.
Use the above (even if you did not solve it) to show that for any integers not both zero and ,