Fundamental theorem of arithmetic

Short description: Integers have unique prime factorizations

This article is about the unique factorization of integers into prime numbers. For the theorem about roots of a polynomial, see Fundamental theorem of algebra. For other fundamental theorems, see List of theorems called fundamental.

In Disquisitiones Arithmeticae (1801) Gauss proved the unique factorization theorem[1] and used it to prove the law of quadratic reciprocity.[2]

In mathematics, the fundamental theorem of arithmetic, also called the unique factorization theorem and prime factorization theorem, states that every integer greater than 1 is either prime or can be represented uniquely as a product of prime numbers, up to the order of the factors.[3][4][5] For example,

1200=24⋅31⋅52=(2⋅2⋅2⋅2)⋅3⋅(5⋅5)=5⋅2⋅5⋅2⋅3⋅2⋅2=…

The theorem says two things about this example: first, that 1200 can be represented as a product of primes, and second, that no matter how this is done, there will always be exactly four 2s, one 3, two 5s, and no other primes in the product.

The requirement that the factors be prime is necessary: factorizations containing composite numbers may not be unique (for example, 12=2⋅6=3⋅4).

Using the standard conventions for the product of a sequence (the value of the empty product is 1 and the product of a single factor is the factor itself), the theorem is often stated as: every positive integer can be represented uniquely as a product of prime numbers, up to the order of the factors.

This theorem is one of the main reasons why 1 is not considered a prime number: if 1 were prime, then factorization into primes would not be unique; for example, 2=2⋅1=2⋅1⋅1=…

The theorem generalizes to other algebraic structures that are called unique factorization domains and include principal ideal domains, Euclidean domains, and polynomial rings over a field. However, the theorem does not hold for algebraic integers.[lower-alpha 1] This failure of unique factorization is one of the reasons for the difficulty of the proof of Fermat's Last Theorem. The implicit use of unique factorization in rings of algebraic integers is behind the error of many of the numerous false proofs that have been written during the 358 years between Fermat's statement and Wiles's proof.

## Contents

* 1 History
* 2 Applications
* 2.1 Canonical representation of a positive integer
* 2.2 Arithmetic operations
* 2.3 Arithmetic functions
* 3 Proof
* 3.1 Existence
* 3.2 Uniqueness
* 3.3 Uniqueness without Euclid's lemma
* 4 Generalizations
* 5 See also
* 6 Notes
* 7 Citations
* 8 References
* 9 External links

## History

The fundamental theorem can be derived from Book VII, propositions 30, 31 and 32, and Book IX, proposition 14 of Euclid's Elements.

> If two numbers by multiplying one another make some number, and any prime number measure the product, it will also measure one of the original numbers.

> - Euclid, Elements Book VII, Proposition 30

(In modern terminology: if a prime p divides the product ab, then p divides either a or b or both.) Proposition 30 is referred to as Euclid's lemma, and it is the key in the proof of the fundamental theorem of arithmetic.

> Any composite number is measured by some prime number.

> - Euclid, Elements Book VII, Proposition 31

(In modern terminology: every integer greater than one is divided evenly by some prime number.) Proposition 31 is proved directly by infinite descent.

> Any number either is prime or is measured by some prime number.

> - Euclid, Elements Book VII, Proposition 32

Proposition 32 is derived from proposition 31, and proves that the decomposition is possible.

> If a number be the least that is measured by prime numbers, it will not be measured by any other prime number except those originally measuring it.

> - Euclid, Elements Book IX, Proposition 14

(In modern terminology: a least common multiple of several prime numbers is not a multiple of any other prime number.) Book IX, proposition 14 is derived from Book VII, proposition 30, and proves partially that the decomposition is unique – a point critically noted by André Weil.[lower-alpha 2] Indeed, in this proposition the exponents are all equal to one, so nothing is said for the general case.

While Euclid took the first step on the way to the existence of prime factorization, Kamāl al-Dīn al-Fārisī took the final step[lower-alpha 3] and stated for the first time the fundamental theorem of arithmetic.[lower-alpha 4]

Article 16 of Gauss's Disquisitiones Arithmeticae seems to be the first proof of the uniqueness part of the theorem.[1]

## Applications

### Canonical representation of a positive integer

Every positive integer n > 1 can be represented in exactly one way as a product of prime powers

n=p1n1p2n2⋯pknk=∏i=1kpini,

where p1 < p2 < ... < pk are primes and the ni are positive integers. This representation is commonly extended to all positive integers, including 1, by the convention that the empty product is equal to 1 (the empty product corresponds to k = 0).

This representation is called the canonical representation[6] of n, or the standard form[7][8] of n. For example,

