All Topics  
Fundamental theorem of arithmetic

 

   Email Print
   Bookmark   Link






 

Fundamental theorem of arithmetic



 
 
In number theory
Number theory

Number theory is the branch of pure mathematics concerned with the properties of numbers in general, and integers in particular, as well as the wider classes of problems that arise from their study....
 and algebraic number theory
Algebraic number theory

In mathematics, algebraic number theory is a major branch of number theory which studies the algebraic structures related to algebraic integers....
, the Fundamental Theorem of Arithmetic (or Unique-Prime-Factorization Theorem) states that any integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
 greater than 1 can be written as a unique product (up to ordering of the terms) of prime number
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
s. For example,





are two examples of numbers satisfying the hypothesis
Hypothesis

A hypothesis consists either of a suggested explanation for an observable phenomenon or of a reasoned proposal predicting a possible causal correlation among multiple phenomena....
 of the theorem
Theorem

In mathematics, a theorem is a statement Mathematical proof on the basis of previously accepted or established statements such as axioms.In formal mathematical logic, the concept of a theorem may be taken to mean a formula that can be formal proof according to the deductive system of a fixed formal system....
, that can be written as the product of prime numbers.






Discussion
Ask a question about 'Fundamental theorem of arithmetic'
Start a new discussion about 'Fundamental theorem of arithmetic'
Answer questions from other users
Full Discussion Forum



Encyclopedia


In number theory
Number theory

Number theory is the branch of pure mathematics concerned with the properties of numbers in general, and integers in particular, as well as the wider classes of problems that arise from their study....
 and algebraic number theory
Algebraic number theory

In mathematics, algebraic number theory is a major branch of number theory which studies the algebraic structures related to algebraic integers....
, the Fundamental Theorem of Arithmetic (or Unique-Prime-Factorization Theorem) states that any integer
Integer

The integers are natural numbers including 0 and their negative and non-negative numberss . They are numbers that can be written without a fractional or decimal component, and fall within the set ....
 greater than 1 can be written as a unique product (up to ordering of the terms) of prime number
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
s. For example,





are two examples of numbers satisfying the hypothesis
Hypothesis

A hypothesis consists either of a suggested explanation for an observable phenomenon or of a reasoned proposal predicting a possible causal correlation among multiple phenomena....
 of the theorem
Theorem

In mathematics, a theorem is a statement Mathematical proof on the basis of previously accepted or established statements such as axioms.In formal mathematical logic, the concept of a theorem may be taken to mean a formula that can be formal proof according to the deductive system of a fixed formal system....
, that can be written as the product of prime numbers. Intuitively, this theorem characterizes prime numbers uniquely in the sense that they are the "core of all numbers".

With most proofs of this theorem, the hardest thing to prove is uniqueness (up to rearrangement of the terms). Some proofs of uniqueness use the fact that if a prime number p divides the product of two natural numbers a and b (so if p | a*b), then p should divide either a or b. This property is a very important (and unique) property of primes and the fundamental theorem characterizes it. Since multiplication on the integers is commutative, it does not matter in what way we write a number greater than 1 as the product of primes; it is generally common to write the (prime) factors in the order of smallest to largest.

Note that, there are natural extensions of the hypothesis of this theorem, which allow any non-zero integer to be expressed as the product of "prime numbers
Prime number

In mathematics, a prime number is a natural number which has exactly two distinct natural number divisors: 1 and itself. An infinitude of prime numbers exists, as demonstrated by Euclid around 300 BC....
" and "invertibles". For example, 1 and -1 are allowed to be factors of such representations (although they are not considered to be prime). In this way, one can extend the Fundamental Theorem of Arithmetic to any Euclidean domain
Euclidean domain

In abstract algebra, a Euclidean domain is a type of Ring in which the Euclidean algorithm applies. Euclidean domains possess many important properties similar to the integers: for example, the fundamental theorem of arithmetic holds in any Euclidean domain....
 or principal ideal domain
Principal ideal domain

In abstract algebra, a principal ideal domain, or PID is an integral domain in which every ideal is principal ideal, i.e., can be generated by a single element....
 bearing in mind certain alterations to the hypothesis of the theorem. A ring in which the Fundamental Theorem of Arithmetic holds, is called a unique factorization domain
Unique factorization domain

In mathematics, a unique factorization domain is, roughly speaking, a commutative ring in which every element, with special exceptions, can be uniquely written as a product of prime elements, analogous to the fundamental theorem of arithmetic for the integers....
.

Many authors take the natural numbers to begin with 0, which has no prime factorization. Thus Theorem 1 of takes the form, “Every positive integer, except 1, is a product of primes”, and Theorem 2 (their "Fundamental") asserts uniqueness. By convention, the number 1 is not itself prime, but since it is the product of no numbers, it is often convenient to include it in the theorem by the empty product
Empty product

