🏠 Home › 🔍 Number Theory › Lesson 4

🔍 GCF — Numbers, Variables, and Factoring Polynomials

📖 Lesson 4 of 8

📌 Key idea of this section

GCF = shared primes, with the SMALLER supply of each.
Variables are just new "primes": GCF(12x²y, 18xy²) = 6xy.

The greatest common factor of two numbers is the biggest number that divides both exactly. (Its other name is the GCD — greatest common divisor. Same thing, two costumes.) The fingerprint recipe: write both numbers as primes, collect only the primes they SHARE, taking the smaller supply of each:

36 = 2² × 3²        60 = 2² × 3 × 5
GCF(36, 60) = 2² × 3 = 12 ✅

(The 5 belongs to 60 alone — not shared, so it stays out.) Three numbers at once? "Shared" just has to mean shared by ALL THREE:

24 = 2³ × 3         36 = 2² × 3²        60 = 2² × 3 × 5
GCF(24, 36, 60) = 2² × 3 = 12 ✅

Variables join the party

Here's the honors leap: a variable power like x² is just x × x, and x behaves exactly like an unknown prime. Fingerprints work the same way — smallest supply wins:

12x²y = 2² × 3 × x² × y         18xy² = 2 × 3² × x × y²
GCF(12x²y, 18xy²) = 2 × 3 × x × y = 6xy ✅

Job 1: factoring out the GCF (distribution in reverse)

Distribution says a(b + c) = ab + ac. Read it right-to-left and it becomes FACTORING: pull the shared piece out front. This is one of the most-used moves in all of algebra, and the GCF is the tool that finds the piece.

Factor 12x² + 18x:

fingerprint each term:  12x² = 2²×3×x²    18x = 2×3²×x
GCF of the two terms:   2 × 3 × x = 6x    (shared, smaller supply)
divide each term by 6x: 12x² ÷ 6x = 2x    18x ÷ 6x = 3
12x² + 18x = 6x(2x + 3)
Check by distributing back: 6x × 2x = 12x² and 6x × 3 = 18x ✅

Job 2: simplifying algebraic fractions

Same GCF, new costume. To simplify 12x²/18x, divide top and bottom by their GCF, which is 6x:

12x² / 18x = (6x × 2x) / (6x × 3) = 2x/3     (valid for x ≠ 0)

The condition x ≠ 0 matters: the original fraction has division by x, and dividing by zero is banned from mathematics — so we note the restriction and move on.

The combination lemma (small now, huge in Lesson 5)

One last idea, stated with letters and proved in four steps. Claim: if d divides a and d divides b, then d divides every combination m×a + n×b, for any integers m and n (negatives allowed).

In words: anything that divides two numbers also divides their sum, their difference, and any "mix" of the two. Hold onto this — it's the entire engine of the next lesson.

Relatively prime: sharing nothing

Two numbers with GCF 1 are called RELATIVELY PRIME — they share no prime factors at all. Careful: they don't have to BE prime! GCF(8, 9) = 1, and neither 8 nor 9 is prime. "Relatively prime" describes the RELATIONSHIP, not the numbers themselves.

✏️ Your Turn!

  • 1.
    Find GCF(12x², 30xy) with fingerprints.
  • 2.
    Factor out the GCF: 10x² − 15x.
👀 Show the answers

Answers: 1. 12x² = 2²×3×x² and 30xy = 2×3×5×x×y. Shared: one 2, one 3, one x → GCF = 6x. 2. GCF of the terms: 10x² = 2×5×x², 15x = 3×5×x → 5x. Divide each term by 5x: 10x² ÷ 5x = 2x, and −15x ÷ 5x = −3. So 10x² − 15x = 5x(2x − 3). Check: 5x × 2x = 10x² and 5x × (−3) = −15x ✅.

V.3.1