In primary school, we learned about counting numbers:
Of course, isn’t the biggest number: add one to it to get an even bigger or larger number
. Repeating this procedure indefinitely, it seems at least likely that the “total number” of counting numbers is beyond finite.
We call these numbers the natural numbers, which we can formulate using more primitive ideas in discrete mathematics.
But perhaps we should start by think smaller. Let’s think about the natural numbers . Notice the natural numbers
- We call these numbers composite, since they are composed of smaller natural numbers. We call these smaller numbers the factors of the original number.
- On the other hand, if we tried to write
or
as a product of smaller natural numbers, it is impossible! Natural numbers like
, therefore, are primary, or rather, prime.
Definition 1. A natural number larger than is composite if it can be written as a product of at least two strictly smaller natural numbers larger than
. A number larger than
is prime if it is not composite.
Just like the natural numbers, there are an infinite number of primes that we can write down in sequence, one after another. But the number is weird. Observe that
, so that
where the power is the “short-form” for repeated multiplication.
There are no other factors: we cannot obtain (the right-hand side is, in fact,
), for example. We say that the decomposition
is unique, and this decomposition turns out to be a feature, not a bug.
Theorem 1. Every natural number larger than can be written as product of prime numbers in exactly one way. This result is known as the fundamental theorem of arithmetic.
Proof. Omitted as it requires a technical result known as mathematical induction. You can explore more on that here.
Remark 1. In mathematical writing, we use somewhat fancy words like Definitions and Theorems. Let’s clarify what we mean such crazy words:
- Definition: a name for a mathematical idea.
- Theorem: a correct mathematical sentence.
- Proof of a Theorem: a logically correct sequence of ideas that show why the theorem is correct.
- Example: a case study.
- Remark: random miscellaneous comments that would disrupt the main story.
The resulting product from Theorem 1 is called the prime factorisation of the original natural number. Hence, the prime numbers as part of that factorisation are known as the prime factors of that number.
Example 1. Evaluate the prime factorisation of .
Solution. We will slowly divide by the prime numbers.
- The first prime number is
. Doing some long division,
.
- Can we decompose
as well? Yes, since
.
- Now with
, we get
, so we need to move on to the next prime number
:
.
- Now
, so we move on to the next prime number
:
.
Since we reached our last prime number, we obtain:
Why should we care about prime factorisation? Because we can use them to obtain the highest common factor and the lowest common multiple between two numbers. What is the highest common factor between and
? Compare their prime factorisations:
Remark 2. Here, we let the power of represent the the process of repeated multiplication of
a total of
times to the number
—we just remain with the number
.
Observe that what’s shared by both numbers are:
- two copies of
and
- one copy of
.
Therefore, their largest common factor, denoted , must be
Similarly, their lowest common multiple, denoted , is the smallest number that includes
and
as factors.
Observe that:
and
are both factors of any number that has at least a
in it.
- Likewise,
and
are both factors of any number that has at least a
in it.
- Finally,
and
are both factors of any number that has at least a
in it.
Therefore,
Hence:
- to obtain the highest common factor between two numbers, we multiply the smaller of the powers of their primes, and
- to obtain the lowest common multiple between two numbers we multiply the larger of the powers of their primes.
For a complete and rigorous proof of this result, see this post.
Example 2. Determine and
.
Solution. Firstly, follow Example 1 to calculate the prime factorisations of and
:
Then we obtain
Example 3. Without using a calculator, find the natural number such that
. We call
the square root of
, denoted
.
Solution. Firstly, follow Example 1 to calculate the prime factorisation of :
Firstly, we note that can only include factors of
, so that it takes the shape of
where are natural numbers. Since we want
, we must have
Therefore,
Since there is only one factorisation for (i.e. the factorisation is unique), we must have
and
. The only natural numbers that satisfy (i.e. solve) these equations are
and
. Therefore,
Using prime factorisation, we can write fractions in their simplest form.
Definition 2. A fraction is in simplest form if
and
share no common prime factors. Equivalently,
.
Example 4. Evaluate in its simplest form.
Solution. The fraction is not in simplest form since
by Example 2. However, by using their prime factorisations,
which is in simplest form since (left as an exercise; follow Example 2).
While there can be much more to be said about the prime numbers and the natural numbers, a natural questions arises: what exactly is a negative number?
—Joel Kindiak, 18 Sept 25, 0314H
Leave a comment