In mathematics, an empty product, or nullary product, is the result of multiplication no numbers. Its numerical value is 1 , the multiplicative identity element, just as the empty sum—the result of addition no numbers—is 0 , or the additive identity....
 rule. (See, for example, Calculating the gcd
Greatest common divisor

In mathematics, the greatest common divisor , sometimes known as the greatest common factor or highest common factor , of two non-zero integers, is the largest positive integer that divisor both numbers without remainder....
.)

Hardy & Wright define an abnormal number to be a hypothetical number that does not have a unique prime factorization. They prove the fundamental theorem of arithmetic by proving that there does not exist an abnormal number.

Applications

The fundamental theorem of arithmetic establishes the importance of prime numbers. Prime numbers are the basic building blocks of any positive integer, in the sense that each positive integer can be constructed from the product of primes with one unique construction. Finding the prime factorization of an integer allows derivation of all its divisors, both prime and non-prime.

For example, the above factorization of 6936 shows that any positive divisor of 6936 must have the form 2a × 3b  × 17c, where a takes one of the 4 values in , where b takes one of the 2 values in , and where takes one of the 3 values in . Multiplying the numbers of independent options together produces a total of 4 × 2 × 3 = 24 positive divisors.

Once the prime factorizations of two numbers are known, their greatest common divisor
Greatest common divisor

In mathematics, the greatest common divisor , sometimes known as the greatest common factor or highest common factor , of two non-zero integers, is the largest positive integer that divisor both numbers without remainder....
 and least common multiple
Least common multiple

In arithmetic and number theory, the least common multiple or lowest common multiple or smallest common multiple of two integers a and b is the smallest positive integer that is a multiple both of a and of b....
 can be found quickly. For instance, from the above it is shown that the greatest common divisor of 6936 and 1200 is 23 × 3 = 24. However, if the prime factorizations are not known, the use of the Euclidean algorithm
Euclidean algorithm

In number theory, the Euclidean algorithm is an algorithm to determine the greatest common divisor of two elements of any Euclidean domain . Its major significance is that it does not require factorization the two integers, and it is also significant in that it is one of the oldest algorithms known, dating back to the ancient Greeks....
 generally requires much less calculation than factoring the two numbers.

The fundamental theorem ensures that additive
Additive function

Different definitions exist depending on the specific field of application. Traditionally, an additive function is a function that preserves the addition operation:for any two elements x and y in the domain....
 and multiplicative
Multiplicative function

In number theory, a multiplicative function is an arithmetic function f of the positive integer n with the property that f = 1 and whenever...
 arithmetic function
Arithmetic function

In number theory, an arithmetic function or arithmetical function is a function defined on the set of natural numbers that takes real or complex values....
s are completely determined by their values on the powers of prime numbers.

Proof

The theorem was practically proved by Euclid
Euclid

Euclid , floruit 300 BC, also known as Euclid of Alexandria, was a Greek mathematics and is often referred to as the Father of Geometry. He was active in Alexandria during the reign of Ptolemy I ....
 (in book 7 of Euclid's elements
Euclid's Elements

Euclid's Elements is a mathematics and geometry treatise consisting of 13 books written by the Greek mathematics Euclid in Alexandria circa 300 BC....
, propositions 30 and 32), but the first full and correct proof is found in the Disquisitiones Arithmeticae
Disquisitiones Arithmeticae

The Disquisitiones Arithmeticae is a textbook of number theory written by Germany mathematician Carl Friedrich Gauss in 1798 when Gauss was 21 and first published in 1801 when he was 24....
 by Carl Friedrich Gauss
Carl Friedrich Gauss

Johann Carl Friedrich Gauss. was a Germans mathematician and scientist who contributed significantly to many fields, including number theory, statistics, mathematical analysis, Differential geometry and topology, geodesy, electrostatics, astronomy and optics....
. It may be important to note that Egyptians like Ahmes
Ahmes

Ahmes was an Egyptian scribe who lived during the Second Intermediate Period. A surviving work of Ahmes is part of the Rhind Mathematical Papyrus now located in the British Museum ....
 used earlier practical aspects of the factoring, and lowest common multiple, of the fundamental theorem of arithmetic allowing a long tradition to develop, as formalized by Euclid, and rigorously proven by Gauss.

Although at first sight the theorem seems 'obvious', it does not hold in more general number systems, including many rings of algebraic integers. This was first pointed out by Ernst Kummer
Ernst Kummer

