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

Fundamental Theorem of Arithmetic (Rigorous)

Graduate Depth 76 in the knowledge graph I know this Set as goal
915topics build on this
367prerequisites beneath it
See this on the map →
The Fundamental Theorem of ArithmeticThe Euclidean AlgorithmArithmetic Functions and MultiplicativityDistribution of Primes+3 more
unique-factorization prime-factorization integers

Core Idea

Every integer greater than 1 either is prime or is uniquely expressible as a product of primes, up to order. This rigorous treatment proves both existence (by strong induction) and uniqueness (via Euclid's lemma) and explores why it holds in ℤ but fails in other number systems.

How It's Best Learned

Prove existence and uniqueness separately using strong induction and Euclid's lemma. Compare with domains where unique factorization fails, such as ℤ[√5] where 6 = 2·3 = (1+√5)(1−√5).

Common Misconceptions

Unique factorization is not universal across all algebraic structures; it requires special conditions. The unit 1 is not prime and must be handled separately in the uniqueness statement.

Explainer

You already know from the introductory treatment that every integer greater than 1 can be broken into prime factors, and that 60 = 2² · 3 · 5 regardless of how you start factoring it. The rigorous version asks: *why* is this true? The proof has two completely separate jobs — proving a prime factorization exists and proving it is unique — and each requires a distinct technique.

Existence is proved by strong induction. The base case is 2, which is already prime. For the inductive step, assume every integer from 2 to n−1 is either prime or has a prime factorization. Now consider n: if n is prime, we are done. If n is composite, then n = a · b with 2 ≤ a, b < n. By the inductive hypothesis, both a and b have prime factorizations. Multiplying those factorizations together gives a prime factorization of n. Notice that strong induction — where you assume the result holds for *all* smaller values, not just the immediate predecessor — is what makes this work. The Euclidean algorithm from your prerequisites isn't needed for existence, but it is the key to uniqueness.

Uniqueness rests on Euclid's Lemma: if a prime p divides a product ab, then p | a or p | b (or both). This lemma is provable using the Euclidean algorithm through Bézout's identity. Here is where it matters: if two different prime factorizations of n existed, say p₁p₂···pₖ = q₁q₂···qₘ, then p₁ divides the right side. By repeated application of Euclid's Lemma, p₁ must equal some qⱼ. Cancel both and repeat — the two factorizations must be identical up to order.

The theorem's limitations are equally important to understand. Consider the ring ℤ[√−5], which consists of numbers of the form a + b√−5. In this ring, 6 = 2 · 3 = (1 + √−5)(1 − √−5), and one can verify that 2, 3, 1+√−5, and 1−√−5 are all irreducible (cannot be factored further in the ring) yet 2 does not divide either factor on the right — Euclid's Lemma fails. The reason is that irreducible does not imply prime in this ring. The Fundamental Theorem holds in ℤ precisely because every irreducible integer *is* prime, which is itself a consequence of the Euclidean algorithm. Rings where unique factorization holds are called unique factorization domains (UFDs); the existence of ℤ[√−5] shows that not every ring deserves this title.

Practice Questions 5 questions

Prerequisite Chain

Understanding ZeroThe Number ZeroCounting to FiveCounting to 10Counting to 20Counting a Set of Objects Up to 20Cardinality: The Last Number CountedMatching Numerals to QuantitiesSubitizing Small QuantitiesAddition Within 10Number Bonds to 10Addition Within 20Doubles and Near DoublesDoubles Facts Within 10Near Doubles Facts Within 20Mental Math Strategies for AdditionMental Math: Adding and Subtracting TensAddition Within 100Repeated Addition as MultiplicationMultiplication as Equal GroupsMultiplication: ArraysBasic Multiplication Facts (0s, 1s, 2s, 5s, 10s)Multiplication Facts Within 100Division as Equal SharingDivision as Grouping (Measurement Division)Division: Grouping (Repeated Subtraction) ModelDivision: Fair Sharing ModelDivision as Equal SharingDivision as GroupingBasic Division FactsDivision Facts Within 100Multiplication and Division Fact FamiliesRelationship Between Multiplication and DivisionDivision Facts as Inverse of MultiplicationRemainders and Quotients in DivisionDivision Word ProblemsMulti-Step Word ProblemsSolving Multi-Step Word ProblemsMultiplication Word ProblemsDivision Word ProblemsIntroduction to Long DivisionFactors and MultiplesPrime and Composite NumbersEquivalent FractionsRelating Fractions and DecimalsDecimal Place ValueIntegers and the Number LineComparing and Ordering IntegersAbsolute ValueAdding IntegersSubtracting IntegersMultiplying IntegersIntroduction to ExponentsOrder of OperationsInteger Order of OperationsVariable ExpressionsThe Distributive PropertyVariables and Expressions ReviewIntroduction to PolynomialsAdding and Subtracting PolynomialsMultiplying PolynomialsFactorialPermutationsCombinationsCounting Principles: Addition and Multiplication RulesIntroduction to Graph TheoryPropositional Logic FoundationsLogical EquivalencesSet Operations: Union, Intersection, and ComplementProof by CasesProving by Cases and ExhaustionVacuous Truth and Trivial CasesProof by Cases (Proof by Exhaustion)Mathematical InductionDivisibility and Greatest Common DivisorThe Fundamental Theorem of ArithmeticFundamental Theorem of Arithmetic (Rigorous)

Longest path: 77 steps · 367 total prerequisite topics

Prerequisites (2)

Leads To (5)