The fundamental theorem of arithmetic is a foundational result in number theory: every integer greater than 1 can be expressed as a product of prime numbers, and that expression is unique except for the order of the factors. It establishes both the existence of prime factorizations and the uniqueness of the primes and their multiplicities. (courses.csail.mit.edu)
Statement and meaning
For every integer , there are distinct primes and positive integers such that
With the primes placed in increasing order, both the primes and their exponents are uniquely determined by . This expression is called the prime-power decomposition of . (faculty.etsu.edu)
For example,
The theorem means that every decomposition of 360 into prime factors contains exactly three factors equal to 2, two equal to 3, and one equal to 5. Different orders of multiplication do not count as different prime factorizations. By contrast, factorizations into arbitrary integers need not be unique: . These examples illustrate the distinction between prime factorization and unrestricted factorization. (courses.csail.mit.edu)
The standard statement excludes 1. Under the convention that a product with no factors equals 1, the theorem can also be stated for every positive integer, with 1 represented by the empty product. Negative integers are handled by factoring their absolute values and attaching a minus sign. In the ring of integers, and are units: they possess multiplicative inverses within the ring. Uniqueness for nonzero integers is therefore understood up to order and multiplication by units. (en.wikipedia.org)
Proof
The two parts of the theorem require different arguments. Existence follows from the fact that composite positive integers split into smaller factors. Uniqueness depends on a stronger property of prime divisibility. (web.stanford.edu)
Existence
A proof by strong mathematical induction establishes existence.
The integer 2 is prime, so it already has a prime factorization. Suppose every integer between 2 and has a prime factorization. If is prime, its factorization consists of alone. Otherwise,
Both and have prime factorizations by the induction hypothesis. Multiplying those factorizations gives one for . (web.stanford.edu)
Equivalently, repeated splitting of composite factors must terminate: each split replaces a factor by smaller positive integers, and an indefinitely decreasing sequence of positive integers is impossible. This termination principle is closely connected with the well-ordering principle. (cs.clarku.edu)
Euclid’s lemma
Euclid’s lemma states that if a prime divides a product , then divides at least one of and :
Here means that is an integer multiple of . To prove the lemma, suppose . Since is prime, the greatest common divisor of and is then 1. Bézout’s identity, obtainable from the Euclidean algorithm, supplies integers satisfying
Multiplying by gives
Both terms on the left are divisible by , so . Repeated application extends the lemma to any finite product: a prime dividing the product must divide at least one factor. (courses.csail.mit.edu)
Uniqueness
Suppose an integer has two prime factorizations,
where repeated primes are written separately. Since divides the product on the right, Euclid’s lemma implies that it divides some . Because is prime, . Rearrange the factors and cancel this common prime.
The same argument applies to the remaining products. Neither side can run out of factors before the other, since a nonempty product of primes is greater than 1. Consequently , and the two lists contain exactly the same primes with the same multiplicities. (itamar.web.illinois.edu)
Historical development
Important ingredients appear in Euclid’s Elements. Book VII, Proposition 30 states the prime-divisibility property now called Euclid’s lemma. Book IX, Proposition 14 gives a related result concerning the least number divisible by specified primes. These propositions provide ancient foundations for unique factorization, although they should not simply be identified with the complete modern statement. (mathcs.clarku.edu)
Carl Friedrich Gauss explicitly stated and proved uniqueness in Article 16 of Disquisitiones Arithmeticae, published in 1801. He treated the existence of prime factorizations as evident rather than presenting a separate proof of it. The historical development thus distinguishes elementary knowledge of prime decomposition from explicit recognition and proof of its uniqueness. (la.wikisource.org)
Consequences and uses
Divisibility and greatest common divisors
Prime factorization reduces questions of divisibility to comparisons of exponents. Write two positive integers using a common list of primes,
where absent primes have exponent zero and only finitely many exponents are nonzero. Then
It follows that
The formula works because a common divisor can contain no more copies of any prime than occur in either integer. (faculty.etsu.edu)
For instance,
so their greatest common divisor is . Taking the larger exponent of each prime instead gives their least common multiple, . These are direct applications of the exponent comparison above. (faculty.etsu.edu)
Divisors and perfect powers
For
each positive divisor is obtained uniquely by selecting an exponent between 0 and for each . Thus the number of positive divisors is
Similarly, is a perfect -th power, for a positive integer , exactly when every exponent is divisible by . Both conclusions follow directly from uniqueness: divisors select some of the available prime factors, while raising an integer to the -th power multiplies every prime exponent by . (faculty.etsu.edu)
Rational numbers
The theorem extends to positive rational numbers by permitting negative integer exponents. Factoring the numerator and denominator yields a unique expression
with only finitely many nonzero exponents. For example,
This is a direct consequence of applying integer prime factorization to numerator and denominator and subtracting corresponding exponents. (faculty.etsu.edu)
Generalization and limits
In abstract algebra, the integer theorem is a model for a unique factorization domain. Such a ring has no zero divisors, and every nonzero nonunit factors into irreducible elements uniquely up to order and multiplication by units. An element is irreducible if any factorization of it has a unit among its factors; a prime element satisfies the product-divisibility property used in Euclid’s lemma. These notions agree for integers but need not agree in other rings. (arxiv.org)
A standard counterexample is
In this ring,
All four displayed factors are irreducible, yet the two factorizations cannot be made identical merely by reordering or multiplying factors by units. Unique factorization of elements therefore fails. This does not contradict the fundamental theorem of arithmetic, whose original domain is the ordinary integers. (arxiv.org)
In algebraic number theory, factorization of ideals can retain uniqueness even when factorization of elements does not. For example, every nonzero proper ideal of has a unique factorization into prime ideals, up to order. The distinction between element factorization and ideal factorization is a central extension of the arithmetic viewpoint. (arxiv.org)
References
- Fundamental Thm. of Arithmeticcourses.csail.mit.edu
- Section 2. Unique Factorizationfaculty.etsu.edu
- Math 79SI Notesweb.stanford.edu
- MATH 417: Introduction to abstract algebra — 9/4: Unique factorisationitamar.web.illinois.edu
- Euclid's Elements, Quick Tripmathcs.clarku.edu
- A Historical Survey of the Fundamental Theorem of Arithmeticmath.ubc.ca
- Disquisitiones arithmeticae/Sectio secundala.wikisource.org
- How do elements really factor in Z[sqrt(-5)]?arxiv.org
- Fundamental theorem of arithmeticen.wikipedia.org