BrightChamps Logo
Login

Summarize this article:

Live Math Learners Count Icon255 Learners

Last updated on December 1, 2025

Fundamental Theorem of Arithmetic

Professor Greenline Explaining Math Concepts

According to the Fundamental Theorem of Arithmetic, every whole number greater than 1 can be uniquely expressed as a product of prime numbers. The theorem also states that the order of the prime factors does not affect the outcome.

Professor Greenline from BrightChamps

What is the Fundamental Theorem of Arithmetic?

YouTube thumbnail
What Are Numbers? 🔢 | Fun Explanation with 🎯 Real-Life Examples for Kids | ✨BrightCHAMPS Math

What is the fundamental theorem of arithmetic? It is the foundational principle of number theory, establishing that prime numbers are the basic "building blocks" of all integers. The fundamental theorem of arithmetic states that every integer greater than 1 is either a prime number itself or can be represented as a product of primes uniquely, disregarding the order of the factors. This guarantees that every number has a specific, unchangeable "fingerprint" made of primes; for instance, you cannot find two different sets of prime numbers that multiply to create the same result.


To visualize this with a fundamental-theorem-of-arithmetic example, consider the number 120. You might start factoring it as \(10 \times 12 \ or\ 5 \times 24,\) but no matter which path you take, when you break it down completely into primes, you will always arrive at exactly three 2s, one 3, and one 5 (\(2 \times 2 \times 2 \times 3 \times 5\)). The theorem ensures that no other combination of prime numbers equals 120, making this factorization unique to 120.


Mathematically, the theorem states that for any integer n > 1, there is a unique factorization:


\(n = p_1^{a_1} \times p_2^{a_2} \times \dots \times p_k^{a_k}\)


In this equation:

  • n is the integer you are factoring.
  • \(p_1, p_2, \dots\) are distinct prime numbers sorted in increasing order.
  • \(a_1, a_2, \dots\) are positive integers representing the exponents (how many times each prime is multiplied).

 

Fundamental Theorem of Arithmetic Example
Let's apply this to the number 360. (This number is often used in statistics and circular permutations because it has many divisors).

  • Break it down: You can start with \(360 = 36 \times 10.\)
  • Factor further:
    • \(36 = 6 \times 6 = (2 \times 3) \times (2 \times 3)\)
    • \(10 = 2 \times 5\)
  • Collect primes: We have three 2s, two 3s, and one 5.
  • Write the unique form:

    \(360 = 2^3 \times 3^2 \times 5^1\)
Professor Greenline from BrightChamps

Proof of the Fundamental Theorem of Arithmetic

The proof to find the fundamental theorem of arithmetic is given below:

  

Theorem: Every integer greater than 1 can be written as a product of prime numbers. Although the factorization is unique, the order of the prime factors can be different.



For every integer n > 1, there exist prime numbers \(p_1, p_2, \dots, p_k\) such that:

 

\(n = p_1 p_2 \dots p_k\)

 

This representation is unique, apart from the order of the factors.

 

Part 1: Proof of Existence

We apply Strong Mathematical Induction.

1. Base Case:

Consider n = 2. Since 2 is a prime number, it is the product of a single prime (itself). The statement holds for n=2.

2. Inductive Hypothesis:

Assume that, for all integers k such that \(2 \le k < n\), k can be written as a product of primes.

3. Inductive Step:

We must show that n can also be expressed as a product of primes.

There are two possibilities for n:

  • Case A (n is prime): If n is prime, it is trivially a product of primes (just itself).
  • Case B (n is composite): If n is composite, it can be factored into two integers a and b such that:

    \(n = a \cdot b \quad \text{where } 1 < a < n \text{ and } 1 < b < n\)
     

By our inductive hypothesis, since a < n and b < n, both a and b can be written as products of primes:

 

\(a = x_1 x_2 \dots x_i\)

\(b = y_1 y_2 \dots y_j\)

 

(where x and y represent prime numbers)

 

Substituting these back into the equation for n:

 

\(n = (x_1 x_2 \dots x_i) \cdot (y_1 y_2 \dots y_j)\)

 

As a result, n is the product of primes. The existence of prime factorization follows from strong induction for all n greater than one.

 