Ernst Eduard Kummer was a Germany mathematician. Highly skilled in applied mathematics, Kummer trained German army officers in ballistics; afterwards, he taught for 10 years in a Gymnasium , where he inspired the mathematical career of Leopold Kronecker....
 in 1843, in his work on Fermat's Last Theorem
Fermat's Last Theorem

Fermat's Last Theorem is the name of the statement in number theory that states that:or, more precisely:In 1637 Pierre de Fermat wrote, in his copy of Claude Gaspard Bachet de M?ziriac's translation of the famous Arithmetica of Diophantus, "I have a truly marvellous proof of this proposition which this margin is too narrow to con...
. The recognition of this failure is one of the earliest developments in algebraic number theory
Algebraic number theory

In mathematics, algebraic number theory is a major branch of number theory which studies the algebraic structures related to algebraic integers....
.

Euclid's proof (of existence)


The proof consists of two steps. In the first step every number is shown to be a product of zero or more primes. In the second, the proof shows that any two representations may be unified into a single representation.

Non-prime composite numbers

Suppose there were a positive integer which cannot be written as a product of primes. Then there must be a smallest such number (see well-order
Well-order

In mathematics, a well-order relation on a Set S is a total order on S with the property that every non-empty subset of S has a least element in this ordering....
): let it be n. This number n cannot be 1, because of the empty-product convention above. It cannot be a prime number either, since any prime number is a product of a single prime, itself. So it must be a composite number. Thus

n = ab


where both a and b are positive integers smaller than n. Since n is the smallest number which cannot be written as a product of primes, both a and b can be written as products of primes. But then

n = ab


can be written as a product of primes as well, a proof by contradiction
Contradiction

In classical logic, a contradiction consists of a logical incompatibility between two or more propositions. It occurs when the propositions, taken together, yield two logical consequences which form the logical inversions of each other....
. This is a minimal counterexample
Minimal counterexample

In mathematics, the method of considering a minimal counterexample combines the ideas of inductive proof and proof by contradiction. Abstractly, in trying to prove a proposition P, one assumes that it is false, and that therefore there is at least one counterexample....
 argument.

Proof of uniqueness

The key step in proving uniqueness is Euclid's proposition 30 of book 7, which states that if a prime p divides a product ab then either p divides a or p divides b. This follows from Euclid's algorithm: if a prime p does not divide an integer a then there exist integers x, y such that ax + py = 1. Multiplying by b gives abx + pby = b, and since p divides both summands on the left, p divides b.

A proof of the uniqueness of the prime factorization of a given integer follows from this using infinite descent
Infinite descent

In mathematics, a proof by infinite descent is a particular kind of proof by mathematical induction. One typical application is to show that a given equation has no solutions....
 as follows. Assume that a certain integer s can be written as (at least) two different products
Product (mathematics)

In the a mathematics, a product is the result of Multiplication, or an expression that identifies divisors to be multiplied. The order in real number or complex number numbers are multiplied has no bearing on the product; this is known as the Commutativity of multiplication....
 of prime numbers, and s is the smallest such number by the Well-Ordering Axiom. Denote these two factorizations of s as p1···pm and q 1···qn, such that s = p1p2···pm = q 1q2···qn. No pi (with 1 = i = m) can be equal to any qj (with 1 = j = n), as there would otherwise be a smaller integer factorizable in two ways (by removing prime factors common in both products), violating the above assumption. But Euclid's theorem that if a prime divides a product then it divides one of the factors shows that p1 must be the same as one of the qs. This contradiction proves that the factorization into primes is unique (up to order).

Alternate proof

Assume that a certain integer s can be written as (at least) two different products
Product (mathematics)

In the a mathematics, a product is the result of Multiplication, or an expression that identifies divisors to be multiplied. The order in real number or complex number numbers are multiplied has no bearing on the product; this is known as the Commutativity of multiplication....
 of prime numbers. Denote these two factorizations of s as p1···pm and q 1···qn, such that s = p1p2···pm = q 1q2···qn.

No pi (with 1 = i = m) can be equal to any qj (with 1 = j = n), as there would otherwise be a smaller integer factorizable in two ways (by removing prime factors common in both products), violating the above assumption. Now it can be assumed without loss of generality
Without loss of generality

Without loss of generality is a frequently used expression in mathematics. The term is used before an assumption in a proof which narrows the premise to some special case; it is implied that the proof on this subset can be easily applied to all others ....
 that p1 is a prime factor smaller than any q j (with 1 = j = n). Let d be the quotient
Quotient

In mathematics, a quotient is the result of a division . For example, when dividing 6 by 3, the quotient is 2, while 6 is called the division , and 3 the divisor....
 and r the remainder
Remainder