999 = 33×37,
1000 = 23×53,
1001 = 7×11×13.

Factors p0 = 1 may be inserted without changing the value of n (for example, 1000 = 23×30×53). In fact, any positive integer can be uniquely represented as an infinite product taken over all the positive prime numbers, as

n=2n13n25n37n4⋯=∏i=1∞pini,

where a finite number of the ni are positive integers, and the others are zero.

Allowing negative exponents provides a canonical form for positive rational numbers.

### Arithmetic operations

The canonical representations of the product, greatest common divisor (GCD), and least common multiple (LCM) of two numbers a and b can be expressed simply in terms of the canonical representations of a and b themselves:

a⋅b=2a1+b13a2+b25a3+b37a4+b4⋯=∏piai+bi,gcd⁡(a,b)=2min⁡(a1,b1)3min⁡(a2,b2)5min⁡(a3,b3)7min⁡(a4,b4)⋯=∏pimin⁡(ai,bi),lcm⁡(a,b)=2max⁡(a1,b1)3max⁡(a2,b2)5max⁡(a3,b3)7max⁡(a4,b4)⋯=∏pimax⁡(ai,bi).

However, integer factorization, especially of large numbers, is much more difficult than computing products, GCDs, or LCMs, so these formulas have limited use in practice.

### Arithmetic functions

Many arithmetic functions are defined using the canonical representation. In particular, the values of additive and multiplicative functions are determined by their values on the powers of prime numbers.

## Proof

The proof of uniqueness uses Euclid's lemma (Elements VII, 30): If a prime divides the product of two integers, then it must divide at least one of these integers.

### Existence

It must be shown that every integer greater than 1 is either prime or a product of primes. Let n be an integer greater than 1 and make the inductive assumption that every integer greater than 1 and less than n is either prime or a product of primes. If n is prime, there is nothing more to prove. Otherwise, there are integers a and b, where n = a b, and 1 < a ≤ b < n. By the inductive hypothesis, a = p1 p2 ⋅⋅⋅ pj and b = q1 q2 ⋅⋅⋅ qk are products of primes. But then n = a b = p1 p2 ⋅⋅⋅ pj q1 q2 ⋅⋅⋅ qk is a product of primes.

### Uniqueness

Suppose, to the contrary, there is an integer that has two distinct prime factorizations. Let n be the least such integer and write n = p1 p2 ... pj = q1 q2 ... qk, where each pi and qi is prime. We see that p1 divides q1 q2 ... qk, so p1 divides some qi by Euclid's lemma. Without loss of generality, say p1 divides q1. Since p1 and q1 are both prime, it follows that p1 = q1. Returning to our factorizations of n, we may cancel these two factors to conclude that p2 ... pj = q2 ... qk. We now have two distinct prime factorizations of some integer strictly smaller than n, which contradicts the minimality of n.

### Uniqueness without Euclid's lemma

The fundamental theorem of arithmetic can also be proved without using Euclid's lemma.[9] The proof that follows is inspired by Euclid's original version of the Euclidean algorithm.

Assume that s is the smallest positive integer which is the product of prime numbers in two different ways. Incidentally, this implies that s, if it exists, must be a composite number greater than 1. Now, say

s=p1p2⋯pm=q1q2⋯qn.

Every pi must be distinct from every qj. Otherwise, if say pi=qj, then there would exist some positive integer t=s/pi=s/qj that is smaller than s and has two distinct prime factorizations. One may also suppose that p1<q1, by exchanging the two factorizations, if needed.

Setting P=p2⋯pm and Q=q2⋯qn, one has s=p1P=q1Q. Also, since p1<q1, one has Q<P. It then follows that

s−p1Q=(q1−p1)Q=p1(P−Q)<s.

As the positive integers less than s have been supposed to have a unique prime factorization, p1 must occur in the factorization of either q1−p1 or Q. The latter case is impossible, as Q, being smaller than s, must have a unique prime factorization, and p1 differs from every qj. The former case is also impossible, as, if p1 is a divisor of q1−p1, it must be also a divisor of q1, which is impossible as p1 and q1 are distinct primes.

Therefore, there cannot exist a smallest integer with more than a single distinct prime factorization. Every positive integer must either be a prime number itself, which would factor uniquely, or a composite that also factors uniquely into primes, or in the case of the integer 1, not factor into any prime.

## Generalizations

The first generalization of the theorem is found in Gauss's second monograph (1832) on biquadratic reciprocity. This paper introduced what is now called the ring of Gaussian integers, the set of all complex numbers a \+ bi where a and b are integers. It is now denoted by ℤ[i]. He showed that this ring has the four units ±1 and ±i, that the non-zero, non-unit numbers fall into two classes, primes and composites, and that (except for order), the composites have unique factorization as a product of primes (up to the order and multiplication by units).[10]

