Science  People  Locations  Timeline
Index: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Home > Fundamental theorem of arithmetic


 Contents
In mathematics, and in particular number theory, the fundamental theorem of arithmetic or unique factorization theorem is the statement that every positive integer can be written as a product of prime numbers in only one way. For instance, we can write
6936 = 23 ˇ 3 ˇ 172   or   1200 = 24 ˇ 3 ˇ 52

and there are no other possible factorizations of 6936 or 1200 into prime numbers, if we ignore the ordering of the factors.

To make the theorem work even for the number 1, we think of 1 as being the product of zero prime numbers (see empty product).

1 Applications

The theorem establishes the importance of prime numbers. Essentially, they are the "basic building blocks" of the positive integers, in that every positive integer can be put together from primes in a unique fashion.

Knowing the prime number factorization of a number gives complete knowledge about all factors of that number. For instance, the above factorization of 6936 tells us that the positive factors of 6936 are of the form

2a ˇ 3b ˇ 17c

with [0 ≤ a ≤ 3], [0 ≤ b ≤ 1], and [0 ≤ c ≤ 2]. This yields a total of 4 ˇ 2 ˇ 3 = 24 positive factors.

Once the prime factorizations of two numbers are known, their greatest common divisor and least common multiple can be found quickly. For instance, from the above we see that the greatest common divisor of 6936 and 1200 is 23 ˇ 3 = 24. However if the prime factorizations are not known, the use of Euclid's algorithm generally requires much less calculation than factoring the two numbers.

The fundamental theorem ensures that additive and multiplicative arithmetic functions are completely determined by their values on the powers of prime numbers.

2 Proof

The proof consists of two parts: first, we have to show that every number can indeed be written as a product of primes; then we have to show that any two such representations are essentially the same.

Suppose there were a positive integer which can not be written as a product of primes. Then there must be a smallest such number: let's call it n. This number n cannot be 1, because of our convention above. It cannot be a prime number either, since any prime number is a product of a single prime, itself. So n = ab where both a and b are positive integers smaller than n. Since n was the smallest number for which the theorem fails, 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 contradiction.

The uniqueness part of the proof hinges on the following fact: if a prime number p divides a product ab, then it divides a or it divides b (Proof: if p doesn't divide a, then p and a are relatively prime and Bézout's identity yields integers x and y such that px + ay = 1. Multiplying with b yields pbx + aby = b. Both summands of the left-hand side are divisible by p, so the right-hand side is also divisible by p.) Now take two products of primes which are equal. Take any prime p from the first product. It divides the first product, and hence also the second. By the above fact, p must then divide at least one factor in the second product. But the factors are all primes themselves, so p must actually be equal to one of the factors of the second product. So we can cancel p from both products. Continuing in this fashion, we eventually see that the prime factors of the two products must match up precisely.

Another proof of the uniqueness of the prime factorization of a given integer uses infinite descent: Assume that a certain integer can be written as (at least) two different productsIn mathematics, a product is the result of multiplying, or an expression that identifies factors to be multiplied. The order in which real or complex numbers are multiplied has no bearing on the product; this is known as the commutative law of multiplicat of prime numbers, then there must exist a smallest integer s with such a property. Call the two products of s p1*...*pm and q1*...*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 our assumption. We can now assume without loss of generalityWithout loss of generality or simply WLOG is a frequently used expression in mathematics. The term is generally used where there is some kind of symmetry that allows the situation or situations described to be trivially generalized to all needed situation that p1 is a prime factor smaller than any qj (with 1≤j≤n). Take q1. Then there exist integers d and r such that q1/p1 = d+r/p1 and 011 (r can't be 0, as that would make q1 a multiple of p1 and not prime). We now get p2*...*pm = (d+r/p1)*q2*...*qn = d*q2*...*qn+r*q2*...*qn/p1. The second termFigures of speech and shorthands are called terms of language . Specialised terms are characterised as technical terms, or sometimes terms of art. A mathematical term is a basic component of a mathematical expression. In traditional logic, term came to me in the last expressionAn expression combines numbers, operators, and/or variables. Expressions may be evaluated to values, and may be said to represent those values. The evaluation of an expression is dependent on the definition of the mathematical operators and system of valu must be equal to an integer we call k, i.e. k=r*q2*...*qn/p1. This gives us p1*k=r*q2*...*qn. The value of both sides of this equation is obviously smaller than s, but is still large enough to be factorizable. Since r is smaller than p1, the two prime factorizations we get on each side after both k and r are written out as their product of primes, must be different. This is in contradictionBroadly speaking, a contradiction is when two or more statements, ideas, or actions are seen as incompatible. One must, it seems, reject at least one of the ideas outright. In logic, contradiction is defined much more specifically, usually as the simultan with s being the smallest integer factorizable in more than one way. Thus the original assumption must be false.

Read more »

Non User