Greatest Common Divisor via Prime Factorization
When simplifying fractions to lowest terms or dividing objects into equal groups without leftovers, we need to find the largest whole number that divides evenly into two or more numbers. This number is the Greatest Common Divisor (GCD), also known as the Highest Common Factor (HCF).
While listing all factors works for tiny numbers, prime factorization provides a foolproof, systematic pencil-and-paper technique that scales effortlessly to large numbers.
1. Concepts & Paper Visuals
What is the Greatest Common Divisor?
For two positive integers and :
- A common divisor is a whole number that divides both and with remainder .
- The Greatest Common Divisor, denoted , is the largest of these common divisors.
Example by Factor Listing:
- Divisors of :
- Divisors of :
- Common divisors:
- Greatest Common Divisor: .
The Venn Diagram of Prime Factors
Every prime factor of a number is like an ingredient. If we place the prime factors of two numbers into a Venn diagram, the overlapping region (intersection) contains the prime factors that both numbers share.
Prime Factors of 48 Prime Factors of 72
┌────────────────────┬─────────────┬────────────────────┐
│ │ Shared │ │
│ 2 │ 2, 2, 2 │ 3 │
│ │ 3 │ │
└────────────────────┴─────────────┴────────────────────┘
└────┬────┘
GCD = 2 × 2 × 2 × 3 = 24The product of all primes inside the shared overlap is the Greatest Common Divisor!
The Fundamental Rule: The Minimum Power Rule
When numbers are expressed in canonical prime factorization form:
The Minimum Power Rule for GCD: To construct the GCD, take each common prime factor raised to the lowest (minimum) exponent found in the factorizations:
Why the Minimum Exponent?
A common divisor must be able to divide into both numbers without exceeding either number's available factors:
- If has ( twos) and has ( twos), both numbers share at most twos. cannot divide because only has three twos. Therefore, the shared power is .
2. Two Paper Methods for Finding GCD
Method 1: Prime Factor Alignment on Paper
- Write the prime factorization of each number in exponential form.
- Align matching prime bases in vertical columns.
- For each shared prime base, circle the one with the smaller exponent.
- Multiply these circled prime powers to compute the GCD. (Note: If a prime appears in only one number, its exponent in the other number is , so , meaning we exclude it entirely!)
Method 2: The Simultaneous Division Ladder
In this compact notebook technique, we place both numbers side-by-side inside a single ladder bracket. We only divide when a prime factor divides both numbers simultaneously.
- Look at and . Both are even divide both by , giving and .
- Both are even divide both by , giving and .
- Both are even divide both by , giving and .
- Now is odd, but both and divide by divide both by , giving and .
- The remaining numbers and share no factors other than (they are coprime). Stop!
- The GCD is the product of the numbers down the left vertical bar:
3. Step-by-Step Notebook Examples
Example 1: GCD of 90 and 168
Problem: Find on paper using prime factorization.
- Step 1: Factor 90:
- Step 2: Factor 168:
- Step 3: Align and choose minimum powers:(Notice: is only in , and is only in , so neither belongs in the common divisor).
- Final Answer:
Example 2: Coprime Numbers (Relatively Prime)
Problem: Find .
- Factor 35:
- Factor 64:
- Analysis:
- has prime factors .
- has prime factor .
- There are no shared prime factors!
- When two numbers share no prime factors, their only common divisor is .
- Definition: Two numbers whose GCD is are called coprime (or relatively prime).
- Final Answer:
Example 3: GCD of Three Numbers
Problem: Find using the simultaneous division ladder.
- Steps on Paper:
- All three numbers are even divide all by .
- All three numbers are still even divide all by .
- All three are divisible by divide all by .
- The numbers are all prime and share no common factor. Stop!
- Multiply the left column:
- Verification:
- Since share no common factors, is indeed the greatest common divisor!
- Final Answer:
4. Common Mistakes & Paper Traps
[!WARNING] Trap 1: Choosing the largest power instead of the smallest. When looking at and , students instinctively want to pick because the word is "Greatest Common Divisor".
- Remember: The divisor must fit inside both numbers! A larger power cannot divide a smaller power.
- Rule: For GCD, pick the smallest (minimum) exponent!
[!WARNING] Trap 2: Including unshared prime factors. If has a factor of but does not, cannot be a common factor. Never include unshared primes in a GCD.
[!WARNING] Trap 3: Continuing the simultaneous ladder when only two numbers divide. For the GCD of three numbers, a prime must divide all three numbers. If a prime divides only two of them, you cannot use it for GCD! (That rule applies only to LCM).
5. Pencil & Paper Practice
Solve these on your notebook page:
- Practice 1: Find using prime factorization.
- Practice 2: Find using the simultaneous division ladder.
- Practice 3: Are and coprime? Justify on paper.
6. Worked Solutions for Practice Problems
Solution to Practice 1
- Prime factorizations:
- Shared primes: and .
- Minimum exponents: and .
- .
Solution to Practice 2
- Simultaneous ladder:
- .
Solution to Practice 3
- Factor .
- Factor .
- There are no shared prime factors: .
- Yes, and are coprime.
7. Summary
- GCD / HCF: The greatest integer that divides all given numbers without a remainder.
- Venn Diagram view: The product of all prime factors located in the shared intersection.
- Formula: (take each shared prime to its lowest exponent).
- Coprime: Numbers with .
Test yourself
Given the prime factorizations and , what is ?
What is the Greatest Common Divisor of and ?
Two numbers are described as 'coprime'. What does this mean?
- Both numbers must be prime numbers
- Their sum is a prime number
- Their Greatest Common Divisor is
- One number is a multiple of the other