FormulaIntuitionDerivationExamplesMistakesQuizReal Life 1 / 16
Middle School Math 1 (Grade 7) · Formula Detail

The Fundamental Theorem of Arithmetic

Every whole number greater than 1 breaks into prime factors in exactly one way — the foundation of GCD and LCM

2022 Curriculum · Korea · Middle School Math 1 (Grade 7) Derivation · Examples · Mistakes · Real Life · Mini Quiz
ƒ
Core Formula NO. 01
$$ 60 = 2^{2} \times 3 \times 5 $$
For $n > 1$: $n = p_{1}^{a_{1}} p_{2}^{a_{2}} \cdots p_{k}^{a_{k}}$ ($p_{1} < p_{2} < \cdots < p_{k}$ primes). Only the order can differ — the prime factors and exponents are the same (Fundamental Theorem of Arithmetic).
01
1

What This Formula Does

Primes are the atoms of the whole numbers. 2, 3, 5, 7, 11, … can't be broken down any further, yet every whole number greater than 1 is built by multiplying these atoms. $60 = 2 \times 2 \times 3 \times 5$, $84 = 2 \times 2 \times 3 \times 7$ — no matter how big the number, it always comes down to a product of primes.

And that factorization is unique. Factor 60 as 10×6 or as 12×5 — keep going until only primes remain, and you always end up with the same bundle $2^{2} \times 3 \times 5$. Lay the two factorizations of two numbers over each other and the shared primes and all the primes show at a glance — that's the whole GCD·LCM method.

02
2

Step-by-Step Derivation

Let's build the result step by step, instead of memorizing.

1
Existence — just keep dividing

Find the smallest prime $p_{1}$ that divides $n$ and divide it out. If $n/p_{1}$ is still greater than 1, repeat. Each division makes the number smaller, so eventually you reach 1 — $n = p_{1} p_{2} \cdots p_{k}$.

$60 \to 2 \mid 30 \to 2 \mid 15 \to 3 \mid 5 \to 5$ (prime)
2
Uniqueness — any other factorization gives the same bundle

Suppose there is another factorization $n = q_{1} q_{2} \cdots$. Since $p_{1}$ divides that product, it must equal one of the $q_{j}$ (a property of primes: if a prime divides a product, it divides one of the factors). Match the factors up one by one and the two bundles of prime factors turn out exactly the same — only the order differs.

$\{2, 2, 3, 5\} = \{3, 2, 2, 5\}$ (order aside)
3
The GCD·LCM method follows

Lay the factor bundles over each other: the smaller exponent among the common primes is the GCD, and the larger exponent among all primes is the LCM. If $60 = 2^{2}\times 3 \times 5$ and $84 = 2^{2} \times 3 \times 7$, then GCD $= 2^{2}\times 3 = 12$, LCM $= 2^{2} \times 3 \times 5 \times 7 = 420$.

$\mathrm{GCD}(60, 84) = 12,\ \mathrm{LCM}(60, 84) = 420$
03
3

Worked Examples

Each step also shows the "why".

Example 1Prime factorization of 168
$168 = 2 \times 84 = 2^{2} \times 42 = 2^{3} \times 21$ — and $21 = 3 \times 7$, with 3 and 7 prime
Prime factors: $2$ (three times), $3$, $7$
$168 = 2^{3} \times 3 \times 7$
Example 2Find the GCD and LCM of 180 and 420 by prime factorization
$180 = 2^{2} \times 3^{2} \times 5$, $420 = 2^{2} \times 3 \times 5 \times 7$
GCD: common part $2^{2} \times 3^{1} \times 5^{1} = 60$ — take the smaller exponents
LCM: $2^{2} \times 3^{2} \times 5 \times 7 = 1260$ — take the larger exponents
$\mathrm{GCD} = 60,\ \mathrm{LCM} = 1260$
04
4

Common Mistakes

The classic ways to lose points on a test.

Stopping at "12 = 2 × 6" : 6 is not prime. Keep factoring until only primes remain: $12 = 2^{2} \times 3$. If a composite number is still sitting in the list, the prime factorization isn't finished.
Saying "no common prime factors means there is no GCD" : with no common prime factors the GCD is 1 (the numbers are relatively prime). For 8 and 15, $\mathrm{GCD} = 1$ and $\mathrm{LCM} = 8 \times 15 = 120$ — with nothing shared, the LCM is just the product.
05
5

Mini Quiz — 3 Questions

Three questions to check the core idea. Click an option to see the explanation.

Solved 0 / 3
06
6

Where Does This Formula Show Up?

The formula is hiding in familiar scenes. Read it as a story and it sticks.

Real-Life SceneCutting to the same length (GCD) vs. meeting at the same time (LCM)

You have ribbons 12 m and 18 m long and want to cut both into the longest possible equal pieces? Among the common divisors of 12 and 18 (1, 2, 3, 6), the largest is 6 m — the GCD is exactly that length. $12 \to 2$ pieces, $18 \to 3$ pieces, nothing left over.

Now the reverse: two clocks with 12-minute and 18-minute cycles start together — the next moment their hands meet again at the start is the smallest common multiple of 12 and 18, namely 36 minutes — the LCM. Bus schedules, gear tooth counts, music beat cycles… questions asking "when do the same cycles meet again?" are almost all LCM.

As a formula$12 = 2^{2} \times 3,\ 18 = 2 \times 3^{2} \ \Rightarrow\ \mathrm{GCD} = 2 \times 3 = 6,\ \mathrm{LCM} = 2^{2} \times 3^{2} = 36$
★Prime factorization is the shared key to "divide evenly" problems (GCD) and "come back together" problems (LCM) — lay the bundles over each other and the answer jumps out.
∫ 홈