Part 2: Proof of Uniqueness

To demonstrate uniqueness, we use Euclid's Lemma, which states that

If a prime p divides the product of two integers ab (written p | ab), then it must divide either a or b.

 

Proof by Contradiction: Assume there exists an integer n with two distinct prime factorizations. Let's write them as two sorted lists of prime numbers:

 

\(n = p_1 p_2 \dots p_k = q_1 q_2 \dots q_m\)

 

Assume without loss of generality that \(p_1 \le p_2 \le \dots \le p_k\) and \(q_1 \le q_2 \le \dots \le q_m.\)

 

Step 1: Apply Euclid's Lemma

Since \(p_1\) divides the left side (n), it must divide the right side (\(q_1 q_2 \dots q_m\)).

 

\(p_1 \mid (q_1 q_2 \dots q_m)\)

 

By Euclid's Lemma, \(p_1\) must divide at least one \(q_j\). Since all \(q_j\) are prime, the only divisors of \(q_j\) are 1 and \(q_j\). Therefore:

 

\(p_1 = q_j\)

 

Step 2: Establish Equality of Smallest Primes

Since we sorted the lists, \(q_1\) is the smallest prime on the right side. Therefore, \(p_1 \ge q_1.\) Using symmetric logic (starting with \(q_1\) dividing the left side), we can show \(q_1 \mid p_1\), which implies \(q_1 \ge p_1.\) If \(p_1 \ge q_1\) and \(q_1 \ge p_1\), then:

 

\(p_1 = q_1\)

 

Step 3: Cancel and Repeat

 

Since \(p_1 = q_1\), we can divide both sides of the original equation by this value:

 

\(\frac{p_1 p_2 \dots p_k}{p_1} = \frac{q_1 q_2 \dots q_m}{q_1}\)

 

\(p_2 \dots p_k = q_2 \dots q_m\)

 

Step 4: Conclusion

 