Similarly, in 1844 while working on cubic reciprocity, Eisenstein introduced the ring ℤ[ω], where ω=−1+−32, ω3=1 is a cube root of unity. This is the ring of Eisenstein integers, and he proved it has the six units ±1,±ω,±ω2 and that it has unique factorization.

However, it was also discovered that unique factorization does not always hold. An example is given by ℤ[−5]. In this ring one has[11]

6=2⋅3=(1+−5)(1−−5).

Examples like this caused the notion of "prime" to be modified. In ℤ[−5] it can be proven that if any of the factors above can be represented as a product, for example, 2 = ab, then one of a or b must be a unit. This is the traditional definition of "prime". It can also be proven that none of these factors obeys Euclid's lemma; for example, 2 divides neither (1 + −5) nor (1 - −5) even though it divides their product 6. In algebraic number theory 2 is called irreducible in ℤ[−5] (only divisible by itself or a unit) but not prime in ℤ[−5] (if it divides a product it must divide one of the factors). The mention of ℤ[−5] is required because 2 is prime and irreducible in ℤ. Using these definitions it can be proven that in any integral domain a prime must be irreducible. Euclid's classical lemma can be rephrased as "in the ring of integers ℤ every irreducible is prime". This is also true in ℤ[i] and ℤ[ω], but not in ℤ[−5].

The rings in which factorization into irreducibles is essentially unique are called unique factorization domains. Important examples are polynomial rings over the integers or over a field, Euclidean domains and principal ideal domains.

In 1843 Kummer introduced the concept of ideal number, which was developed further by Dedekind (1876) into the modern theory of ideals, special subsets of rings. Multiplication is defined for ideals, and the rings in which they have unique factorization are called Dedekind domains.

There is a version of unique factorization for ordinals, though it requires some additional conditions to ensure uniqueness.

Any commutative Möbius monoid satisfies a unique factorization theorem and thus possesses arithmetical properties similar to those of the multiplicative semigroup of positive integers. Fundamental Theorem of Arithmetic is, in fact, a special case of the unique factorization theorem in commutative Möbius monoids.

## See also

* Integer factorization
* List of theorems called fundamental
* Prime signature, a characterization of how many primes divide a given number

## Notes

1. ↑ In a ring of algebraic integers, the factorization into prime elements may be non unique, but one can recover a unique factorization if one factors into ideals.
2. ↑ (Weil 2007): "Even in Euclid, we fail to find a general statement about the uniqueness of the factorization of an integer into primes; surely he may have been aware of it, but all he has is a statement (Eucl.IX.I4) about the l.c.m. of any number of given primes."
3. ↑ A. Goksel Agargun and E. Mehmet Özkan. "A Historical Survey of the Fundamental Theorem of Arithmetic". Historia Mathematica: 209. https://core.ac.uk/download/pdf/82721726.pdf. "One could say that Euclid takes the first step on the way to the existence of prime factorization, and al-Farisi takes the final step by actually proving the existence of a finite prime factorization in his first proposition.".
4. ↑ Rashed, Roshdi (2002-09-11) (in en). Encyclopedia of the History of Arabic Science. Routledge. p. 385. ISBN 9781134977246. https://books.google.com/books?id=7veIAgAAQBAJ&q=fundamental+theorem+of+arithmetic+discovered+al-farisi&pg=PA385. "The famous physicist and mathematician Kamal al-Din al-Farisi compiled a paper in which he set out deliberately to prove the theorem of Ibn Qurra in an algebraic way. This forced him to an understanding of the first arithmetical functions and to a full preparation which led him to state for the first time the fundamental theorem of arithmetic."

## Citations

1. ↑ 1.0 1.1 (Gauss 1986)
2. ↑ (Gauss 1986)
3. ↑ (Long 1972)
4. ↑ (Pettofrezzo Byrkit)
5. ↑ (Hardy Wright)
6. ↑ (Long 1972)
7. ↑ (Pettofrezzo Byrkit)
8. ↑ (Hardy Wright)
9. ↑ Dawson, John W. (2015), Why Prove it Again? Alternative Proofs in Mathematical Practice., Springer, p. 45, ISBN 9783319173689
10. ↑ Gauss, BQ, §§ 31–34
11. ↑ (Hardy Wright)

## References

The Disquisitiones Arithmeticae has been translated from Latin into English and German. The German edition includes all of his papers on number theory: all the proofs of quadratic reciprocity, the determination of the sign of the Gauss sum, the investigations into biquadratic reciprocity, and unpublished notes.