In arithmetic, when the result of the division of two integers cannot be expressed with an integer quotient, the remainder is the amount "left over."...
 from dividing q 1 by p1. By the division algorithm
Division algorithm

The division algorithm is a theorem in mathematics which precisely expresses the outcome of the usual process of division of integers. The name is something of a misnomer, as it is a theorem, not an algorithm, i.e....
 d and r are guaranteed to be integers such that q 1 = dp1 + r and 0 = r < p1. Note immediately that since q 1 is prime it cannot be a multiple of p1 and thus

Also, since q1 is greater than p1

Substituting in for q1 in the original definition of s above,



By distributivity
Distributivity

In mathematics, and in particular in abstract algebra, distributivity is a property of binary operations that generalises the distributive law from elementary algebra....
:



Define a new integer k = s −dp1q2···qn = rq2···qn. Since d= 1, it is clear that k must be smaller than s. And since r>0, k must be positive. From the definition of k, it follows that:



and by factoring out p1:



Therefore there is a prime factorization of k that includes p1. But it is also true that



Since r < p1, p1 cannot be a prime factor of r. Thus, by combining the prime factors of r with q2···qn, it is also possible to construct a prime factorization of k that does not include p1. Therefore k has two different prime factorizations. However, an even smaller number than k must exist with more than one prime factorization by the same reasoning. This gives an infinite descent of such numbers, which is impossible because there are no positive integers for which there are an infinite number of smaller positive integers. Thus there can exist no such numbers.

Generalizations


The Fundamental Theorem of Arithmetic generalizes to various contexts; for example in the context of ring theory
Ring theory

In mathematics, ring theory is the study of ring , algebraic structures in which addition and multiplication are defined and have similar properties to those familiar from the integers....
, where the field of algebraic number theory
Algebraic number theory

In mathematics, algebraic number theory is a major branch of number theory which studies the algebraic structures related to algebraic integers....
 develops. A ring is said to be a unique factorization domain
Unique factorization domain

In mathematics, a unique factorization domain is, roughly speaking, a commutative ring in which every element, with special exceptions, can be uniquely written as a product of prime elements, analogous to the fundamental theorem of arithmetic for the integers....
 if the Fundamental theorem of arithmetic (for non-zero elements) holds there. For example, any Euclidean domain
Euclidean domain

In abstract algebra, a Euclidean domain is a type of Ring in which the Euclidean algorithm applies. Euclidean domains possess many important properties similar to the integers: for example, the fundamental theorem of arithmetic holds in any Euclidean domain....
 or principal ideal domain
Principal ideal domain

In abstract algebra, a principal ideal domain, or PID is an integral domain in which every ideal is principal ideal, i.e., can be generated by a single element....
 is necessarily a unique factorization domain. Specifically, a field
Field

Field or fields may refer to:* Field , an area of land used to cultivate crops, or to keep livestock* Field of study, a branch of knowledge...
 is trivially a unique factorization domain.

See also

  • Fundamental theorem of algebra
    Fundamental theorem of algebra

    In mathematics, the fundamental theorem of algebra states that every non-constant single-variable polynomial with complex number coefficients has at least one complex root ....
  • Fundamental theorem of calculus
    Fundamental theorem of calculus

    The fundamental theorem of calculus specifies the relationship between the two central operations of calculus: derivative and integral.The first part of the theorem, sometimes called the first fundamental theorem of calculus, shows that an antiderivative can be reversed by a differentiation....
  • Integer factorization
    Integer factorization

    In number theory, integer factorization is the breaking down of a composite number into smaller non-trivial divisors, which when multiplied together equal the original integer....
  • Prime signature
    Prime signature

    The prime signature of a number is the sequence of exponents of its prime factorisation sorted in order of size.For example, all prime numbers have a prime signature of , the squares of primes have a prime signature of , the products of 2 distinct primes have a prime signature of and the products of a square of a prime and a different prim...
  • Unique factorization domain
    Unique factorization domain

    In mathematics, a unique factorization domain is, roughly speaking, a commutative ring in which every element, with special exceptions, can be uniquely written as a product of prime elements, analogous to the fundamental theorem of arithmetic for the integers....


External links

  • at cut-the-knot
    Cut-the-knot

    Cut-the-knot is an educational website maintained by Alexander Bogomolny and devoted to popular exposition of a great variety of topics in mathematics....
  • , A blog that covers the history of Fermat's Last Theorem from Diophantus of Alexandria to the proof by Andrew Wiles.
  • by Hector Zenil, Wolfram Demonstrations Project
    Wolfram Demonstrations Project

    The Wolfram Demonstrations Project is a website developed by Wolfram Research, whose stated goal is to bring computational exploration to the widest possible audience....
    , 2007.