A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

The Fundamental Theorem of Arithmetic

College Depth 75 in the knowledge graph ☐ I know this ☆ Set as goal
941topics build on this
365prerequisites beneath it
See this on the map →
Divisibility and Greatest Common DivisorMathematical Induction+1 more→→Divisibility Theory (Formal Treatment)Fundamental Theorem of Arithmetic (Rigorous Proof)+2 more
fundamental-theorem-arithmetic prime-factorization unique-factorization euclids-lemma

Core Idea

The Fundamental Theorem of Arithmetic states that every integer greater than 1 can be expressed as a product of prime numbers in exactly one way, up to the order of factors. Existence of the factorization is proved by strong induction. Uniqueness requires Euclid's lemma: if a prime p divides ab, then p divides a or p divides b. The theorem underpins the entire structure of elementary number theory — GCD, LCM, and divisibility results all depend on factorizations being unique.

How It's Best Learned

Prove existence by strong induction, then prove Euclid's lemma separately using Bezout's identity, and finally assemble the uniqueness proof by contradiction. Contrast with systems where unique factorization fails (e.g., Z[√−5], where 6 = 2×3 = (1+√−5)(1−√−5)) to appreciate why the theorem is non-trivial.

Common Misconceptions

Explainer

From your work on divisibility and GCD, you know that primes are the integers with no divisors except 1 and themselves, and that GCD can be computed using the Euclidean algorithm. The Fundamental Theorem of Arithmetic makes a deeper claim: these primes are the unique "atoms" of multiplication. Every integer greater than 1 breaks into primes in exactly one way (ignoring order). This feels obvious — try to factor 12 any way you like, you always get 2 × 2 × 3. But the theorem is not trivial, and its proof has two distinct parts that require different techniques.

Existence of a prime factorization is proved by strong induction, which you've already mastered. The argument is: if n is prime, it's its own factorization. If n is composite, it has a divisor d with 1 < d < n, so both d and n/d are smaller than n. By strong induction, each has a prime factorization, and multiplying them gives a prime factorization of n. Clean and complete.

Uniqueness is harder and is where Euclid's lemma enters: if a prime p divides a product ab, then p divides a or p divides b (or both). This follows from Bézout's identity — if p doesn't divide a, then gcd(p, a) = 1 (since p is prime), so there exist integers x, y with px + ay = 1, multiply both sides by b to get p(xb) + (ab)y = b, and since p divides ab, p divides the left side, so p divides b. With Euclid's lemma in hand, you can prove uniqueness by contradiction: assume two different prime factorizations exist, use the lemma to show each prime on one side must appear on the other, producing a contradiction.

To appreciate why uniqueness is non-trivial, consider the ring Z[√−5] — integers of the form a + b√−5. In this system, 6 = 2 × 3 = (1 + √−5)(1 − √−5), and all four factors are "irreducible" (can't be factored further) yet the two factorizations are genuinely different. Unique factorization fails because Euclid's lemma fails. In the ordinary integers, the proof works because of the specific structure of the Euclidean algorithm — a reminder that theorems depend on the axioms of their system, not just intuition.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → Counting to 20 → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Number Bonds to 10 → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Introduction to Exponents → Order of Operations → Integer Order of Operations → Variable Expressions → The Distributive Property → Variables and Expressions Review → Introduction to Polynomials → Adding and Subtracting Polynomials → Multiplying Polynomials → Factorial → Permutations → Combinations → Counting Principles: Addition and Multiplication Rules → Introduction to Graph Theory → Propositional Logic Foundations → Logical Equivalences → Set Operations: Union, Intersection, and Complement → Proof by Cases → Proving by Cases and Exhaustion → Vacuous Truth and Trivial Cases → Proof by Cases (Proof by Exhaustion) → Mathematical Induction → Divisibility and Greatest Common Divisor → The Fundamental Theorem of Arithmetic

Longest path: 76 steps · 365 total prerequisite topics

Prerequisites (3)

Leads To (4)