* Gauss, Carl Friedrich (1986), Disquisitiones Arithemeticae (Second, corrected edition), New York: Springer, ISBN 978-0-387-96254-2, https://www.springer.com/mathematics/algebra/book/978-0-387-96254-2
* Gauss, Carl Friedrich (1965) (in de), Untersuchungen über hohere Arithmetik (Disquisitiones Arithemeticae & other papers on number theory) (Second edition), New York: Chelsea, ISBN 0-8284-0191-8

The two monographs Gauss published on biquadratic reciprocity have consecutively numbered sections: the first contains §§ 1–23 and the second §§ 24–76. Footnotes referencing these are of the form "Gauss, BQ, § n". Footnotes referencing the Disquisitiones Arithmeticae are of the form "Gauss, DA, Art. n".

* Gauss, Carl Friedrich (1828), Theoria residuorum biquadraticorum, Commentatio prima, Göttingen: Comment. Soc. regiae sci, Göttingen 6
* Gauss, Carl Friedrich (1832), Theoria residuorum biquadraticorum, Commentatio secunda, Göttingen: Comment. Soc. regiae sci, Göttingen 7

These are in Gauss's Werke, Vol II, pp. 65–92 and 93–148; German translations are pp. 511–533 and 534–586 of the German edition of the Disquisitiones.

* Euclid (1956), The thirteen books of the Elements, 2 (Books III-IX), Translated by Thomas Little Heath (Second Edition Unabridged ed.), New York: Dover, ISBN 978-0-486-60089-5, https://archive.org/details/thirteenbooksofe00eucl
* Hardy, G. H.; Wright, E. M. (2008) [1938]. An Introduction to the Theory of Numbers. Revised by D. R. Heath-Brown and J. H. Silverman. Foreword by Andrew Wiles. (6th ed.). Oxford: Oxford University Press. ISBN 978-0-19-921986-5.
* Long, Calvin T. (1972), Elementary Introduction to Number Theory (2nd ed.), Lexington: D. C. Heath and Company .
* Pettofrezzo, Anthony J.; Byrkit, Donald R. (1970), Elements of Number Theory, Englewood Cliffs: Prentice Hall .
* Riesel, Hans (1994), Prime Numbers and Computer Methods for Factorization (second edition), Boston: Birkhäuser, ISBN 0-8176-3743-5
* Weil, André (2007), Number Theory: An Approach through History from Hammurapi to Legendre, Modern Birkhäuser Classics, Boston, MA: Birkhäuser, ISBN 978-0-817-64565-6

## External links

* Why isn’t the fundamental theorem of arithmetic obvious?
* GCD and the Fundamental Theorem of Arithmetic at cut-the-knot.
* PlanetMath: Proof of fundamental theorem of arithmetic
* Fermat's Last Theorem Blog: Unique Factorization, a blog that covers the history of Fermat's Last Theorem from Diophantus of Alexandria to the proof by Andrew Wiles.
* "Fundamental Theorem of Arithmetic" by Hector Zenil, Wolfram Demonstrations Project, 2007.
* Grime, James (3 February 2012), "1 and Prime Numbers", Numberphile (Brady Haran), https://www.youtube.com/watch?v=IQofiPqhJ_s *Fundamental Theorem of Arithmetic

* v
* t
* e

Divisibility-based sets of integers

Overview|

* Integer factorization
* Divisor
* Unitary divisor
* Divisor function
* Prime factor
* Fundamental theorem of arithmetic
* Arithmetic number

Factorization forms|

* Prime
* Composite
* Semiprime
* Pronic
* Sphenic
* Square-free
* Powerful
* Perfect power
* Achilles
* Smooth
* Regular
* Rough
* Unusual

Constrained divisor sums|

* Perfect
* Almost perfect
* Quasiperfect
* Multiply perfect
* Hemiperfect
* Hyperperfect
* Superperfect
* Unitary perfect
* Semiperfect
* Practical
* Erdős–Nicolas

With many divisors|

* Abundant
* Primitive abundant
* Highly abundant
* Superabundant
* Colossally abundant
* Highly composite
* Superior highly composite
* Weird

Aliquot sequence-related|

* Untouchable
* Amicable
* Sociable
* Betrothed

Base-dependent|

* Equidigital
* Extravagant
* Frugal
* Harshad
* Polydivisible
* Smith

Other sets|

* Deficient
* Friendly
* Solitary
* Sublime
* Harmonic divisor

de:Primfaktorzerlegung#Fundamentalsatz der Arithmetik

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Fundamental theorem of arithmetic. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Fundamental_theorem_of_arithmetic&oldid=3991960"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template