Let
\(n \in \mathbb{Z}\) so that
\(n \geq 2\text{.}\) We use induction to prove that
\(n\) can be decomposed as a product of primes. We then show that this decomposition is unique.
We must now show that the decomposition is unique. A very standard way to show the uniqueness of a mathematical object is to assume there are two of them and show that the two must be equal. So, let us assume that we can write (please forgive recycling of \(p\)’s and \(q\)’s from just above):
\begin{equation*}
n = p_1 p_2 \cdots p_k = q_1 q_2 \cdots q_\ell
\end{equation*}
If there are any common prime factors between the sides, then divide through by them. Now either that cancels all the factors (in which case we are done), or we are left with an expression as above but with no common factors on each side. Well then take the smallest remaining prime on either side, call it \(z\text{.}\) Since \(z\) divides one side, it must, by Euclid’s lemma, divide one of the factors on the other. However, since all the factors are prime, the factor \(z\) must be on both sides. But this cannot happen since we removed all the common factors. Thus the two factorisations of \(n\) must actually be the same.