We repeat this process again. This process must come to an end because we're dealing with finite integers.

  • If k < m, we would eventually be left with \(1 = \text{product of remaining } q \text{'s}\), which is impossible.
  • If k > m, we would be left with \(\text{product of remaining } p \text{'s} = 1\), which is impossible.

 

As a result, k must be equal to m, and every \(p_i\) must be equal to its corresponding \(q_i.\) The factorization is unique.

Professor Greenline from BrightChamps

Using the Fundamental Theorem of Arithmetic for HCF and LCM

We use fundamental theorem of arithmetic to find the HCF and LCM of two or more numbers.

 

Let us see how to find them:

 

HCF can be determined by finding the product of the smallest power of each common prime factor. If we can find the product of the greatest power of each prime factor, then LCM can be determined.

 

Let us understand this by an example:

 

Find the HCF of 120 and 180.

 

First, find the prime factorization of 120:

 

  • Prime factorization of 120 = 2³ × 3¹ × 5¹
     
  • Prime factorization of 180 = 2², 3¹, 5¹

 

To find the HCF, we find the product of the smallest power of each common prime factor:

 

  • Common factors = 2, 3, 5
     
  • Smallest powers = 2², 3¹, 5¹.
     
  • Hence, HCF = 22 x 31 x 51

    = 4 x 3 x 5

    = 60

 

Since the LCM is found by multiplying the greatest powers of each prime factor:

 

  • LCM   = 23 x 32 x 51

    = 8 x 9 x 5

    = 360.

Explore Our Programs

Grade 1
arrow-left
arrow-right
Professor Greenline from BrightChamps

Tips and Tricks for Mastering Fundamental Theorem of Arithmetic

The Fundamental Theorem is often difficult to grasp because the concept of uniqueness is abstract. These strategies make it concrete by treating numbers as tangible objects. This mastery is essential for probability and statistics, providing the necessary logic to identify independent events and simplify fractions.

 

  • Use factor trees: Draw visual diagrams starting with a composite number at the top and branching down into factors until you reach the "fruit" (primes) at the bottom, demonstrating that different starting branches still yield the same fruit.
     
  • The DNA analogy: Describe prime numbers as the DNA or genetic code of an integer, explaining that every number has a unique identifier that distinguishes it from all others.
     
  • Building blocks game: Use colored blocks where each color represents a specific prime (e.g., Red=2, Blue=3) to show that building the number 12 always requires exactly two reds and one blue, regardless of the order you snap them together.
     
  • The shopping cart rule: Explain that the order of factors does not matter by comparing it to a shopping cart; the contents of the cart remain the same whether you put the milk in before the eggs or vice versa.
     
  • Prime cheat sheet: Have students create a reference card with the first ten prime numbers to keep on their desk, helping them quickly recognize when they have finished factoring a number.
     
  • The digital lock: Frame the concept as a real-world puzzle where a large number is a locked safe and the prime factors are the unique combination of keys required to open it, linking the abstract math to internet security.
Max Pointing Out Common Math Mistakes

Common mistakes and How to Avoid Them in Fundamental Theorem of Arithmetic

Students tend to make mistakes while understanding the concept of the fundamental theorem of arithmetic. Let us see some common mistakes and how to avoid them, in fundamental theorem of arithmetic:

Mistake 1

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Confusing Prime and Composite Numbers

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students must always break a number down until the prime numbers remain. They must also remember that a prime number is only divisible by 1 and itself. They can verify each factor by checking whether it has only two divisors.

Mistake 2

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Not Checking With the Smallest Prime Number

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

It is important to start with 2, the smallest prime number, and then continue with other primes.

Mistake 3

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Missing Out Prime Factors.

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

We should count each and every prime factor carefully and use proper exponent notation to express the recurring factors. We can also cross-verify the answer by multiplying the factors and checking if it matches the original number.

Mistake 4

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Not Considering the Uniqueness of Prime Factorization

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

We should always remember that prime factorization is unique except for the order. If this rule is not satisfied, then the theorem cannot be proved.

Mistake 5

Red Cross Icon Indicating Mistakes to Avoid in This Math Topic

Stopping Factorization Too Early

Green Checkmark Icon Indicating Correct Solutions in This Math Topic

Students must keep breaking down the composite factors until only primes remain. They can use the factor tree or division method systematically.

arrow-left
arrow-right
Professor Greenline from BrightChamps

Real life applications of Fundamental Theorem of Arithmetic

The fundamental theorem of arithmetic has numerous applications across various fields. Let us explore how the fundamental theorem of arithmetic is used in different areas:

 

 

  • Cryptography and Cybersecurity: Modern encryption systems rely on the fundamental theorem of arithmetic. Since the prime factorization is unique and non-trivial for large numbers, this property is used to create secure encryption keys that protect sensitive data in banking transactions, online communication, and digital signatures.

 

 

  • Error Detection and Correction in Data Transmission: Digital communication systems, such as mobile networks, Wi-Fi signals, and barcode scanners, use error detection and correction codes to ensure that the data that has to be transmitted is transmitted securely and accurately. Many of these systems rely on prime factorization to verify data integrity. 

 

 

  • Computer Science and Algorithm Optimization: Prime factorization plays a vital role in optimizing algorithms, particularly those based on number theory. In computer science, it is used in hashing functions and pseudorandom number generators. For example, hashing functions and pseudorandom number generators rely on prime numbers to ensure unpredictability and uniqueness, which are essential for secure computing and data retrieval.

 

 

  • Music Theory and Acoustics: Frequencies, beats, and harmonic intervals are sometimes analyzed using prime factors to maintain rhythm or tune instruments precisely.

 

 

  • Inventory and Resource Management: In inventory management, dividing stock or resources into optimal quantities can use prime factors to avoid waste and ensure equal distribution.

 

 

 

Max from BrightChamps Saying "Hey"
Hey!

Solved examples on Fundamental Theorem of Arithmetic

Ray, the Character from BrightChamps Explaining Math Concepts
Max, the Girl Character from BrightChamps

Problem 1

Find the prime factorization of 30.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

The prime factorization of 30 is 2 x 3 x 5.

Explanation

Divide by 2,
30 ÷ 2 = 15

 

 

Divide by 3,
15 ÷ 3 = 5

 

 

Conclude with a prime number:
5 is a prime number.
 

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 2

Determine the prime factorization of 60.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

The prime factorization of 60 = 2² × 3 × 5.

Explanation

Divide by 2,
60÷2 = 30

 

 

Divide by 2 again:
30÷2 = 15.

 

 

Divide by 3,
15÷3 = 5

 

 

Conclude with a prime:
5 is a prime number.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 3

Find the prime factors of 84

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

The prime factors of 84 = 2² × 3 × 7.

Explanation

Divide by 2,
84 ÷ 2 = 42

 

 

Divide by 2 again:
42 ÷  2 = 21

 

 

Divide by 3,
21 ÷  3 = 7

 

 

Conclude with a prime:
7 is a prime number.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 4

Determine the prime factorization of 90.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

The prime factorization of 90 = 2 × 3² × 5.

Explanation

Divide by 2,
90 ÷ 2 = 45

 

 

Divide by 3,
45 ÷ 3 = 15

 

 

Divide by 3 again:
15 ÷ 3 = 5

 

 

Conclude with a prime:
5 is a prime number.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Max, the Girl Character from BrightChamps

Problem 5

Find the prime factorization of 105.

Ray, the Boy Character from BrightChamps Saying "Let’s Begin"
Okay, lets begin

The prime factorization of 105 is 3 x 5 x 7

Explanation

Test divisibility by 2,
105 is odd, so skip 2.

 

 

Divide by 3,
105 ÷ 3 = 35

 

 

Divide by 5,
35 ÷ 5 = 7

 

 

Conclude with a prime:
7 is a prime number.

Max from BrightChamps Praising Clear Math Explanations
Well explained 👍
Ray Thinking Deeply About Math Problems

FAQs on Fundamental Theorem of Arithmetic

1.What is the fundamental theorem of arithmetic?

 Fundamental theorem of arithmetic states that all whole numbers greater than 1 can be expressed as a unique product of prime numbers, except the order of their prime factors

Math FAQ Answers Dropdown Arrow

2.Why is it called “fundamental”?

The theorem forms the basis of all number theory, hence it is called fundamental.

Math FAQ Answers Dropdown Arrow

3.What exactly are prime numbers?

Any whole number greater than 1 and having exactly two factors, 1 and itself, is called a prime number.

Math FAQ Answers Dropdown Arrow

4.Does the theorem apply to the number 1?

No, the theorem does not apply to the number 1, as it is not considered as a prime number and does not have a unique prime factorization.

Math FAQ Answers Dropdown Arrow

5.What does “uniqueness” mean in this context?

Uniqueness means that while the order of factors can vary, the set of prime factors for any given number is fixed.

Math FAQ Answers Dropdown Arrow
Math Teacher Background Image
Math Teacher Image

Hiralee Lalitkumar Makwana

About the Author

Hiralee Lalitkumar Makwana has almost two years of teaching experience. She is a number ninja as she loves numbers. Her interest in numbers can be seen in the way she cracks math puzzles and hidden patterns.

Max, the Girl Character from BrightChamps

Fun Fact

: She loves to read number jokes and games.

INDONESIA - Axa Tower 45th floor, JL prof. Dr Satrio Kav. 18, Kel. Karet Kuningan, Kec. Setiabudi, Kota Adm. Jakarta Selatan, Prov. DKI Jakarta
INDIA - H.No. 8-2-699/1, SyNo. 346, Rd No. 12, Banjara Hills, Hyderabad, Telangana - 500034
SINGAPORE - 60 Paya Lebar Road #05-16, Paya Lebar Square, Singapore (409051)
USA - 251, Little Falls Drive, Wilmington, Delaware 19808
VIETNAM (Office 1) - Hung Vuong Building, 670 Ba Thang Hai, ward 14, district 10, Ho Chi Minh City
VIETNAM (Office 2) - 143 Nguyễn Thị Thập, Khu đô thị Him Lam, Quận 7, Thành phố Hồ Chí Minh 700000, Vietnam
UAE - BrightChamps, 8W building 5th Floor, DAFZ, Dubai, United Arab Emirates
UK - Ground floor, Redwood House, Brotherswood Court, Almondsbury Business Park, Bristol, BS32 4QW, United Kingdom