PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Viewing Version 8 of 'proof of the fundamental theorem of arithmetic'
[ view 'proof of the fundamental theorem of arithmetic' | back to history ]

Title of object: proof of the fundamental theorem of arithmetic
Canonical Name: ProofOfFundamentalTheoremOfArithmetic
Type: Proof

Created on: 2001-10-18 15:28:46
Modified on: 2007-06-25 18:33:52

Creator: mps
Modifier: mps
Author: mps
Author: KimJ

Classification: msc:11-00
Keywords: number theory

Revision comment (for changes between this and next version):

link fixing

Preamble:

\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{xypic}
\newcommand{\fm}[1]{{\it #1}}
Content:

To prove the fundamental theorem of arithmetic, we must show that each
positive integer has a prime decomposition and that each such
decomposition is unique up to the order of the factors. Before
proceeding with the proof, we note that in any integral domain, every
prime is an irreducible element. All our arithmetic will be carried
out in the natural numbers, not the integers.

Now we prove the existence of a prime decomposition. Since 1 has a
prime decomposition and any prime has a prime decomposition, it
suffices to show that any composite number has a prime decomposition.
We claim that any composite number is divisible by some prime number.
To see this, assume \fm{n} is a composite positive integer. Then
there exist positive integers \fm{a} and \fm{b}, necessarily strictly
smaller than \fm{n}, such that \fm{n} = \fm{ab}. If \fm{a} is not
prime we can write it as a product of smaller positive integers in the
same way. Continuing this process, we obtain a strictly decreasing
sequence of natural numbers. By the well-ordering principle, this
sequence must terminate, and by construction, it must terminate in a
prime number. Hence \fm{n} is divisible by a prime number, as
desired.

To complete the proof of existence, we apply the well-ordering
principle again. If \fm{n} is composite, then it is divisible by some
prime. Moreover, the quotient is strictly smaller than \fm{n}. If
the quotient is not prime then as before we find a prime that divides
it; continuing this process, we produce a strictly decreasing sequence
of natural numbers. By the well-ordering principle, this sequence
terminates in a prime number. The product of the prime numbers we
found in the construction of this sequence is simply \fm{n}. Thus
every composite number has a prime decomposition.

Now we show uniqueness up to order of factors. Suppose we are given
two prime decompositions
\[
n = p_1 \cdots p_k = q_1 \cdots q_{\ell}
\]
of \fm{n}, where $k\le\ell$ the factors in each prime decomposition
are arranged in nondecreasing order. Since $p_1$ divides \fm{n}, it
divides the product $q_1 \cdots q_{\ell}$, so by primality must divide
some $q_i$. Thus there is a natural number \fm{b} such that $q_i =
b\cdot p_1$. Since $q_i$ is an irreducible element and $p_1$ is not a
unit, it must be that \fm{b} is a unit, that is, \fm{b} = 1. Hence
$p_1 = q_i \ge q_1$. Similarly, there is some \fm{j} such that $q_1 =
p_j \ge p_1$. Since $p_1 \ge q_1$ and $q_1 \ge p_1$, it follows that
$p_1 = q_1$. Cancelling these factors yields the simpler equation
\[
p_2 \cdots p_k = q_2 \cdots q_{\ell}.
\]
By repeating the above procedure we can show that $p_i = q_i$ for all
\fm{i} from 0 to \fm{k}. Cancelling these factors gives the equation
\[
1 = q_{k+1} \cdots q_{\ell}.
\]
Since a nontrivial product of primes is greater than 1, the right-hand
side of this equation is the empty product. We conclude that \fm{k} =
\fm{l}. Hence all prime decompositions of \fm{n} use the same number
of factors, and the factors which appear are unique up to the order in
which they appear. This completes the proof of uniqueness and thereby
the proof of the theorem.